aboutsummaryrefslogtreecommitdiff
path: root/drivers/of/unittest-data/tests-platform.dtsi
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-21 00:13:43 +0900
committerMark Brown <broonie@kernel.org>2015-02-21 00:13:43 +0900
commit21d7f14b70fed254222a24e124e8771e1437be4c (patch)
tree3c52e48b28d5675bafa005e061b5639966671ca3 /drivers/of/unittest-data/tests-platform.dtsi
parenteff6a902ff6b8a42f768c4b78fc63b9b8d0a41d9 (diff)
parent2ea8f7ea87f24735c49543c7f523919295028c58 (diff)
Merge branch 'lsk/v3.14/topic/of' into linux-linaro-lsk-v3.14lsk-v3.14-15.02lsk-v3.14-14.02
Conflicts: drivers/of/Kconfig drivers/of/Makefile drivers/of/address.c drivers/of/selftest.c include/linux/of.h
Diffstat (limited to 'drivers/of/unittest-data/tests-platform.dtsi')
-rw-r--r--drivers/of/unittest-data/tests-platform.dtsi35
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/tests-platform.dtsi b/drivers/of/unittest-data/tests-platform.dtsi
new file mode 100644
index 000000000000..eb20eeb2b062
--- /dev/null
+++ b/drivers/of/unittest-data/tests-platform.dtsi
@@ -0,0 +1,35 @@
+
+/ {
+ 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>;
+ };
+ };
+ };
+ };
+};