aboutsummaryrefslogtreecommitdiff
path: root/drivers/of/unittest-data/tests-platform.dtsi
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2015-03-20 21:04:04 +0100
committerAnders Roxell <anders.roxell@linaro.org>2015-03-20 21:04:04 +0100
commit82fc0deb5fb5067c5207ace309b4e3af3eeec17b (patch)
treeb74cc762f65e4e8957098767b07e423f62cc38a4 /drivers/of/unittest-data/tests-platform.dtsi
parente20e8b472345ea5babd805db6726d1a7000f7673 (diff)
parent5210951a4876a42856434546d2789838d3e35f34 (diff)
Merge branch 'linux-linaro-lsk-v3.14' into linux-linaro-lsk-v3.14-rtlsk-v3.14-15.03-rt
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>;
+ };
+ };
+ };
+ };
+};