diff options
author | Sebastian Reichel <sre@debian.org> | 2013-10-23 00:49:32 +0200 |
---|---|---|
committer | Benoit Cousson <bcousson@baylibre.com> | 2013-10-23 10:11:54 +0200 |
commit | 7a89eecfdf745bcc3d39cbd5088ad821c4fc62c4 (patch) | |
tree | 2b9cb08cd43a587937480104e22517b3dfd335a0 /arch | |
parent | 48fc98645062b459a8d136483ee7ebbc2087185f (diff) | |
download | op-kernel-dev-7a89eecfdf745bcc3d39cbd5088ad821c4fc62c4.zip op-kernel-dev-7a89eecfdf745bcc3d39cbd5088ad821c4fc62c4.tar.gz |
ARM: dts: omap3-n900: Add UART support
Add UART support to Nokia N900.
Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/omap3-n900.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 7dd6fb6..9226268 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -31,6 +31,20 @@ &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 */ @@ -127,3 +141,17 @@ mode = <2>; power = <50>; }; + +&uart1 { + status = "disabled"; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; +}; + +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&uart3_pins>; +}; |