1. I have appended below node into the device tree file
Directory Name: /flexbuild_lsdk2108/components/linux/linux/arch/arm64/boot/dts/freescale#
File Name: fsl-ls1088a-rdb.dts
&dspi {
status = "okay";
bus-num = <0>;
spidev@0 {
compatible = "linux,spidev";
spi-max-frequency = <12000000>;
reg = <0>;
};
};
2. I have modified status from disabled to enabled as mentioned below in dtsi file
Directory Name: /flexbuild_lsdk2108/components/linux/linux/arch/arm64/boot/dts/freescale#
File Name: fsl-ls1088a.dtsi
dspi: spi@2100000 {
compatible = "fsl,ls1088a-dspi",
"fsl,ls1021a-v1.0-dspi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x2100000 0x0 0x10000>;
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "dspi";
clocks = <&clockgen 4 1>;
spi-num-chipselects = <6>;
status = "enabled";
};
After updating all these changes and compiled, still I could not able to see the dspi device in the /dev tree.
Can you please help me if there is any standard procedure to add dspi (not QSPI) into the device tree and enable the device?
Thanks & Regards
Suresh
Solved! Go to Solution.
Please provide U-Boot and Linux booting log as text file.
It worked for me now I can see the SPIDEV0.0,
Thanks & Regards
Suresh