avafinger / bananapi-zero-ubuntu-base-minimal

BananaPi M2 Zero - Ubuntu Focal Base Minimal Image (Experimental) - U-Boot 2017.09 / Kernel 4.18.y / Kernel 4.19.y / Kernel 4.20.y / Kernel 5.3.y / Kernel 5.6.y / Kernel 5.7.y / Kernel 5.11.y
88 stars 17 forks source link

Can't access /dev/spidev* nodes #66

Closed tux-linux closed 2 years ago

tux-linux commented 2 years ago

Hello, I want to access SPI character devices in devtmpfs, but they aren't there. I followed your instructions as per https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/issues/49#issuecomment-687649512 , but although something appears in sysfs:

~ # find /sys | grep spi
/sys/devices/platform/soc/1c69000.spi
/sys/devices/platform/soc/1c69000.spi/subsystem
/sys/devices/platform/soc/1c69000.spi/driver
/sys/devices/platform/soc/1c69000.spi/power
/sys/devices/platform/soc/1c69000.spi/power/runtime_suspended_time
/sys/devices/platform/soc/1c69000.spi/power/autosuspend_delay_ms
/sys/devices/platform/soc/1c69000.spi/power/runtime_active_time
/sys/devices/platform/soc/1c69000.spi/power/control
/sys/devices/platform/soc/1c69000.spi/power/runtime_status
/sys/devices/platform/soc/1c69000.spi/spi_master
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_32-63
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_256-511
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_65536+
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_0-1
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_128-255
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/bytes_tx
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfers
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_16-31
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/bytes_rx
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_2048-4095
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/bytes
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_64-127
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/spi_sync
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_4096-8191
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/spi_async
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_2-3
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_512-1023
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/errors
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfers_split_maxsize
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_1024-2047
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/spi_sync_immediate
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_32768-65535
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_16384-32767
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_4-7
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_8-15
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/timedout
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/transfer_bytes_histo_8192-16383
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/statistics/messages
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/device
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/subsystem
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/power
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/power/runtime_suspended_time
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/power/autosuspend_delay_ms
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/power/runtime_active_time
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/power/control
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/power/runtime_status
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_32-63
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_256-511
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_65536+
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_0-1
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_128-255
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/bytes_tx
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfers
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_16-31
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/bytes_rx
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_2048-4095
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/bytes
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_64-127
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/spi_sync
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_4096-8191
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/spi_async
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_2-3
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_512-1023
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/errors
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfers_split_maxsize
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_1024-2047
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/spi_sync_immediate
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_32768-65535
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_16384-32767
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_4-7
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_8-15
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/timedout
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/transfer_bytes_histo_8192-16383
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/statistics/messages
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/subsystem
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/power
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/power/runtime_suspended_time
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/power/autosuspend_delay_ms
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/power/runtime_active_time
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/power/control
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/power/runtime_status
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/driver_override
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/modalias
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/uevent
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0/of_node
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/uevent
/sys/devices/platform/soc/1c69000.spi/spi_master/spi1/of_node
/sys/devices/platform/soc/1c69000.spi/driver_override
/sys/devices/platform/soc/1c69000.spi/modalias
/sys/devices/platform/soc/1c69000.spi/uevent
/sys/devices/platform/soc/1c69000.spi/of_node
/sys/devices/platform/soc/1c68000.spi
/sys/devices/platform/soc/1c68000.spi/subsystem
/sys/devices/platform/soc/1c68000.spi/driver
/sys/devices/platform/soc/1c68000.spi/power
/sys/devices/platform/soc/1c68000.spi/power/runtime_suspended_time
/sys/devices/platform/soc/1c68000.spi/power/autosuspend_delay_ms
/sys/devices/platform/soc/1c68000.spi/power/runtime_active_time
/sys/devices/platform/soc/1c68000.spi/power/control
/sys/devices/platform/soc/1c68000.spi/power/runtime_status
/sys/devices/platform/soc/1c68000.spi/spi_master
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_32-63
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_256-511
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_65536+
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_0-1
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_128-255
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/bytes_tx
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfers
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_16-31
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/bytes_rx
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_2048-4095
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/bytes
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_64-127
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/spi_sync
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_4096-8191
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/spi_async
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_2-3
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_512-1023
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/errors
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfers_split_maxsize
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_1024-2047
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/spi_sync_immediate
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_32768-65535
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_16384-32767
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_4-7
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_8-15
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/timedout
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/transfer_bytes_histo_8192-16383
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/statistics/messages
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/subsystem
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/power
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/power/runtime_suspended_time
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/power/autosuspend_delay_ms
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/power/runtime_active_time
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/power/control
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/power/runtime_status
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/driver_override
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/modalias
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/uevent
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.0/of_node
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_32-63
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_256-511
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_65536+
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_0-1
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_128-255
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/bytes_tx
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfers
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_16-31
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/bytes_rx
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_2048-4095
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/bytes
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_64-127
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/spi_sync
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_4096-8191
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/spi_async
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_2-3
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_512-1023
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/errors
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfers_split_maxsize
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_1024-2047
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/spi_sync_immediate
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_32768-65535
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_16384-32767
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_4-7
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_8-15
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/timedout
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/transfer_bytes_histo_8192-16383
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/statistics/messages
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/device
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/subsystem
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/power
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/power/runtime_suspended_time
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/power/autosuspend_delay_ms
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/power/runtime_active_time
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/power/control
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/power/runtime_status
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/uevent
/sys/devices/platform/soc/1c68000.spi/spi_master/spi0/of_node
/sys/devices/platform/soc/1c68000.spi/driver_override
/sys/devices/platform/soc/1c68000.spi/modalias
/sys/devices/platform/soc/1c68000.spi/uevent
/sys/devices/platform/soc/1c68000.spi/of_node
/sys/class/spi_master
/sys/class/spi_master/spi0
/sys/class/spi_master/spi1
/sys/firmware/devicetree/base/soc/spi@1c69000
/sys/firmware/devicetree/base/soc/spi@1c69000/compatible
/sys/firmware/devicetree/base/soc/spi@1c69000/clocks
/sys/firmware/devicetree/base/soc/spi@1c69000/resets
/sys/firmware/devicetree/base/soc/spi@1c69000/clock-names
/sys/firmware/devicetree/base/soc/spi@1c69000/status
/sys/firmware/devicetree/base/soc/spi@1c69000/#address-cells
/sys/firmware/devicetree/base/soc/spi@1c69000/interrupts
/sys/firmware/devicetree/base/soc/spi@1c69000/#size-cells
/sys/firmware/devicetree/base/soc/spi@1c69000/dma-names
/sys/firmware/devicetree/base/soc/spi@1c69000/spi@0
/sys/firmware/devicetree/base/soc/spi@1c69000/spi@0/compatible
/sys/firmware/devicetree/base/soc/spi@1c69000/spi@0/reg
/sys/firmware/devicetree/base/soc/spi@1c69000/spi@0/spi-max-frequency
/sys/firmware/devicetree/base/soc/spi@1c69000/spi@0/name
/sys/firmware/devicetree/base/soc/spi@1c69000/reg
/sys/firmware/devicetree/base/soc/spi@1c69000/pinctrl-0
/sys/firmware/devicetree/base/soc/spi@1c69000/dmas
/sys/firmware/devicetree/base/soc/spi@1c69000/name
/sys/firmware/devicetree/base/soc/spi@1c69000/pinctrl-names
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi1-pins
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi1-pins/pins
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi1-pins/phandle
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi1-pins/function
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi1-pins/name
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0-pins
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0-pins/pins
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0-pins/phandle
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0-pins/function
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0-pins/name
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0_cs_pins
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0_cs_pins/pins
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0_cs_pins/phandle
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0_cs_pins/function
/sys/firmware/devicetree/base/soc/pinctrl@1c20800/spi0_cs_pins/name
/sys/firmware/devicetree/base/soc/spi@1c68000
/sys/firmware/devicetree/base/soc/spi@1c68000/compatible
/sys/firmware/devicetree/base/soc/spi@1c68000/clocks
/sys/firmware/devicetree/base/soc/spi@1c68000/resets
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/compatible
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/buswidth
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/status
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/fps
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/reset-gpios
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/reg
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/debug
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/dc-gpios
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/rotate
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/spi-max-frequency
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft@0/name
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,swap-xy
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,x-plate-ohms
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,vref-mv
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,x-min
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/pendown-gpio
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/compatible
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,debounce-max
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,x-max
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,y-min
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,keep-vref-on
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,pressure-max
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,y-max
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/status
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/interrupt-parent
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/interrupts
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,settle-delay-usec
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,debounce-tol
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,penirq-recheck-delay-usecs
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,debounce-rep
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/reg
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/spi-max-frequency
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/ti,vref-delay-usecs
/sys/firmware/devicetree/base/soc/spi@1c68000/pitft-ts@1/name
/sys/firmware/devicetree/base/soc/spi@1c68000/clock-names
/sys/firmware/devicetree/base/soc/spi@1c68000/status
/sys/firmware/devicetree/base/soc/spi@1c68000/#address-cells
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/compatible
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/partition@0
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/partition@0/label
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/partition@0/reg
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/partition@0/name
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/mode
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/status
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/#address-cells
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/#size-cells
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/reg
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/spi-max-frequency
/sys/firmware/devicetree/base/soc/spi@1c68000/spiflash@0/name
/sys/firmware/devicetree/base/soc/spi@1c68000/interrupts
/sys/firmware/devicetree/base/soc/spi@1c68000/cs-gpios
/sys/firmware/devicetree/base/soc/spi@1c68000/#size-cells
/sys/firmware/devicetree/base/soc/spi@1c68000/dma-names
/sys/firmware/devicetree/base/soc/spi@1c68000/spi@0
/sys/firmware/devicetree/base/soc/spi@1c68000/spi@0/compatible
/sys/firmware/devicetree/base/soc/spi@1c68000/spi@0/status
/sys/firmware/devicetree/base/soc/spi@1c68000/spi@0/reg
/sys/firmware/devicetree/base/soc/spi@1c68000/spi@0/spi-max-frequency
/sys/firmware/devicetree/base/soc/spi@1c68000/spi@0/name
/sys/firmware/devicetree/base/soc/spi@1c68000/reg
/sys/firmware/devicetree/base/soc/spi@1c68000/pinctrl-0
/sys/firmware/devicetree/base/soc/spi@1c68000/dmas
/sys/firmware/devicetree/base/soc/spi@1c68000/name
/sys/firmware/devicetree/base/soc/spi@1c68000/pinctrl-names
/sys/firmware/devicetree/base/aliases/spiflash
/sys/firmware/devicetree/base/aliases/spi0
/sys/firmware/devicetree/base/aliases/spidev0
/sys/bus/platform/devices/1c69000.spi
/sys/bus/platform/devices/1c68000.spi
/sys/bus/platform/drivers/sun6i-spi
/sys/bus/platform/drivers/sun6i-spi/1c69000.spi
/sys/bus/platform/drivers/sun6i-spi/bind
/sys/bus/platform/drivers/sun6i-spi/1c68000.spi
/sys/bus/platform/drivers/sun6i-spi/unbind
/sys/bus/platform/drivers/sun6i-spi/uevent
/sys/bus/platform/drivers/sun4i-spi
/sys/bus/platform/drivers/sun4i-spi/bind
/sys/bus/platform/drivers/sun4i-spi/unbind
/sys/bus/platform/drivers/sun4i-spi/uevent
/sys/bus/spi
/sys/bus/spi/drivers_probe
/sys/bus/spi/devices
/sys/bus/spi/devices/spi0.0
/sys/bus/spi/devices/spi1.0
/sys/bus/spi/uevent
/sys/bus/spi/drivers
/sys/bus/spi/drivers_autoprobe
~ # 

nothing can be found about SPI in devtmpfs:

~ # find /dev | grep spi
~ #

Is there a way to solve this? Thanks

tux-linux commented 2 years ago

Solved by enabled CONFIG_SPI_SPIDEV in kernel config.