blob: 6401b08d803eb1e58793a020a2f8c282a9f43e91 [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 {};
Marco Franchi7f08e6a2018-01-24 11:22:13 -020061 memory { device_type = "memory"; };
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
Stefan Agnera934a582018-02-27 16:16:10 +0100133 pmu {
134 compatible = "arm,cortex-a7-pmu";
135 interrupt-parent = <&gpc>;
136 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
137 interrupt-affinity = <&cpu0>;
138 };
Fabio Estevamdd55cb42017-11-29 16:54:39 -0200139
140 replicator {
141 /*
142 * non-configurable replicators don't show up on the
143 * AMBA bus. As such no need to add "arm,primecell"
144 */
145 compatible = "arm,coresight-replicator";
146
147 ports {
148 #address-cells = <1>;
149 #size-cells = <0>;
150 /* replicator output ports */
151 port@0 {
152 reg = <0>;
153 replicator_out_port0: endpoint {
154 remote-endpoint = <&tpiu_in_port>;
155 };
156 };
157
158 port@1 {
159 reg = <1>;
160 replicator_out_port1: endpoint {
161 remote-endpoint = <&etr_in_port>;
162 };
163 };
164
165 /* replicator input port */
166 port@2 {
167 reg = <0>;
168 replicator_in_port0: endpoint {
169 slave-mode;
170 remote-endpoint = <&etf_out_port>;
171 };
172 };
173 };
174 };
175
176 timer {
177 compatible = "arm,armv7-timer";
178 interrupt-parent = <&intc>;
179 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
180 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
181 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
182 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
183 };
184
Frank Li94967342015-05-19 02:45:04 +0800185 soc {
186 #address-cells = <1>;
187 #size-cells = <1>;
188 compatible = "simple-bus";
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700189 interrupt-parent = <&gpc>;
Frank Li94967342015-05-19 02:45:04 +0800190 ranges;
191
Stefan Agner974a3ab2016-07-25 23:42:35 -0700192 funnel@30041000 {
193 compatible = "arm,coresight-funnel", "arm,primecell";
194 reg = <0x30041000 0x1000>;
195 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
196 clock-names = "apb_pclk";
197
198 ca_funnel_ports: ports {
199 #address-cells = <1>;
200 #size-cells = <0>;
201
202 /* funnel input ports */
203 port@0 {
204 reg = <0>;
205 ca_funnel_in_port0: endpoint {
206 slave-mode;
207 remote-endpoint = <&etm0_out_port>;
208 };
209 };
210
211 /* funnel output port */
212 port@2 {
213 reg = <0>;
214 ca_funnel_out_port0: endpoint {
215 remote-endpoint = <&hugo_funnel_in_port0>;
216 };
217 };
218
219 /* the other input ports are not connect to anything */
220 };
221 };
222
223 etm@3007c000 {
224 compatible = "arm,coresight-etm3x", "arm,primecell";
225 reg = <0x3007c000 0x1000>;
226 cpu = <&cpu0>;
227 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
228 clock-names = "apb_pclk";
229
230 port {
231 etm0_out_port: endpoint {
232 remote-endpoint = <&ca_funnel_in_port0>;
233 };
234 };
235 };
236
237 funnel@30083000 {
238 compatible = "arm,coresight-funnel", "arm,primecell";
239 reg = <0x30083000 0x1000>;
240 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
241 clock-names = "apb_pclk";
242
243 ports {
244 #address-cells = <1>;
245 #size-cells = <0>;
246
247 /* funnel input ports */
248 port@0 {
249 reg = <0>;
250 hugo_funnel_in_port0: endpoint {
251 slave-mode;
252 remote-endpoint = <&ca_funnel_out_port0>;
253 };
254 };
255
256 port@1 {
257 reg = <1>;
258 hugo_funnel_in_port1: endpoint {
259 slave-mode; /* M4 input */
260 };
261 };
262
263 port@2 {
264 reg = <0>;
265 hugo_funnel_out_port0: endpoint {
266 remote-endpoint = <&etf_in_port>;
267 };
268 };
269
270 /* the other input ports are not connect to anything */
271 };
272 };
273
274 etf@30084000 {
275 compatible = "arm,coresight-tmc", "arm,primecell";
276 reg = <0x30084000 0x1000>;
277 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
278 clock-names = "apb_pclk";
279
280 ports {
281 #address-cells = <1>;
282 #size-cells = <0>;
283
284 port@0 {
285 reg = <0>;
286 etf_in_port: endpoint {
287 slave-mode;
288 remote-endpoint = <&hugo_funnel_out_port0>;
289 };
290 };
291
292 port@1 {
293 reg = <0>;
294 etf_out_port: endpoint {
295 remote-endpoint = <&replicator_in_port0>;
296 };
297 };
298 };
299 };
300
301 etr@30086000 {
302 compatible = "arm,coresight-tmc", "arm,primecell";
303 reg = <0x30086000 0x1000>;
304 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
305 clock-names = "apb_pclk";
306
307 port {
308 etr_in_port: endpoint {
309 slave-mode;
310 remote-endpoint = <&replicator_out_port1>;
311 };
312 };
313 };
314
315 tpiu@30087000 {
316 compatible = "arm,coresight-tpiu", "arm,primecell";
317 reg = <0x30087000 0x1000>;
318 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
319 clock-names = "apb_pclk";
320
321 port {
322 tpiu_in_port: endpoint {
323 slave-mode;
324 remote-endpoint = <&replicator_out_port1>;
325 };
326 };
327 };
328
Stefan Agner974a3ab2016-07-25 23:42:35 -0700329 intc: interrupt-controller@31001000 {
330 compatible = "arm,cortex-a7-gic";
Stefan Agnerb28c9bf2016-07-25 23:42:36 -0700331 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Stefan Agner974a3ab2016-07-25 23:42:35 -0700332 #interrupt-cells = <3>;
333 interrupt-controller;
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700334 interrupt-parent = <&intc>;
Stefan Agner974a3ab2016-07-25 23:42:35 -0700335 reg = <0x31001000 0x1000>,
Stefan Agnerb28c9bf2016-07-25 23:42:36 -0700336 <0x31002000 0x2000>,
Stefan Agner974a3ab2016-07-25 23:42:35 -0700337 <0x31004000 0x2000>,
338 <0x31006000 0x2000>;
339 };
340
Frank Li94967342015-05-19 02:45:04 +0800341 aips1: aips-bus@30000000 {
342 compatible = "fsl,aips-bus", "simple-bus";
343 #address-cells = <1>;
344 #size-cells = <1>;
345 reg = <0x30000000 0x400000>;
346 ranges;
347
348 gpio1: gpio@30200000 {
349 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
350 reg = <0x30200000 0x10000>;
351 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
352 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
353 gpio-controller;
354 #gpio-cells = <2>;
355 interrupt-controller;
356 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300357 gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
Frank Li94967342015-05-19 02:45:04 +0800358 };
359
360 gpio2: gpio@30210000 {
361 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
362 reg = <0x30210000 0x10000>;
363 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
364 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
365 gpio-controller;
366 #gpio-cells = <2>;
367 interrupt-controller;
368 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300369 gpio-ranges = <&iomuxc 0 13 32>;
Frank Li94967342015-05-19 02:45:04 +0800370 };
371
372 gpio3: gpio@30220000 {
373 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
374 reg = <0x30220000 0x10000>;
375 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
376 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
377 gpio-controller;
378 #gpio-cells = <2>;
379 interrupt-controller;
380 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300381 gpio-ranges = <&iomuxc 0 45 29>;
Frank Li94967342015-05-19 02:45:04 +0800382 };
383
384 gpio4: gpio@30230000 {
385 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
386 reg = <0x30230000 0x10000>;
387 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
388 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
389 gpio-controller;
390 #gpio-cells = <2>;
391 interrupt-controller;
392 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300393 gpio-ranges = <&iomuxc 0 74 24>;
Frank Li94967342015-05-19 02:45:04 +0800394 };
395
396 gpio5: gpio@30240000 {
397 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
398 reg = <0x30240000 0x10000>;
399 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
400 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
401 gpio-controller;
402 #gpio-cells = <2>;
403 interrupt-controller;
404 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300405 gpio-ranges = <&iomuxc 0 98 18>;
Frank Li94967342015-05-19 02:45:04 +0800406 };
407
408 gpio6: gpio@30250000 {
409 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
410 reg = <0x30250000 0x10000>;
411 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
412 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
413 gpio-controller;
414 #gpio-cells = <2>;
415 interrupt-controller;
416 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300417 gpio-ranges = <&iomuxc 0 116 23>;
Frank Li94967342015-05-19 02:45:04 +0800418 };
419
420 gpio7: gpio@30260000 {
421 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
422 reg = <0x30260000 0x10000>;
423 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
424 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
425 gpio-controller;
426 #gpio-cells = <2>;
427 interrupt-controller;
428 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300429 gpio-ranges = <&iomuxc 0 139 16>;
Frank Li94967342015-05-19 02:45:04 +0800430 };
431
Frank Li6f5f9bc2015-05-29 03:40:57 +0800432 wdog1: wdog@30280000 {
433 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
434 reg = <0x30280000 0x10000>;
435 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
436 clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
437 };
438
439 wdog2: wdog@30290000 {
440 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
441 reg = <0x30290000 0x10000>;
442 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
443 clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
444 status = "disabled";
445 };
446
447 wdog3: wdog@302a0000 {
448 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
449 reg = <0x302a0000 0x10000>;
450 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
451 clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
452 status = "disabled";
453 };
454
455 wdog4: wdog@302b0000 {
456 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
457 reg = <0x302b0000 0x10000>;
458 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
459 clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
460 status = "disabled";
461 };
462
Adrian Alonso149c08e2015-09-25 16:05:57 -0500463 iomuxc_lpsr: iomuxc-lpsr@302c0000 {
464 compatible = "fsl,imx7d-iomuxc-lpsr";
465 reg = <0x302c0000 0x10000>;
466 fsl,input-sel = <&iomuxc>;
467 };
468
Frank Li94967342015-05-19 02:45:04 +0800469 gpt1: gpt@302d0000 {
470 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
471 reg = <0x302d0000 0x10000>;
472 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
473 clocks = <&clks IMX7D_CLK_DUMMY>,
474 <&clks IMX7D_GPT1_ROOT_CLK>;
475 clock-names = "ipg", "per";
476 };
477
478 gpt2: gpt@302e0000 {
479 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
480 reg = <0x302e0000 0x10000>;
481 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
482 clocks = <&clks IMX7D_CLK_DUMMY>,
483 <&clks IMX7D_GPT2_ROOT_CLK>;
484 clock-names = "ipg", "per";
485 status = "disabled";
486 };
487
488 gpt3: gpt@302f0000 {
489 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
490 reg = <0x302f0000 0x10000>;
491 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
492 clocks = <&clks IMX7D_CLK_DUMMY>,
493 <&clks IMX7D_GPT3_ROOT_CLK>;
494 clock-names = "ipg", "per";
495 status = "disabled";
496 };
497
498 gpt4: gpt@30300000 {
499 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
500 reg = <0x30300000 0x10000>;
501 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
502 clocks = <&clks IMX7D_CLK_DUMMY>,
503 <&clks IMX7D_GPT4_ROOT_CLK>;
504 clock-names = "ipg", "per";
505 status = "disabled";
506 };
507
508 iomuxc: iomuxc@30330000 {
509 compatible = "fsl,imx7d-iomuxc";
510 reg = <0x30330000 0x10000>;
511 };
512
513 gpr: iomuxc-gpr@30340000 {
Andrey Smirnov9760c062017-05-15 07:53:02 -0700514 compatible = "fsl,imx7d-iomuxc-gpr",
515 "fsl,imx6q-iomuxc-gpr", "syscon";
Frank Li94967342015-05-19 02:45:04 +0800516 reg = <0x30340000 0x10000>;
517 };
518
519 ocotp: ocotp-ctrl@30350000 {
Peng Fan9f291832017-03-01 14:40:53 +0800520 compatible = "fsl,imx7d-ocotp", "syscon";
Frank Li94967342015-05-19 02:45:04 +0800521 reg = <0x30350000 0x10000>;
Peng Fan9f291832017-03-01 14:40:53 +0800522 clocks = <&clks IMX7D_OCOTP_CLK>;
Frank Li94967342015-05-19 02:45:04 +0800523 };
524
525 anatop: anatop@30360000 {
526 compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
527 "syscon", "simple-bus";
528 reg = <0x30360000 0x10000>;
529 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
530 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
Fabio Estevamebb84692017-11-29 16:54:41 -0200531 #address-cells = <1>;
532 #size-cells = <0>;
Frank Li94967342015-05-19 02:45:04 +0800533
Fabio Estevamebb84692017-11-29 16:54:41 -0200534 reg_1p0d: regulator-vdd1p0d@30360210 {
535 reg = <0x30360210>;
Frank Li94967342015-05-19 02:45:04 +0800536 compatible = "fsl,anatop-regulator";
537 regulator-name = "vdd1p0d";
538 regulator-min-microvolt = <800000>;
539 regulator-max-microvolt = <1200000>;
540 anatop-reg-offset = <0x210>;
541 anatop-vol-bit-shift = <8>;
542 anatop-vol-bit-width = <5>;
543 anatop-min-bit-val = <8>;
544 anatop-min-voltage = <800000>;
545 anatop-max-voltage = <1200000>;
Andrey Smirnov38281a42017-05-15 07:52:59 -0700546 anatop-enable-bit = <0>;
Frank Li94967342015-05-19 02:45:04 +0800547 };
548 };
549
550 snvs: snvs@30370000 {
Frank Liabb9f252015-07-29 01:50:00 +0800551 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
552 reg = <0x30370000 0x10000>;
Frank Li94967342015-05-19 02:45:04 +0800553
Frank Liabb9f252015-07-29 01:50:00 +0800554 snvs_rtc: snvs-rtc-lp {
Frank Li94967342015-05-19 02:45:04 +0800555 compatible = "fsl,sec-v4.0-mon-rtc-lp";
Frank Liabb9f252015-07-29 01:50:00 +0800556 regmap = <&snvs>;
557 offset = <0x34>;
Frank Li94967342015-05-19 02:45:04 +0800558 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
559 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
560 };
Frank Liabb9f252015-07-29 01:50:00 +0800561
562 snvs_poweroff: snvs-poweroff {
563 compatible = "syscon-poweroff";
564 regmap = <&snvs>;
565 offset = <0x38>;
Guy Shapiro87a84c62017-07-04 18:19:12 +0200566 value = <0x60>;
Frank Liabb9f252015-07-29 01:50:00 +0800567 mask = <0x60>;
568 };
569
570 snvs_pwrkey: snvs-powerkey {
571 compatible = "fsl,sec-v4.0-pwrkey";
572 regmap = <&snvs>;
573 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
574 linux,keycode = <KEY_POWER>;
575 wakeup-source;
576 };
Frank Li94967342015-05-19 02:45:04 +0800577 };
578
579 clks: ccm@30380000 {
580 compatible = "fsl,imx7d-ccm";
581 reg = <0x30380000 0x10000>;
582 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
583 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
584 #clock-cells = <1>;
585 clocks = <&ckil>, <&osc>;
586 clock-names = "ckil", "osc";
587 };
588
589 src: src@30390000 {
Andrey Smirnove6e9d8e2017-03-14 08:33:57 -0700590 compatible = "fsl,imx7d-src", "syscon";
Frank Li94967342015-05-19 02:45:04 +0800591 reg = <0x30390000 0x10000>;
592 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
593 #reset-cells = <1>;
594 };
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700595
596 gpc: gpc@303a0000 {
597 compatible = "fsl,imx7d-gpc";
598 reg = <0x303a0000 0x10000>;
599 interrupt-controller;
600 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
601 #interrupt-cells = <3>;
602 interrupt-parent = <&intc>;
603 #power-domain-cells = <1>;
604
605 pgc {
606 #address-cells = <1>;
607 #size-cells = <0>;
608
Fabio Estevam84a82ef2017-12-26 17:59:45 -0200609 pgc_pcie_phy: pgc-power-domain@1 {
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700610 #power-domain-cells = <0>;
Fabio Estevam84a82ef2017-12-26 17:59:45 -0200611 reg = <1>;
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700612 power-supply = <&reg_1p0d>;
613 };
614 };
615 };
Frank Li94967342015-05-19 02:45:04 +0800616 };
617
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300618 aips2: aips-bus@30400000 {
619 compatible = "fsl,aips-bus", "simple-bus";
620 #address-cells = <1>;
621 #size-cells = <1>;
622 reg = <0x30400000 0x400000>;
623 ranges;
624
Haibo Chena3d19f22015-12-08 18:26:22 +0800625 adc1: adc@30610000 {
626 compatible = "fsl,imx7d-adc";
627 reg = <0x30610000 0x10000>;
628 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
629 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
630 clock-names = "adc";
631 status = "disabled";
632 };
633
634 adc2: adc@30620000 {
635 compatible = "fsl,imx7d-adc";
636 reg = <0x30620000 0x10000>;
637 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
638 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
639 clock-names = "adc";
640 status = "disabled";
641 };
642
Diego Dortab754af32016-06-22 16:37:07 -0300643 ecspi4: ecspi@30630000 {
644 #address-cells = <1>;
645 #size-cells = <0>;
646 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
647 reg = <0x30630000 0x10000>;
648 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
649 clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
650 <&clks IMX7D_ECSPI4_ROOT_CLK>;
651 clock-names = "ipg", "per";
652 status = "disabled";
653 };
654
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300655 pwm1: pwm@30660000 {
656 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
657 reg = <0x30660000 0x10000>;
658 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
659 clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
660 <&clks IMX7D_PWM1_ROOT_CLK>;
661 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700662 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300663 status = "disabled";
664 };
665
666 pwm2: pwm@30670000 {
667 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
668 reg = <0x30670000 0x10000>;
669 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
670 clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
671 <&clks IMX7D_PWM2_ROOT_CLK>;
672 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700673 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300674 status = "disabled";
675 };
676
677 pwm3: pwm@30680000 {
678 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
679 reg = <0x30680000 0x10000>;
680 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
681 clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
682 <&clks IMX7D_PWM3_ROOT_CLK>;
683 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700684 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300685 status = "disabled";
686 };
687
688 pwm4: pwm@30690000 {
689 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
690 reg = <0x30690000 0x10000>;
691 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
692 clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
693 <&clks IMX7D_PWM4_ROOT_CLK>;
694 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700695 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300696 status = "disabled";
697 };
Gary Bissone8ed73f2016-04-02 18:25:43 +0200698
699 lcdif: lcdif@30730000 {
700 compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
701 reg = <0x30730000 0x10000>;
702 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
703 clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
Stefan Agner4b707fa2016-11-22 16:42:04 -0800704 <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
705 clock-names = "pix", "axi";
Gary Bissone8ed73f2016-04-02 18:25:43 +0200706 status = "disabled";
707 };
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300708 };
709
Frank Li94967342015-05-19 02:45:04 +0800710 aips3: aips-bus@30800000 {
711 compatible = "fsl,aips-bus", "simple-bus";
712 #address-cells = <1>;
713 #size-cells = <1>;
714 reg = <0x30800000 0x400000>;
715 ranges;
716
Diego Dortab754af32016-06-22 16:37:07 -0300717 ecspi1: ecspi@30820000 {
718 #address-cells = <1>;
719 #size-cells = <0>;
720 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
721 reg = <0x30820000 0x10000>;
722 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
723 clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
724 <&clks IMX7D_ECSPI1_ROOT_CLK>;
725 clock-names = "ipg", "per";
726 status = "disabled";
727 };
728
729 ecspi2: ecspi@30830000 {
730 #address-cells = <1>;
731 #size-cells = <0>;
732 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
733 reg = <0x30830000 0x10000>;
734 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
735 clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
736 <&clks IMX7D_ECSPI2_ROOT_CLK>;
737 clock-names = "ipg", "per";
738 status = "disabled";
739 };
740
741 ecspi3: ecspi@30840000 {
742 #address-cells = <1>;
743 #size-cells = <0>;
744 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
745 reg = <0x30840000 0x10000>;
746 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
747 clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
748 <&clks IMX7D_ECSPI3_ROOT_CLK>;
749 clock-names = "ipg", "per";
750 status = "disabled";
751 };
752
Frank Li94967342015-05-19 02:45:04 +0800753 uart1: serial@30860000 {
754 compatible = "fsl,imx7d-uart",
755 "fsl,imx6q-uart";
756 reg = <0x30860000 0x10000>;
757 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
758 clocks = <&clks IMX7D_UART1_ROOT_CLK>,
759 <&clks IMX7D_UART1_ROOT_CLK>;
760 clock-names = "ipg", "per";
761 status = "disabled";
762 };
763
Fabio Estevam178b2d02015-09-24 16:18:12 -0300764 uart2: serial@30890000 {
Frank Li94967342015-05-19 02:45:04 +0800765 compatible = "fsl,imx7d-uart",
766 "fsl,imx6q-uart";
Fabio Estevam178b2d02015-09-24 16:18:12 -0300767 reg = <0x30890000 0x10000>;
Frank Li94967342015-05-19 02:45:04 +0800768 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
769 clocks = <&clks IMX7D_UART2_ROOT_CLK>,
770 <&clks IMX7D_UART2_ROOT_CLK>;
771 clock-names = "ipg", "per";
772 status = "disabled";
773 };
774
775 uart3: serial@30880000 {
776 compatible = "fsl,imx7d-uart",
777 "fsl,imx6q-uart";
778 reg = <0x30880000 0x10000>;
779 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
780 clocks = <&clks IMX7D_UART3_ROOT_CLK>,
781 <&clks IMX7D_UART3_ROOT_CLK>;
782 clock-names = "ipg", "per";
783 status = "disabled";
784 };
785
Fabio Estevam7310f072016-08-10 13:00:27 -0300786 sai1: sai@308a0000 {
787 #sound-dai-cells = <0>;
788 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
789 reg = <0x308a0000 0x10000>;
790 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
791 clocks = <&clks IMX7D_SAI1_IPG_CLK>,
792 <&clks IMX7D_SAI1_ROOT_CLK>,
793 <&clks IMX7D_CLK_DUMMY>,
794 <&clks IMX7D_CLK_DUMMY>;
795 clock-names = "bus", "mclk1", "mclk2", "mclk3";
796 dma-names = "rx", "tx";
797 dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
798 status = "disabled";
799 };
800
801 sai2: sai@308b0000 {
802 #sound-dai-cells = <0>;
803 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
804 reg = <0x308b0000 0x10000>;
805 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
806 clocks = <&clks IMX7D_SAI2_IPG_CLK>,
807 <&clks IMX7D_SAI2_ROOT_CLK>,
808 <&clks IMX7D_CLK_DUMMY>,
809 <&clks IMX7D_CLK_DUMMY>;
810 clock-names = "bus", "mclk1", "mclk2", "mclk3";
811 dma-names = "rx", "tx";
812 dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
813 status = "disabled";
814 };
815
816 sai3: sai@308c0000 {
817 #sound-dai-cells = <0>;
818 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
819 reg = <0x308c0000 0x10000>;
820 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
821 clocks = <&clks IMX7D_SAI3_IPG_CLK>,
822 <&clks IMX7D_SAI3_ROOT_CLK>,
823 <&clks IMX7D_CLK_DUMMY>,
824 <&clks IMX7D_CLK_DUMMY>;
825 clock-names = "bus", "mclk1", "mclk2", "mclk3";
826 dma-names = "rx", "tx";
827 dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
828 status = "disabled";
829 };
830
Gary Bissonc1474012016-04-02 18:25:44 +0200831 flexcan1: can@30a00000 {
832 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
833 reg = <0x30a00000 0x10000>;
834 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
835 clocks = <&clks IMX7D_CLK_DUMMY>,
836 <&clks IMX7D_CAN1_ROOT_CLK>;
837 clock-names = "ipg", "per";
838 status = "disabled";
839 };
840
841 flexcan2: can@30a10000 {
842 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
843 reg = <0x30a10000 0x10000>;
844 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
845 clocks = <&clks IMX7D_CLK_DUMMY>,
846 <&clks IMX7D_CAN2_ROOT_CLK>;
847 clock-names = "ipg", "per";
848 status = "disabled";
849 };
850
Frank Li94967342015-05-19 02:45:04 +0800851 i2c1: i2c@30a20000 {
852 #address-cells = <1>;
853 #size-cells = <0>;
854 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
855 reg = <0x30a20000 0x10000>;
856 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
857 clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
858 status = "disabled";
859 };
860
861 i2c2: i2c@30a30000 {
862 #address-cells = <1>;
863 #size-cells = <0>;
864 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
865 reg = <0x30a30000 0x10000>;
866 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
867 clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
868 status = "disabled";
869 };
870
871 i2c3: i2c@30a40000 {
872 #address-cells = <1>;
873 #size-cells = <0>;
874 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
875 reg = <0x30a40000 0x10000>;
876 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
877 clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
878 status = "disabled";
879 };
880
881 i2c4: i2c@30a50000 {
882 #address-cells = <1>;
883 #size-cells = <0>;
884 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
885 reg = <0x30a50000 0x10000>;
886 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
887 clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
888 status = "disabled";
889 };
890
891 uart4: serial@30a60000 {
892 compatible = "fsl,imx7d-uart",
893 "fsl,imx6q-uart";
894 reg = <0x30a60000 0x10000>;
895 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
896 clocks = <&clks IMX7D_UART4_ROOT_CLK>,
897 <&clks IMX7D_UART4_ROOT_CLK>;
898 clock-names = "ipg", "per";
899 status = "disabled";
900 };
901
902 uart5: serial@30a70000 {
903 compatible = "fsl,imx7d-uart",
904 "fsl,imx6q-uart";
905 reg = <0x30a70000 0x10000>;
906 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
907 clocks = <&clks IMX7D_UART5_ROOT_CLK>,
908 <&clks IMX7D_UART5_ROOT_CLK>;
909 clock-names = "ipg", "per";
910 status = "disabled";
911 };
912
913 uart6: serial@30a80000 {
914 compatible = "fsl,imx7d-uart",
915 "fsl,imx6q-uart";
916 reg = <0x30a80000 0x10000>;
917 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
918 clocks = <&clks IMX7D_UART6_ROOT_CLK>,
919 <&clks IMX7D_UART6_ROOT_CLK>;
920 clock-names = "ipg", "per";
921 status = "disabled";
922 };
923
924 uart7: serial@30a90000 {
925 compatible = "fsl,imx7d-uart",
926 "fsl,imx6q-uart";
927 reg = <0x30a90000 0x10000>;
928 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
929 clocks = <&clks IMX7D_UART7_ROOT_CLK>,
930 <&clks IMX7D_UART7_ROOT_CLK>;
931 clock-names = "ipg", "per";
932 status = "disabled";
933 };
934
Fabio Estevam60f5a222015-09-07 22:57:11 -0300935 usbotg1: usb@30b10000 {
936 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
937 reg = <0x30b10000 0x200>;
938 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
939 clocks = <&clks IMX7D_USB_CTRL_CLK>;
940 fsl,usbphy = <&usbphynop1>;
941 fsl,usbmisc = <&usbmisc1 0>;
942 phy-clkgate-delay-us = <400>;
943 status = "disabled";
944 };
945
Fabio Estevam60f5a222015-09-07 22:57:11 -0300946 usbh: usb@30b30000 {
947 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
948 reg = <0x30b30000 0x200>;
949 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
950 clocks = <&clks IMX7D_USB_CTRL_CLK>;
951 fsl,usbphy = <&usbphynop3>;
952 fsl,usbmisc = <&usbmisc3 0>;
953 phy_type = "hsic";
954 dr_mode = "host";
955 phy-clkgate-delay-us = <400>;
956 status = "disabled";
957 };
958
959 usbmisc1: usbmisc@30b10200 {
960 #index-cells = <1>;
961 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
962 reg = <0x30b10200 0x200>;
963 };
964
Fabio Estevam60f5a222015-09-07 22:57:11 -0300965 usbmisc3: usbmisc@30b30200 {
966 #index-cells = <1>;
967 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
968 reg = <0x30b30200 0x200>;
969 };
970
Frank Li94967342015-05-19 02:45:04 +0800971 usdhc1: usdhc@30b40000 {
972 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
973 reg = <0x30b40000 0x10000>;
974 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700975 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
976 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +0800977 <&clks IMX7D_USDHC1_ROOT_CLK>;
978 clock-names = "ipg", "ahb", "per";
979 bus-width = <4>;
980 status = "disabled";
981 };
982
983 usdhc2: usdhc@30b50000 {
984 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
985 reg = <0x30b50000 0x10000>;
986 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700987 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
988 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +0800989 <&clks IMX7D_USDHC2_ROOT_CLK>;
990 clock-names = "ipg", "ahb", "per";
991 bus-width = <4>;
992 status = "disabled";
993 };
994
995 usdhc3: usdhc@30b60000 {
996 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
997 reg = <0x30b60000 0x10000>;
998 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700999 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1000 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +08001001 <&clks IMX7D_USDHC3_ROOT_CLK>;
1002 clock-names = "ipg", "ahb", "per";
1003 bus-width = <4>;
1004 status = "disabled";
1005 };
Fugang Duan0f629212015-09-07 10:55:01 +08001006
Fabio Estevam2f5ac9b2016-08-10 13:00:28 -03001007 sdma: sdma@30bd0000 {
1008 compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1009 reg = <0x30bd0000 0x10000>;
1010 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1011 clocks = <&clks IMX7D_SDMA_CORE_CLK>,
1012 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
1013 clock-names = "ipg", "ahb";
1014 #dma-cells = <3>;
1015 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1016 };
1017
Fugang Duan0f629212015-09-07 10:55:01 +08001018 fec1: ethernet@30be0000 {
1019 compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1020 reg = <0x30be0000 0x10000>;
Troy Kiskye94a2302017-11-03 10:29:58 -07001021 interrupt-names = "int0", "int1", "int2", "pps";
1022 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1023 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
Fugang Duan0f629212015-09-07 10:55:01 +08001024 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
Troy Kiskye94a2302017-11-03 10:29:58 -07001025 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
Fugang Duan0f629212015-09-07 10:55:01 +08001026 clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1027 <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1028 <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1029 <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1030 <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1031 clock-names = "ipg", "ahb", "ptp",
1032 "enet_clk_ref", "enet_out";
1033 fsl,num-tx-queues=<3>;
1034 fsl,num-rx-queues=<3>;
1035 status = "disabled";
1036 };
Frank Li94967342015-05-19 02:45:04 +08001037 };
Stefan Agnere7495a42017-06-08 15:34:48 -07001038
1039 dma_apbh: dma-apbh@33000000 {
1040 compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1041 reg = <0x33000000 0x2000>;
1042 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1043 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1044 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1045 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1046 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
1047 #dma-cells = <1>;
1048 dma-channels = <4>;
1049 clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1050 };
1051
1052 gpmi: gpmi-nand@33002000{
1053 compatible = "fsl,imx7d-gpmi-nand";
1054 #address-cells = <1>;
1055 #size-cells = <1>;
1056 reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1057 reg-names = "gpmi-nand", "bch";
1058 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1059 interrupt-names = "bch";
1060 clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1061 <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1062 clock-names = "gpmi_io", "gpmi_bch_apb";
1063 dmas = <&dma_apbh 0>;
1064 dma-names = "rx-tx";
1065 status = "disabled";
1066 assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1067 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;
1068 };
Frank Li94967342015-05-19 02:45:04 +08001069 };
1070};