Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Rob Herring | fb2caa5 | 2014-05-13 10:07:54 -0500 | [diff] [blame] | 2 | |
| 3 | / { |
| 4 | testcase-data { |
| 5 | platform-tests { |
| 6 | #address-cells = <1>; |
| 7 | #size-cells = <0>; |
| 8 | |
| 9 | test-device@0 { |
| 10 | compatible = "test-device"; |
| 11 | reg = <0x0>; |
| 12 | |
| 13 | #address-cells = <1>; |
| 14 | #size-cells = <0>; |
| 15 | |
| 16 | dev@100 { |
| 17 | compatible = "test-sub-device"; |
| 18 | reg = <0x100>; |
| 19 | }; |
| 20 | }; |
| 21 | |
| 22 | test-device@1 { |
| 23 | compatible = "test-device"; |
| 24 | reg = <0x1>; |
| 25 | |
| 26 | #address-cells = <1>; |
| 27 | #size-cells = <0>; |
| 28 | |
| 29 | dev@100 { |
Pantelis Antoniou | ce4fecf | 2015-01-21 19:06:14 +0200 | [diff] [blame] | 30 | compatible = "test-sub-device", |
| 31 | "test-compat2", |
| 32 | "test-compat3"; |
Rob Herring | fb2caa5 | 2014-05-13 10:07:54 -0500 | [diff] [blame] | 33 | reg = <0x100>; |
| 34 | }; |
| 35 | }; |
| 36 | }; |
| 37 | }; |
| 38 | }; |