Skip to contentSkip to conversation

ARM: dts: sun6i-a31: Add pins definitions for more UARTs

PATCH In review Luis Araneda 2 participants 4 messages Oct 26, 2015 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: sun6i-a31: Add pins definitions for more UARTs

Two additional UARTs tested on the GPIO pins from the Banana Pi M2 board

---
 arch/arm/boot/dts/sun6i-a31.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/sun6i-a31.dtsi +14 -0
index 83c1879..eb02d57 100644
@@ -654,6 +654,20 @@
 				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
 			};
 
+			uart2_pins_a: uart2@0 {
+				allwinner,pins = "PG6", "PG7", "PG8", "PG9";
+				allwinner,function = "uart2";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
+			uart5_pins_a: uart5@0 {
+				allwinner,pins = "PE4", "PE5", "PE6", "PE7";
+				allwinner,function = "uart5";
+				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
 			i2c0_pins_a: i2c0@0 {
 				allwinner,pins = "PH14", "PH15";
 				allwinner,function = "i2c0";
Signature · 6 lines
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1445828876-35549-1-git-send-email-luaraneda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

Hi,

Quoted 5 lines · Luis Araneda

Two additional UARTs tested on the GPIO pins from the Banana Pi M2 board

---

IIRC the policy we have is only add stuff that is actually used. I don't see a follow up patch using these in any boards.

Also, please Cc LAKML for DT patches.

Regards
ChenYu
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CAGb2v669OCEJ_f5Oy8vCmd6sYsrgbLLTN4fq==thQ9JJ3F3CVQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw

Hi,

You're right on that these pins aren't currently in use by any .dts file, but the manufacturer, Sinovoip,
should be submitting a .dts file for the board soon, and if they don't, I'm sure the Linux-Sunxi community will do.
You can see a work-in-progress device tree at:
https://github.com/BPI-SINOVOIP/BPI-Mainline-kernel/blob/master/arch/arm/boot/dts/sun6i-a31s-bananapi-m2.dts

Apologies in advance if some of what I've written is against any rule, I read them, but something might be wrong because this is my first attempt to submit a patch.

Cheers,
Luis Araneda.

Quoted 9 lines · Chen-Yu Tsai

Hi,

Quoted 5 lines · Luis Araneda

Two additional UARTs tested on the GPIO pins from the Banana Pi M2 board

---

Quoted 8 lines

IIRC the policy we have is only add stuff that is actually used. I don't see a follow up patch using these in any boards.

Also, please Cc LAKML for DT patches.

Regards
ChenYu

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CAHbBuxraeMd1jB1EkA8g9Z2nPWFxgubUx00VorSAz1S11PqRMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#6 lore raw
Quoted 8 lines · Luis Araneda

Hi,

You're right on that these pins aren't currently in use by any .dts file, but the manufacturer, Sinovoip,
should be submitting a .dts file for the board soon, and if they don't, I'm sure the Linux-Sunxi community will do.
You can see a work-in-progress device tree at:
https://github.com/BPI-SINOVOIP/BPI-Mainline-kernel/blob/master/arch/arm/boot/dts/sun6i-a31s-bananapi-m2.dts

Hans already submitted one. See:

https://git.kernel.org/cgit/linux/kernel/git/mripard/linux.git/commit/?h=sunxi/dt-for-4.4&id=c2aa565107fb

Quoted 4 lines

Apologies in advance if some of what I've written is against any rule, I read them, but something might be wrong because this is my first attempt to submit a patch.

No problem. :)

ChenYu

Quoted 21 lines

Cheers,
Luis Araneda.

Quoted 17 lines · Chen-Yu Tsai

Hi,

Quoted 5 lines · Luis Araneda

Two additional UARTs tested on the GPIO pins from the Banana Pi M2 board

---

IIRC the policy we have is only add stuff that is actually used. I don't see a follow up patch using these in any boards.

Also, please Cc LAKML for DT patches.

Regards
ChenYu

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html