summaryrefslogtreecommitdiff
path: root/linux/drivers/of/unittest-data/tests-platform.dtsi
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
commita1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch)
treec34b2311e37ea31db153c90cb8f4570374d05e78 /linux/drivers/of/unittest-data/tests-platform.dtsi
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/drivers/of/unittest-data/tests-platform.dtsi')
-rw-r--r--linux/drivers/of/unittest-data/tests-platform.dtsi35
1 files changed, 35 insertions, 0 deletions
diff --git a/linux/drivers/of/unittest-data/tests-platform.dtsi b/linux/drivers/of/unittest-data/tests-platform.dtsi
new file mode 100644
index 00000000..eb20eeb2
--- /dev/null
+++ b/linux/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>;
+ };
+ };
+ };
+ };
+};