dtc: Add a testcase for 'reg' or 'ranges' in /

This patch adds an extra testcase to dtc to ensure that the
"reg_format" and "ranges_format" checks trigger as they should if a
'reg' or 'ranges' property appears in the root node.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson
2008-05-30 11:36:00 +10:00
committed by Jon Loeliger
parent 6aaee513dd
commit 050e6f0cff
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
reg = <0x1000 0x10>;
ranges = <0x1000 0x2000 0x1000>;
};