How to Enable SPI (/dev/spidev) in imx8 nano board ?

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

How to Enable SPI (/dev/spidev) in imx8 nano board ?

1,808 Views
sharathn
Contributor I

Hi All,

I am working on an imx8 nano dev board, I built a Linux image following the "i.MX Yocto Project User's Guide" the image is working fine but I cannot see spi under /dev/. Please help me with enabling SPI. 


Labels (1)
0 Kudos
Reply
1 Reply

1,778 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Are you working with an NXP EVK?

If yes, and you're using default device tree there is no eCSPI node enabled, so you'll need to create your own eCSPI node.

You'll find this useful as well:
https://www.kernel.org/doc/Documentation/spi/spidev

Best regards,
Aldo.

0 Kudos
Reply