I’m currently trying to migrate the setup I did for the 3.2 kernel to initialize a custom cape (LCD, CAN, Audio, P-Cap touchscreen), and move this over to the 3.8 kernel. Before I added everything to the board-am335xevm.c and it works great. I’m trying to get my head around the device tree in 3.8 at the moment, and I’m not sure where to start. I see the device tree files in the firmware/capes/ directory, and this gives me some examples to look at, but I don’t see where these files are called. I read up a little on the Device Tree Usage, but I don’t quite understand what all of the specific node names I can use. I will not have an eeprom on my cape because I need I2C2 for something else. Should I put everything I need into the am335x-boneblack.dts file? Are there more resources out there that I’m not aware of? Thanks,
Look at device tree overlays. These can be loaded by the kernel to augment
the basic device tree to enable the bits that you need.
The device tree is passed to the kernel when it is loaded by uboot, the
overlays are loaded on demand.
Thanks David. That points me in the right direction. I also found a site that shows how to set up overlays which helps me out quite a bit. You can find it here: