Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

221
Views
linux: spidev is not shown in /dev

I did the following steps in order to use spidev in Linux- kernel 3.14.28 compiled on arm imx6Q (SMARC board, by Yocto-Project):

  1. In kernel configuration, I enabled SPIDEV: CONFIG_SPI_SPIDEV=y.
  2. In device tree, I added the following lines:
&smarc_spi0 {
   spidev@1 {
      #address-cells = <1>;
      #size-cells = <1>;
      compatible = "linux, spidev";
      spi-max-frequency = <20000000>;
      reg = <1>;   
   };
};

I compiled my Linux successfully, and still can't see /dev/spidev0.1 appear in /dev folder.

Any idea?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I found out the problem: compatible string wasn't accurate.. I had extra space between "linux," and "spidev".. The appropriate way is: compatible = "linux,spidev";

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!