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