xref: /linux/drivers/of/unittest-data/tests-platform.dtsi (revision 19fd74879a32fb10357e0cda9c8050f01bb3eeb8)
1*19fd7487SGrant Likely
2*19fd7487SGrant Likely/ {
3*19fd7487SGrant Likely	testcase-data {
4*19fd7487SGrant Likely		platform-tests {
5*19fd7487SGrant Likely			#address-cells = <1>;
6*19fd7487SGrant Likely			#size-cells = <0>;
7*19fd7487SGrant Likely
8*19fd7487SGrant Likely			test-device@0 {
9*19fd7487SGrant Likely				compatible = "test-device";
10*19fd7487SGrant Likely				reg = <0x0>;
11*19fd7487SGrant Likely
12*19fd7487SGrant Likely				#address-cells = <1>;
13*19fd7487SGrant Likely				#size-cells = <0>;
14*19fd7487SGrant Likely
15*19fd7487SGrant Likely				dev@100 {
16*19fd7487SGrant Likely					compatible = "test-sub-device";
17*19fd7487SGrant Likely					reg = <0x100>;
18*19fd7487SGrant Likely				};
19*19fd7487SGrant Likely			};
20*19fd7487SGrant Likely
21*19fd7487SGrant Likely			test-device@1 {
22*19fd7487SGrant Likely				compatible = "test-device";
23*19fd7487SGrant Likely				reg = <0x1>;
24*19fd7487SGrant Likely
25*19fd7487SGrant Likely				#address-cells = <1>;
26*19fd7487SGrant Likely				#size-cells = <0>;
27*19fd7487SGrant Likely
28*19fd7487SGrant Likely				dev@100 {
29*19fd7487SGrant Likely					compatible = "test-sub-device";
30*19fd7487SGrant Likely					reg = <0x100>;
31*19fd7487SGrant Likely				};
32*19fd7487SGrant Likely			};
33*19fd7487SGrant Likely		};
34*19fd7487SGrant Likely	};
35*19fd7487SGrant Likely};
36