From: Nikhil Devshatwar <[email protected]>

Add a pinmux DT node for main_uart1.
Describe the pinctrl default state for main_uart1 node.

Signed-off-by: Nikhil Devshatwar <[email protected]>
---
 configs/arm64/dts/inmate-k3-j721e-evm.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/configs/arm64/dts/inmate-k3-j721e-evm.dts 
b/configs/arm64/dts/inmate-k3-j721e-evm.dts
index 30c940f0..e2348590 100644
--- a/configs/arm64/dts/inmate-k3-j721e-evm.dts
+++ b/configs/arm64/dts/inmate-k3-j721e-evm.dts
@@ -414,6 +414,13 @@
 };
 
 &main_pmx0 {
+       main_uart1_pins_default: main_uart1_pins_default {
+               pinctrl-single,pins = <
+                       J721E_IOPAD(0x1f8, PIN_INPUT, 0) /* (AA4) UART1_RXD */
+                       J721E_IOPAD(0x1fc, PIN_OUTPUT, 0) /* (AB4) UART1_TXD */
+               >;
+       };
+
        sw10_button_pins_default: sw10_button_pins_default {
                pinctrl-single,pins = <
                        /* PADCONFIG[5:4] = GPIO group select = 1 */
@@ -428,6 +435,11 @@
        };
 };
 
+&main_uart1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&main_uart1_pins_default>;
+};
+
 &main_sdhci0 {
        /* eMMC */
        non-removable;
-- 
2.17.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" 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/jailhouse-dev/20200608103548.9040-2-nikhil.nd%40ti.com.

Reply via email to