sysfs-firmware-ofw 1.2 KB

12345678910111213141516171819202122232425262728
  1. What: /sys/firmware/devicetree/*
  2. Date: November 2013
  3. Contact: Grant Likely <grant.likely@linaro.org>
  4. Description:
  5. When using OpenFirmware or a Flattened Device Tree to enumerate
  6. hardware, the device tree structure will be exposed in this
  7. directory.
  8. It is possible for multiple device-tree directories to exist.
  9. Some device drivers use a separate detached device tree which
  10. have no attachment to the system tree and will appear in a
  11. different subdirectory under /sys/firmware/devicetree.
  12. Userspace must not use the /sys/firmware/devicetree/base
  13. path directly, but instead should follow /proc/device-tree
  14. symlink. It is possible that the absolute path will change
  15. in the future, but the symlink is the stable ABI.
  16. The /proc/device-tree symlink replaces the devicetree /proc
  17. filesystem support, and has largely the same semantics and
  18. should be compatible with existing userspace.
  19. The contents of /sys/firmware/devicetree/ is a
  20. hierarchy of directories, one per device tree node. The
  21. directory name is the resolved path component name (node
  22. name plus address). Properties are represented as files
  23. in the directory. The contents of each file is the exact
  24. binary data from the device tree.