blob: 489604a9ba91c05d1670783bd4b144ccea83b484 [file] [log] [blame]
Frank Li94967342015-05-19 02:45:04 +08001/*
2 * Copyright 2015 Freescale Semiconductor, Inc.
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
13 *
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * Or, alternatively,
20 *
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
28 * conditions:
29 *
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
32 *
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
41 */
42
43#include <dt-bindings/clock/imx7d-clock.h>
44#include <dt-bindings/gpio/gpio.h>
45#include <dt-bindings/interrupt-controller/arm-gic.h>
46#include "imx7d-pinfunc.h"
47#include "skeleton.dtsi"
48
49/ {
50 aliases {
51 gpio0 = &gpio1;
52 gpio1 = &gpio2;
53 gpio2 = &gpio3;
54 gpio3 = &gpio4;
55 gpio4 = &gpio5;
56 gpio5 = &gpio6;
57 gpio6 = &gpio7;
58 i2c0 = &i2c1;
59 i2c1 = &i2c2;
60 i2c2 = &i2c3;
61 i2c3 = &i2c4;
62 mmc0 = &usdhc1;
63 mmc1 = &usdhc2;
64 mmc2 = &usdhc3;
65 serial0 = &uart1;
66 serial1 = &uart2;
67 serial2 = &uart3;
68 serial3 = &uart4;
69 serial4 = &uart5;
70 serial5 = &uart6;
71 serial6 = &uart7;
72 };
73
74 cpus {
75 #address-cells = <1>;
76 #size-cells = <0>;
77
78 cpu0: cpu@0 {
79 compatible = "arm,cortex-a7";
80 device_type = "cpu";
81 reg = <0>;
82 operating-points = <
83 /* KHz uV */
84 996000 1075000
85 792000 975000
86 >;
87 clock-latency = <61036>; /* two CLK32 periods */
Bai Ping698e2ac2015-11-24 18:25:15 +080088 clocks = <&clks IMX7D_CLK_ARM>;
Frank Li94967342015-05-19 02:45:04 +080089 };
90
91 cpu1: cpu@1 {
92 compatible = "arm,cortex-a7";
93 device_type = "cpu";
94 reg = <1>;
95 };
96 };
97
98 intc: interrupt-controller@31001000 {
99 compatible = "arm,cortex-a7-gic";
100 #interrupt-cells = <3>;
101 interrupt-controller;
102 reg = <0x31001000 0x1000>,
103 <0x31002000 0x1000>,
104 <0x31004000 0x2000>,
105 <0x31006000 0x2000>;
106 };
107
108 ckil: clock-cki {
109 compatible = "fixed-clock";
110 #clock-cells = <0>;
111 clock-frequency = <32768>;
112 clock-output-names = "ckil";
113 };
114
115 osc: clock-osc {
116 compatible = "fixed-clock";
117 #clock-cells = <0>;
118 clock-frequency = <24000000>;
119 clock-output-names = "osc";
120 };
121
Frank Li3adab7c2015-06-30 22:58:11 +0800122 etr@30086000 {
123 compatible = "arm,coresight-tmc", "arm,primecell";
124 reg = <0x30086000 0x1000>;
125 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
126 clock-names = "apb_pclk";
127
128 port {
129 etr_in_port: endpoint {
130 slave-mode;
131 remote-endpoint = <&replicator_out_port1>;
132 };
133 };
134 };
135
136 tpiu@30087000 {
137 compatible = "arm,coresight-tpiu", "arm,primecell";
138 reg = <0x30087000 0x1000>;
139 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
140 clock-names = "apb_pclk";
141
142 port {
143 tpiu_in_port: endpoint {
144 slave-mode;
145 remote-endpoint = <&replicator_out_port1>;
146 };
147 };
148 };
149
150 replicator {
151 /*
152 * non-configurable replicators don't show up on the
153 * AMBA bus. As such no need to add "arm,primecell"
154 */
155 compatible = "arm,coresight-replicator";
156
157 ports {
158 #address-cells = <1>;
159 #size-cells = <0>;
160
161 /* replicator output ports */
162 port@0 {
163 reg = <0>;
164 replicator_out_port0: endpoint {
165 remote-endpoint = <&tpiu_in_port>;
166 };
167 };
168
169 port@1 {
170 reg = <1>;
171 replicator_out_port1: endpoint {
172 remote-endpoint = <&etr_in_port>;
173 };
174 };
175
176 /* replicator input port */
177 port@2 {
178 reg = <0>;
179 replicator_in_port0: endpoint {
180 slave-mode;
181 remote-endpoint = <&etf_out_port>;
182 };
183 };
184 };
185 };
186
187 etf@30084000 {
188 compatible = "arm,coresight-tmc", "arm,primecell";
189 reg = <0x30084000 0x1000>;
190 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
191 clock-names = "apb_pclk";
192
193 ports {
194 #address-cells = <1>;
195 #size-cells = <0>;
196
197 port@0 {
198 reg = <0>;
199 etf_in_port: endpoint {
200 slave-mode;
201 remote-endpoint = <&hugo_funnel_out_port0>;
202 };
203 };
204
205 port@1 {
206 reg = <0>;
207 etf_out_port: endpoint {
208 remote-endpoint = <&replicator_in_port0>;
209 };
210 };
211 };
212 };
213
214 funnel@30083000 {
215 compatible = "arm,coresight-funnel", "arm,primecell";
216 reg = <0x30083000 0x1000>;
217 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
218 clock-names = "apb_pclk";
219
220 ports {
221 #address-cells = <1>;
222 #size-cells = <0>;
223
224 /* funnel input ports */
225 port@0 {
226 reg = <0>;
227 hugo_funnel_in_port0: endpoint {
228 slave-mode;
229 remote-endpoint = <&ca_funnel_out_port0>;
230 };
231 };
232
233 port@1 {
234 reg = <1>;
235 hugo_funnel_in_port1: endpoint {
236 slave-mode; /* M4 input */
237 };
238 };
239
240 port@2 {
241 reg = <0>;
242 hugo_funnel_out_port0: endpoint {
243 remote-endpoint = <&etf_in_port>;
244 };
245 };
246
247 /* the other input ports are not connect to anything */
248 };
249 };
250
251 funnel@30041000 {
252 compatible = "arm,coresight-funnel", "arm,primecell";
253 reg = <0x30041000 0x1000>;
254 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
255 clock-names = "apb_pclk";
256
257 ports {
258 #address-cells = <1>;
259 #size-cells = <0>;
260
261 /* funnel input ports */
262 port@0 {
263 reg = <0>;
264 ca_funnel_in_port0: endpoint {
265 slave-mode;
266 remote-endpoint = <&etm0_out_port>;
267 };
268 };
269
270 port@1 {
271 reg = <1>;
272 ca_funnel_in_port1: endpoint {
273 slave-mode;
274 remote-endpoint = <&etm1_out_port>;
275 };
276 };
277
278 /* funnel output port */
279 port@2 {
280 reg = <0>;
281 ca_funnel_out_port0: endpoint {
282 remote-endpoint = <&hugo_funnel_in_port0>;
283 };
284 };
285
286 /* the other input ports are not connect to anything */
287 };
288 };
289
290 etm@3007c000 {
291 compatible = "arm,coresight-etm3x", "arm,primecell";
292 reg = <0x3007c000 0x1000>;
293 cpu = <&cpu0>;
294 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
295 clock-names = "apb_pclk";
296
297 port {
298 etm0_out_port: endpoint {
299 remote-endpoint = <&ca_funnel_in_port0>;
300 };
301 };
302 };
303
304 etm@3007d000 {
305 compatible = "arm,coresight-etm3x", "arm,primecell";
306 reg = <0x3007d000 0x1000>;
307
308 /*
309 * System will hang if added nosmp in kernel command line
310 * without arm,primecell-periphid because amba bus try to
311 * read id and core1 power off at this time.
312 */
313 arm,primecell-periphid = <0xbb956>;
314 cpu = <&cpu1>;
315 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
316 clock-names = "apb_pclk";
317
318 port {
319 etm1_out_port: endpoint {
320 remote-endpoint = <&ca_funnel_in_port1>;
321 };
322 };
323 };
324
Frank Li94967342015-05-19 02:45:04 +0800325 soc {
326 #address-cells = <1>;
327 #size-cells = <1>;
328 compatible = "simple-bus";
329 interrupt-parent = <&intc>;
330 ranges;
331
332 aips1: aips-bus@30000000 {
333 compatible = "fsl,aips-bus", "simple-bus";
334 #address-cells = <1>;
335 #size-cells = <1>;
336 reg = <0x30000000 0x400000>;
337 ranges;
338
339 gpio1: gpio@30200000 {
340 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
341 reg = <0x30200000 0x10000>;
342 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
343 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
344 gpio-controller;
345 #gpio-cells = <2>;
346 interrupt-controller;
347 #interrupt-cells = <2>;
348 };
349
350 gpio2: gpio@30210000 {
351 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
352 reg = <0x30210000 0x10000>;
353 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
354 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
355 gpio-controller;
356 #gpio-cells = <2>;
357 interrupt-controller;
358 #interrupt-cells = <2>;
359 };
360
361 gpio3: gpio@30220000 {
362 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
363 reg = <0x30220000 0x10000>;
364 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
365 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
366 gpio-controller;
367 #gpio-cells = <2>;
368 interrupt-controller;
369 #interrupt-cells = <2>;
370 };
371
372 gpio4: gpio@30230000 {
373 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
374 reg = <0x30230000 0x10000>;
375 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
376 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
377 gpio-controller;
378 #gpio-cells = <2>;
379 interrupt-controller;
380 #interrupt-cells = <2>;
381 };
382
383 gpio5: gpio@30240000 {
384 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
385 reg = <0x30240000 0x10000>;
386 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
387 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
388 gpio-controller;
389 #gpio-cells = <2>;
390 interrupt-controller;
391 #interrupt-cells = <2>;
392 };
393
394 gpio6: gpio@30250000 {
395 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
396 reg = <0x30250000 0x10000>;
397 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
398 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
399 gpio-controller;
400 #gpio-cells = <2>;
401 interrupt-controller;
402 #interrupt-cells = <2>;
403 };
404
405 gpio7: gpio@30260000 {
406 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
407 reg = <0x30260000 0x10000>;
408 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
409 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
410 gpio-controller;
411 #gpio-cells = <2>;
412 interrupt-controller;
413 #interrupt-cells = <2>;
414 };
415
Frank Li6f5f9bc2015-05-29 03:40:57 +0800416 wdog1: wdog@30280000 {
417 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
418 reg = <0x30280000 0x10000>;
419 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
420 clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
421 };
422
423 wdog2: wdog@30290000 {
424 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
425 reg = <0x30290000 0x10000>;
426 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
427 clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
428 status = "disabled";
429 };
430
431 wdog3: wdog@302a0000 {
432 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
433 reg = <0x302a0000 0x10000>;
434 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
435 clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
436 status = "disabled";
437 };
438
439 wdog4: wdog@302b0000 {
440 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
441 reg = <0x302b0000 0x10000>;
442 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
443 clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
444 status = "disabled";
445 };
446
Adrian Alonso149c08e2015-09-25 16:05:57 -0500447 iomuxc_lpsr: iomuxc-lpsr@302c0000 {
448 compatible = "fsl,imx7d-iomuxc-lpsr";
449 reg = <0x302c0000 0x10000>;
450 fsl,input-sel = <&iomuxc>;
451 };
452
Frank Li94967342015-05-19 02:45:04 +0800453 gpt1: gpt@302d0000 {
454 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
455 reg = <0x302d0000 0x10000>;
456 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
457 clocks = <&clks IMX7D_CLK_DUMMY>,
458 <&clks IMX7D_GPT1_ROOT_CLK>;
459 clock-names = "ipg", "per";
460 };
461
462 gpt2: gpt@302e0000 {
463 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
464 reg = <0x302e0000 0x10000>;
465 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
466 clocks = <&clks IMX7D_CLK_DUMMY>,
467 <&clks IMX7D_GPT2_ROOT_CLK>;
468 clock-names = "ipg", "per";
469 status = "disabled";
470 };
471
472 gpt3: gpt@302f0000 {
473 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
474 reg = <0x302f0000 0x10000>;
475 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
476 clocks = <&clks IMX7D_CLK_DUMMY>,
477 <&clks IMX7D_GPT3_ROOT_CLK>;
478 clock-names = "ipg", "per";
479 status = "disabled";
480 };
481
482 gpt4: gpt@30300000 {
483 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
484 reg = <0x30300000 0x10000>;
485 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
486 clocks = <&clks IMX7D_CLK_DUMMY>,
487 <&clks IMX7D_GPT4_ROOT_CLK>;
488 clock-names = "ipg", "per";
489 status = "disabled";
490 };
491
492 iomuxc: iomuxc@30330000 {
493 compatible = "fsl,imx7d-iomuxc";
494 reg = <0x30330000 0x10000>;
495 };
496
497 gpr: iomuxc-gpr@30340000 {
498 compatible = "fsl,imx7d-iomuxc-gpr", "syscon";
499 reg = <0x30340000 0x10000>;
500 };
501
502 ocotp: ocotp-ctrl@30350000 {
503 compatible = "syscon";
504 reg = <0x30350000 0x10000>;
505 clocks = <&clks IMX7D_CLK_DUMMY>;
506 status = "disabled";
507 };
508
509 anatop: anatop@30360000 {
510 compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
511 "syscon", "simple-bus";
512 reg = <0x30360000 0x10000>;
513 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
514 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
515
516 reg_1p0d: regulator-vdd1p0d@210 {
517 compatible = "fsl,anatop-regulator";
518 regulator-name = "vdd1p0d";
519 regulator-min-microvolt = <800000>;
520 regulator-max-microvolt = <1200000>;
521 anatop-reg-offset = <0x210>;
522 anatop-vol-bit-shift = <8>;
523 anatop-vol-bit-width = <5>;
524 anatop-min-bit-val = <8>;
525 anatop-min-voltage = <800000>;
526 anatop-max-voltage = <1200000>;
527 anatop-enable-bit = <31>;
528 };
529 };
530
531 snvs: snvs@30370000 {
Frank Liabb9f252015-07-29 01:50:00 +0800532 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
533 reg = <0x30370000 0x10000>;
Frank Li94967342015-05-19 02:45:04 +0800534
Frank Liabb9f252015-07-29 01:50:00 +0800535 snvs_rtc: snvs-rtc-lp {
Frank Li94967342015-05-19 02:45:04 +0800536 compatible = "fsl,sec-v4.0-mon-rtc-lp";
Frank Liabb9f252015-07-29 01:50:00 +0800537 regmap = <&snvs>;
538 offset = <0x34>;
Frank Li94967342015-05-19 02:45:04 +0800539 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
540 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
541 };
Frank Liabb9f252015-07-29 01:50:00 +0800542
543 snvs_poweroff: snvs-poweroff {
544 compatible = "syscon-poweroff";
545 regmap = <&snvs>;
546 offset = <0x38>;
547 mask = <0x60>;
548 };
549
550 snvs_pwrkey: snvs-powerkey {
551 compatible = "fsl,sec-v4.0-pwrkey";
552 regmap = <&snvs>;
553 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
554 linux,keycode = <KEY_POWER>;
555 wakeup-source;
556 };
Frank Li94967342015-05-19 02:45:04 +0800557 };
558
559 clks: ccm@30380000 {
560 compatible = "fsl,imx7d-ccm";
561 reg = <0x30380000 0x10000>;
562 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
563 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
564 #clock-cells = <1>;
565 clocks = <&ckil>, <&osc>;
566 clock-names = "ckil", "osc";
567 };
568
569 src: src@30390000 {
570 compatible = "fsl,imx7d-src", "fsl,imx51-src", "syscon";
571 reg = <0x30390000 0x10000>;
572 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
573 #reset-cells = <1>;
574 };
575 };
576
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300577 aips2: aips-bus@30400000 {
578 compatible = "fsl,aips-bus", "simple-bus";
579 #address-cells = <1>;
580 #size-cells = <1>;
581 reg = <0x30400000 0x400000>;
582 ranges;
583
584 pwm1: pwm@30660000 {
585 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
586 reg = <0x30660000 0x10000>;
587 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
588 clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
589 <&clks IMX7D_PWM1_ROOT_CLK>;
590 clock-names = "ipg", "per";
591 #pwm-cells = <2>;
592 status = "disabled";
593 };
594
595 pwm2: pwm@30670000 {
596 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
597 reg = <0x30670000 0x10000>;
598 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
599 clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
600 <&clks IMX7D_PWM2_ROOT_CLK>;
601 clock-names = "ipg", "per";
602 #pwm-cells = <2>;
603 status = "disabled";
604 };
605
606 pwm3: pwm@30680000 {
607 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
608 reg = <0x30680000 0x10000>;
609 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
610 clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
611 <&clks IMX7D_PWM3_ROOT_CLK>;
612 clock-names = "ipg", "per";
613 #pwm-cells = <2>;
614 status = "disabled";
615 };
616
617 pwm4: pwm@30690000 {
618 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
619 reg = <0x30690000 0x10000>;
620 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
621 clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
622 <&clks IMX7D_PWM4_ROOT_CLK>;
623 clock-names = "ipg", "per";
624 #pwm-cells = <2>;
625 status = "disabled";
626 };
627 };
628
Frank Li94967342015-05-19 02:45:04 +0800629 aips3: aips-bus@30800000 {
630 compatible = "fsl,aips-bus", "simple-bus";
631 #address-cells = <1>;
632 #size-cells = <1>;
633 reg = <0x30800000 0x400000>;
634 ranges;
635
636 uart1: serial@30860000 {
637 compatible = "fsl,imx7d-uart",
638 "fsl,imx6q-uart";
639 reg = <0x30860000 0x10000>;
640 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
641 clocks = <&clks IMX7D_UART1_ROOT_CLK>,
642 <&clks IMX7D_UART1_ROOT_CLK>;
643 clock-names = "ipg", "per";
644 status = "disabled";
645 };
646
Fabio Estevam178b2d02015-09-24 16:18:12 -0300647 uart2: serial@30890000 {
Frank Li94967342015-05-19 02:45:04 +0800648 compatible = "fsl,imx7d-uart",
649 "fsl,imx6q-uart";
Fabio Estevam178b2d02015-09-24 16:18:12 -0300650 reg = <0x30890000 0x10000>;
Frank Li94967342015-05-19 02:45:04 +0800651 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
652 clocks = <&clks IMX7D_UART2_ROOT_CLK>,
653 <&clks IMX7D_UART2_ROOT_CLK>;
654 clock-names = "ipg", "per";
655 status = "disabled";
656 };
657
658 uart3: serial@30880000 {
659 compatible = "fsl,imx7d-uart",
660 "fsl,imx6q-uart";
661 reg = <0x30880000 0x10000>;
662 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
663 clocks = <&clks IMX7D_UART3_ROOT_CLK>,
664 <&clks IMX7D_UART3_ROOT_CLK>;
665 clock-names = "ipg", "per";
666 status = "disabled";
667 };
668
669 i2c1: i2c@30a20000 {
670 #address-cells = <1>;
671 #size-cells = <0>;
672 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
673 reg = <0x30a20000 0x10000>;
674 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
675 clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
676 status = "disabled";
677 };
678
679 i2c2: i2c@30a30000 {
680 #address-cells = <1>;
681 #size-cells = <0>;
682 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
683 reg = <0x30a30000 0x10000>;
684 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
685 clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
686 status = "disabled";
687 };
688
689 i2c3: i2c@30a40000 {
690 #address-cells = <1>;
691 #size-cells = <0>;
692 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
693 reg = <0x30a40000 0x10000>;
694 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
695 clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
696 status = "disabled";
697 };
698
699 i2c4: i2c@30a50000 {
700 #address-cells = <1>;
701 #size-cells = <0>;
702 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
703 reg = <0x30a50000 0x10000>;
704 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
705 clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
706 status = "disabled";
707 };
708
709 uart4: serial@30a60000 {
710 compatible = "fsl,imx7d-uart",
711 "fsl,imx6q-uart";
712 reg = <0x30a60000 0x10000>;
713 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
714 clocks = <&clks IMX7D_UART4_ROOT_CLK>,
715 <&clks IMX7D_UART4_ROOT_CLK>;
716 clock-names = "ipg", "per";
717 status = "disabled";
718 };
719
720 uart5: serial@30a70000 {
721 compatible = "fsl,imx7d-uart",
722 "fsl,imx6q-uart";
723 reg = <0x30a70000 0x10000>;
724 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
725 clocks = <&clks IMX7D_UART5_ROOT_CLK>,
726 <&clks IMX7D_UART5_ROOT_CLK>;
727 clock-names = "ipg", "per";
728 status = "disabled";
729 };
730
731 uart6: serial@30a80000 {
732 compatible = "fsl,imx7d-uart",
733 "fsl,imx6q-uart";
734 reg = <0x30a80000 0x10000>;
735 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
736 clocks = <&clks IMX7D_UART6_ROOT_CLK>,
737 <&clks IMX7D_UART6_ROOT_CLK>;
738 clock-names = "ipg", "per";
739 status = "disabled";
740 };
741
742 uart7: serial@30a90000 {
743 compatible = "fsl,imx7d-uart",
744 "fsl,imx6q-uart";
745 reg = <0x30a90000 0x10000>;
746 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
747 clocks = <&clks IMX7D_UART7_ROOT_CLK>,
748 <&clks IMX7D_UART7_ROOT_CLK>;
749 clock-names = "ipg", "per";
750 status = "disabled";
751 };
752
Fabio Estevam60f5a222015-09-07 22:57:11 -0300753 usbotg1: usb@30b10000 {
754 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
755 reg = <0x30b10000 0x200>;
756 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
757 clocks = <&clks IMX7D_USB_CTRL_CLK>;
758 fsl,usbphy = <&usbphynop1>;
759 fsl,usbmisc = <&usbmisc1 0>;
760 phy-clkgate-delay-us = <400>;
761 status = "disabled";
762 };
763
764 usbotg2: usb@30b20000 {
765 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
766 reg = <0x30b20000 0x200>;
767 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
768 clocks = <&clks IMX7D_USB_CTRL_CLK>;
769 fsl,usbphy = <&usbphynop2>;
770 fsl,usbmisc = <&usbmisc2 0>;
771 phy-clkgate-delay-us = <400>;
772 status = "disabled";
773 };
774
775 usbh: usb@30b30000 {
776 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
777 reg = <0x30b30000 0x200>;
778 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
779 clocks = <&clks IMX7D_USB_CTRL_CLK>;
780 fsl,usbphy = <&usbphynop3>;
781 fsl,usbmisc = <&usbmisc3 0>;
782 phy_type = "hsic";
783 dr_mode = "host";
784 phy-clkgate-delay-us = <400>;
785 status = "disabled";
786 };
787
788 usbmisc1: usbmisc@30b10200 {
789 #index-cells = <1>;
790 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
791 reg = <0x30b10200 0x200>;
792 };
793
794 usbmisc2: usbmisc@30b20200 {
795 #index-cells = <1>;
796 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
797 reg = <0x30b20200 0x200>;
798 };
799
800 usbmisc3: usbmisc@30b30200 {
801 #index-cells = <1>;
802 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
803 reg = <0x30b30200 0x200>;
804 };
805
806 usbphynop1: usbphynop1 {
807 compatible = "usb-nop-xceiv";
808 clocks = <&clks IMX7D_USB_PHY1_CLK>;
809 clock-names = "main_clk";
810 };
811
812 usbphynop2: usbphynop2 {
813 compatible = "usb-nop-xceiv";
814 clocks = <&clks IMX7D_USB_PHY2_CLK>;
815 clock-names = "main_clk";
816 };
817
818 usbphynop3: usbphynop3 {
819 compatible = "usb-nop-xceiv";
820 clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
821 clock-names = "main_clk";
822 };
823
Frank Li94967342015-05-19 02:45:04 +0800824 usdhc1: usdhc@30b40000 {
825 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
826 reg = <0x30b40000 0x10000>;
827 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
828 clocks = <&clks IMX7D_CLK_DUMMY>,
829 <&clks IMX7D_CLK_DUMMY>,
830 <&clks IMX7D_USDHC1_ROOT_CLK>;
831 clock-names = "ipg", "ahb", "per";
832 bus-width = <4>;
833 status = "disabled";
834 };
835
836 usdhc2: usdhc@30b50000 {
837 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
838 reg = <0x30b50000 0x10000>;
839 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
840 clocks = <&clks IMX7D_CLK_DUMMY>,
841 <&clks IMX7D_CLK_DUMMY>,
842 <&clks IMX7D_USDHC2_ROOT_CLK>;
843 clock-names = "ipg", "ahb", "per";
844 bus-width = <4>;
845 status = "disabled";
846 };
847
848 usdhc3: usdhc@30b60000 {
849 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
850 reg = <0x30b60000 0x10000>;
851 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
852 clocks = <&clks IMX7D_CLK_DUMMY>,
853 <&clks IMX7D_CLK_DUMMY>,
854 <&clks IMX7D_USDHC3_ROOT_CLK>;
855 clock-names = "ipg", "ahb", "per";
856 bus-width = <4>;
857 status = "disabled";
858 };
Fugang Duan0f629212015-09-07 10:55:01 +0800859
860 fec1: ethernet@30be0000 {
861 compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
862 reg = <0x30be0000 0x10000>;
863 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
864 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
865 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
866 clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
867 <&clks IMX7D_ENET_AXI_ROOT_CLK>,
868 <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
869 <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
870 <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
871 clock-names = "ipg", "ahb", "ptp",
872 "enet_clk_ref", "enet_out";
873 fsl,num-tx-queues=<3>;
874 fsl,num-rx-queues=<3>;
875 status = "disabled";
876 };
877
878 fec2: ethernet@30bf0000 {
879 compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
880 reg = <0x30bf0000 0x10000>;
881 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
882 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
883 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
884 clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
885 <&clks IMX7D_ENET_AXI_ROOT_CLK>,
886 <&clks IMX7D_ENET2_TIME_ROOT_CLK>,
887 <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
888 <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
889 clock-names = "ipg", "ahb", "ptp",
890 "enet_clk_ref", "enet_out";
891 fsl,num-tx-queues=<3>;
892 fsl,num-rx-queues=<3>;
893 status = "disabled";
894 };
Frank Li94967342015-05-19 02:45:04 +0800895 };
896 };
897};