File: child-node.dts

package info (click to toggle)
dt-schema 2025.08-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 848 kB
  • sloc: python: 2,286; sh: 8; makefile: 3
file content (27 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (2)
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
// SPDX-License-Identifier: BSD-2-Clause
// Copyright 2018 Linaro Ltd.
// Copyright 2018-2022 Arm Ltd.
/dts-v1/;
/plugin/; // silence any missing phandle references
/ {
	model = "none";
	compatible = "foo";

	#address-cells = <1>;
	#size-cells = <1>;
	good-child-node-test {
		compatible = "vendor,node-with-child-node";

		child-node-fixed-name {
			vendor,required-property = <1234>;
		};

		child-node@0 {
			compatible = "a-child-compatible";
			reg = <0>;
			vendor,a-child-property = <2>;
			vendor,a-child-property2 = <4>;
			vendor,a-child-string-property = "a-string";
		};
	};
};