Skip to contentSkip to conversation

sun8i: h3: Add initial NanoPi M1 Plus support

PATCH New Jagan Teki 2 participants 4 messages May 30, 2017 – Jun 8, 2017

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/2 sun8i: h3: Add initial NanoPi M1 Plus support

From: Jagan Teki <[email protected]>

NanoPi M1 Plus is designed and developed by FriendlyElec for professionals, enterprise users, makers and hobbyists using the Allwinner H3 SOC.

NanoPi M1 Plus key features
- Allwinner H3, Quad-core Cortex-A7 at 1.2GHz
- 1GB DDR3 RAM
- 8GB eMMC
- microSD slot
- 10/100/1000M Ethernet
- Serial Debug Port
- 5V 2A DC power-supply

---
Note: Need to add mmc node for eMMC, will add it on next version once tested

 arch/arm/dts/Makefile                    |  1 +
 arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts | 64 ++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                  |  5 +++
 configs/nanopi_m1_plus_defconfig         | 18 +++++++++
 4 files changed, 88 insertions(+)
 create mode 100644 arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts
 create mode 100644 configs/nanopi_m1_plus_defconfig
arch/arm/dts/Makefile +1 -0
index eaf9ada..bf16563 100644
@@ -309,6 +309,7 @@ dtb-$(CONFIG_MACH_SUN8I_H3) += \
 	sun8i-h3-orangepi-plus.dtb \
 	sun8i-h3-orangepi-plus2e.dtb \
 	sun8i-h3-nanopi-m1.dtb \
+	sun8i-h3-nanopi-m1-plus.dtb \
 	sun8i-h3-nanopi-neo.dtb \
 	sun8i-h3-nanopi-neo-air.dtb
 dtb-$(CONFIG_MACH_SUN8I_R40) += \
arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts new file +64 -0

64 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 010e87c..531e6e0 100644
@@ -252,6 +252,11 @@ M:	Mylène Josserand <[email protected]>
 S:	Maintained
 F:	configs/nanopi_m1_defconfig
 
+NANOPI-M1 PLUS BOARD
+M:	Jagan Teki <[email protected]>
+S:	Maintained
+F:	configs/nanopi_m1_plus_defconfig
+
 NANOPI-NEO BOARD
 M:	Jelle van der Waa <[email protected]>
 S:	Maintained
configs/nanopi_m1_plus_defconfig new file +18 -0
new file mode 100644
index 0000000..d7a908d
@@ -0,0 +1,18 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=408
+CONFIG_DRAM_ZQ=3881979
+CONFIG_DRAM_ODT_EN=y
+CONFIG_MMC0_CD_PIN="PH13"
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-m1-plus"
+# 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_USB_EHCI_HCD=y
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 2/2 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

---
 arch/arm/dts/Makefile                  |  1 +
 arch/arm/dts/sun50i-h5-nanopi-neo2.dts | 92 ++++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                |  5 ++
 configs/nanopi_neo2_defconfig          | 17 +++++++
 4 files changed, 115 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 bf16563..ec5221d 100644
@@ -317,6 +317,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 +92 -0

92 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 531e6e0..b765853 100644
@@ -262,6 +262,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 +17 -0
new file mode 100644
index 0000000..baed154
@@ -0,0 +1,17 @@
+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_CONSOLE_MUX=y
+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
1.9.1
#2 lore raw

PATCH 1/2 sun8i: h3: Add initial NanoPi M1 Plus support

In reply to Jagan Teki
Quoted 15 lines · Jagan Teki

From: Jagan Teki <[email protected]>

NanoPi M1 Plus is designed and developed by FriendlyElec for professionals, enterprise users, makers and hobbyists using the Allwinner H3 SOC.

NanoPi M1 Plus key features
- Allwinner H3, Quad-core Cortex-A7 at 1.2GHz
- 1GB DDR3 RAM
- 8GB eMMC
- microSD slot
- 10/100/1000M Ethernet
- Serial Debug Port
- 5V 2A DC power-supply

Quoted 1 line

thanks!

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

PATCH 1/2 sun8i: h3: Add initial NanoPi M1 Plus support

Quoted 16 lines · Jagan Teki
Quoted 15 lines · Jagan Teki

From: Jagan Teki <[email protected]>

NanoPi M1 Plus is designed and developed by FriendlyElec for professionals, enterprise users, makers and hobbyists using the Allwinner H3 SOC.

NanoPi M1 Plus key features
- Allwinner H3, Quad-core Cortex-A7 at 1.2GHz
- 1GB DDR3 RAM
- 8GB eMMC
- microSD slot
- 10/100/1000M Ethernet
- Serial Debug Port
- 5V 2A DC power-supply

Quoted 3 lines
Quoted 1 line

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.