Configure imx8mp as ECSPI slave in linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Configure imx8mp as ECSPI slave in linux

1,321 次查看
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 项奖励
回复
2 回复数

1,315 次查看
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 项奖励
回复

1,298 次查看
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 项奖励
回复