Files
android_external_dtc/tests/test_tree1_dts0.dts
David Gibson 9138db565a dtc: Switch dtc to C-style literals
dtc: Switch dtc to C-style literals

This patch introduces a new version of dts file, distinguished from
older files by starting with the special token /dts-v1/.  dts files in
the new version take C-style literals instead of the old bare hex or
OF-style base notation.  In addition, the "range" for of memreserve entries
(/memreserve/ f0000-fffff) is no longer recognized in the new format.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-11-08 11:14:07 -06:00

28 lines
473 B
Plaintext

/memreserve/ deadbeef00000000-deadbeef000fffff;
/memreserve/ 75bcd15 1000;
/ {
compatible = "test_tree1";
prop-int = <deadbeef>;
prop-str = "hello world";
subnode@1 {
compatible = "subnode1";
prop-int = [deadbeef];
subsubnode {
compatible = "subsubnode1", "subsubnode";
prop-int = <h# deadbeef>;
};
};
subnode@2 {
prop-int = <d# 123456789>;
subsubnode@0 {
compatible = "subsubnode2", "subsubnode";
prop-int = <o# 0726746425>;
};
};
};