xref: /linux/drivers/of/unittest-data/tests-match.dtsi (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0
219fd7487SGrant Likely
319fd7487SGrant Likely/ {
419fd7487SGrant Likely	testcase-data {
519fd7487SGrant Likely		match-node {
619fd7487SGrant Likely			name0 { };
719fd7487SGrant Likely			name1 { device_type = "type1"; };
819fd7487SGrant Likely			a { name2 { device_type = "type1"; }; };
919fd7487SGrant Likely			b { name2 { }; };
1019fd7487SGrant Likely			c { name2 { device_type = "type2"; }; };
1119fd7487SGrant Likely			name3 { compatible = "compat3"; };
1219fd7487SGrant Likely			name4 { compatible = "compat2", "compat3"; };
1319fd7487SGrant Likely			name5 { compatible = "compat2", "compat3"; };
1419fd7487SGrant Likely			name6 { compatible = "compat1", "compat2", "compat3"; };
1519fd7487SGrant Likely			name7 { compatible = "compat2"; device_type = "type1"; };
1619fd7487SGrant Likely			name8 { compatible = "compat2"; device_type = "type1"; };
1719fd7487SGrant Likely			name9 { compatible = "compat2"; };
1819fd7487SGrant Likely		};
1919fd7487SGrant Likely	};
2019fd7487SGrant Likely};
21