Hi,
Example P8_10 tie to AC24 (gpio0_16), but where or what file define this relationship?
I search all text “P8_10” in dts folder, excepf for
/* P8_10 (AC24) PRG1_PRU0_GPO15 (gpio0_16) AC24_MCAN6_TX */
BONE_PIN(P8_10, default, P8_10(PIN_INPUT, 7))
BONE_PIN(P8_10, pruout, P8_10(PIN_OUTPUT, 0)) /* prg1_pru0_gpo15 */
BONE_PIN(P8_10, pruin, P8_10(PIN_INPUT, 1)) /* prg1_pru0_gpi15 */
BONE_PIN(P8_10, gpio, P8_10(PIN_INPUT, 7))
BONE_PIN(P8_10, gpio_pu, P8_10(PIN_INPUT_PULLUP, 7))
BONE_PIN(P8_10, gpio_pd, P8_10(PIN_INPUT_PULLDOWN, 7))
and
&main_gpio0 {
status = "okay";
gpio-line-names = "", "P9_11", "P9_13", "P8_17", "P8_18", /* 0-4 */
"P8_22", "P8_24", "P8_34", "P8_36", "P8_38A", /* 5-9 */
"P9_23", "P8_37B", "P9_26B", "P9_24B", "P8_08", /* 10-14 */
"P8_07", "P8_10",.......
nowhere that make I can image that P8_10 hook to gpio0_16 or AC24?
Edit: Look to me the order of “gpio-line-names” is the one, index 16 is “P8_10” which is chip0 line 16, is it correct or just coincidently?