blob: 7fccb4179ac0f93b195d3024f44c70a900c2476d [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>
46#include <dt-bindings/interrupt-controller/arm-gic.h>
47#include "imx7d-pinfunc.h"
48#include "skeleton.dtsi"
49
50/ {
51 aliases {
52 gpio0 = &gpio1;
53 gpio1 = &gpio2;
54 gpio2 = &gpio3;
55 gpio3 = &gpio4;
56 gpio4 = &gpio5;
57 gpio5 = &gpio6;
58 gpio6 = &gpio7;
59 i2c0 = &i2c1;
60 i2c1 = &i2c2;
61 i2c2 = &i2c3;
62 i2c3 = &i2c4;
63 mmc0 = &usdhc1;
64 mmc1 = &usdhc2;
65 mmc2 = &usdhc3;
66 serial0 = &uart1;
67 serial1 = &uart2;
68 serial2 = &uart3;
69 serial3 = &uart4;
70 serial4 = &uart5;
71 serial5 = &uart6;
72 serial6 = &uart7;
Diego Dortab754af32016-06-22 16:37:07 -030073 spi0 = &ecspi1;
74 spi1 = &ecspi2;
75 spi2 = &ecspi3;
76 spi3 = &ecspi4;
Frank Li94967342015-05-19 02:45:04 +080077 };
78
79 cpus {
80 #address-cells = <1>;
81 #size-cells = <0>;
82
83 cpu0: cpu@0 {
84 compatible = "arm,cortex-a7";
85 device_type = "cpu";
86 reg = <0>;
87 operating-points = <
88 /* KHz uV */
89 996000 1075000
90 792000 975000
91 >;
92 clock-latency = <61036>; /* two CLK32 periods */
Bai Ping698e2ac2015-11-24 18:25:15 +080093 clocks = <&clks IMX7D_CLK_ARM>;
Frank Li94967342015-05-19 02:45:04 +080094 };
Frank Li94967342015-05-19 02:45:04 +080095 };
96
97 intc: interrupt-controller@31001000 {
98 compatible = "arm,cortex-a7-gic";
99 #interrupt-cells = <3>;
100 interrupt-controller;
101 reg = <0x31001000 0x1000>,
102 <0x31002000 0x1000>,
103 <0x31004000 0x2000>,
104 <0x31006000 0x2000>;
105 };
106
107 ckil: clock-cki {
108 compatible = "fixed-clock";
109 #clock-cells = <0>;
110 clock-frequency = <32768>;
111 clock-output-names = "ckil";
112 };
113
114 osc: clock-osc {
115 compatible = "fixed-clock";
116 #clock-cells = <0>;
117 clock-frequency = <24000000>;
118 clock-output-names = "osc";
119 };
120
Frank Liecea9fe2016-01-05 11:17:14 -0600121 timer {
122 compatible = "arm,armv7-timer";
123 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
124 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
125 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
126 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
127 interrupt-parent = <&intc>;
128 };
129
Frank Li3adab7c2015-06-30 22:58:11 +0800130 etr@30086000 {
131 compatible = "arm,coresight-tmc", "arm,primecell";
132 reg = <0x30086000 0x1000>;
133 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
134 clock-names = "apb_pclk";
135
136 port {
137 etr_in_port: endpoint {
138 slave-mode;
139 remote-endpoint = <&replicator_out_port1>;
140 };
141 };
142 };
143
144 tpiu@30087000 {
145 compatible = "arm,coresight-tpiu", "arm,primecell";
146 reg = <0x30087000 0x1000>;
147 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
148 clock-names = "apb_pclk";
149
150 port {
151 tpiu_in_port: endpoint {
152 slave-mode;
153 remote-endpoint = <&replicator_out_port1>;
154 };
155 };
156 };
157
158 replicator {
159 /*
160 * non-configurable replicators don't show up on the
161 * AMBA bus. As such no need to add "arm,primecell"
162 */
163 compatible = "arm,coresight-replicator";
164
165 ports {
166 #address-cells = <1>;
167 #size-cells = <0>;
168
169 /* replicator output ports */
170 port@0 {
171 reg = <0>;
172 replicator_out_port0: endpoint {
173 remote-endpoint = <&tpiu_in_port>;
174 };
175 };
176
177 port@1 {
178 reg = <1>;
179 replicator_out_port1: endpoint {
180 remote-endpoint = <&etr_in_port>;
181 };
182 };
183
184 /* replicator input port */
185 port@2 {
186 reg = <0>;
187 replicator_in_port0: endpoint {
188 slave-mode;
189 remote-endpoint = <&etf_out_port>;
190 };
191 };
192 };
193 };
194
195 etf@30084000 {
196 compatible = "arm,coresight-tmc", "arm,primecell";
197 reg = <0x30084000 0x1000>;
198 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
199 clock-names = "apb_pclk";
200
201 ports {
202 #address-cells = <1>;
203 #size-cells = <0>;
204
205 port@0 {
206 reg = <0>;
207 etf_in_port: endpoint {
208 slave-mode;
209 remote-endpoint = <&hugo_funnel_out_port0>;
210 };
211 };
212
213 port@1 {
214 reg = <0>;
215 etf_out_port: endpoint {
216 remote-endpoint = <&replicator_in_port0>;
217 };
218 };
219 };
220 };
221
222 funnel@30083000 {
223 compatible = "arm,coresight-funnel", "arm,primecell";
224 reg = <0x30083000 0x1000>;
225 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
226 clock-names = "apb_pclk";
227
228 ports {
229 #address-cells = <1>;
230 #size-cells = <0>;
231
232 /* funnel input ports */
233 port@0 {
234 reg = <0>;
235 hugo_funnel_in_port0: endpoint {
236 slave-mode;
237 remote-endpoint = <&ca_funnel_out_port0>;
238 };
239 };
240
241 port@1 {
242 reg = <1>;
243 hugo_funnel_in_port1: endpoint {
244 slave-mode; /* M4 input */
245 };
246 };
247
248 port@2 {
249 reg = <0>;
250 hugo_funnel_out_port0: endpoint {
251 remote-endpoint = <&etf_in_port>;
252 };
253 };
254
255 /* the other input ports are not connect to anything */
256 };
257 };
258
259 funnel@30041000 {
260 compatible = "arm,coresight-funnel", "arm,primecell";
261 reg = <0x30041000 0x1000>;
262 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
263 clock-names = "apb_pclk";
264
Stefan Agnera67970a2016-06-26 01:47:53 -0700265 ca_funnel_ports: ports {
Frank Li3adab7c2015-06-30 22:58:11 +0800266 #address-cells = <1>;
267 #size-cells = <0>;
268
269 /* funnel input ports */
270 port@0 {
271 reg = <0>;
272 ca_funnel_in_port0: endpoint {
273 slave-mode;
274 remote-endpoint = <&etm0_out_port>;
275 };
276 };
277
Frank Li3adab7c2015-06-30 22:58:11 +0800278 /* 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
Frank Li94967342015-05-19 02:45:04 +0800304 soc {
305 #address-cells = <1>;
306 #size-cells = <1>;
307 compatible = "simple-bus";
308 interrupt-parent = <&intc>;
309 ranges;
310
311 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 Estevam298701e2016-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};