How to Enable dspi driver (not qspi) on LS1088ARDB-PB platform

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Enable dspi driver (not qspi) on LS1088ARDB-PB platform

Jump to solution
816 Views
gsuresh_12
Contributor II

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

0 Kudos
1 Solution
811 Views
ufedor
NXP Employee
NXP Employee

Please provide U-Boot and Linux booting log as text file.

View solution in original post

0 Kudos
2 Replies
812 Views
ufedor
NXP Employee
NXP Employee

Please provide U-Boot and Linux booting log as text file.

0 Kudos
803 Views
gsuresh_12
Contributor II

It worked for me now I can see the SPIDEV0.0,

Thanks & Regards

Suresh

 

0 Kudos