Reading the flattened device tree

If CONFIG_PROC_DEVICETREE is set in the kernel configuration options,

you can view the actual device tree parsed by the kernel from within the /proc file system after booting.

For example, you can execute a find for all nodes under /proc/device-tree:

原文地址:https://www.cnblogs.com/lianghong881018/p/12029912.html