Skip to content

Commit

Permalink
arm64: dts: ti: k3-am642-sk: Add pinmux corresponding to main_uart0
Browse files Browse the repository at this point in the history
Add pinmux details required for the zeroth instance of main UART.

Signed-off-by: Aswath Govindraju <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
Aswath-Govindraju authored and nmenon committed Jul 7, 2022
1 parent 8542338 commit c553bf2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/ti/k3-am642-sk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,15 @@
>;
};

main_uart0_pins_default: main-uart0-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */
AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */
AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* (D15) UART0_RXD */
AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */
>;
};

main_usb0_pins_default: main-usb0-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */
Expand Down Expand Up @@ -268,6 +277,11 @@
status = "disabled";
};

&main_uart0 {
pinctrl-names = "default";
pinctrl-0 = <&main_uart0_pins_default>;
};

&main_uart1 {
/* main_uart1 is reserved for firmware usage */
status = "reserved";
Expand Down

0 comments on commit c553bf2

Please sign in to comment.