Difference between revisions of "Device Tree"

From krtkl wiki
Jump to navigation Jump to search
(Created page with " == Device Tree Overlays == Device tree overlays are necessary to populate the devices on the system after boot. This is particularly important and useful for devices that...")
 
Line 5: Line 5:
  
 
Device tree overlays are necessary to populate the devices on the system after boot. This is particularly important and useful for devices that are synthesized for and reside within the programmable logic of snickerdoodle.
 
Device tree overlays are necessary to populate the devices on the system after boot. This is particularly important and useful for devices that are synthesized for and reside within the programmable logic of snickerdoodle.
 
 
 
  
 
<pre>
 
<pre>

Revision as of 18:16, 25 April 2016


Device Tree Overlays

Device tree overlays are necessary to populate the devices on the system after boot. This is particularly important and useful for devices that are synthesized for and reside within the programmable logic of snickerdoodle.

/plugin/;       /* allow undefined label references and record them */
/ {
        ....    /* various properties for loader use; i.e. part id etc. */
        fragment@0 {
                target = <&ocp>;
                __overlay__ {
                        /* bar peripheral */
                        bar {
                                compatible = "corp,bar";
                                ... /* various properties and child nodes */
                        }
                };
        };
};