The following procedure describes how to add an optional new property. The properties marked with an * are required for the selected node. A red X icon appears next to a property when it is required, but its value is not defined.
To add a new property, complete the following steps:
- Open the Peripherals View using the switch at the bottom right corner of the Editor.
-
Select the node you want to assign to a pin. You can do this from the Peripherals View or from the Nodes View. The Nodes View list is more comprehensive. In the example below,
&spi20has been selected undersoc/&global_peripherals, which is not present in the Peripherals View.
The Node Inspector panel is updated.
Tip
You can also click the node name in the devicetree source file and switch to the Devicetree Visual Editor using the Show Visual Editor button.
-
Click the Add Property button.
A window appears.
-
Select the property name and fill in or select its value.
- Click Add.
The property is added to the node, with its location defined by the property type. - Save your changes either in the editor or in the devicetree file.