45 lines
1.4 KiB
Diff
45 lines
1.4 KiB
Diff
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
|
|
index 836a8c4d..9d2da6e0 100644
|
|
--- a/arch/arm/dts/Makefile
|
|
+++ b/arch/arm/dts/Makefile
|
|
@@ -260,6 +260,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \
|
|
sun8i-a83t-cubietruck-plus.dtb \
|
|
sun8i-a83t-sinovoip-bpi-m3.dtb
|
|
dtb-$(CONFIG_MACH_SUN8I_H3) += \
|
|
+ sun8i-h2plus-orangepi-zero.dtb \
|
|
sun8i-h3-bananapi-m2-plus.dtb \
|
|
sun8i-h3-orangepi-2.dtb \
|
|
sun8i-h3-orangepi-lite.dtb \
|
|
diff --git a/arch/arm/dts/sun8i-h2plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2plus-orangepi-zero.dts
|
|
new file mode 100644
|
|
index 00000000..9e468904
|
|
--- /dev/null
|
|
+++ b/arch/arm/dts/sun8i-h2plus-orangepi-zero.dts
|
|
@@ -0,0 +1,2 @@
|
|
+
|
|
+#include "sun8i-h3-orangepi-one.dts"
|
|
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
|
|
new file mode 100644
|
|
index 00000000..bdaffa88
|
|
--- /dev/null
|
|
+++ b/configs/orangepi_zero_defconfig
|
|
@@ -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_DEFAULT_DEVICE_TREE="sun8i-h2plus-orangepi-zero"
|
|
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
+CONFIG_SPL=y
|
|
+# CONFIG_SPL_SPI_SUPPORT=y
|
|
+CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
|
+CONFIG_SPL_SPI_SUNXI=y
|
|
+# CONFIG_CMD_IMLS is not set
|
|
+# CONFIG_CMD_FLASH is not set
|
|
+# CONFIG_CMD_FPGA is not set
|
|
+CONFIG_SUN8I_EMAC=y
|
|
+CONFIG_USB_EHCI_HCD=y
|
|
+CONFIG_SYS_CLK_FREQ=480000000
|