Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/; /dts-v1/;
- /plugin/; /plugin/;
- // modern overlay syntax // raw overlay syntax
- // //
- // pretty much like normal dts as long as you stick to // make sure each fragment has a unique name! typically
- // &label and &{/path} top-level blocks, since a / {}; // they'll be sequentially numbered as shown here but I
- // block will put stuff into the raw overlay. // don't know if that's actually required.
- / { / {
- OPTIONAL OVERLAY METADATA HERE; OPTIONAL OVERLAY METADATA HERE;
- };
- fragment@0 {
- target = <&foo>;
- &foo { __overlay__ {
- STUFF HERE; STUFF HERE;
- }; };
- };
- fragment@1 {
- target = <&bar>;
- &bar { __overlay__ {
- MORE STUFF HERE; MORE STUFF HERE;
- }; };
- };
- fragment@2 {
- target-path = "/foo/bar";
- &{/foo/bar} { __overlay__ {
- YADA YADA; YADA YADA;
- }; };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement