summaryrefslogtreecommitdiffstats
path: root/drivers/of/unittest-data/tests-platform.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/unittest-data/tests-platform.dtsi')
-rw-r--r--drivers/of/unittest-data/tests-platform.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/tests-platform.dtsi b/drivers/of/unittest-data/tests-platform.dtsi
index fa39611071b3..cd310b26b50c 100644
--- a/drivers/of/unittest-data/tests-platform.dtsi
+++ b/drivers/of/unittest-data/tests-platform.dtsi
@@ -34,5 +34,18 @@
};
};
};
+
+ platform-tests-2 {
+ // No #address-cells or #size-cells
+ node {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ test-device@100 {
+ compatible = "test-sub-device";
+ reg = <0x100 1>;
+ };
+ };
+ };
};
};