summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-10-12 23:41:12 +0200
committerSebastian Reichel <sre@debian.org>2013-10-12 23:41:12 +0200
commitcb44b3da8f847b5d8b20de4a6ecd2ec7ff313cc5 (patch)
tree7922396085865d9c23484b5cdf25464456f1a420
parenta9af9f45150cbd1d45ae497abfafd17b4ab548b8 (diff)
downloadlinux-cb44b3da8f847b5d8b20de4a6ecd2ec7ff313cc5.tar.bz2
DTS: ARM: OMAP3-N900: Add UART support
Add UART support to Nokia N900. Signed-off-by: Sebastian Reichel <sre@debian.org>
-rw-r--r--arch/arm/boot/dts/omap3-n900.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 57f5a2addecc..31c2034fdf47 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -31,6 +31,27 @@
&omap3_pmx_core {
pinctrl-names = "default";
+ uart1_pins: pinmux_uart1_pins {
+ pinctrl-single,pins = <
+ 0x152 (PIN_INPUT | MUX_MODE0) /* uart1_rx */
+ 0x14c (PIN_OUTPUT |MUX_MODE0) /* uart1_tx */
+ >;
+ };
+
+ uart2_pins: pinmux_uart2_pins {
+ pinctrl-single,pins = <
+ 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx */
+ 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx */
+ >;
+ };
+
+ uart3_pins: pinmux_uart3_pins {
+ pinctrl-single,pins = <
+ 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx */
+ 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx */
+ >;
+ };
+
i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
0x18a (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
@@ -125,3 +146,18 @@
mode = <2>;
power = <50>;
};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>;
+};
+
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2_pins>;
+};
+
+&uart3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart3_pins>;
+};