Skip to contentSkip to conversation

ARM: dts: zynq: Add support for Z-turn Lite board

PATCH In review Joni Lepistö 2 participants 2 messages Feb 26, 2020 – Feb 27, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: zynq: Add support for Z-turn Lite board

Add a dts for MYIR Z-turn Lite and respective target in Makefile based on the existing Z-turn dts which is compatible except for memory size.

---
 arch/arm/boot/dts/Makefile            |   1 +
 arch/arm/boot/dts/zynq-zturn-lite.dts | 115 ++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)
 create mode 100644 arch/arm/boot/dts/zynq-zturn-lite.dts
arch/arm/boot/dts/Makefile +1 -0
index d6546d2676b9..56b1bce92744 100644
@@ -1241,6 +1241,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \
 	zynq-zc770-xm013.dtb \
 	zynq-zed.dtb \
 	zynq-zturn.dtb \
+	zynq-zturn-lite.dtb \
 	zynq-zybo.dtb \
 	zynq-zybo-z7.dtb
 dtb-$(CONFIG_MACH_ARMADA_370) += \
arch/arm/boot/dts/zynq-zturn-lite.dts new file +115 -0

115 lines not on this page · raw message

Signature · 1 line
2.20.1
#1 lore raw
Quoted 3 lines · Joni Lepistö

Add a dts for MYIR Z-turn Lite and respective target in Makefile based on the existing Z-turn dts which is compatible except for memory size.

Just a side note - I can't see any reason to duplicate the whole dts file if it is just the same - you can simply #include "zynq-zturn.dts" and then change/rewrite things.

Second thing is that myir,zynq-zturn is not even listed in any yaml binding file that's why dtbs_check will fail.

I expect you use standard boot flow via u-boot which can detect and update memory size automatically for you. It means for kernel you can even place there <0 0> and u-boot will fill it.

Just a summary I don't think it is worth to add support to this board in Linux. And in U-Boot you should enable memory autodetection and you will get support for this lite board for free.

Thanks,
Michal