[PATCH 4/4] arm: dts: dra7-evm: Add UART pinctrl data
Sourav Poddar
sourav.poddar at ti.com
Sat Jul 20 02:24:10 EST 2013
Add pin control datas for uart1, uart2 and uart3.
Signed-off-by: Sourav Poddar <sourav.poddar at ti.com>
---
arch/arm/boot/dts/dra7-evm.dts | 43 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index d8b0da9..8f3be53 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -61,6 +61,31 @@
0x3cc 0xe0000 /* spi2_cs0 */
>;
};
+
+ uart1_pins: pinmux_uart1_pins {
+ pinctrl-single,pins = <
+ 0x3e0 0xe0000 /* uart1_rxd */
+ 0x3e4 0xe0000 /* uart1_txd */
+ 0x3e8 0x60003 /* uart1_ctsn */
+ 0x3ec 0x60003 /* uart1_rtsn */
+ >;
+ };
+
+ uart2_pins: pinmux_uart2_pins {
+ pinctrl-single,pins = <
+ 0x3f0 0x60000 /* uart2_rxd */
+ 0x3f4 0x60000 /* uart2_txd */
+ 0x3f8 0x60000 /* uart2_ctsn */
+ 0x3fc 0x60000 /* uart2_rtsn */
+ >;
+ };
+
+ uart3_pins: pinmux_uart3_pins {
+ pinctrl-single,pins = <
+ 0x248 0xc0000 /* uart3_rxd */
+ 0x24c 0xc0000 /* uart3_txd */
+ >;
+ };
};
&i2c1 {
@@ -98,3 +123,21 @@
pinctrl-names = "default";
pinctrl-0 = <&mcspi2_pins>;
};
+
+&uart1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>;
+};
+
+&uart2 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2_pins>;
+};
+
+&uart3 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart3_pins>;
+};
--
1.7.1
More information about the devicetree-discuss
mailing list