diff options
Diffstat (limited to 'drivers/of/testcase-data/tests-platform.dtsi')
| -rw-r--r-- | drivers/of/testcase-data/tests-platform.dtsi | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/of/testcase-data/tests-platform.dtsi b/drivers/of/testcase-data/tests-platform.dtsi new file mode 100644 index 000000000000..eb20eeb2b062 --- /dev/null +++ b/drivers/of/testcase-data/tests-platform.dtsi | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | |||
| 2 | / { | ||
| 3 | testcase-data { | ||
| 4 | platform-tests { | ||
| 5 | #address-cells = <1>; | ||
| 6 | #size-cells = <0>; | ||
| 7 | |||
| 8 | test-device@0 { | ||
| 9 | compatible = "test-device"; | ||
| 10 | reg = <0x0>; | ||
| 11 | |||
| 12 | #address-cells = <1>; | ||
| 13 | #size-cells = <0>; | ||
| 14 | |||
| 15 | dev@100 { | ||
| 16 | compatible = "test-sub-device"; | ||
| 17 | reg = <0x100>; | ||
| 18 | }; | ||
| 19 | }; | ||
| 20 | |||
| 21 | test-device@1 { | ||
| 22 | compatible = "test-device"; | ||
| 23 | reg = <0x1>; | ||
| 24 | |||
| 25 | #address-cells = <1>; | ||
| 26 | #size-cells = <0>; | ||
| 27 | |||
| 28 | dev@100 { | ||
| 29 | compatible = "test-sub-device"; | ||
| 30 | reg = <0x100>; | ||
| 31 | }; | ||
| 32 | }; | ||
| 33 | }; | ||
| 34 | }; | ||
| 35 | }; | ||
