aboutsummaryrefslogtreecommitdiff
path: root/drivers/of/unittest-data/tests-platform.dtsi
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2015-12-16 15:46:04 +0800
committerAlex Shi <alex.shi@linaro.org>2015-12-16 15:46:04 +0800
commit08671464b7991cdbc2928243fbde2458357b2ce8 (patch)
tree9df6728d1d3dc885e3dba5031c22408cb59a3eec /drivers/of/unittest-data/tests-platform.dtsi
parentabacc500b7cddb62f7efc04d7c21d56375f42646 (diff)
parent37e8e4f1465886675b03c37e9221658568ceb8f7 (diff)
Merge branch 'v3.18/topic/of-overlay' into linux-linaro-lsk-v3.18lsk-v3.18-15.12
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>;
+ };
+ };
+ };
+ };
+};