Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 2 | |
3 | / { | ||||
4 | testcase-data { | ||||
5 | overlay-node { | ||||
6 | |||||
7 | /* test bus */ | ||||
Frank Rowand | db2f376 | 2018-02-12 00:23:45 -0800 | [diff] [blame] | 8 | unittest_test_bus: test-bus { |
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 9 | compatible = "simple-bus"; |
10 | #address-cells = <1>; | ||||
11 | #size-cells = <0>; | ||||
12 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 13 | unittest100: test-unittest100 { |
14 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 15 | status = "okay"; |
16 | reg = <100>; | ||||
17 | }; | ||||
18 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 19 | unittest101: test-unittest101 { |
20 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 21 | status = "disabled"; |
22 | reg = <101>; | ||||
23 | }; | ||||
24 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 25 | unittest0: test-unittest0 { |
26 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 27 | status = "disabled"; |
28 | reg = <0>; | ||||
29 | }; | ||||
30 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 31 | unittest1: test-unittest1 { |
32 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 33 | status = "okay"; |
34 | reg = <1>; | ||||
35 | }; | ||||
36 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 37 | unittest2: test-unittest2 { |
38 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 39 | status = "disabled"; |
40 | reg = <2>; | ||||
41 | }; | ||||
42 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 43 | unittest3: test-unittest3 { |
44 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 45 | status = "okay"; |
46 | reg = <3>; | ||||
47 | }; | ||||
48 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 49 | unittest5: test-unittest5 { |
50 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 51 | status = "disabled"; |
52 | reg = <5>; | ||||
53 | }; | ||||
54 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 55 | unittest6: test-unittest6 { |
56 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 57 | status = "disabled"; |
58 | reg = <6>; | ||||
59 | }; | ||||
60 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 61 | unittest7: test-unittest7 { |
62 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 63 | status = "disabled"; |
64 | reg = <7>; | ||||
65 | }; | ||||
66 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 67 | unittest8: test-unittest8 { |
68 | compatible = "unittest"; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 69 | status = "disabled"; |
70 | reg = <8>; | ||||
71 | }; | ||||
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 72 | |
Frank Rowand | db2f376 | 2018-02-12 00:23:45 -0800 | [diff] [blame] | 73 | unittest_i2c_test_bus: i2c-test-bus { |
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 74 | compatible = "unittest-i2c-bus"; |
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 75 | status = "okay"; |
76 | reg = <50>; | ||||
77 | |||||
78 | #address-cells = <1>; | ||||
79 | #size-cells = <0>; | ||||
80 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 81 | test-unittest12 { |
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 82 | reg = <8>; |
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 83 | compatible = "unittest-i2c-dev"; |
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 84 | status = "disabled"; |
85 | }; | ||||
86 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 87 | test-unittest13 { |
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 88 | reg = <9>; |
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 89 | compatible = "unittest-i2c-dev"; |
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 90 | status = "okay"; |
91 | }; | ||||
92 | |||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 93 | test-unittest14 { |
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 94 | reg = <10>; |
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 95 | compatible = "unittest-i2c-mux"; |
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 96 | status = "okay"; |
97 | |||||
98 | #address-cells = <1>; | ||||
99 | #size-cells = <0>; | ||||
100 | |||||
101 | i2c@0 { | ||||
102 | #address-cells = <1>; | ||||
103 | #size-cells = <0>; | ||||
104 | reg = <0>; | ||||
105 | |||||
106 | test-mux-dev { | ||||
107 | reg = <32>; | ||||
Wang Long | 9697a55 | 2015-03-11 08:36:54 +0000 | [diff] [blame] | 108 | compatible = "unittest-i2c-dev"; |
Pantelis Antoniou | d5e7550 | 2015-01-12 19:02:49 +0200 | [diff] [blame] | 109 | status = "okay"; |
110 | }; | ||||
111 | }; | ||||
112 | }; | ||||
113 | }; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 114 | }; |
115 | }; | ||||
Pantelis Antoniou | 177d271 | 2014-10-28 22:35:59 +0200 | [diff] [blame] | 116 | }; |
117 | }; |