ARM: dts: sun7i: add pin muxing options for UART2
diff mbox

Message ID 1389710990-16384-1-git-send-email-wens@csie.org
State New, archived
Headers show

Commit Message

Chen-Yu Tsai (Moxa) Jan. 14, 2014, 2:49 p.m. UTC
UART2 is used on CubieTruck to connect to the Bluetooth module.
Add the pin set used in this case.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Maxime Ripard Jan. 15, 2014, 10:06 a.m. UTC | #1
On Tue, Jan 14, 2014 at 10:49:50PM +0800, Chen-Yu Tsai wrote:
> UART2 is used on CubieTruck to connect to the Bluetooth module.
> Add the pin set used in this case.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Queued for 3.15, thanks!
Maxime

Patch
diff mbox

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 82a74ba..1a5cc19 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -402,6 +402,13 @@ 
 				allwinner,pull = <0>;
 			};
 
+			uart2_pins_a: uart2@0 {
+				allwinner,pins = "PI16", "PI17", "PI18", "PI19";
+				allwinner,function = "uart2";
+				allwinner,drive = <0>;
+				allwinner,pull = <0>;
+			};
+
 			uart6_pins_a: uart6@0 {
 				allwinner,pins = "PI12", "PI13";
 				allwinner,function = "uart6";