xref: /openbmc/linux/drivers/of/unittest-data/tests-overlay.dtsi (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0
2177d271cSPantelis Antoniou
3177d271cSPantelis Antoniou/ {
4177d271cSPantelis Antoniou	testcase-data {
5177d271cSPantelis Antoniou		overlay-node {
6177d271cSPantelis Antoniou			/* test bus */
7db2f3762SFrank Rowand			unittest_test_bus: test-bus {
8177d271cSPantelis Antoniou				compatible = "simple-bus";
9177d271cSPantelis Antoniou				#address-cells = <1>;
10177d271cSPantelis Antoniou				#size-cells = <0>;
11177d271cSPantelis Antoniou
129697a559SWang Long				unittest100: test-unittest100 {
139697a559SWang Long					compatible = "unittest";
14177d271cSPantelis Antoniou					status = "okay";
15177d271cSPantelis Antoniou					reg = <100>;
16177d271cSPantelis Antoniou				};
17177d271cSPantelis Antoniou
189697a559SWang Long				unittest101: test-unittest101 {
199697a559SWang Long					compatible = "unittest";
20177d271cSPantelis Antoniou					status = "disabled";
21177d271cSPantelis Antoniou					reg = <101>;
22177d271cSPantelis Antoniou				};
23177d271cSPantelis Antoniou
249697a559SWang Long				unittest0: test-unittest0 {
259697a559SWang Long					compatible = "unittest";
26177d271cSPantelis Antoniou					status = "disabled";
27177d271cSPantelis Antoniou					reg = <0>;
28177d271cSPantelis Antoniou				};
29177d271cSPantelis Antoniou
309697a559SWang Long				unittest1: test-unittest1 {
319697a559SWang Long					compatible = "unittest";
32177d271cSPantelis Antoniou					status = "okay";
33177d271cSPantelis Antoniou					reg = <1>;
34177d271cSPantelis Antoniou				};
35177d271cSPantelis Antoniou
369697a559SWang Long				unittest2: test-unittest2 {
379697a559SWang Long					compatible = "unittest";
38177d271cSPantelis Antoniou					status = "disabled";
39177d271cSPantelis Antoniou					reg = <2>;
40177d271cSPantelis Antoniou				};
41177d271cSPantelis Antoniou
429697a559SWang Long				unittest3: test-unittest3 {
439697a559SWang Long					compatible = "unittest";
44177d271cSPantelis Antoniou					status = "okay";
45177d271cSPantelis Antoniou					reg = <3>;
46177d271cSPantelis Antoniou				};
47177d271cSPantelis Antoniou
489697a559SWang Long				unittest5: test-unittest5 {
499697a559SWang Long					compatible = "unittest";
50177d271cSPantelis Antoniou					status = "disabled";
51177d271cSPantelis Antoniou					reg = <5>;
52177d271cSPantelis Antoniou				};
53177d271cSPantelis Antoniou
549697a559SWang Long				unittest6: test-unittest6 {
559697a559SWang Long					compatible = "unittest";
56177d271cSPantelis Antoniou					status = "disabled";
57177d271cSPantelis Antoniou					reg = <6>;
58177d271cSPantelis Antoniou				};
59177d271cSPantelis Antoniou
609697a559SWang Long				unittest7: test-unittest7 {
619697a559SWang Long					compatible = "unittest";
62177d271cSPantelis Antoniou					status = "disabled";
63177d271cSPantelis Antoniou					reg = <7>;
64177d271cSPantelis Antoniou				};
65177d271cSPantelis Antoniou
669697a559SWang Long				unittest8: test-unittest8 {
679697a559SWang Long					compatible = "unittest";
68177d271cSPantelis Antoniou					status = "disabled";
69177d271cSPantelis Antoniou					reg = <8>;
70177d271cSPantelis Antoniou				};
71d5e75500SPantelis Antoniou
72db2f3762SFrank Rowand				unittest_i2c_test_bus: i2c-test-bus {
739697a559SWang Long					compatible = "unittest-i2c-bus";
74d5e75500SPantelis Antoniou					status = "okay";
75d5e75500SPantelis Antoniou					reg = <50>;
76d5e75500SPantelis Antoniou
77d5e75500SPantelis Antoniou					#address-cells = <1>;
78d5e75500SPantelis Antoniou					#size-cells = <0>;
79d5e75500SPantelis Antoniou
809697a559SWang Long					test-unittest12 {
81d5e75500SPantelis Antoniou						reg = <8>;
829697a559SWang Long						compatible = "unittest-i2c-dev";
83d5e75500SPantelis Antoniou						status = "disabled";
84d5e75500SPantelis Antoniou					};
85d5e75500SPantelis Antoniou
869697a559SWang Long					test-unittest13 {
87d5e75500SPantelis Antoniou						reg = <9>;
889697a559SWang Long						compatible = "unittest-i2c-dev";
89d5e75500SPantelis Antoniou						status = "okay";
90d5e75500SPantelis Antoniou					};
91d5e75500SPantelis Antoniou
929697a559SWang Long					test-unittest14 {
93d5e75500SPantelis Antoniou						reg = <10>;
949697a559SWang Long						compatible = "unittest-i2c-mux";
95d5e75500SPantelis Antoniou						status = "okay";
96d5e75500SPantelis Antoniou
97d5e75500SPantelis Antoniou						#address-cells = <1>;
98d5e75500SPantelis Antoniou						#size-cells = <0>;
99d5e75500SPantelis Antoniou
100d5e75500SPantelis Antoniou						i2c@0 {
101d5e75500SPantelis Antoniou							#address-cells = <1>;
102d5e75500SPantelis Antoniou							#size-cells = <0>;
103d5e75500SPantelis Antoniou							reg = <0>;
104d5e75500SPantelis Antoniou
105*62287dceSRob Herring							test-mux-dev@20 {
106*62287dceSRob Herring								reg = <0x20>;
1079697a559SWang Long								compatible = "unittest-i2c-dev";
108d5e75500SPantelis Antoniou								status = "okay";
109d5e75500SPantelis Antoniou							};
110d5e75500SPantelis Antoniou						};
111d5e75500SPantelis Antoniou					};
112d5e75500SPantelis Antoniou				};
113177d271cSPantelis Antoniou			};
114177d271cSPantelis Antoniou		};
115177d271cSPantelis Antoniou	};
116177d271cSPantelis Antoniou};
117