7 unittestbus: test-bus {
8 compatible = "simple-bus";
12 unittest100: test-unittest100 {
13 compatible = "unittest";
18 unittest101: test-unittest101 {
19 compatible = "unittest";
24 unittest0: test-unittest0 {
25 compatible = "unittest";
30 unittest1: test-unittest1 {
31 compatible = "unittest";
36 unittest2: test-unittest2 {
37 compatible = "unittest";
42 unittest3: test-unittest3 {
43 compatible = "unittest";
48 unittest5: test-unittest5 {
49 compatible = "unittest";
54 unittest6: test-unittest6 {
55 compatible = "unittest";
60 unittest7: test-unittest7 {
61 compatible = "unittest";
66 unittest8: test-unittest8 {
67 compatible = "unittest";
73 compatible = "unittest-i2c-bus";
82 compatible = "unittest-i2c-dev";
88 compatible = "unittest-i2c-dev";
94 compatible = "unittest-i2c-mux";
101 #address-cells = <1>;
107 compatible = "unittest-i2c-dev";
116 /* test enable using absolute target path */
119 target-path = "/testcase-data/overlay-node/test-bus/test-unittest0";
126 /* test disable using absolute target path */
129 target-path = "/testcase-data/overlay-node/test-bus/test-unittest1";
136 /* test enable using label */
139 target = <&unittest2>;
146 /* test disable using label */
149 target = <&unittest3>;
156 /* test insertion of a full node */
159 target = <&unittestbus>;
162 /* suppress DTC warning */
163 #address-cells = <1>;
167 compatible = "unittest";
175 /* test overlay apply revert */
178 target-path = "/testcase-data/overlay-node/test-bus/test-unittest5";
185 /* test overlays application and removal in sequence */
188 target-path = "/testcase-data/overlay-node/test-bus/test-unittest6";
196 target-path = "/testcase-data/overlay-node/test-bus/test-unittest7";
203 /* test overlays application and removal in bad sequence */
206 target-path = "/testcase-data/overlay-node/test-bus/test-unittest8";
214 target-path = "/testcase-data/overlay-node/test-bus/test-unittest8";
216 property-foo = "bar";
223 target-path = "/testcase-data/overlay-node/test-bus";
226 /* suppress DTC warning */
227 #address-cells = <1>;
231 compatible = "unittest";
235 #address-cells = <1>;
239 compatible = "unittest";
251 target-path = "/testcase-data/overlay-node/test-bus";
254 /* suppress DTC warning */
255 #address-cells = <1>;
259 compatible = "unittest";
263 #address-cells = <1>;
267 compatible = "unittest";
277 /* test enable using absolute target path (i2c) */
280 target-path = "/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest12";
287 /* test disable using absolute target path (i2c) */
290 target-path = "/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13";
297 /* test mux overlay */
300 target-path = "/testcase-data/overlay-node/test-bus/i2c-test-bus";
302 #address-cells = <1>;
306 compatible = "unittest-i2c-mux";
309 #address-cells = <1>;
313 #address-cells = <1>;
319 compatible = "unittest-i2c-dev";