20,290
edits
mNo edit summary |
mNo edit summary |
||
Line 140: | Line 140: | ||
*'''__local_fixups__:''' holds the locations of any references to labels that exist within the overlay. | *'''__local_fixups__:''' holds the locations of any references to labels that exist within the overlay. | ||
To show the device tree nodes | To show the device tree nodes work, we are going to create a device tree overlay to add a change to the GPIO configuration for Jetson TX2 Developer Kit. | ||
Create a file named tx2-uart-overlay.dts on the target platform with the following contents: | Create a file named tx2-uart-overlay.dts on the target platform with the following contents: | ||
Line 265: | Line 265: | ||
|type=notice | |type=notice | ||
|small=left | |small=left | ||
|issue='''Note:''' Add the tag <code>/plugin/</code> in the device tree overlay, if the tag is not added, the dtc reports the error: <code>Reference to non-existent node or label</code>. | |issue='''Note:''' Add the tag <code>/plugin/</code> in the device tree overlay, if the tag is not added, the dtc reports the error: <code>Reference to a non-existent node or label</code>. | ||
|style=width:unset; | |style=width:unset; | ||
}} | }} | ||
Line 275: | Line 275: | ||
|style=width:unset; | |style=width:unset; | ||
}} | }} | ||
Example: Since <code>ub953_0</code> is created and used also as a target, This will produce | Example: Since <code>ub953_0</code> is created and used also as a target, This will produce an error when is applied the overlay. | ||
<source lang="c"> | <source lang="c"> | ||
fragment@0 { | fragment@0 { |