Configure imx8mp as ECSPI slave in linux

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

Configure imx8mp as ECSPI slave in linux

1,322 Views
kartheek
Contributor III

Hello,

I am using imx8mp SOM on solidrun board. May i know what changes i need to make for SPI as slave in linux. So that i can use that spi node on user space applications.

Thank you,

Kartheek

 

 

0 Kudos
Reply
2 Replies

1,316 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @kartheek 

Please refer the changes in imx8mp-evk-ecspi-slave.dts

https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8mp-evk-ecspi-sl...

 

Best Regards

Zhiming

0 Kudos
Reply

1,299 Views
kartheek
Contributor III

Hi @Zhiming_Liu 

Now i am configuring ECSPI1 as slave. I have added same in dts file (line numbers 189-198, 509-513) from reference given by you. I am getting some errors. Attached dts file of my board. Please tell where i am wrong.

Thanks,

Kartheek

 

0 Kudos
Reply