Skip to contentSkip to conversation

sun50i: h5: Add initial NanoPi NEO2 support

PATCH New Jagan Teki 1 participant 1 message Jun 8, 2017

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

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

From: Jagan Teki <[email protected]>

NanoPi M1 Plus 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 v2:
- Drop CONSOLE_MUX
- Basci sync of Linux nanopi-neo2, since sun50i-h3.dtsi need to sync from Linux
- Tested on Neo2

 arch/arm/dts/Makefile                  |  1 +
 arch/arm/dts/sun50i-h5-nanopi-neo2.dts | 92 ++++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                |  5 ++
 configs/nanopi_neo2_defconfig          | 16 ++++++
 4 files changed, 114 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 427cbab..f450baf 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
 dtb-$(CONFIG_MACH_SUN50I) += \
arch/arm/dts/sun50i-h5-nanopi-neo2.dts new file +92 -0

92 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 1de4a87..fd980b8 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