Go to advanced search

by graemef
Thu Jun 13, 2019 2:40 am
Forum: Device Tree
Topic: Rpi Hat -Device Tree
Replies: 4
Views: 530

Re: Rpi Hat -Device Tree

PhilE, I built a fresh SD card, connected the Hat. When the Pi booted, I2C bus1 was enabled, I2C bus0 was disabled. Brilliant.
I will explore DT overlay fragments and get a feel for it. I'm on my way with Pi Hats now. Thanks again
by graemef
Wed Jun 12, 2019 9:07 am
Forum: Device Tree
Topic: Rpi Hat -Device Tree
Replies: 4
Views: 530

Re: Rpi Hat -Device Tree

PhilE, Thank you for such a comprehensive reply. The GPIO pins will be connected to relays, switches, and sensors. I see now there is no good reason to set GPIO states via the Hat's DT, it can all be done in the application once the boot is complete. Thank you for adding the DT code to enable the I2...
by graemef
Wed Jun 12, 2019 6:47 am
Forum: Device Tree
Topic: Rpi Hat -Device Tree
Replies: 4
Views: 530

Rpi Hat -Device Tree

Hi, I'm in the process of creating a compliant Rpi Hat. I have flashed the Eprom (24LC256) complete with a device tree (below) which I copied from martinlbb very helpful post https://lb.raspberrypi.org/forums/viewtopic.php?t=108134 /dts-v1/; /plugin/; / { compatible = "brcm,bcm2708"; [email protected] { ta...

Go to advanced search