Lines Matching full:devicetree

3 Devicetree access from C/C++
6 This guide describes Zephyr's ``<devicetree.h>`` API for reading the devicetree
8 :ref:`devicetree-intro` and :ref:`dt-bindings`. See :ref:`devicetree` for
14 Linux developers familiar with devicetree should be warned that the API
15 described here differs significantly from how devicetree is used on Linux.
17 Instead of generating a C header with all the devicetree data which is then
19 devicetree data structure in its binary form. The binary representation is
22 Zephyr does not work this way because the size of the devicetree binary and
31 To get information about a particular devicetree node, you need a *node
37 Use :c:func:`DT_PATH()` along with the node's full path in the devicetree,
76 :language: devicetree
90 devicetree names are converted to underscores (``_``). The names in a DTS
137 the :ref:`example devicetree <dt-node-main-ex>` above:
185 Here is an example devicetree fragment:
187 .. code-block:: devicetree
276 Most Zephyr devicetree bindings have a cell named ``irq``, which is the
282 Here, "processed" reflects Zephyr's devicetree :ref:`dt-scripts`, which
283 change the ``irq`` number in :ref:`zephyr.dts <devicetree-in-out-files>` to
306 the tree. In this case, you usually want to convert the devicetree-level
320 .. _other-devicetree-apis:
334 - :ref:`devicetree-flash-api`: APIs for managing fixed flash partitions.
352 #include <devicetree.h>
365 See :ref:`devicetree-inst-apis` for a generic API reference.
371 readability for hardware specific code. See :ref:`devicetree-hw-api` for
377 While the :file:`devicetree.h` API is not generated, it does rely on a
380 devicetree data.