summaryrefslogtreecommitdiff
path: root/tools/dtoc/test/dtoc_test_single_reg.dts
blob: 804b67855beb44fb9d45343f457f14c377dc5b59 (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
// SPDX-License-Identifier: GPL-2.0+
/*
 * Test device tree file for dtoc
 *
 * Copyright 2017 Google, Inc
 */

/dts-v1/;

/ {
	#address-cells = <1>;
	#size-cells = <1>;

	i2c@0 {
		compatible = "sandbox,i2c";
		u-boot,dm-pre-reloc;
		#address-cells = <1>;
		#size-cells = <0>;
		pmic@9 {
			compatible = "sandbox,pmic";
			u-boot,dm-pre-reloc;
			reg = <9>;
			low-power;

			gpio {
				compatible = "sandbox,gpio";
			};
		};
	};
};