diff options
author | Jorik Jonker <jorik@kippendief.biz> | 2016-09-12 14:12:44 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-09-21 04:48:08 -0400 |
commit | ae0fc941527cc74e7aeef700e5dbe07848a00bfb (patch) | |
tree | 548eaf702dd9abadb7c351cef0157cfc3c4c3831 /arch/arm | |
parent | e3d11d3c45c5ef6dac68b49f68ce2bc6d6ddefce (diff) |
dts: sun8i-h3: split off RTS/CTS for UART1 in seperate pinmux
This was done to make UART1-3 on H3 consistent, and less complicated to
enable UART1-3 on the breakout header on the several H3 board (notably
Orange Pi's). This patch adds a bit of complexity for the existing Banana
Pi, which already had the RTS/CTS associated on UART1.
The RTS/CTS for UART2-3 could be defined in the same way, but since
there is no actual use case for them at the moment, they are left out.
Signed-off-by: Jorik Jonker <jorik@kippendief.biz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3.dtsi | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts b/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts index f3b1d5f6dbd2..06fddaae8edd 100644 --- a/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts +++ b/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | |||
@@ -185,7 +185,7 @@ | |||
185 | 185 | ||
186 | &uart1 { | 186 | &uart1 { |
187 | pinctrl-names = "default"; | 187 | pinctrl-names = "default"; |
188 | pinctrl-0 = <&uart1_pins_a>; | 188 | pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; |
189 | status = "okay"; | 189 | status = "okay"; |
190 | }; | 190 | }; |
191 | 191 | ||
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 9571512fdd77..83fcb6a2e618 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi | |||
@@ -367,8 +367,15 @@ | |||
367 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; | 367 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
368 | }; | 368 | }; |
369 | 369 | ||
370 | uart1_pins_a: uart1@0 { | 370 | uart1_pins: uart1 { |
371 | allwinner,pins = "PG6", "PG7", "PG8", "PG9"; | 371 | allwinner,pins = "PG6", "PG7"; |
372 | allwinner,function = "uart1"; | ||
373 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; | ||
374 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; | ||
375 | }; | ||
376 | |||
377 | uart1_rts_cts_pins: uart1_rts_cts { | ||
378 | allwinner,pins = "PG8", "PG9"; | ||
372 | allwinner,function = "uart1"; | 379 | allwinner,function = "uart1"; |
373 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; | 380 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
374 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; | 381 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |