~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 395a7923228640f03605a84cc6b1dfb8b1b4d927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// SPDX-License-Identifier: GPL-2.0+
/*
 * Other devicetree file for running sandbox tests
 *
 * This used for tests which want to check they can access multiple device
 * trees. This one is loaded and checks are made that it is actually visible.
 */

/dts-v1/;

/ {
	compatible = "sandbox-other";
	#address-cells = <1>;
	#size-cells = <1>;

	node {
		target = <&target 3 4>;

		subnode {
			compatible = "sandbox-other2";
			str-prop = "other";
		};

		subnode2 {
		};
	};

	target: target {
		compatible = "sandbox-other2";
		#gpio-cells = <2>;
		str-prop = "other";
		reg = <0x8000 0x100>;
		status = "disabled";
	};
};