This adds a U-Boot config and device-tree build for the Lichee Pi Zero
with Dock. Compared to the Lichee Pi Zero, it has an ethernet port
(with internal PHY) so the EMAC driver and network support are enabled.

Signed-off-by: Paul Kocialkowski <cont...@paulk.fr>
---
 arch/arm/dts/Makefile                | 3 ++-
 configs/LicheePi_Zero_Dock_defconfig | 7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 configs/LicheePi_Zero_Dock_defconfig

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 32b698a7f411..be6867ceae0e 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -650,7 +650,8 @@ dtb-$(CONFIG_MACH_SUN8I_V3S) += \
        sun8i-s3-elimo-initium.dtb \
        sun8i-s3-pinecube.dtb \
        sun8i-v3-sl631-imx179.dtb \
-       sun8i-v3s-licheepi-zero.dtb
+       sun8i-v3s-licheepi-zero.dtb \
+       sun8i-v3s-licheepi-zero-dock.dtb
 dtb-$(CONFIG_MACH_SUN8I_R528) += \
        sun8i-t113s-mangopi-mq-r-t113.dtb
 dtb-$(CONFIG_MACH_SUN50I_H5) += \
diff --git a/configs/LicheePi_Zero_Dock_defconfig 
b/configs/LicheePi_Zero_Dock_defconfig
new file mode 100644
index 000000000000..ec172d98b65e
--- /dev/null
+++ b/configs/LicheePi_Zero_Dock_defconfig
@@ -0,0 +1,7 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-v3s-licheepi-zero-dock"
+CONFIG_SPL=y
+CONFIG_MACH_SUN8I_V3S=y
+# CONFIG_HAS_ARMV7_SECURE_BASE is not set
+CONFIG_SUN8I_EMAC=y
-- 
2.49.0

Reply via email to