Lines Matching refs:node
30 A *node identifier* is a way to refer to a devicetree node at C preprocessor
31 time. While node identifiers are not C values, you can use them to access
35 The root node ``/`` has node identifier ``DT_ROOT``. You can create node
40 used to create node identifiers for a given node's parent node or a particular
41 child node, respectively.
43 The following macros create or operate on node identifiers.
52 The following general-purpose macros can be used to access node properties.
56 Property values can be read using these macros even if the node is disabled,
69 matching bindings. However, they take on special semantics when the node's
70 binding indicates it is a PCIe bus node, as defined in the
107 The :c:macro:`DT_FOREACH_CHILD` macro allows iterating over the ancestor node
108 of a devicetree node.
112 devicetree node.
123 This section documents miscellaneous macros that can be used to test if a node
124 exists, how many nodes of a certain type exist, whether a node has certain
133 Inter-node dependencies
142 - every non-root node directly depends on its parent node
143 - a node directly depends on any nodes its properties refer to by phandle
144 - a node directly depends on its ``interrupt-parent`` if it has an
146 - a parent node inherits all dependencies from its child nodes
148 A *dependency ordering* of a devicetree is a list of its nodes, where each node
149 ``n`` appears earlier in the list than any nodes that depend on ``n``. A node's
159 and assigns a dependency ordinal to each node. Dependency related information
196 Example usage, assuming ``serial@40001000`` is the only enabled node
202 DT_DRV_INST(0) // node identifier for serial@40001000
310 within the node, where the ``<index>`` values are contiguous integers starting
317 node {
327 contents vary by platform, and which describe a pin configuration for the node.
360 The special ``/chosen`` node contains properties whose values describe
361 system-wide settings. The :c:macro:`DT_CHOSEN()` macro can be used to get a node
362 identifier for a chosen node.
371 Sometimes, a chosen node's label property will be used to set the default value
375 option, and the devicetree node is used directly in the source code to select a
396 - Core-Coupled Memory node on some STM32 SoCs
407 - Data Tightly Coupled Memory node on some Arm SoCs
411 - A node whose ``reg`` is sometimes used to set the defaults for
414 - The node corresponding to the flash controller device for
415 the ``zephyr,flash`` node
424 - A node whose ``reg`` is used by the OpenAMP subsystem to determine the
428 - Instruction Tightly Coupled Memory node on some Arm SoCs
431 If defined, the UART log backend would output to the devices listed in this node.
433 - On-chip memory node on Xilinx Zynq-7000 and ZynqMP SoCs
439 - The node corresponding to the PCIe Controller
443 - Fixed partition node. If defined this selects the partition used
448 - A node whose ``reg`` sets the base address and size of SRAM memory
457 - USB device node. If defined and has a ``vbus-gpios`` property, these
460 - A LED-strip node which is used to determine the timings of the
463 - touchscreen controller device node.