Hi!
I am working on the device tree for the ls1028a where we are using SPI3 with an attacted KSZ8567 ethernet switch.
As I understand it, the ls1021a (tsn) variant is pretty similar to our custom-board in the sense that it also has an external ethernet switch. There, I downloaded the software for the ls1021a to lookat the device tree to get some ideas.. However, the package I downloaded did not contain any DTS-files. I cannot find it in the LSDK19.09 either.
It is possible to share the device tree of ls1021a here, or point me in the right direction where I can find it? Hopefully, I can also understand which driver(s) to include in the kernel config..
Help is appreciated!
Best rgds,
Tom Roar Pedersen
You could refer to ls1021atsn dts file provided in OpenIL, please refer to the attached dts file.
You could refer to "Chapter 2 Getting started" in https://www.nxp.com/docs/en/user-guide/OPEN-LINUX-IND-UM-1-7-1.pdf to download OpenIL and run the following command to get Linux Kernel source code in output/build/linux-OpenIL-v1.7-linux-202001.
$ make nxp_ls1021atsn_defconfig
$ make linux
Then refer to arch/arm/boot/dts/ls1021a-tsn.dts in Linux Kernel source code.