I hope it is helpful for uart3 /dev/ttyS2 device tree implementation.
Uart3 RX starts working after the mode update to
PIN_INPUT_PULLUP | MUX_MODE1 // P9.22b uart3_rxd
Mode is confirmed as the following:
P9.22b 240 fast rx up 1 uart 2 rxd serial@48020000 (uart3)
pin 240 (PIN240) 4a0037c0 00060001 pinctrl-single ( instead of 00000001)
UART3 TX was working without any pull up or pull down.
P9_21, MUX_MODE1 ) // P9.21 uart3_txd
pin 241 (PIN241) 4a0037c4 00000001 pinctrl-single
To activate uart3, please add the following code into *.dts file and
compile to *.dtb.
Also please modify the am572*ai.dts file by deactivating the shared pins.
&uart3 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
};
&dra7_pmx_core {
uart3_pins: uart3 {
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD( P9_21, MUX_MODE1 ) // P9.21 uart3_txd
DRA7XX_CORE_IOPAD( P9_22b, PIN_INPUT_PULLUP | MUX_MODE1) // P9.22b
uart3_rxd
DRA7XX_CORE_IOPAD( P9_22a, MUX_MODE15) // P9.22a driver_off //shared-pin
>;
};
};
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/c77fd7a6-4177-4a4c-9f20-cca67e254fb5%40googlegroups.com.