Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 149881

Forum Post: RE: Enabling SPI mtd devices in the AM335x SDK 7

$
0
0

I searched the kernel log and found these messages:

[    1.176179] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.184619] spi_master spi1: /ocp/spi@48030000/m25p80@0 has no 'spi-max-frequency' property
[    1.193508] spi_master spi1: /ocp/spi@48030000/m25p80@1 has no 'spi-max-frequency' property

Following that trend I figured that I needed to add the spi-max-frequency to our tree, both nodes got the same treatment:

   m25p80@0 {    /* 22-24MHz */     compatible = "w25q256";     reg = <0x0>;     spi-max-frequency = <23000000>;     m25p,fast-read;    };

And now the mtd devices show up.

 


Viewing all articles
Browse latest Browse all 149881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>