-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTestDt.dts
151 lines (145 loc) · 3.19 KB
/
TestDt.dts
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/dts-v1/;
/ {
aliases {
alias-G2P0 = &l1;
};
sample-bus {
compatible = "fdtbuspkg,sample-bus";
#address-cells = <1>;
#size-cells = <1>;
sample-device@1337 {
compatible = "fdtbuspkg,sample-device";
reg = < 0x1337 0x100 >;
};
};
unit-test-devices {
compatible = "simple-bus";
fdtbuspkg,unit-test-device;
G0 {
compatible = "test1_compatible";
};
G1 {
device_type = "bar";
};
G2 {
#address-cells = <4>;
#size-cells = <3>;
l1: G2P0 {
reg = < 0x1 0x2 0x3 0x4 0x5 0x6 0x7
0x1 0xa 0x3 0xb 0x5 0xc 0x7 >;
G2P0C1 {
reg = < 0 0 0x4 >;
};
};
G2P1 {
#address-cells = <5>;
#size-cells = <2>;
};
G2p2 {
#address-cells = <2>;
#size-cells = <5>;
};
};
G3 {
G3P0 {
status = "disabled";
};
G3P1 {
status = "reserved";
};
G3P2 {
status = "fail";
};
G3P3 {
status = "fail-foo";
};
G3P4 {
status = "okay";
};
G3P5 {
status = "lkalksjdlkajsd";
};
};
G4 {
#address-cells = <3>;
#size-cells = <2>;
ranges = < 0x1 0x2 0x3 0x5 0x6 0x7 0x8
0xa 0xb 0xc 0xd 0xe 0xf 0x1 >;
};
G5 {
#address-cells = <3>;
#size-cells = <2>;
G5P0 {
};
G5P1 {
};
G5P2 {
};
G5P3 {
};
};
G6 {
string = "a string";
svals1 = "string1", "string2";
empty;
svals2 = "", "", "1", "";
};
G7 {
#address-cells = <2>;
#size-cells = <2>;
G7P0 {
reg = < 0x1 0x00000002 0x3 0x00000004 >,
< 0x5 0x00000006 0x7 0x00000008 >,
< 0x9 0x0000000A 0xB 0x0000000C >,
< 0xD 0x0000000E 0xF 0x00000011 >,
< 0x12 0x00000013 0x14 0x00000015 >;
reg-names = "apple", "banana", "orange", "grape", "peach";
};
};
Dma0 {
Dma1 {
dma-coherent;
Dma2 {
dma-ranges;
};
Dma3 {
dma-ranges = < 0x1 0x2 0x3 0x4 0x5 >;
Dma4 {
};
};
};
};
NodeToLookup: NodeToLookup {
test = "NodeToLookup";
};
LookupTest {
ref = < &NodeToLookup >;
};
TestPic: TestPic {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
test = "TestPic";
};
DevWithInterrupt {
interrupt-parent = < &TestPic >;
interrupts = < 2 8 >;
};
InterruptNexus {
#address-cells = <2>;
#size-cells = <2>;
#interrupt-cells = <1>;
interrupt-map-mask = < 0 0 0xffffffff >;
interrupt-map = <
0 0 0xf &TestPic 0xff 4
0 0 0x2 &TestPic 0x22 8
0 0 0xe &TestPic 0xee 2
2
>;
DevWithInterruptUnderNexus {
reg = < 0xaaaabbbb 0xccccdddd 0 0 >;
interrupts = < 2 0xe 0xf 0xd >;
};
};
};
};