I am trying to install a driver for the built-in PowerPC board, and the correct way to do it today is to use the OpenFirmware Device Tree datastructure data structure (a .dtb file compiled from a .dts file). Creating a tree is pretty simple, but how can I get my device driver to find the node and the data in it? I couldn’t find good references to this, and books like Linux Device Drivers are too large for x86 to be of great help for device trees, which are mainly computers with Power Architecture (arch powerpc in the Linux kernel terminology).
linux powerpc linux-device-driver device-tree
jakobengblom2
source share