Tobias Posted Tuesday at 07:19 AM Posted Tuesday at 07:19 AM (edited) Hi, is it possible to use spidev on sk-am64b? when i run ls /dev/spidev* it return nothing so i suppose its not enabled by default. Regards Tobias Edited Tuesday at 10:59 AM by Tobias 0 Quote
Werner Posted Tuesday at 01:00 PM Posted Tuesday at 01:00 PM I don't think any board has spi, i2c or similar enabled by default. It is all done via device tree overlays. Check if there are some available for your board by navigating to /boot/dtb/whateverstandshere/overlay 0 Quote
Tobias Posted Tuesday at 02:05 PM Author Posted Tuesday at 02:05 PM Ok, thank you. I cant find the overlay folder (probably because no overlays exist for sk-am64b). I have found some information regarding SPIDEV for my board here: https://software-dl.ti.com/processor-sdk-sitara/esd/am64x/latest/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/SPI.html. It actually show an example of a device tree. Do someone know if there exist overlays that is known to be working or do i have to create my own? Regards Tobias 0 Quote
Werner Posted Tuesday at 03:18 PM Posted Tuesday at 03:18 PM I just check the sources from ti and it seems like they dont provide much overlays by themselves, so it seems you have to come up with something on your own. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.