aboutsummaryrefslogtreecommitdiff
path: root/tools/dtoc/test/dtoc_test_alias_bad_uc.dts
blob: 5d23c63a63043ff980e7d00265808c7cb84edb12 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// SPDX-License-Identifier: GPL-2.0+
/*
 * Test device tree file for dtoc
 *
 * Copyright 2017 Google, Inc
 */

/dts-v1/;

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

	aliases {
		testbus2 = &bus2;
		testfdt1 = &testfdt_1;
		other1 = &testfdt_1;
	};

	spl-test {
		bootph-all;
		compatible = "sandbox,spl-test";
		boolval;
		intval = <1>;
	};

	i2c: i2c {
		bootph-all;
		compatible = "sandbox,i2c";
		intval = <3>;
	};

	spl-test3 {
		bootph-all;
		compatible = "sandbox,spl-test";
		stringarray = "one";
		longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
	};

	bus2: some-bus {
		#address-cells = <1>;
		#size-cells = <0>;
		compatible = "denx,u-boot-test-bus";
		reg = <3 1>;
		ping-expect = <4>;
		ping-add = <4>;
		testfdt_1: test {
			compatible = "denx,u-boot-fdt-test", "google,another-fdt-test";
			reg = <5>;
			ping-expect = <5>;
			ping-add = <5>;
		};

		test0 {
			compatible = "google,another-fdt-test";
		};
	};
};