b290428d71
ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any node that has a reg property must include a unit address in its name with value matching the first entry in its reg property. Conversely, if a node does not have a reg property, the node name must not include a unit address. Adjust all the dtc test-cases to conform to this rule. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
32 lines
571 B
Text
32 lines
571 B
Text
/dts-v1/;
|
|
|
|
/include/ "include2.dts"
|
|
/memreserve/ /include/ "include3.dts";
|
|
|
|
/ {
|
|
/include/ "include4.dts"
|
|
/include/ "include5.dts" = <0xdeadbeef>;
|
|
prop-int64 /include/ "include5a.dts";
|
|
prop-str = /include/ "include6.dts";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
/include/ "include7.dts"
|
|
|
|
subnode@2 {
|
|
reg = <2>;
|
|
linux,phandle = <0x2000>;
|
|
prop-int = <123456789>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
/include/ "include8.dts"
|
|
phandle = <0x2001>;
|
|
compatible = "subsubnode2", "subsubnode";
|
|
prop-int = <0726746425>;
|
|
};
|
|
|
|
ss2 {
|
|
};
|
|
};
|
|
};
|