ARM: dts: omap3-n900: Add UART support
authorSebastian Reichel <sre@debian.org>
Tue, 22 Oct 2013 22:49:32 +0000 (00:49 +0200)
committerBenoit Cousson <bcousson@baylibre.com>
Wed, 23 Oct 2013 08:11:54 +0000 (10:11 +0200)
Add UART support to Nokia N900.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/omap3-n900.dts

index 7dd6fb6488e059ee995bb5d785de9534aa7db7f3..92262680cb8520279d861c6cff46bf3523638ca6 100644 (file)
 &omap3_pmx_core {
        pinctrl-names = "default";
 
+       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 */
        mode = <2>;
        power = <50>;
 };
+
+&uart1 {
+       status = "disabled";
+};
+
+&uart2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart2_pins>;
+};
+
+&uart3 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart3_pins>;
+};