This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: SPI node not created

Part Number: AM625


PSDK8.3.0.19:

Want to do spi test according to sdk user guide:

root@am62xx-evm:/bin# spidev_test
can't open device: No such file or directory
Aborted (core dumped)
root@am62xx-evm:/bin# spidev_fdx
usage: spidev_fdx [-h] [-m N] [-r N] /dev/spidevB.D
root@am62xx-evm:/bin#

SPI node was not created, checked .config, spi is enabled according to user guide: https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/08_02_00_23/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/SPI.html

root@am62xx-evm:/# dmesg | grep i2c
[ 0.801069] i2c /dev entries driver
[ 1.425471] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[ 1.438172] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
[ 2.056008] i2c i2c-1: Added multiplexed i2c bus 2
root@am62xx-evm:/# dmesg | grep spi
[ 1.584724] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[ 1.589740] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[ 1.596692] Creating 7 MTD partitions on "fc40000.spi.0":
[ 1.602086] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[ 1.608796] 0x000000080000-0x000000280000 : "ospi.tispl"
[ 1.615180] 0x000000280000-0x000000680000 : "ospi.u-boot"
[ 1.621612] 0x000000680000-0x0000006c0000 : "ospi.env"
[ 1.627785] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[ 1.634593] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[ 1.641033] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
root@am62xx-evm:/#