35
edits
Line 117: | Line 117: | ||
*'''__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 works, we are going to create a device tree overlay to add a change the GPIO configuration for Jetson TX2 Developer Kit. | To show the device tree nodes works, 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 162: | Line 162: | ||
* label: <code>hdr40_pinmux</code> | * label: <code>hdr40_pinmux</code> | ||
* Properties | * Properties that map the names of unresolved symbols: <code>target = <&pinmux>;</code> | ||
* References to labels that exist within the overlay: <code>hdr40_pinmux</code> | * References to labels that exist within the overlay: <code>hdr40_pinmux</code> | ||
To see how the compiler | To see how the compiler dynamically resolves these labels and symbols, you can see the dtbo file generated. Compile the device tree and use <code>fdtdump</code> to see the device tree overlay content. | ||
<source lang="bash"> | <source lang="bash"> |
edits