Re: [RaspberryPI 3B] [unicorn Hat] [how to configure spi]

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

 



on the command line you can modify the device tree blobs with fdtget/fdtput
to get the status of any given node:
# fdtget /boot/dtb/bcm2837-rpi-3-b.dtb /soc/spi@7e204000 status
disabled
to change the status of the node
# fdtput --type s /boot/dtb/bcm2837-rpi-3-b.dtb /soc/spi@7e204000 status okay

but i don't know if enabling the spi stuff in the dtb will make your device accessible
my issue was i wanted to add an ethernet device to spi on fedora, and i had to actually patch dts files and rebuild the dtb completely
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux