fb2caa50fb
Add a test case for nodes which have the same name and same non-translatable unit address. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Grant Likely <grant.likely@linaro.org> Reviewed-by: Frank Rowand <frank.rowand@sonymobile.com>
36 lines
508 B
Plaintext
36 lines
508 B
Plaintext
|
|
/ {
|
|
testcase-data {
|
|
platform-tests {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
test-device@0 {
|
|
compatible = "test-device";
|
|
reg = <0x0>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
dev@100 {
|
|
compatible = "test-sub-device";
|
|
reg = <0x100>;
|
|
};
|
|
};
|
|
|
|
test-device@1 {
|
|
compatible = "test-device";
|
|
reg = <0x1>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
dev@100 {
|
|
compatible = "test-sub-device";
|
|
reg = <0x100>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|