Skip to contentSkip to conversation

sun50i: a64: Add initial NanoPi A64 support

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

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v4 2/2 sun50i: a64: Add initial NanoPi A64 support

From: Jagan Teki <[email protected]>

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

Nanopi A64 features
- Allwinner A64, 64-bit Quad-core Cortex-A53 at 648MHz to 1.152GHz, DVFS
- 1GB DDR3 RAM
- MicroSD
- Gigabit Ethernet (RTL8211E)
- Wi-Fi 802.11b/g/n
- IR receiver
- Audio In/Out
- Video In/Out
- Serial Debug Port
- microUSB 5V 2A DC power-supply

---
Changes for v4:
- Added serial1 alias
- Fix to use mmc1 for SDIO instead of mmc2
- Replace buswidth by 4 instead of 8 mmc1
- Drop cap-mmc-hw-reset for mmc1
Changes for v3:
- Added ohci0, ehci0, ohic1, ehci1, usbphy, mmc1 and uart1 nodes

 arch/arm/dts/Makefile                  |   1 +
 arch/arm/dts/sun50i-a64-nanopi-a64.dts | 130 +++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                |   5 ++
 configs/nanopi_a64_defconfig           |  15 ++++
 4 files changed, 151 insertions(+)
 create mode 100644 arch/arm/dts/sun50i-a64-nanopi-a64.dts
 create mode 100644 configs/nanopi_a64_defconfig
arch/arm/dts/Makefile +1 -0
index ae55f78..427cbab 100644
@@ -323,6 +323,7 @@ dtb-$(CONFIG_MACH_SUN50I_H5) += \
 	sun50i-h5-orangepi-prime.dtb
 dtb-$(CONFIG_MACH_SUN50I) += \
 	sun50i-a64-bananapi-m64.dtb \
+	sun50i-a64-nanopi-a64.dtb \
 	sun50i-a64-pine64-plus.dtb \
 	sun50i-a64-pine64.dtb
 dtb-$(CONFIG_MACH_SUN9I) += \
arch/arm/dts/sun50i-a64-nanopi-a64.dts new file +130 -0

130 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 4fffe52..1de4a87 100644
@@ -262,6 +262,11 @@ M:	Jelle van der Waa <[email protected]>
 S:	Maintained
 F:	configs/nanopi_neo_air_defconfig
 
+NANOPI-A64 BOARD
+M:	Jagan Teki <[email protected]>
+S:	Maintained
+F:	configs/nanopi_a64_defconfig
+
 NINTENDO NES CLASSIC EDITION BOARD
 M:	FUKAUMI Naoki <[email protected]>
 S:	Maintained
configs/nanopi_a64_defconfig new file +15 -0
new file mode 100644
index 0000000..2f4ed11
@@ -0,0 +1,15 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN50I=y
+CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-nanopi-a64"
+# 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