1// SPDX-License-Identifier: GPL-2.0
2
3/ {
4	testcase-data {
5		overlay-node {
6
7			/* test bus */
8			unittest_test_bus: test-bus {
9				compatible = "simple-bus";
10				#address-cells = <1>;
11				#size-cells = <0>;
12
13				unittest100: test-unittest100 {
14					compatible = "unittest";
15					status = "okay";
16					reg = <100>;
17				};
18
19				unittest101: test-unittest101 {
20					compatible = "unittest";
21					status = "disabled";
22					reg = <101>;
23				};
24
25				unittest0: test-unittest0 {
26					compatible = "unittest";
27					status = "disabled";
28					reg = <0>;
29				};
30
31				unittest1: test-unittest1 {
32					compatible = "unittest";
33					status = "okay";
34					reg = <1>;
35				};
36
37				unittest2: test-unittest2 {
38					compatible = "unittest";
39					status = "disabled";
40					reg = <2>;
41				};
42
43				unittest3: test-unittest3 {
44					compatible = "unittest";
45					status = "okay";
46					reg = <3>;
47				};
48
49				unittest5: test-unittest5 {
50					compatible = "unittest";
51					status = "disabled";
52					reg = <5>;
53				};
54
55				unittest6: test-unittest6 {
56					compatible = "unittest";
57					status = "disabled";
58					reg = <6>;
59				};
60
61				unittest7: test-unittest7 {
62					compatible = "unittest";
63					status = "disabled";
64					reg = <7>;
65				};
66
67				unittest8: test-unittest8 {
68					compatible = "unittest";
69					status = "disabled";
70					reg = <8>;
71				};
72
73				unittest_i2c_test_bus: i2c-test-bus {
74					compatible = "unittest-i2c-bus";
75					status = "okay";
76					reg = <50>;
77
78					#address-cells = <1>;
79					#size-cells = <0>;
80
81					test-unittest12 {
82						reg = <8>;
83						compatible = "unittest-i2c-dev";
84						status = "disabled";
85					};
86
87					test-unittest13 {
88						reg = <9>;
89						compatible = "unittest-i2c-dev";
90						status = "okay";
91					};
92
93					test-unittest14 {
94						reg = <10>;
95						compatible = "unittest-i2c-mux";
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>;
108								compatible = "unittest-i2c-dev";
109								status = "okay";
110							};
111						};
112					};
113				};
114			};
115		};
116	};
117};
118