aboutsummaryrefslogtreecommitdiff
path: root/tests/bad-graph-reg-cells.dts
blob: 0533db0338e153d261a0798abee240191c6889a7 (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
36
/dts-v1/;
 / {
	bar: bar {
		ports {
			#address-cells = <1>;
			#size-cells = <1>; // should always be 0
			port@1 {
				reg = <1 2>; // should always contain only a single cell
				bar_con: endpoint {
					remote-endpoint = <&foo_con>;
				};
			};
			port@2 {
				reg = <2>;
				bar_con2: endpoint {
					remote-endpoint = <&foo_con2>;
				};
			};
		};
	};
	foo {
		port {
			#address-cells = <1>;
			#size-cells = <1>; // should always be 0
			foo_con: endpoint@1 {
				reg = <1 2>; // should always contain only a single cell
				remote-endpoint = <&bar_con>;
			};
			foo_con2: endpoint@2 {
				reg = <2>;
				remote-endpoint = <&bar_con2>;
			};
		};

	};
};