My uart muxing
uartx5_4_pins_default: uartx5_4-pins-default {
pinctrl-single,pins = <
J721E_IOPAD(0xe8, PIN_INPUT, 8) /* P9_37B (AG28) PRG0_PRU0_GPO14.UART4_RXD */
J721E_IOPAD(0xec, PIN_OUTPUT, 8) /* P9_38B (AG27) PRG0_PRU0_GPO15.UART4_TXD */
/* Disable alt pads */
J721E_WKUP_IOPAD(0x138, PIN_DISABLE, 7) /* P9_37A (K28) */
J721E_WKUP_IOPAD(0x13C, PIN_DISABLE, 7) /* P9_38A (L28) */
>;
};
The default i2c2 muxing taken from https://openbeagle.org/beagleboard/BeagleBoard-DeviceTrees/-/blob/ce658e72783da7582c567100c43b12ac521a45dc/src/arm64/ti/k3-j721e-beagleboneai64.dts#L389
main_i2c2_pins_default: main-i2c2-default-pins {
pinctrl-single,pins = <
J721E_IOPAD(0x208, PIN_INPUT_PULLUP, 4) /* (W5) MCAN0_RX.I2C2_SCL */
J721E_IOPAD(0x20c, PIN_INPUT_PULLUP, 4) /* (W6) MCAN0_TX.I2C2_SDA */
J721E_IOPAD(0x138, PIN_INPUT, 7) /* (AE25) PRG0_PRU1_GPO14.GPIO0_77 */
J721E_IOPAD(0x13c, PIN_INPUT, 7) /* (AF29) PRG0_PRU1_GPO15.GPIO0_78 */
>;
};
kernel log output
[ 0.834488] pinctrl-single 11c000.pinctrl: pin PIN78 already requested by 2020000.i2c; cannot claim for 2840000.serial
[ 0.834495] pinctrl-single 11c000.pinctrl: error -EINVAL: pin-78 (2840000.serial)
[ 0.834501] pinctrl-single 11c000.pinctrl: error -EINVAL: could not request pin 78 (PIN78) from group uartx5_4-pins-default on device pinctrl-single
[ 0.834505] omap8250 2840000.serial: Error applying setting, reverse things back
Info for pads K28 and L28 from processor datasheet
Info for pads AE25 and AF29 from processor datasheet
What is going on here? Are pads K28 and AE25 the same physical pads!?!?