Skip to contentSkip to conversation

ARM: dts: sun7i: Add Banana Pi board

PATCH New Hans de Goede 2 participants 5 messages Oct 1, 2014 – Oct 2, 2014

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

v2 cover ARM: dts: sun7i: Add Banana Pi board

Hi Maxime,

Here is v2 of the Bananapi board addition. Sorry for taking so long.

Changes from v2:
-Move uart3_pins definition from a20-sun7i-bananapi.dts to a20-sun7i.dtsi,
the addition of the pinctrl node is done in a separate patch
-Use the new dual license header as license header

Regards,

Hans

#1 lore raw

PATCH v2 1/3 ARM: dts: sun7i: Add spi0_pins_a pinctrl setting

---
 arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/sun7i-a20.dtsi +7 -0
index b22daf3..cb5abef 100644
@@ -784,6 +784,13 @@
 				allwinner,pull = <0>;
 			};
 
+			spi0_pins_a: spi0 at 0 {
+				allwinner,pins = "PI10", "PI11", "PI12", "PI13", "PI14";
+				allwinner,function = "spi0";
+				allwinner,drive = <0>;
+				allwinner,pull = <0>;
+			};
+
 			spi1_pins_a: spi1 at 0 {
 				allwinner,pins = "PI16", "PI17", "PI18", "PI19";
 				allwinner,function = "spi1";
Signature · 1 line
2.1.0
#2 lore raw

PATCH v2 2/3 ARM: dts: sun7i: Add uart3_pins_b pinctrl setting

In reply to Hans de Goede

The uart3_pins_a multiplexes the uart3 pins to port G, add a pinctrl entry for mapping them to port H (as used on the Bananapi).

---
 arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/sun7i-a20.dtsi +7 -0
index cb5abef..302dc1f 100644
@@ -677,6 +677,13 @@
 				allwinner,pull = <0>;
 			};
 
+			uart3_pins_b: uart3 at 1 {
+				allwinner,pins = "PH0", "PH1";
+				allwinner,function = "uart3";
+				allwinner,drive = <0>;
+				allwinner,pull = <0>;
+			};
+
 			uart4_pins_a: uart4 at 0 {
 				allwinner,pins = "PG10", "PG11";
 				allwinner,function = "uart4";
Signature · 1 line
2.1.0
#3 lore raw

PATCH v2 3/3 ARM: dts: sun7i: Add Banana Pi board

In reply to Hans de Goede

The Banana Pi is an A20 based development board using Raspberry Pi compatible IO headers. It comes with 1 GB RAM, 1 Gb ethernet, 2x USB host, sata, hdmi and stereo audio out + various expenansion headers:

http://www.lemaker.org/

---
 arch/arm/boot/dts/Makefile               |   1 +
 arch/arm/boot/dts/sun7i-a20-bananapi.dts | 214 +++++++++++++++++++++++++++++++
 2 files changed, 215 insertions(+)
 create mode 100644 arch/arm/boot/dts/sun7i-a20-bananapi.dts
arch/arm/boot/dts/Makefile +1 -0
index b8c5cd3..c3003a4 100644
@@ -414,6 +414,7 @@ dtb-$(CONFIG_MACH_SUN6I) += \
 	sun6i-a31-hummingbird.dtb \
 	sun6i-a31-m9.dtb
 dtb-$(CONFIG_MACH_SUN7I) += \
+	sun7i-a20-bananapi.dtb \
 	sun7i-a20-cubieboard2.dtb \
 	sun7i-a20-cubietruck.dtb \
 	sun7i-a20-i12-tvbox.dtb \
arch/arm/boot/dts/sun7i-a20-bananapi.dts new file +214 -0

214 lines not on this page · raw message

Signature · 1 line
2.1.0
#4 lore raw

v2 cover ARM: dts: sun7i: Add Banana Pi board

In reply to Hans de Goede

Review

Quoted 8 lines · Hans de Goede

Hi Maxime,

Here is v2 of the Bananapi board addition. Sorry for taking so long.

Changes from v2:

(quoted diff) +0 -2
-Move uart3_pins definition from a20-sun7i-bananapi.dts to a20-sun7i.dtsi,
 the addition of the pinctrl node is done in a separate patch
-Use the new dual license header as license header

Merged all three for 3.19. Thanks!

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141002/8fbdda27/attachment.sig>