7070000
[GitHub/LineageOS/G12/android_kernel_amlogic_linux-4.9.git] /
1 /*
2 * Copyright 2012 Linaro Ltd
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12 /include/ "skeleton.dtsi"
13
14 / {
15 soc-u9500 {
16 #address-cells = <1>;
17 #size-cells = <1>;
18 compatible = "stericsson,db8500";
19 interrupt-parent = <&intc>;
20 ranges;
21
22 intc: interrupt-controller@a0411000 {
23 compatible = "arm,cortex-a9-gic";
24 #interrupt-cells = <3>;
25 #address-cells = <1>;
26 interrupt-controller;
27 reg = <0xa0411000 0x1000>,
28 <0xa0410100 0x100>;
29 };
30
31 L2: l2-cache {
32 compatible = "arm,pl310-cache";
33 reg = <0xa0412000 0x1000>;
34 interrupts = <0 13 4>;
35 cache-unified;
36 cache-level = <2>;
37 };
38
39 pmu {
40 compatible = "arm,cortex-a9-pmu";
41 interrupts = <0 7 0x4>;
42 };
43
44 timer@a0410600 {
45 compatible = "arm,cortex-a9-twd-timer";
46 reg = <0xa0410600 0x20>;
47 interrupts = <1 13 0x304>;
48 };
49
50 rtc@80154000 {
51 compatible = "stericsson,db8500-rtc";
52 reg = <0x80154000 0x1000>;
53 interrupts = <0 18 0x4>;
54 };
55
56 gpio0: gpio@8012e000 {
57 compatible = "stericsson,db8500-gpio",
58 "st,nomadik-gpio";
59 reg = <0x8012e000 0x80>;
60 interrupts = <0 119 0x4>;
61 interrupt-controller;
62 #interrupt-cells = <2>;
63 supports-sleepmode;
64 gpio-controller;
65 #gpio-cells = <2>;
66 gpio-bank = <0>;
67 };
68
69 gpio1: gpio@8012e080 {
70 compatible = "stericsson,db8500-gpio",
71 "st,nomadik-gpio";
72 reg = <0x8012e080 0x80>;
73 interrupts = <0 120 0x4>;
74 interrupt-controller;
75 #interrupt-cells = <2>;
76 supports-sleepmode;
77 gpio-controller;
78 #gpio-cells = <2>;
79 gpio-bank = <1>;
80 };
81
82 gpio2: gpio@8000e000 {
83 compatible = "stericsson,db8500-gpio",
84 "st,nomadik-gpio";
85 reg = <0x8000e000 0x80>;
86 interrupts = <0 121 0x4>;
87 interrupt-controller;
88 #interrupt-cells = <2>;
89 supports-sleepmode;
90 gpio-controller;
91 #gpio-cells = <2>;
92 gpio-bank = <2>;
93 };
94
95 gpio3: gpio@8000e080 {
96 compatible = "stericsson,db8500-gpio",
97 "st,nomadik-gpio";
98 reg = <0x8000e080 0x80>;
99 interrupts = <0 122 0x4>;
100 interrupt-controller;
101 #interrupt-cells = <2>;
102 supports-sleepmode;
103 gpio-controller;
104 #gpio-cells = <2>;
105 gpio-bank = <3>;
106 };
107
108 gpio4: gpio@8000e100 {
109 compatible = "stericsson,db8500-gpio",
110 "st,nomadik-gpio";
111 reg = <0x8000e100 0x80>;
112 interrupts = <0 123 0x4>;
113 interrupt-controller;
114 #interrupt-cells = <2>;
115 supports-sleepmode;
116 gpio-controller;
117 #gpio-cells = <2>;
118 gpio-bank = <4>;
119 };
120
121 gpio5: gpio@8000e180 {
122 compatible = "stericsson,db8500-gpio",
123 "st,nomadik-gpio";
124 reg = <0x8000e180 0x80>;
125 interrupts = <0 124 0x4>;
126 interrupt-controller;
127 #interrupt-cells = <2>;
128 supports-sleepmode;
129 gpio-controller;
130 #gpio-cells = <2>;
131 gpio-bank = <5>;
132 };
133
134 gpio6: gpio@8011e000 {
135 compatible = "stericsson,db8500-gpio",
136 "st,nomadik-gpio";
137 reg = <0x8011e000 0x80>;
138 interrupts = <0 125 0x4>;
139 interrupt-controller;
140 #interrupt-cells = <2>;
141 supports-sleepmode;
142 gpio-controller;
143 #gpio-cells = <2>;
144 gpio-bank = <6>;
145 };
146
147 gpio7: gpio@8011e080 {
148 compatible = "stericsson,db8500-gpio",
149 "st,nomadik-gpio";
150 reg = <0x8011e080 0x80>;
151 interrupts = <0 126 0x4>;
152 interrupt-controller;
153 #interrupt-cells = <2>;
154 supports-sleepmode;
155 gpio-controller;
156 #gpio-cells = <2>;
157 gpio-bank = <7>;
158 };
159
160 gpio8: gpio@a03fe000 {
161 compatible = "stericsson,db8500-gpio",
162 "st,nomadik-gpio";
163 reg = <0xa03fe000 0x80>;
164 interrupts = <0 127 0x4>;
165 interrupt-controller;
166 #interrupt-cells = <2>;
167 supports-sleepmode;
168 gpio-controller;
169 #gpio-cells = <2>;
170 gpio-bank = <8>;
171 };
172
173 usb@a03e0000 {
174 compatible = "stericsson,db8500-musb",
175 "mentor,musb";
176 reg = <0xa03e0000 0x10000>;
177 interrupts = <0 23 0x4>;
178 };
179
180 dma-controller@801C0000 {
181 compatible = "stericsson,db8500-dma40",
182 "stericsson,dma40";
183 reg = <0x801C0000 0x1000 0x40010000 0x800>;
184 interrupts = <0 25 0x4>;
185 };
186
187 prcmu@80157000 {
188 compatible = "stericsson,db8500-prcmu";
189 reg = <0x80157000 0x1000>;
190 interrupts = <0 47 0x4>;
191 #address-cells = <1>;
192 #size-cells = <1>;
193 ranges;
194
195 prcmu-timer-4@80157450 {
196 compatible = "stericsson,db8500-prcmu-timer-4";
197 reg = <0x80157450 0xC>;
198 };
199
200 ab8500@5 {
201 compatible = "stericsson,ab8500";
202 reg = <5>; /* mailbox 5 is i2c */
203 interrupts = <0 40 0x4>;
204 };
205 };
206
207 i2c@80004000 {
208 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
209 reg = <0x80004000 0x1000>;
210 interrupts = <0 21 0x4>;
211 #address-cells = <1>;
212 #size-cells = <0>;
213 };
214
215 i2c@80122000 {
216 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
217 reg = <0x80122000 0x1000>;
218 interrupts = <0 22 0x4>;
219 #address-cells = <1>;
220 #size-cells = <0>;
221 };
222
223 i2c@80128000 {
224 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
225 reg = <0x80128000 0x1000>;
226 interrupts = <0 55 0x4>;
227 #address-cells = <1>;
228 #size-cells = <0>;
229 };
230
231 i2c@80110000 {
232 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
233 reg = <0x80110000 0x1000>;
234 interrupts = <0 12 0x4>;
235 #address-cells = <1>;
236 #size-cells = <0>;
237 };
238
239 i2c@8012a000 {
240 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
241 reg = <0x8012a000 0x1000>;
242 interrupts = <0 51 0x4>;
243 #address-cells = <1>;
244 #size-cells = <0>;
245 };
246
247 ssp@80002000 {
248 compatible = "arm,pl022", "arm,primecell";
249 reg = <80002000 0x1000>;
250 interrupts = <0 14 0x4>;
251 #address-cells = <1>;
252 #size-cells = <0>;
253 status = "disabled";
254
255 // Add one of these for each child device
256 cs-gpios = <&gpio0 31 0x4 &gpio4 14 0x4 &gpio4 16 0x4
257 &gpio6 22 0x4 &gpio7 0 0x4>;
258
259 };
260
261 uart@80120000 {
262 compatible = "arm,pl011", "arm,primecell";
263 reg = <0x80120000 0x1000>;
264 interrupts = <0 11 0x4>;
265 status = "disabled";
266 };
267 uart@80121000 {
268 compatible = "arm,pl011", "arm,primecell";
269 reg = <0x80121000 0x1000>;
270 interrupts = <0 19 0x4>;
271 status = "disabled";
272 };
273 uart@80007000 {
274 compatible = "arm,pl011", "arm,primecell";
275 reg = <0x80007000 0x1000>;
276 interrupts = <0 26 0x4>;
277 status = "disabled";
278 };
279
280 sdi@80126000 {
281 compatible = "arm,pl18x", "arm,primecell";
282 reg = <0x80126000 0x1000>;
283 interrupts = <0 60 0x4>;
284 status = "disabled";
285 };
286 sdi@80118000 {
287 compatible = "arm,pl18x", "arm,primecell";
288 reg = <0x80118000 0x1000>;
289 interrupts = <0 50 0x4>;
290 status = "disabled";
291 };
292 sdi@80005000 {
293 compatible = "arm,pl18x", "arm,primecell";
294 reg = <0x80005000 0x1000>;
295 interrupts = <0 41 0x4>;
296 status = "disabled";
297 };
298 sdi@80119000 {
299 compatible = "arm,pl18x", "arm,primecell";
300 reg = <0x80119000 0x1000>;
301 interrupts = <0 59 0x4>;
302 status = "disabled";
303 };
304 sdi@80114000 {
305 compatible = "arm,pl18x", "arm,primecell";
306 reg = <0x80114000 0x1000>;
307 interrupts = <0 99 0x4>;
308 status = "disabled";
309 };
310 sdi@80008000 {
311 compatible = "arm,pl18x", "arm,primecell";
312 reg = <0x80114000 0x1000>;
313 interrupts = <0 100 0x4>;
314 status = "disabled";
315 };
316
317 external-bus@50000000 {
318 compatible = "simple-bus";
319 reg = <0x50000000 0x4000000>;
320 #address-cells = <1>;
321 #size-cells = <1>;
322 ranges = <0 0x50000000 0x4000000>;
323 status = "disabled";
324 };
325 };
326 };