I am using an embedded Arm with a Debian build. How does one list the compiled devices from the device tree? I want to see if a device is already supported.

For those reading this, the "Device Tree" is a specification/standard for adding devices to an (embedded) Linux kernel.

marked as duplicate by jayhendren, GAD3R, Anthon, mdpc, roaima Dec 16 '16 at 23:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The device tree is exposed as a hierarchy of directories and files in /proc. You can cat the files, eg:

find /proc/device-tree/ -type f -exec head {} + | less

Beware, most file content ends with a null char, and some may contain other non-printing characters.

  • This is a very helpful answer. – Xofo Jun 14 '16 at 20:49

If dtc is available on your platform (else, install the device-tree-compiler package), you can use:

dtc -I fs /sys/firmware/devicetree/base
  • This is a very helpful answer as well ... Thanks! – Xofo Jun 14 '16 at 20:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.