summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/ti/k3-am642-sk.dts
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2022-05-16 13:34:17 +0200
committerNishanth Menon <nm@ti.com>2022-07-07 02:28:04 +0200
commitc553bf25f0f4135e17cf064a6875d5cbc43b0956 (patch)
tree1144418564e64dfe2a29a8aa89a2acb2dde97488 /arch/arm64/boot/dts/ti/k3-am642-sk.dts
parentarm64: dts: ti: Align gpio-key node names with dtschema (diff)
downloadlinux-c553bf25f0f4135e17cf064a6875d5cbc43b0956.tar.xz
linux-c553bf25f0f4135e17cf064a6875d5cbc43b0956.zip
arm64: dts: ti: k3-am642-sk: Add pinmux corresponding to main_uart0
Add pinmux details required for the zeroth instance of main UART. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Link: https://lore.kernel.org/r/20220516113417.3516-1-a-govindraju@ti.com
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am642-sk.dts')
-rw-r--r--arch/arm64/boot/dts/ti/k3-am642-sk.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts
index 64eed5456721..2620469a7517 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts
@@ -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 */
@@ -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";