blob: 81467ac3b586c258b5a3f8cab7255dff312fa7f4 [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>
Andrey Smirnov0f90b432017-05-15 07:53:01 -070045#include <dt-bindings/power/imx7-power.h>
Frank Li94967342015-05-19 02:45:04 +080046#include <dt-bindings/gpio/gpio.h>
Stefan Agner1e886a12016-06-26 01:47:54 -070047#include <dt-bindings/input/input.h>
Frank Li94967342015-05-19 02:45:04 +080048#include <dt-bindings/interrupt-controller/arm-gic.h>
49#include "imx7d-pinfunc.h"
Frank Li94967342015-05-19 02:45:04 +080050
51/ {
Fabio Estevam7f107882016-11-12 13:30:35 -020052 #address-cells = <1>;
53 #size-cells = <1>;
Fabio Estevama971c552017-01-23 14:54:10 -020054 /*
55 * The decompressor and also some bootloaders rely on a
56 * pre-existing /chosen node to be available to insert the
57 * command line and merge other ATAGS info.
58 * Also for U-Boot there must be a pre-existing /memory node.
59 */
60 chosen {};
61 memory { device_type = "memory"; reg = <0 0>; };
Fabio Estevam7f107882016-11-12 13:30:35 -020062
Frank Li94967342015-05-19 02:45:04 +080063 aliases {
64 gpio0 = &gpio1;
65 gpio1 = &gpio2;
66 gpio2 = &gpio3;
67 gpio3 = &gpio4;
68 gpio4 = &gpio5;
69 gpio5 = &gpio6;
70 gpio6 = &gpio7;
71 i2c0 = &i2c1;
72 i2c1 = &i2c2;
73 i2c2 = &i2c3;
74 i2c3 = &i2c4;
75 mmc0 = &usdhc1;
76 mmc1 = &usdhc2;
77 mmc2 = &usdhc3;
78 serial0 = &uart1;
79 serial1 = &uart2;
80 serial2 = &uart3;
81 serial3 = &uart4;
82 serial4 = &uart5;
83 serial5 = &uart6;
84 serial6 = &uart7;
Diego Dortab754af32016-06-22 16:37:07 -030085 spi0 = &ecspi1;
86 spi1 = &ecspi2;
87 spi2 = &ecspi3;
88 spi3 = &ecspi4;
Frank Li94967342015-05-19 02:45:04 +080089 };
90
91 cpus {
92 #address-cells = <1>;
93 #size-cells = <0>;
94
95 cpu0: cpu@0 {
96 compatible = "arm,cortex-a7";
97 device_type = "cpu";
98 reg = <0>;
Stefan Agner1c4e2a12016-08-11 17:11:07 -070099 clock-frequency = <792000000>;
Frank Li94967342015-05-19 02:45:04 +0800100 clock-latency = <61036>; /* two CLK32 periods */
Bai Ping698e2ac2015-11-24 18:25:15 +0800101 clocks = <&clks IMX7D_CLK_ARM>;
Frank Li94967342015-05-19 02:45:04 +0800102 };
Frank Li94967342015-05-19 02:45:04 +0800103 };
104
Frank Li94967342015-05-19 02:45:04 +0800105 ckil: clock-cki {
106 compatible = "fixed-clock";
107 #clock-cells = <0>;
108 clock-frequency = <32768>;
109 clock-output-names = "ckil";
110 };
111
112 osc: clock-osc {
113 compatible = "fixed-clock";
114 #clock-cells = <0>;
115 clock-frequency = <24000000>;
116 clock-output-names = "osc";
117 };
118
Fabio Estevamdd55cb42017-11-29 16:54:39 -0200119 usbphynop1: usbphynop1 {
120 compatible = "usb-nop-xceiv";
121 clocks = <&clks IMX7D_USB_PHY1_CLK>;
122 clock-names = "main_clk";
123 #phy-cells = <0>;
124 };
125
126 usbphynop3: usbphynop3 {
127 compatible = "usb-nop-xceiv";
128 clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
129 clock-names = "main_clk";
130 #phy-cells = <0>;
131 };
132
133
134 replicator {
135 /*
136 * non-configurable replicators don't show up on the
137 * AMBA bus. As such no need to add "arm,primecell"
138 */
139 compatible = "arm,coresight-replicator";
140
141 ports {
142 #address-cells = <1>;
143 #size-cells = <0>;
144 /* replicator output ports */
145 port@0 {
146 reg = <0>;
147 replicator_out_port0: endpoint {
148 remote-endpoint = <&tpiu_in_port>;
149 };
150 };
151
152 port@1 {
153 reg = <1>;
154 replicator_out_port1: endpoint {
155 remote-endpoint = <&etr_in_port>;
156 };
157 };
158
159 /* replicator input port */
160 port@2 {
161 reg = <0>;
162 replicator_in_port0: endpoint {
163 slave-mode;
164 remote-endpoint = <&etf_out_port>;
165 };
166 };
167 };
168 };
169
170 timer {
171 compatible = "arm,armv7-timer";
172 interrupt-parent = <&intc>;
173 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
174 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
175 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
176 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
177 };
178
Frank Li94967342015-05-19 02:45:04 +0800179 soc {
180 #address-cells = <1>;
181 #size-cells = <1>;
182 compatible = "simple-bus";
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700183 interrupt-parent = <&gpc>;
Frank Li94967342015-05-19 02:45:04 +0800184 ranges;
185
Stefan Agner974a3ab2016-07-25 23:42:35 -0700186 funnel@30041000 {
187 compatible = "arm,coresight-funnel", "arm,primecell";
188 reg = <0x30041000 0x1000>;
189 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
190 clock-names = "apb_pclk";
191
192 ca_funnel_ports: ports {
193 #address-cells = <1>;
194 #size-cells = <0>;
195
196 /* funnel input ports */
197 port@0 {
198 reg = <0>;
199 ca_funnel_in_port0: endpoint {
200 slave-mode;
201 remote-endpoint = <&etm0_out_port>;
202 };
203 };
204
205 /* funnel output port */
206 port@2 {
207 reg = <0>;
208 ca_funnel_out_port0: endpoint {
209 remote-endpoint = <&hugo_funnel_in_port0>;
210 };
211 };
212
213 /* the other input ports are not connect to anything */
214 };
215 };
216
217 etm@3007c000 {
218 compatible = "arm,coresight-etm3x", "arm,primecell";
219 reg = <0x3007c000 0x1000>;
220 cpu = <&cpu0>;
221 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
222 clock-names = "apb_pclk";
223
224 port {
225 etm0_out_port: endpoint {
226 remote-endpoint = <&ca_funnel_in_port0>;
227 };
228 };
229 };
230
231 funnel@30083000 {
232 compatible = "arm,coresight-funnel", "arm,primecell";
233 reg = <0x30083000 0x1000>;
234 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
235 clock-names = "apb_pclk";
236
237 ports {
238 #address-cells = <1>;
239 #size-cells = <0>;
240
241 /* funnel input ports */
242 port@0 {
243 reg = <0>;
244 hugo_funnel_in_port0: endpoint {
245 slave-mode;
246 remote-endpoint = <&ca_funnel_out_port0>;
247 };
248 };
249
250 port@1 {
251 reg = <1>;
252 hugo_funnel_in_port1: endpoint {
253 slave-mode; /* M4 input */
254 };
255 };
256
257 port@2 {
258 reg = <0>;
259 hugo_funnel_out_port0: endpoint {
260 remote-endpoint = <&etf_in_port>;
261 };
262 };
263
264 /* the other input ports are not connect to anything */
265 };
266 };
267
268 etf@30084000 {
269 compatible = "arm,coresight-tmc", "arm,primecell";
270 reg = <0x30084000 0x1000>;
271 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
272 clock-names = "apb_pclk";
273
274 ports {
275 #address-cells = <1>;
276 #size-cells = <0>;
277
278 port@0 {
279 reg = <0>;
280 etf_in_port: endpoint {
281 slave-mode;
282 remote-endpoint = <&hugo_funnel_out_port0>;
283 };
284 };
285
286 port@1 {
287 reg = <0>;
288 etf_out_port: endpoint {
289 remote-endpoint = <&replicator_in_port0>;
290 };
291 };
292 };
293 };
294
295 etr@30086000 {
296 compatible = "arm,coresight-tmc", "arm,primecell";
297 reg = <0x30086000 0x1000>;
298 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
299 clock-names = "apb_pclk";
300
301 port {
302 etr_in_port: endpoint {
303 slave-mode;
304 remote-endpoint = <&replicator_out_port1>;
305 };
306 };
307 };
308
309 tpiu@30087000 {
310 compatible = "arm,coresight-tpiu", "arm,primecell";
311 reg = <0x30087000 0x1000>;
312 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
313 clock-names = "apb_pclk";
314
315 port {
316 tpiu_in_port: endpoint {
317 slave-mode;
318 remote-endpoint = <&replicator_out_port1>;
319 };
320 };
321 };
322
Stefan Agner974a3ab2016-07-25 23:42:35 -0700323 intc: interrupt-controller@31001000 {
324 compatible = "arm,cortex-a7-gic";
Stefan Agnerb28c9bf2016-07-25 23:42:36 -0700325 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Stefan Agner974a3ab2016-07-25 23:42:35 -0700326 #interrupt-cells = <3>;
327 interrupt-controller;
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700328 interrupt-parent = <&intc>;
Stefan Agner974a3ab2016-07-25 23:42:35 -0700329 reg = <0x31001000 0x1000>,
Stefan Agnerb28c9bf2016-07-25 23:42:36 -0700330 <0x31002000 0x2000>,
Stefan Agner974a3ab2016-07-25 23:42:35 -0700331 <0x31004000 0x2000>,
332 <0x31006000 0x2000>;
333 };
334
Frank Li94967342015-05-19 02:45:04 +0800335 aips1: aips-bus@30000000 {
336 compatible = "fsl,aips-bus", "simple-bus";
337 #address-cells = <1>;
338 #size-cells = <1>;
339 reg = <0x30000000 0x400000>;
340 ranges;
341
342 gpio1: gpio@30200000 {
343 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
344 reg = <0x30200000 0x10000>;
345 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
346 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
347 gpio-controller;
348 #gpio-cells = <2>;
349 interrupt-controller;
350 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300351 gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
Frank Li94967342015-05-19 02:45:04 +0800352 };
353
354 gpio2: gpio@30210000 {
355 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
356 reg = <0x30210000 0x10000>;
357 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
358 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
359 gpio-controller;
360 #gpio-cells = <2>;
361 interrupt-controller;
362 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300363 gpio-ranges = <&iomuxc 0 13 32>;
Frank Li94967342015-05-19 02:45:04 +0800364 };
365
366 gpio3: gpio@30220000 {
367 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
368 reg = <0x30220000 0x10000>;
369 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
370 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
371 gpio-controller;
372 #gpio-cells = <2>;
373 interrupt-controller;
374 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300375 gpio-ranges = <&iomuxc 0 45 29>;
Frank Li94967342015-05-19 02:45:04 +0800376 };
377
378 gpio4: gpio@30230000 {
379 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
380 reg = <0x30230000 0x10000>;
381 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
382 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
383 gpio-controller;
384 #gpio-cells = <2>;
385 interrupt-controller;
386 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300387 gpio-ranges = <&iomuxc 0 74 24>;
Frank Li94967342015-05-19 02:45:04 +0800388 };
389
390 gpio5: gpio@30240000 {
391 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
392 reg = <0x30240000 0x10000>;
393 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
394 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
395 gpio-controller;
396 #gpio-cells = <2>;
397 interrupt-controller;
398 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300399 gpio-ranges = <&iomuxc 0 98 18>;
Frank Li94967342015-05-19 02:45:04 +0800400 };
401
402 gpio6: gpio@30250000 {
403 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
404 reg = <0x30250000 0x10000>;
405 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
406 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
407 gpio-controller;
408 #gpio-cells = <2>;
409 interrupt-controller;
410 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300411 gpio-ranges = <&iomuxc 0 116 23>;
Frank Li94967342015-05-19 02:45:04 +0800412 };
413
414 gpio7: gpio@30260000 {
415 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
416 reg = <0x30260000 0x10000>;
417 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
418 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
419 gpio-controller;
420 #gpio-cells = <2>;
421 interrupt-controller;
422 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300423 gpio-ranges = <&iomuxc 0 139 16>;
Frank Li94967342015-05-19 02:45:04 +0800424 };
425
Frank Li6f5f9bc2015-05-29 03:40:57 +0800426 wdog1: wdog@30280000 {
427 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
428 reg = <0x30280000 0x10000>;
429 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
430 clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
431 };
432
433 wdog2: wdog@30290000 {
434 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
435 reg = <0x30290000 0x10000>;
436 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
437 clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
438 status = "disabled";
439 };
440
441 wdog3: wdog@302a0000 {
442 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
443 reg = <0x302a0000 0x10000>;
444 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
445 clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
446 status = "disabled";
447 };
448
449 wdog4: wdog@302b0000 {
450 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
451 reg = <0x302b0000 0x10000>;
452 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
453 clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
454 status = "disabled";
455 };
456
Adrian Alonso149c08e2015-09-25 16:05:57 -0500457 iomuxc_lpsr: iomuxc-lpsr@302c0000 {
458 compatible = "fsl,imx7d-iomuxc-lpsr";
459 reg = <0x302c0000 0x10000>;
460 fsl,input-sel = <&iomuxc>;
461 };
462
Frank Li94967342015-05-19 02:45:04 +0800463 gpt1: gpt@302d0000 {
464 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
465 reg = <0x302d0000 0x10000>;
466 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
467 clocks = <&clks IMX7D_CLK_DUMMY>,
468 <&clks IMX7D_GPT1_ROOT_CLK>;
469 clock-names = "ipg", "per";
470 };
471
472 gpt2: gpt@302e0000 {
473 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
474 reg = <0x302e0000 0x10000>;
475 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
476 clocks = <&clks IMX7D_CLK_DUMMY>,
477 <&clks IMX7D_GPT2_ROOT_CLK>;
478 clock-names = "ipg", "per";
479 status = "disabled";
480 };
481
482 gpt3: gpt@302f0000 {
483 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
484 reg = <0x302f0000 0x10000>;
485 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
486 clocks = <&clks IMX7D_CLK_DUMMY>,
487 <&clks IMX7D_GPT3_ROOT_CLK>;
488 clock-names = "ipg", "per";
489 status = "disabled";
490 };
491
492 gpt4: gpt@30300000 {
493 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
494 reg = <0x30300000 0x10000>;
495 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
496 clocks = <&clks IMX7D_CLK_DUMMY>,
497 <&clks IMX7D_GPT4_ROOT_CLK>;
498 clock-names = "ipg", "per";
499 status = "disabled";
500 };
501
502 iomuxc: iomuxc@30330000 {
503 compatible = "fsl,imx7d-iomuxc";
504 reg = <0x30330000 0x10000>;
505 };
506
507 gpr: iomuxc-gpr@30340000 {
Andrey Smirnov9760c062017-05-15 07:53:02 -0700508 compatible = "fsl,imx7d-iomuxc-gpr",
509 "fsl,imx6q-iomuxc-gpr", "syscon";
Frank Li94967342015-05-19 02:45:04 +0800510 reg = <0x30340000 0x10000>;
511 };
512
513 ocotp: ocotp-ctrl@30350000 {
Peng Fan9f291832017-03-01 14:40:53 +0800514 compatible = "fsl,imx7d-ocotp", "syscon";
Frank Li94967342015-05-19 02:45:04 +0800515 reg = <0x30350000 0x10000>;
Peng Fan9f291832017-03-01 14:40:53 +0800516 clocks = <&clks IMX7D_OCOTP_CLK>;
Frank Li94967342015-05-19 02:45:04 +0800517 };
518
519 anatop: anatop@30360000 {
520 compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
521 "syscon", "simple-bus";
522 reg = <0x30360000 0x10000>;
523 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
524 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
525
Fabio Estevam298701ec2016-05-03 10:57:31 -0300526 reg_1p0d: regulator-vdd1p0d {
Frank Li94967342015-05-19 02:45:04 +0800527 compatible = "fsl,anatop-regulator";
528 regulator-name = "vdd1p0d";
529 regulator-min-microvolt = <800000>;
530 regulator-max-microvolt = <1200000>;
531 anatop-reg-offset = <0x210>;
532 anatop-vol-bit-shift = <8>;
533 anatop-vol-bit-width = <5>;
534 anatop-min-bit-val = <8>;
535 anatop-min-voltage = <800000>;
536 anatop-max-voltage = <1200000>;
Andrey Smirnov38281a42017-05-15 07:52:59 -0700537 anatop-enable-bit = <0>;
Frank Li94967342015-05-19 02:45:04 +0800538 };
539 };
540
541 snvs: snvs@30370000 {
Frank Liabb9f252015-07-29 01:50:00 +0800542 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
543 reg = <0x30370000 0x10000>;
Frank Li94967342015-05-19 02:45:04 +0800544
Frank Liabb9f252015-07-29 01:50:00 +0800545 snvs_rtc: snvs-rtc-lp {
Frank Li94967342015-05-19 02:45:04 +0800546 compatible = "fsl,sec-v4.0-mon-rtc-lp";
Frank Liabb9f252015-07-29 01:50:00 +0800547 regmap = <&snvs>;
548 offset = <0x34>;
Frank Li94967342015-05-19 02:45:04 +0800549 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
550 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
551 };
Frank Liabb9f252015-07-29 01:50:00 +0800552
553 snvs_poweroff: snvs-poweroff {
554 compatible = "syscon-poweroff";
555 regmap = <&snvs>;
556 offset = <0x38>;
Guy Shapiro87a84c62017-07-04 18:19:12 +0200557 value = <0x60>;
Frank Liabb9f252015-07-29 01:50:00 +0800558 mask = <0x60>;
559 };
560
561 snvs_pwrkey: snvs-powerkey {
562 compatible = "fsl,sec-v4.0-pwrkey";
563 regmap = <&snvs>;
564 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
565 linux,keycode = <KEY_POWER>;
566 wakeup-source;
567 };
Frank Li94967342015-05-19 02:45:04 +0800568 };
569
570 clks: ccm@30380000 {
571 compatible = "fsl,imx7d-ccm";
572 reg = <0x30380000 0x10000>;
573 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
574 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
575 #clock-cells = <1>;
576 clocks = <&ckil>, <&osc>;
577 clock-names = "ckil", "osc";
578 };
579
580 src: src@30390000 {
Andrey Smirnove6e9d8e2017-03-14 08:33:57 -0700581 compatible = "fsl,imx7d-src", "syscon";
Frank Li94967342015-05-19 02:45:04 +0800582 reg = <0x30390000 0x10000>;
583 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
584 #reset-cells = <1>;
585 };
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700586
587 gpc: gpc@303a0000 {
588 compatible = "fsl,imx7d-gpc";
589 reg = <0x303a0000 0x10000>;
590 interrupt-controller;
591 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
592 #interrupt-cells = <3>;
593 interrupt-parent = <&intc>;
594 #power-domain-cells = <1>;
595
596 pgc {
597 #address-cells = <1>;
598 #size-cells = <0>;
599
600 pgc_pcie_phy: pgc-power-domain@IMX7_POWER_DOMAIN_PCIE_PHY {
601 #power-domain-cells = <0>;
602 reg = <IMX7_POWER_DOMAIN_PCIE_PHY>;
603 power-supply = <&reg_1p0d>;
604 };
605 };
606 };
Frank Li94967342015-05-19 02:45:04 +0800607 };
608
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300609 aips2: aips-bus@30400000 {
610 compatible = "fsl,aips-bus", "simple-bus";
611 #address-cells = <1>;
612 #size-cells = <1>;
613 reg = <0x30400000 0x400000>;
614 ranges;
615
Haibo Chena3d19f22015-12-08 18:26:22 +0800616 adc1: adc@30610000 {
617 compatible = "fsl,imx7d-adc";
618 reg = <0x30610000 0x10000>;
619 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
620 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
621 clock-names = "adc";
622 status = "disabled";
623 };
624
625 adc2: adc@30620000 {
626 compatible = "fsl,imx7d-adc";
627 reg = <0x30620000 0x10000>;
628 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
629 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
630 clock-names = "adc";
631 status = "disabled";
632 };
633
Diego Dortab754af32016-06-22 16:37:07 -0300634 ecspi4: ecspi@30630000 {
635 #address-cells = <1>;
636 #size-cells = <0>;
637 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
638 reg = <0x30630000 0x10000>;
639 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
640 clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
641 <&clks IMX7D_ECSPI4_ROOT_CLK>;
642 clock-names = "ipg", "per";
643 status = "disabled";
644 };
645
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300646 pwm1: pwm@30660000 {
647 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
648 reg = <0x30660000 0x10000>;
649 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
650 clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
651 <&clks IMX7D_PWM1_ROOT_CLK>;
652 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700653 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300654 status = "disabled";
655 };
656
657 pwm2: pwm@30670000 {
658 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
659 reg = <0x30670000 0x10000>;
660 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
661 clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
662 <&clks IMX7D_PWM2_ROOT_CLK>;
663 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700664 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300665 status = "disabled";
666 };
667
668 pwm3: pwm@30680000 {
669 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
670 reg = <0x30680000 0x10000>;
671 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
672 clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
673 <&clks IMX7D_PWM3_ROOT_CLK>;
674 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700675 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300676 status = "disabled";
677 };
678
679 pwm4: pwm@30690000 {
680 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
681 reg = <0x30690000 0x10000>;
682 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
683 clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
684 <&clks IMX7D_PWM4_ROOT_CLK>;
685 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700686 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300687 status = "disabled";
688 };
Gary Bissone8ed73f2016-04-02 18:25:43 +0200689
690 lcdif: lcdif@30730000 {
691 compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
692 reg = <0x30730000 0x10000>;
693 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
694 clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
Stefan Agner4b707fa2016-11-22 16:42:04 -0800695 <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
696 clock-names = "pix", "axi";
Gary Bissone8ed73f2016-04-02 18:25:43 +0200697 status = "disabled";
698 };
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300699 };
700
Frank Li94967342015-05-19 02:45:04 +0800701 aips3: aips-bus@30800000 {
702 compatible = "fsl,aips-bus", "simple-bus";
703 #address-cells = <1>;
704 #size-cells = <1>;
705 reg = <0x30800000 0x400000>;
706 ranges;
707
Diego Dortab754af32016-06-22 16:37:07 -0300708 ecspi1: ecspi@30820000 {
709 #address-cells = <1>;
710 #size-cells = <0>;
711 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
712 reg = <0x30820000 0x10000>;
713 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
714 clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
715 <&clks IMX7D_ECSPI1_ROOT_CLK>;
716 clock-names = "ipg", "per";
717 status = "disabled";
718 };
719
720 ecspi2: ecspi@30830000 {
721 #address-cells = <1>;
722 #size-cells = <0>;
723 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
724 reg = <0x30830000 0x10000>;
725 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
726 clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
727 <&clks IMX7D_ECSPI2_ROOT_CLK>;
728 clock-names = "ipg", "per";
729 status = "disabled";
730 };
731
732 ecspi3: ecspi@30840000 {
733 #address-cells = <1>;
734 #size-cells = <0>;
735 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
736 reg = <0x30840000 0x10000>;
737 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
738 clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
739 <&clks IMX7D_ECSPI3_ROOT_CLK>;
740 clock-names = "ipg", "per";
741 status = "disabled";
742 };
743
Frank Li94967342015-05-19 02:45:04 +0800744 uart1: serial@30860000 {
745 compatible = "fsl,imx7d-uart",
746 "fsl,imx6q-uart";
747 reg = <0x30860000 0x10000>;
748 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
749 clocks = <&clks IMX7D_UART1_ROOT_CLK>,
750 <&clks IMX7D_UART1_ROOT_CLK>;
751 clock-names = "ipg", "per";
752 status = "disabled";
753 };
754
Fabio Estevam178b2d02015-09-24 16:18:12 -0300755 uart2: serial@30890000 {
Frank Li94967342015-05-19 02:45:04 +0800756 compatible = "fsl,imx7d-uart",
757 "fsl,imx6q-uart";
Fabio Estevam178b2d02015-09-24 16:18:12 -0300758 reg = <0x30890000 0x10000>;
Frank Li94967342015-05-19 02:45:04 +0800759 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
760 clocks = <&clks IMX7D_UART2_ROOT_CLK>,
761 <&clks IMX7D_UART2_ROOT_CLK>;
762 clock-names = "ipg", "per";
763 status = "disabled";
764 };
765
766 uart3: serial@30880000 {
767 compatible = "fsl,imx7d-uart",
768 "fsl,imx6q-uart";
769 reg = <0x30880000 0x10000>;
770 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
771 clocks = <&clks IMX7D_UART3_ROOT_CLK>,
772 <&clks IMX7D_UART3_ROOT_CLK>;
773 clock-names = "ipg", "per";
774 status = "disabled";
775 };
776
Fabio Estevam7310f072016-08-10 13:00:27 -0300777 sai1: sai@308a0000 {
778 #sound-dai-cells = <0>;
779 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
780 reg = <0x308a0000 0x10000>;
781 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
782 clocks = <&clks IMX7D_SAI1_IPG_CLK>,
783 <&clks IMX7D_SAI1_ROOT_CLK>,
784 <&clks IMX7D_CLK_DUMMY>,
785 <&clks IMX7D_CLK_DUMMY>;
786 clock-names = "bus", "mclk1", "mclk2", "mclk3";
787 dma-names = "rx", "tx";
788 dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
789 status = "disabled";
790 };
791
792 sai2: sai@308b0000 {
793 #sound-dai-cells = <0>;
794 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
795 reg = <0x308b0000 0x10000>;
796 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
797 clocks = <&clks IMX7D_SAI2_IPG_CLK>,
798 <&clks IMX7D_SAI2_ROOT_CLK>,
799 <&clks IMX7D_CLK_DUMMY>,
800 <&clks IMX7D_CLK_DUMMY>;
801 clock-names = "bus", "mclk1", "mclk2", "mclk3";
802 dma-names = "rx", "tx";
803 dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
804 status = "disabled";
805 };
806
807 sai3: sai@308c0000 {
808 #sound-dai-cells = <0>;
809 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
810 reg = <0x308c0000 0x10000>;
811 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
812 clocks = <&clks IMX7D_SAI3_IPG_CLK>,
813 <&clks IMX7D_SAI3_ROOT_CLK>,
814 <&clks IMX7D_CLK_DUMMY>,
815 <&clks IMX7D_CLK_DUMMY>;
816 clock-names = "bus", "mclk1", "mclk2", "mclk3";
817 dma-names = "rx", "tx";
818 dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
819 status = "disabled";
820 };
821
Gary Bissonc1474012016-04-02 18:25:44 +0200822 flexcan1: can@30a00000 {
823 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
824 reg = <0x30a00000 0x10000>;
825 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
826 clocks = <&clks IMX7D_CLK_DUMMY>,
827 <&clks IMX7D_CAN1_ROOT_CLK>;
828 clock-names = "ipg", "per";
829 status = "disabled";
830 };
831
832 flexcan2: can@30a10000 {
833 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
834 reg = <0x30a10000 0x10000>;
835 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
836 clocks = <&clks IMX7D_CLK_DUMMY>,
837 <&clks IMX7D_CAN2_ROOT_CLK>;
838 clock-names = "ipg", "per";
839 status = "disabled";
840 };
841
Frank Li94967342015-05-19 02:45:04 +0800842 i2c1: i2c@30a20000 {
843 #address-cells = <1>;
844 #size-cells = <0>;
845 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
846 reg = <0x30a20000 0x10000>;
847 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
848 clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
849 status = "disabled";
850 };
851
852 i2c2: i2c@30a30000 {
853 #address-cells = <1>;
854 #size-cells = <0>;
855 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
856 reg = <0x30a30000 0x10000>;
857 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
858 clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
859 status = "disabled";
860 };
861
862 i2c3: i2c@30a40000 {
863 #address-cells = <1>;
864 #size-cells = <0>;
865 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
866 reg = <0x30a40000 0x10000>;
867 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
868 clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
869 status = "disabled";
870 };
871
872 i2c4: i2c@30a50000 {
873 #address-cells = <1>;
874 #size-cells = <0>;
875 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
876 reg = <0x30a50000 0x10000>;
877 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
878 clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
879 status = "disabled";
880 };
881
882 uart4: serial@30a60000 {
883 compatible = "fsl,imx7d-uart",
884 "fsl,imx6q-uart";
885 reg = <0x30a60000 0x10000>;
886 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
887 clocks = <&clks IMX7D_UART4_ROOT_CLK>,
888 <&clks IMX7D_UART4_ROOT_CLK>;
889 clock-names = "ipg", "per";
890 status = "disabled";
891 };
892
893 uart5: serial@30a70000 {
894 compatible = "fsl,imx7d-uart",
895 "fsl,imx6q-uart";
896 reg = <0x30a70000 0x10000>;
897 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
898 clocks = <&clks IMX7D_UART5_ROOT_CLK>,
899 <&clks IMX7D_UART5_ROOT_CLK>;
900 clock-names = "ipg", "per";
901 status = "disabled";
902 };
903
904 uart6: serial@30a80000 {
905 compatible = "fsl,imx7d-uart",
906 "fsl,imx6q-uart";
907 reg = <0x30a80000 0x10000>;
908 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
909 clocks = <&clks IMX7D_UART6_ROOT_CLK>,
910 <&clks IMX7D_UART6_ROOT_CLK>;
911 clock-names = "ipg", "per";
912 status = "disabled";
913 };
914
915 uart7: serial@30a90000 {
916 compatible = "fsl,imx7d-uart",
917 "fsl,imx6q-uart";
918 reg = <0x30a90000 0x10000>;
919 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
920 clocks = <&clks IMX7D_UART7_ROOT_CLK>,
921 <&clks IMX7D_UART7_ROOT_CLK>;
922 clock-names = "ipg", "per";
923 status = "disabled";
924 };
925
Fabio Estevam60f5a222015-09-07 22:57:11 -0300926 usbotg1: usb@30b10000 {
927 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
928 reg = <0x30b10000 0x200>;
929 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
930 clocks = <&clks IMX7D_USB_CTRL_CLK>;
931 fsl,usbphy = <&usbphynop1>;
932 fsl,usbmisc = <&usbmisc1 0>;
933 phy-clkgate-delay-us = <400>;
934 status = "disabled";
935 };
936
Fabio Estevam60f5a222015-09-07 22:57:11 -0300937 usbh: usb@30b30000 {
938 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
939 reg = <0x30b30000 0x200>;
940 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
941 clocks = <&clks IMX7D_USB_CTRL_CLK>;
942 fsl,usbphy = <&usbphynop3>;
943 fsl,usbmisc = <&usbmisc3 0>;
944 phy_type = "hsic";
945 dr_mode = "host";
946 phy-clkgate-delay-us = <400>;
947 status = "disabled";
948 };
949
950 usbmisc1: usbmisc@30b10200 {
951 #index-cells = <1>;
952 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
953 reg = <0x30b10200 0x200>;
954 };
955
Fabio Estevam60f5a222015-09-07 22:57:11 -0300956 usbmisc3: usbmisc@30b30200 {
957 #index-cells = <1>;
958 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
959 reg = <0x30b30200 0x200>;
960 };
961
Frank Li94967342015-05-19 02:45:04 +0800962 usdhc1: usdhc@30b40000 {
963 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
964 reg = <0x30b40000 0x10000>;
965 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700966 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
967 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +0800968 <&clks IMX7D_USDHC1_ROOT_CLK>;
969 clock-names = "ipg", "ahb", "per";
970 bus-width = <4>;
971 status = "disabled";
972 };
973
974 usdhc2: usdhc@30b50000 {
975 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
976 reg = <0x30b50000 0x10000>;
977 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700978 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
979 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +0800980 <&clks IMX7D_USDHC2_ROOT_CLK>;
981 clock-names = "ipg", "ahb", "per";
982 bus-width = <4>;
983 status = "disabled";
984 };
985
986 usdhc3: usdhc@30b60000 {
987 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
988 reg = <0x30b60000 0x10000>;
989 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700990 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
991 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +0800992 <&clks IMX7D_USDHC3_ROOT_CLK>;
993 clock-names = "ipg", "ahb", "per";
994 bus-width = <4>;
995 status = "disabled";
996 };
Fugang Duan0f629212015-09-07 10:55:01 +0800997
Fabio Estevam2f5ac9b2016-08-10 13:00:28 -0300998 sdma: sdma@30bd0000 {
999 compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1000 reg = <0x30bd0000 0x10000>;
1001 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1002 clocks = <&clks IMX7D_SDMA_CORE_CLK>,
1003 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
1004 clock-names = "ipg", "ahb";
1005 #dma-cells = <3>;
1006 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1007 };
1008
Fugang Duan0f629212015-09-07 10:55:01 +08001009 fec1: ethernet@30be0000 {
1010 compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1011 reg = <0x30be0000 0x10000>;
Troy Kiskye94a2302017-11-03 10:29:58 -07001012 interrupt-names = "int0", "int1", "int2", "pps";
1013 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1014 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
Fugang Duan0f629212015-09-07 10:55:01 +08001015 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
Troy Kiskye94a2302017-11-03 10:29:58 -07001016 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
Fugang Duan0f629212015-09-07 10:55:01 +08001017 clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1018 <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1019 <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1020 <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1021 <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1022 clock-names = "ipg", "ahb", "ptp",
1023 "enet_clk_ref", "enet_out";
1024 fsl,num-tx-queues=<3>;
1025 fsl,num-rx-queues=<3>;
1026 status = "disabled";
1027 };
Frank Li94967342015-05-19 02:45:04 +08001028 };
Stefan Agnere7495a42017-06-08 15:34:48 -07001029
1030 dma_apbh: dma-apbh@33000000 {
1031 compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1032 reg = <0x33000000 0x2000>;
1033 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1034 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1035 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1036 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1037 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
1038 #dma-cells = <1>;
1039 dma-channels = <4>;
1040 clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1041 };
1042
1043 gpmi: gpmi-nand@33002000{
1044 compatible = "fsl,imx7d-gpmi-nand";
1045 #address-cells = <1>;
1046 #size-cells = <1>;
1047 reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1048 reg-names = "gpmi-nand", "bch";
1049 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1050 interrupt-names = "bch";
1051 clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1052 <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1053 clock-names = "gpmi_io", "gpmi_bch_apb";
1054 dmas = <&dma_apbh 0>;
1055 dma-names = "rx-tx";
1056 status = "disabled";
1057 assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1058 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;
1059 };
Frank Li94967342015-05-19 02:45:04 +08001060 };
1061};