Skip to contentSkip to conversation

sun50i: h5: Add initial Orangepi Zero Plus 2 support

PATCH New Jagan Teki 1 participant 4 messages Jun 13, 2017 – Jun 16, 2017

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v3 1/2 sun50i: h5: Add initial Orangepi Zero Plus 2 support

From: Jagan Teki <[email protected]>

Orangepi Zero Plus 2 is an open-source single-board computer using the Allwinner h5 SOC.

H5 Orangepi Zero Plus 2 has
- Quad-core Cortex-A53
- 512MB DDR3
- micrSD slot and 8GB eMMC
- Debug TTL UART
- HDMI
- Wifi + BT
- OTG+power supply

---
Changes for v3:
- Drop memory node
- Remove /soc under regulator
- Tested on board
Changes for v2:
- Drop CONSOLE_MUX
- Add emmc node

 arch/arm/dts/Makefile                          |  3 +-
 arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dts | 97 ++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                        |  5 ++
 configs/orangepi_zero_plus2_defconfig          | 18 +++++
 4 files changed, 122 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dts
 create mode 100644 configs/orangepi_zero_plus2_defconfig
arch/arm/dts/Makefile +2 -1
index ae55f78..a0b3704 100644
@@ -320,7 +320,8 @@ dtb-$(CONFIG_MACH_SUN8I_V3S) += \
 	sun8i-v3s-licheepi-zero.dtb
 dtb-$(CONFIG_MACH_SUN50I_H5) += \
 	sun50i-h5-orangepi-pc2.dtb \
-	sun50i-h5-orangepi-prime.dtb
+	sun50i-h5-orangepi-prime.dtb \
+	sun50i-h5-orangepi-zero-plus2.dtb
 dtb-$(CONFIG_MACH_SUN50I) += \
 	sun50i-a64-bananapi-m64.dtb \
 	sun50i-a64-pine64-plus.dtb \
arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dts new file +97 -0

97 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 4fffe52..314aee3 100644
@@ -272,6 +272,11 @@ M:	Icenowy Zheng <[email protected]>
 S:	Maintained
 F:	configs/orangepi_zero_defconfig
 
+ORANGEPI ZERO PLUS 2 BOARD
+M:	Jagan Teki <[email protected]>
+S:	Maintained
+F:	configs/orangepi_zero_plus2_defconfig
+
 ORANGEPI PC 2 BOARD
 M:	Andre Przywara <[email protected]>
 S:	Maintained
configs/orangepi_zero_plus2_defconfig new file +18 -0
new file mode 100644
index 0000000..e3776f6
@@ -0,0 +1,18 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN50I_H5=y
+CONFIG_DRAM_CLK=672
+CONFIG_DRAM_ZQ=3881977
+CONFIG_MMC0_CD_PIN="PH13"
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-orangepi-zero-plus2"
+# 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/2 sun50i: h5: Add initial Orangepi Zero Plus 2 support

Quoted 14 lines · Jagan Teki

From: Jagan Teki <[email protected]>

Orangepi Zero Plus 2 is an open-source single-board computer using the Allwinner h5 SOC.

H5 Orangepi Zero Plus 2 has
- Quad-core Cortex-A53
- 512MB DDR3
- micrSD slot and 8GB eMMC
- Debug TTL UART
- HDMI
- Wifi + BT
- OTG+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.
author
#2 lore raw

PATCH v3 2/2 sun50i: a64: Add initial Orangepi Win/WinPlus support

In reply to Jagan Teki

From: Jagan Teki <[email protected]>

Orangepi Win/WinPlus is an open-source single-board computer using the Allwinner A64 SOC.

A64 Orangepi Win/WinPlus has
- A64 Quad-core Cortex-A53 64bit
- 1GB(Win)/2GB(Win Plus) DDR3 SDRAM
- Debug TTL UART
- Four USB 2.0
- HDMI
- LCD
- Audio and MIC
- Wifi + BT
- IR receiver
- 5V DC power supply

---
Changes for v3:
- Drop memory node
- Remove /soc under regulator
- Tested on board
Changes for v2:
- Drop CONSOLE_MUX
- Add SPL_SPI

 arch/arm/dts/Makefile                    |  1 +
 arch/arm/dts/sun50i-a64-orangepi-win.dts | 95 ++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                  |  5 ++
 configs/orangepi_win_defconfig           | 16 ++++++
 4 files changed, 117 insertions(+)
 create mode 100644 arch/arm/dts/sun50i-a64-orangepi-win.dts
 create mode 100644 configs/orangepi_win_defconfig
arch/arm/dts/Makefile +1 -0
index a0b3704..a6eab75 100644
@@ -324,6 +324,7 @@ dtb-$(CONFIG_MACH_SUN50I_H5) += \
 	sun50i-h5-orangepi-zero-plus2.dtb
 dtb-$(CONFIG_MACH_SUN50I) += \
 	sun50i-a64-bananapi-m64.dtb \
+	sun50i-a64-orangepi-win.dtb \
 	sun50i-a64-pine64-plus.dtb \
 	sun50i-a64-pine64.dtb
 dtb-$(CONFIG_MACH_SUN9I) += \
arch/arm/dts/sun50i-a64-orangepi-win.dts new file +95 -0

95 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 314aee3..77d8d17 100644
@@ -267,6 +267,11 @@ M:	FUKAUMI Naoki <[email protected]>
 S:	Maintained
 F:	configs/Nintendo_NES_Classic_Edition_defconfig
 
+ORANGEPI WIN/WIN PLUS BOARD
+M:	Jagan Teki <[email protected]>
+S:	Maintained
+F:	configs/orangepi_win_defconfig
+
 ORANGEPI ZERO BOARD
 M:	Icenowy Zheng <[email protected]>
 S:	Maintained
configs/orangepi_win_defconfig new file +16 -0
new file mode 100644
index 0000000..85d8fa4
@@ -0,0 +1,16 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN50I=y
+CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-orangepi-win"
+# 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_SPL_SPI_SUNXI=y
+CONFIG_SUN8I_EMAC=y
+CONFIG_USB_EHCI_HCD=y
Signature · 1 line
2.7.4
author
#3 lore raw

PATCH v3 2/2 sun50i: a64: Add initial Orangepi Win/WinPlus support

Quoted 17 lines · Jagan Teki

From: Jagan Teki <[email protected]>

Orangepi Win/WinPlus is an open-source single-board computer using the Allwinner A64 SOC.

A64 Orangepi Win/WinPlus has
- A64 Quad-core Cortex-A53 64bit
- 1GB(Win)/2GB(Win Plus) DDR3 SDRAM
- Debug TTL UART
- Four USB 2.0
- HDMI
- LCD
- Audio and MIC
- Wifi + BT
- IR receiver
- 5V DC 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.