Missing SPI device node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This should be simple. 

I am building a ucLinux system using kmenuconfig. My hardware supports two SPI devices, one of which is already committed to flash memory. 

I have built a kernel with SPI enabled, and booted it, and run 'busybox mdev -s', and rebooted, and it finds a SPI device:

spi_m2s spi_m2s.0: registered master spi0
spi spi0.0: setup mode 3, 8 bits/w, 41500000 Hz max --> 0
m25p80 spi0.0: s25fl129p1 (16384 Kbytes)
Creating 3 MTD partitions on "s25fl129p1":
0x000000000000-0x000000010000 : "spi_flash_uboot_env"
0x000000010000-0x000000410000 : "spi_flash_linux_image"
0x000000410000-0x000001000000 : "spi_flash_jffs2"
spi_m2s spi_m2s.0: registered child spi0.0
spi_m2s spi_m2s.0: SPI Controller 0 at 40001000,clk=83000000


I have a SPI-looking device in /sys/devices/platform:

~ # ls -la  /sys/devices/platform/
drwxr-xr-x    9 root     root             0 Jan  1 00:07 .
drwxr-xr-x    5 root     root             0 Jan  1 00:07 ..
drwxr-xr-x    6 root     root             0 Jan  1 00:07 m2s_eth.0
drwxr-xr-x    3 root     root             0 Jan  1 00:07 musb_hdrc
drwxr-xr-x    2 root     root             0 Jan  1 00:07 nop_usb_xceiv
drwxr-xr-x    2 root     root             0 Jan  1 00:07 serial8250
drwxr-xr-x    3 root     root             0 Jan  1 00:07 serial8250.0
drwxr-xr-x    3 root     root             0 Jan  1 00:07 serial8250.1
drwxr-xr-x    4 root     root             0 Jan  1 00:07 spi_m2s.0
-rw-r--r--    1 root     root          4096 Jan  1 00:07 uevent


What I *want* are:
/dev/spi0
/dev/spi1

Or suchlike. 

How do I get them?

Enquiring minds want to know. 

Eric
--
cc:NSA
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux