blob: 02baf425b1ac866f0b234a4b96aca9670fbaa380 [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>;
Fabio Estevamebb84692017-11-29 16:54:41 -0200525 #address-cells = <1>;
526 #size-cells = <0>;
Frank Li94967342015-05-19 02:45:04 +0800527
Fabio Estevamebb84692017-11-29 16:54:41 -0200528 reg_1p0d: regulator-vdd1p0d@30360210 {
529 reg = <0x30360210>;
Frank Li94967342015-05-19 02:45:04 +0800530 compatible = "fsl,anatop-regulator";
531 regulator-name = "vdd1p0d";
532 regulator-min-microvolt = <800000>;
533 regulator-max-microvolt = <1200000>;
534 anatop-reg-offset = <0x210>;
535 anatop-vol-bit-shift = <8>;
536 anatop-vol-bit-width = <5>;
537 anatop-min-bit-val = <8>;
538 anatop-min-voltage = <800000>;
539 anatop-max-voltage = <1200000>;
Andrey Smirnov38281a42017-05-15 07:52:59 -0700540 anatop-enable-bit = <0>;
Frank Li94967342015-05-19 02:45:04 +0800541 };
542 };
543
544 snvs: snvs@30370000 {
Frank Liabb9f252015-07-29 01:50:00 +0800545 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
546 reg = <0x30370000 0x10000>;
Frank Li94967342015-05-19 02:45:04 +0800547
Frank Liabb9f252015-07-29 01:50:00 +0800548 snvs_rtc: snvs-rtc-lp {
Frank Li94967342015-05-19 02:45:04 +0800549 compatible = "fsl,sec-v4.0-mon-rtc-lp";
Frank Liabb9f252015-07-29 01:50:00 +0800550 regmap = <&snvs>;
551 offset = <0x34>;
Frank Li94967342015-05-19 02:45:04 +0800552 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
553 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangec2a8442018-01-09 17:52:06 +0800554 clocks = <&clks IMX7D_SNVS_CLK>;
555 clock-names = "snvs-rtc";
Frank Li94967342015-05-19 02:45:04 +0800556 };
Frank Liabb9f252015-07-29 01:50:00 +0800557
558 snvs_poweroff: snvs-poweroff {
559 compatible = "syscon-poweroff";
560 regmap = <&snvs>;
561 offset = <0x38>;
Guy Shapiro87a84c62017-07-04 18:19:12 +0200562 value = <0x60>;
Frank Liabb9f252015-07-29 01:50:00 +0800563 mask = <0x60>;
564 };
565
566 snvs_pwrkey: snvs-powerkey {
567 compatible = "fsl,sec-v4.0-pwrkey";
568 regmap = <&snvs>;
569 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
570 linux,keycode = <KEY_POWER>;
571 wakeup-source;
572 };
Frank Li94967342015-05-19 02:45:04 +0800573 };
574
575 clks: ccm@30380000 {
576 compatible = "fsl,imx7d-ccm";
577 reg = <0x30380000 0x10000>;
578 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
579 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
580 #clock-cells = <1>;
581 clocks = <&ckil>, <&osc>;
582 clock-names = "ckil", "osc";
583 };
584
585 src: src@30390000 {
Andrey Smirnove6e9d8e2017-03-14 08:33:57 -0700586 compatible = "fsl,imx7d-src", "syscon";
Frank Li94967342015-05-19 02:45:04 +0800587 reg = <0x30390000 0x10000>;
588 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
589 #reset-cells = <1>;
590 };
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700591
592 gpc: gpc@303a0000 {
593 compatible = "fsl,imx7d-gpc";
594 reg = <0x303a0000 0x10000>;
595 interrupt-controller;
596 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
597 #interrupt-cells = <3>;
598 interrupt-parent = <&intc>;
599 #power-domain-cells = <1>;
600
601 pgc {
602 #address-cells = <1>;
603 #size-cells = <0>;
604
Fabio Estevam84a82ef2017-12-26 17:59:45 -0200605 pgc_pcie_phy: pgc-power-domain@1 {
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700606 #power-domain-cells = <0>;
Fabio Estevam84a82ef2017-12-26 17:59:45 -0200607 reg = <1>;
Andrey Smirnov0f90b432017-05-15 07:53:01 -0700608 power-supply = <&reg_1p0d>;
609 };
610 };
611 };
Frank Li94967342015-05-19 02:45:04 +0800612 };
613
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300614 aips2: aips-bus@30400000 {
615 compatible = "fsl,aips-bus", "simple-bus";
616 #address-cells = <1>;
617 #size-cells = <1>;
618 reg = <0x30400000 0x400000>;
619 ranges;
620
Haibo Chena3d19f22015-12-08 18:26:22 +0800621 adc1: adc@30610000 {
622 compatible = "fsl,imx7d-adc";
623 reg = <0x30610000 0x10000>;
624 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
625 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
626 clock-names = "adc";
627 status = "disabled";
628 };
629
630 adc2: adc@30620000 {
631 compatible = "fsl,imx7d-adc";
632 reg = <0x30620000 0x10000>;
633 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
634 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
635 clock-names = "adc";
636 status = "disabled";
637 };
638
Diego Dortab754af32016-06-22 16:37:07 -0300639 ecspi4: ecspi@30630000 {
640 #address-cells = <1>;
641 #size-cells = <0>;
642 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
643 reg = <0x30630000 0x10000>;
644 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
645 clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
646 <&clks IMX7D_ECSPI4_ROOT_CLK>;
647 clock-names = "ipg", "per";
648 status = "disabled";
649 };
650
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300651 pwm1: pwm@30660000 {
652 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
653 reg = <0x30660000 0x10000>;
654 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
655 clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
656 <&clks IMX7D_PWM1_ROOT_CLK>;
657 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700658 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300659 status = "disabled";
660 };
661
662 pwm2: pwm@30670000 {
663 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
664 reg = <0x30670000 0x10000>;
665 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
666 clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
667 <&clks IMX7D_PWM2_ROOT_CLK>;
668 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700669 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300670 status = "disabled";
671 };
672
673 pwm3: pwm@30680000 {
674 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
675 reg = <0x30680000 0x10000>;
676 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
677 clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
678 <&clks IMX7D_PWM3_ROOT_CLK>;
679 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700680 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300681 status = "disabled";
682 };
683
684 pwm4: pwm@30690000 {
685 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
686 reg = <0x30690000 0x10000>;
687 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
688 clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
689 <&clks IMX7D_PWM4_ROOT_CLK>;
690 clock-names = "ipg", "per";
Stefan Agner9be48d2d2017-05-16 00:40:13 -0700691 #pwm-cells = <3>;
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300692 status = "disabled";
693 };
Gary Bissone8ed73f2016-04-02 18:25:43 +0200694
695 lcdif: lcdif@30730000 {
696 compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
697 reg = <0x30730000 0x10000>;
698 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
699 clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
Stefan Agner4b707fa2016-11-22 16:42:04 -0800700 <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
701 clock-names = "pix", "axi";
Gary Bissone8ed73f2016-04-02 18:25:43 +0200702 status = "disabled";
703 };
Fabio Estevam208c9fe2015-09-02 15:16:20 -0300704 };
705
Frank Li94967342015-05-19 02:45:04 +0800706 aips3: aips-bus@30800000 {
707 compatible = "fsl,aips-bus", "simple-bus";
708 #address-cells = <1>;
709 #size-cells = <1>;
710 reg = <0x30800000 0x400000>;
711 ranges;
712
Diego Dortab754af32016-06-22 16:37:07 -0300713 ecspi1: ecspi@30820000 {
714 #address-cells = <1>;
715 #size-cells = <0>;
716 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
717 reg = <0x30820000 0x10000>;
718 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
719 clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
720 <&clks IMX7D_ECSPI1_ROOT_CLK>;
721 clock-names = "ipg", "per";
722 status = "disabled";
723 };
724
725 ecspi2: ecspi@30830000 {
726 #address-cells = <1>;
727 #size-cells = <0>;
728 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
729 reg = <0x30830000 0x10000>;
730 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
731 clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
732 <&clks IMX7D_ECSPI2_ROOT_CLK>;
733 clock-names = "ipg", "per";
734 status = "disabled";
735 };
736
737 ecspi3: ecspi@30840000 {
738 #address-cells = <1>;
739 #size-cells = <0>;
740 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
741 reg = <0x30840000 0x10000>;
742 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
743 clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
744 <&clks IMX7D_ECSPI3_ROOT_CLK>;
745 clock-names = "ipg", "per";
746 status = "disabled";
747 };
748
Frank Li94967342015-05-19 02:45:04 +0800749 uart1: serial@30860000 {
750 compatible = "fsl,imx7d-uart",
751 "fsl,imx6q-uart";
752 reg = <0x30860000 0x10000>;
753 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
754 clocks = <&clks IMX7D_UART1_ROOT_CLK>,
755 <&clks IMX7D_UART1_ROOT_CLK>;
756 clock-names = "ipg", "per";
757 status = "disabled";
758 };
759
Fabio Estevam178b2d02015-09-24 16:18:12 -0300760 uart2: serial@30890000 {
Frank Li94967342015-05-19 02:45:04 +0800761 compatible = "fsl,imx7d-uart",
762 "fsl,imx6q-uart";
Fabio Estevam178b2d02015-09-24 16:18:12 -0300763 reg = <0x30890000 0x10000>;
Frank Li94967342015-05-19 02:45:04 +0800764 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
765 clocks = <&clks IMX7D_UART2_ROOT_CLK>,
766 <&clks IMX7D_UART2_ROOT_CLK>;
767 clock-names = "ipg", "per";
768 status = "disabled";
769 };
770
771 uart3: serial@30880000 {
772 compatible = "fsl,imx7d-uart",
773 "fsl,imx6q-uart";
774 reg = <0x30880000 0x10000>;
775 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
776 clocks = <&clks IMX7D_UART3_ROOT_CLK>,
777 <&clks IMX7D_UART3_ROOT_CLK>;
778 clock-names = "ipg", "per";
779 status = "disabled";
780 };
781
Fabio Estevam7310f072016-08-10 13:00:27 -0300782 sai1: sai@308a0000 {
783 #sound-dai-cells = <0>;
784 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
785 reg = <0x308a0000 0x10000>;
786 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
787 clocks = <&clks IMX7D_SAI1_IPG_CLK>,
788 <&clks IMX7D_SAI1_ROOT_CLK>,
789 <&clks IMX7D_CLK_DUMMY>,
790 <&clks IMX7D_CLK_DUMMY>;
791 clock-names = "bus", "mclk1", "mclk2", "mclk3";
792 dma-names = "rx", "tx";
793 dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
794 status = "disabled";
795 };
796
797 sai2: sai@308b0000 {
798 #sound-dai-cells = <0>;
799 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
800 reg = <0x308b0000 0x10000>;
801 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
802 clocks = <&clks IMX7D_SAI2_IPG_CLK>,
803 <&clks IMX7D_SAI2_ROOT_CLK>,
804 <&clks IMX7D_CLK_DUMMY>,
805 <&clks IMX7D_CLK_DUMMY>;
806 clock-names = "bus", "mclk1", "mclk2", "mclk3";
807 dma-names = "rx", "tx";
808 dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
809 status = "disabled";
810 };
811
812 sai3: sai@308c0000 {
813 #sound-dai-cells = <0>;
814 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
815 reg = <0x308c0000 0x10000>;
816 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
817 clocks = <&clks IMX7D_SAI3_IPG_CLK>,
818 <&clks IMX7D_SAI3_ROOT_CLK>,
819 <&clks IMX7D_CLK_DUMMY>,
820 <&clks IMX7D_CLK_DUMMY>;
821 clock-names = "bus", "mclk1", "mclk2", "mclk3";
822 dma-names = "rx", "tx";
823 dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
824 status = "disabled";
825 };
826
Gary Bissonc1474012016-04-02 18:25:44 +0200827 flexcan1: can@30a00000 {
828 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
829 reg = <0x30a00000 0x10000>;
830 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
831 clocks = <&clks IMX7D_CLK_DUMMY>,
832 <&clks IMX7D_CAN1_ROOT_CLK>;
833 clock-names = "ipg", "per";
834 status = "disabled";
835 };
836
837 flexcan2: can@30a10000 {
838 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
839 reg = <0x30a10000 0x10000>;
840 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
841 clocks = <&clks IMX7D_CLK_DUMMY>,
842 <&clks IMX7D_CAN2_ROOT_CLK>;
843 clock-names = "ipg", "per";
844 status = "disabled";
845 };
846
Frank Li94967342015-05-19 02:45:04 +0800847 i2c1: i2c@30a20000 {
848 #address-cells = <1>;
849 #size-cells = <0>;
850 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
851 reg = <0x30a20000 0x10000>;
852 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
853 clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
854 status = "disabled";
855 };
856
857 i2c2: i2c@30a30000 {
858 #address-cells = <1>;
859 #size-cells = <0>;
860 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
861 reg = <0x30a30000 0x10000>;
862 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
863 clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
864 status = "disabled";
865 };
866
867 i2c3: i2c@30a40000 {
868 #address-cells = <1>;
869 #size-cells = <0>;
870 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
871 reg = <0x30a40000 0x10000>;
872 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
873 clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
874 status = "disabled";
875 };
876
877 i2c4: i2c@30a50000 {
878 #address-cells = <1>;
879 #size-cells = <0>;
880 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
881 reg = <0x30a50000 0x10000>;
882 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
883 clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
884 status = "disabled";
885 };
886
887 uart4: serial@30a60000 {
888 compatible = "fsl,imx7d-uart",
889 "fsl,imx6q-uart";
890 reg = <0x30a60000 0x10000>;
891 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
892 clocks = <&clks IMX7D_UART4_ROOT_CLK>,
893 <&clks IMX7D_UART4_ROOT_CLK>;
894 clock-names = "ipg", "per";
895 status = "disabled";
896 };
897
898 uart5: serial@30a70000 {
899 compatible = "fsl,imx7d-uart",
900 "fsl,imx6q-uart";
901 reg = <0x30a70000 0x10000>;
902 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
903 clocks = <&clks IMX7D_UART5_ROOT_CLK>,
904 <&clks IMX7D_UART5_ROOT_CLK>;
905 clock-names = "ipg", "per";
906 status = "disabled";
907 };
908
909 uart6: serial@30a80000 {
910 compatible = "fsl,imx7d-uart",
911 "fsl,imx6q-uart";
912 reg = <0x30a80000 0x10000>;
913 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
914 clocks = <&clks IMX7D_UART6_ROOT_CLK>,
915 <&clks IMX7D_UART6_ROOT_CLK>;
916 clock-names = "ipg", "per";
917 status = "disabled";
918 };
919
920 uart7: serial@30a90000 {
921 compatible = "fsl,imx7d-uart",
922 "fsl,imx6q-uart";
923 reg = <0x30a90000 0x10000>;
924 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
925 clocks = <&clks IMX7D_UART7_ROOT_CLK>,
926 <&clks IMX7D_UART7_ROOT_CLK>;
927 clock-names = "ipg", "per";
928 status = "disabled";
929 };
930
Fabio Estevam60f5a222015-09-07 22:57:11 -0300931 usbotg1: usb@30b10000 {
932 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
933 reg = <0x30b10000 0x200>;
934 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
935 clocks = <&clks IMX7D_USB_CTRL_CLK>;
936 fsl,usbphy = <&usbphynop1>;
937 fsl,usbmisc = <&usbmisc1 0>;
938 phy-clkgate-delay-us = <400>;
939 status = "disabled";
940 };
941
Fabio Estevam60f5a222015-09-07 22:57:11 -0300942 usbh: usb@30b30000 {
943 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
944 reg = <0x30b30000 0x200>;
945 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
946 clocks = <&clks IMX7D_USB_CTRL_CLK>;
947 fsl,usbphy = <&usbphynop3>;
948 fsl,usbmisc = <&usbmisc3 0>;
949 phy_type = "hsic";
950 dr_mode = "host";
951 phy-clkgate-delay-us = <400>;
952 status = "disabled";
953 };
954
955 usbmisc1: usbmisc@30b10200 {
956 #index-cells = <1>;
957 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
958 reg = <0x30b10200 0x200>;
959 };
960
Fabio Estevam60f5a222015-09-07 22:57:11 -0300961 usbmisc3: usbmisc@30b30200 {
962 #index-cells = <1>;
963 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
964 reg = <0x30b30200 0x200>;
965 };
966
Frank Li94967342015-05-19 02:45:04 +0800967 usdhc1: usdhc@30b40000 {
968 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
969 reg = <0x30b40000 0x10000>;
970 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700971 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
972 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +0800973 <&clks IMX7D_USDHC1_ROOT_CLK>;
974 clock-names = "ipg", "ahb", "per";
975 bus-width = <4>;
976 status = "disabled";
977 };
978
979 usdhc2: usdhc@30b50000 {
980 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
981 reg = <0x30b50000 0x10000>;
982 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700983 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
984 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +0800985 <&clks IMX7D_USDHC2_ROOT_CLK>;
986 clock-names = "ipg", "ahb", "per";
987 bus-width = <4>;
988 status = "disabled";
989 };
990
991 usdhc3: usdhc@30b60000 {
992 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
993 reg = <0x30b60000 0x10000>;
994 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnere711b852017-04-10 14:00:15 -0700995 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
996 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
Frank Li94967342015-05-19 02:45:04 +0800997 <&clks IMX7D_USDHC3_ROOT_CLK>;
998 clock-names = "ipg", "ahb", "per";
999 bus-width = <4>;
1000 status = "disabled";
1001 };
Fugang Duan0f629212015-09-07 10:55:01 +08001002
Fabio Estevam2f5ac9b2016-08-10 13:00:28 -03001003 sdma: sdma@30bd0000 {
1004 compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1005 reg = <0x30bd0000 0x10000>;
1006 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1007 clocks = <&clks IMX7D_SDMA_CORE_CLK>,
1008 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
1009 clock-names = "ipg", "ahb";
1010 #dma-cells = <3>;
1011 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1012 };
1013
Fugang Duan0f629212015-09-07 10:55:01 +08001014 fec1: ethernet@30be0000 {
1015 compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1016 reg = <0x30be0000 0x10000>;
Troy Kiskye94a2302017-11-03 10:29:58 -07001017 interrupt-names = "int0", "int1", "int2", "pps";
1018 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1019 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
Fugang Duan0f629212015-09-07 10:55:01 +08001020 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
Troy Kiskye94a2302017-11-03 10:29:58 -07001021 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
Fugang Duan0f629212015-09-07 10:55:01 +08001022 clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1023 <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1024 <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1025 <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1026 <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1027 clock-names = "ipg", "ahb", "ptp",
1028 "enet_clk_ref", "enet_out";
1029 fsl,num-tx-queues=<3>;
1030 fsl,num-rx-queues=<3>;
1031 status = "disabled";
1032 };
Frank Li94967342015-05-19 02:45:04 +08001033 };
Stefan Agnere7495a42017-06-08 15:34:48 -07001034
1035 dma_apbh: dma-apbh@33000000 {
1036 compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1037 reg = <0x33000000 0x2000>;
1038 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1039 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1040 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1041 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1042 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
1043 #dma-cells = <1>;
1044 dma-channels = <4>;
1045 clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1046 };
1047
1048 gpmi: gpmi-nand@33002000{
1049 compatible = "fsl,imx7d-gpmi-nand";
1050 #address-cells = <1>;
1051 #size-cells = <1>;
1052 reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1053 reg-names = "gpmi-nand", "bch";
1054 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1055 interrupt-names = "bch";
1056 clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1057 <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1058 clock-names = "gpmi_io", "gpmi_bch_apb";
1059 dmas = <&dma_apbh 0>;
1060 dma-names = "rx-tx";
1061 status = "disabled";
1062 assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1063 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;
1064 };
Frank Li94967342015-05-19 02:45:04 +08001065 };
1066};