summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/keystone-k2g-evm.dts
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-06-09 09:40:21 -0700
committerSantosh Shilimkar <ssantosh@kernel.org>2016-06-09 09:40:21 -0700
commit30220085a4b471e555f9233f861f43e4f24a0750 (patch)
tree25a056fd533bce0b44d64bfce97f20a9fb0a7a6a /arch/arm/boot/dts/keystone-k2g-evm.dts
parenteb53a15b1ab820f51603efd76cdc723fdfafaae0 (diff)
ARM: dts: k2g-evm: Add pinmuxing for UART0
Avoid depending on the bootloader or the ROM for configuring the pinmux by explicitly setting the pinmux here. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/keystone-k2g-evm.dts')
-rw-r--r--arch/arm/boot/dts/keystone-k2g-evm.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts
index 5bfd9e7845f2..692fcbb1434a 100644
--- a/arch/arm/boot/dts/keystone-k2g-evm.dts
+++ b/arch/arm/boot/dts/keystone-k2g-evm.dts
@@ -27,6 +27,17 @@
};
+&k2g_pinctrl {
+ uart0_pins: pinmux_uart0_pins {
+ pinctrl-single,pins = <
+ K2G_CORE_IOPAD(0x11cc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* uart0_rxd.uart0_rxd */
+ K2G_CORE_IOPAD(0x11d0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
+ >;
+ };
+};
+
&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_pins>;
status = "okay";
};