Skip to contentSkip to conversation

sunxi: h3: Add initial ZeroPi support

PATCH New Yu-Tung Chang 1 participant 2 messages Jun 19, 2021

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

v2 cover sunxi: h3: Add initial ZeroPi support

This commit add support to FriendlyARM ZeroPi board.

Board Schematic: http://wiki.friendlyarm.com/wiki/images/7/71/ZeroPi_20190731_Schematic.pdf

- v1
. fix trailing whitespace

- v2
. direct Copy Kernel DTs

Yu-Tung Chang (1):
sunxi: h3: Add initial ZeroPi support

 arch/arm/dts/Makefile            |  3 +-
 arch/arm/dts/sun8i-h3-zeropi.dts | 85 ++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS          |  6 +++
 configs/zeropi_defconfig         | 13 +++++
 4 files changed, 106 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/sun8i-h3-zeropi.dts
 create mode 100644 configs/zeropi_defconfig
Signature · 1 line
2.32.0
#1 lore raw

PATCH v2 1/1 sunxi: h3: Add initial ZeroPi support

ZeroPi is a new board of high performance with low cost designed by FriendlyElec., using the Allwinner H3 SOC.

ZeroPi features
- Allwinner H3, Quad-core [email protected]
- 256MB/512MB DDR3 RAM
- microsd slot
- 10/100/1000Mbps Ethernet
- Debug Serial Port
- DC 5V/2A power-supply

---
 arch/arm/dts/Makefile            |  3 +-
 arch/arm/dts/sun8i-h3-zeropi.dts | 85 ++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS          |  6 +++
 configs/zeropi_defconfig         | 13 +++++
 4 files changed, 106 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/sun8i-h3-zeropi.dts
 create mode 100644 configs/zeropi_defconfig
arch/arm/dts/Makefile +2 -1
index 9fb38682e6..8c37c3a27c 100644
@@ -608,7 +608,8 @@ dtb-$(CONFIG_MACH_SUN8I_H3) += \
 	sun8i-h3-orangepi-plus.dtb \
 	sun8i-h3-orangepi-plus2e.dtb \
 	sun8i-h3-orangepi-zero-plus2.dtb \
-	sun8i-h3-rervision-dvk.dtb
+	sun8i-h3-rervision-dvk.dtb \
+	sun8i-h3-zeropi.dtb
 dtb-$(CONFIG_MACH_SUN8I_R40) += \
 	sun8i-r40-bananapi-m2-ultra.dtb \
 	sun8i-v40-bananapi-m2-berry.dtb
arch/arm/dts/sun8i-h3-zeropi.dts new file +85 -0

85 lines not on this page · raw message

board/sunxi/MAINTAINERS +6 -0
index 76eba2ad20..4fc26077b2 100644
@@ -529,3 +529,9 @@ YONES TOPTECH BS1078 V2 BOARD
 M:	Peter Korsgaard <[email protected]>
 S:	Maintained
 F:	configs/Yones_Toptech_BS1078_V2_defconfig
+
+ZEROPI BOARD
+M:	Yu-Tung Chang <[email protected]>
+S:	Maintained
+F:	configs/zeropi_defconfig
+F:	arch/arm/dts/sun8i-h3-zeropi.dts
configs/zeropi_defconfig new file +13 -0
new file mode 100644
index 0000000000..f921b09892
@@ -0,0 +1,13 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=408
+CONFIG_MACPWR="PD6"
+# CONFIG_VIDEO_DE2 is not set
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-zeropi"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_CONSOLE_MUX=y
+CONFIG_SUN8I_EMAC=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_OHCI_HCD=y
Signature · 1 line
2.32.0