5.5.3. Driver model and flattened device tree
- topic still quite volatile
- changes to dts format still frequent
- of_ (bus|driver|device) vs. standard (bus|driver|device)
-
Documentation/powerpc/booting-without-of.txt
- describes very detailed how Linux works with device trees.
- Embedded Power Architecture Platform Requirements (ePAPR)
- contains more detailed information, see
http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf
- contains more detailed information, see
- APIs and code
-
include/linux/of.h
-
include/linux/of_platform.h
-
include/linux/of_device.h
-
arch/powerpc/include/asm/prom.h
- code is in
drivers/of/
,arch/powerpc/kernel/of_*
- SOC glue code in
arch/powerpc/sysdev/fsl_soc.c
- drivers in
drivers/
-
- dtc
- merged into kernel but already old a4da2e3ec84cda635ac441efbe781a38d2ee41ee
- better get it here: git://www.jdl.com/software/dtc
- questions to linuxppc-dev or irc #mklinux
5.5.2. How does it all fit together? | 1. Denx Training Topics | 5.6. Interfacing real hardware | |||
Prev | Home | Next | |||