summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-overo.dtsi
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2013-05-31 02:38:00 +0200
committerBenoit Cousson <benoit.cousson@linaro.org>2013-06-19 01:53:45 +0200
commitb859c1ef92fca08a3079d9ff81e0e0bf7980c855 (patch)
tree4e7797658c8ff4e4cb920f1c7eb3b10fdcce04a9 /arch/arm/boot/dts/omap3-overo.dtsi
parentARM: dts: omap5-uevm: Add uart pinctrl data (diff)
downloadlinux-b859c1ef92fca08a3079d9ff81e0e0bf7980c855.tar.xz
linux-b859c1ef92fca08a3079d9ff81e0e0bf7980c855.zip
ARM: dts: OMAP3: beagle/overo: mux console UART, enable wakeup
Ensure the console uart (UART3) on these boards is mux'd correctly, and IO ring wakeup is enabled. This is needed for serial console wakeups when using DT boot. Thanks to Florian Vaussard for suggestion to use preprocessor features. Cc: Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/omap3-overo.dtsi')
-rw-r--r--arch/arm/boot/dts/omap3-overo.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index e112a424c7a5..144a5a2fcad8 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -77,3 +77,17 @@
mode = <3>;
power = <50>;
};
+
+&omap3_pmx_core {
+ uart3_pins: pinmux_uart3_pins {
+ pinctrl-single,pins = <
+ 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
+ 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
+ >;
+ };
+};
+
+&uart3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart3_pins>;
+};