Skip to contentSkip to conversation

sun50i: h5: Add initial NanoPi NEO2 support

PATCH Superseded Jagan Teki 1 participant 2 messages Jun 14, 2017 – Jun 16, 2017

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v3 1/1 sun50i: h5: Add initial NanoPi NEO2 support

From: Jagan Teki <[email protected]>

NanoPi NEO2 is designed and developed by FriendlyElec using the Allwinner 64-bit H5 SOC.

NanoPi Neo2 key features
- Allwinner H5, Quad-core 64-bit Cortex-A53
- 512MB DDR3 RAM
- microSD slot
- 10/100/1000M Ethernet
- Serial Debug Port
- 5V 2A DC MicroUSB power-supply

---
Changes for v3:
- Fix Copy'n'paste error in commit message
Changes for v2:
- Droped memory node
- Remove /soc under regulator
- Tested on neo2

 arch/arm/dts/Makefile                  |  1 +
 arch/arm/dts/sun50i-h5-nanopi-neo2.dts | 86 ++++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                |  5 ++
 configs/nanopi_neo2_defconfig          | 16 +++++++
 4 files changed, 108 insertions(+)
 create mode 100644 arch/arm/dts/sun50i-h5-nanopi-neo2.dts
 create mode 100644 configs/nanopi_neo2_defconfig
arch/arm/dts/Makefile +1 -0
index a6eab75..5d7432f 100644
@@ -319,6 +319,7 @@ dtb-$(CONFIG_MACH_SUN8I_R40) += \
 dtb-$(CONFIG_MACH_SUN8I_V3S) += \
 	sun8i-v3s-licheepi-zero.dtb
 dtb-$(CONFIG_MACH_SUN50I_H5) += \
+	sun50i-h5-nanopi-neo2.dtb \
 	sun50i-h5-orangepi-pc2.dtb \
 	sun50i-h5-orangepi-prime.dtb \
 	sun50i-h5-orangepi-zero-plus2.dtb
arch/arm/dts/sun50i-h5-nanopi-neo2.dts new file +86 -0

86 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 77d8d17..e9f3e35 100644
@@ -257,6 +257,11 @@ M:	Jelle van der Waa <[email protected]>
 S:	Maintained
 F:	configs/nanopi_neo_defconfig
 
+NANOPI-NEO2 BOARD
+M:	Jagan Teki <[email protected]>
+S:	Maintained
+F:	configs/nanopi_neo2_defconfig
+
 NANOPI-NEO-AIR BOARD
 M:	Jelle van der Waa <[email protected]>
 S:	Maintained
configs/nanopi_neo2_defconfig new file +16 -0
new file mode 100644
index 0000000..c0ac100
@@ -0,0 +1,16 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN50I_H5=y
+CONFIG_DRAM_CLK=672
+CONFIG_DRAM_ZQ=3881977
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-nanopi-neo2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_ISO_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_SUN8I_EMAC=y
+CONFIG_USB_EHCI_HCD=y
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH v3 1/1 sun50i: h5: Add initial NanoPi NEO2 support

Quoted 13 lines · Jagan Teki

From: Jagan Teki <[email protected]>

NanoPi NEO2 is designed and developed by FriendlyElec using the Allwinner 64-bit H5 SOC.

NanoPi Neo2 key features
- Allwinner H5, Quad-core 64-bit Cortex-A53
- 512MB DDR3 RAM
- microSD slot
- 10/100/1000M Ethernet
- Serial Debug Port
- 5V 2A DC MicroUSB power-supply

Quoted 2 lines

Applied to u-boot-sunxi/master

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.