summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-nomadik-nhk15.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-07-23 23:14:20 +0200
committerOlof Johansson <olof@lixom.net>2015-08-11 15:29:58 +0200
commit1cb3375bb53719a2d90793b5bc47f99c21dc6b72 (patch)
tree5767be93f28fecc478eba77a6fdd8270dab722b3 /arch/arm/boot/dts/ste-nomadik-nhk15.dts
parent4cec8cd790e3645d2e5ddf01cbe4ed2a90dcd94f (diff)
downloadlwn-1cb3375bb53719a2d90793b5bc47f99c21dc6b72.tar.gz
lwn-1cb3375bb53719a2d90793b5bc47f99c21dc6b72.zip
ARM: nomadik: selectively enable UART0 on boards
The S8815 board is using RX/TX on UART0, and the NHK8815 is using RX/TX and CTS/RTS (the latter connected to a Bluetooth chip). Activate the right groups with the u0 UART0 function on each board and undisable it. Get rid of the old erroneous default definition from the SoC file. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/ste-nomadik-nhk15.dts')
-rw-r--r--arch/arm/boot/dts/ste-nomadik-nhk15.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/ste-nomadik-nhk15.dts
index 0e167ed2857b..9d888b0e75af 100644
--- a/arch/arm/boot/dts/ste-nomadik-nhk15.dts
+++ b/arch/arm/boot/dts/ste-nomadik-nhk15.dts
@@ -17,12 +17,22 @@
};
aliases {
+ serial0 = &uart0;
serial1 = &uart1;
stmpe-i2c0 = &stmpe0;
stmpe-i2c1 = &stmpe1;
};
pinctrl {
+ uart0 {
+ uart0_nhk_mode: uart0_mux {
+ u0_default_mux {
+ function = "u0";
+ groups = "u0txrx_a_1", "u0ctsrts_a_1";
+ };
+ };
+ };
+
stmpe2401_1 {
stmpe2401_1_nhk_mode: stmpe2401_1_nhk {
nhk_cfg1 {
@@ -146,6 +156,12 @@
};
amba {
+ /* Activate RX/TX and CTS/RTS on UART 0 */
+ uart0: uart@101fd000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_nhk_mode>;
+ status = "okay";
+ };
mmcsd: sdi@101f6000 {
cd-gpios = <&stmpe_gpio44 7 GPIO_ACTIVE_LOW>;
wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>;