summaryrefslogblamecommitdiffstats
path: root/drivers/of/unittest-data/tests-platform.dtsi
blob: fa39611071b32f44fcc9bd3b4916006bfab57828 (plain) (tree)
1
                                   



























                                                                       


                                                                       





                                                      
// SPDX-License-Identifier: GPL-2.0

/ {
	testcase-data {
		platform-tests {
			#address-cells = <1>;
			#size-cells = <0>;

			test-device@0 {
				compatible = "test-device";
				reg = <0x0>;

				#address-cells = <1>;
				#size-cells = <0>;

				dev@100 {
					compatible = "test-sub-device";
					reg = <0x100>;
				};
			};

			test-device@1 {
				compatible = "test-device";
				reg = <0x1>;

				#address-cells = <1>;
				#size-cells = <0>;

				dev@100 {
					compatible = "test-sub-device",
						     "test-compat2",
						     "test-compat3";
					reg = <0x100>;
				};
			};
		};
	};
};