blob: 81c426e1b664f56c78c90b53b7878f8edb56d209 [file] [log] [blame]
Frank Lia5fcccb2015-07-10 02:09:45 +08001/*
2 * Copyright 2015 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include <dt-bindings/clock/imx6ul-clock.h>
10#include <dt-bindings/gpio/gpio.h>
Lothar Waßmann89435fe2016-01-20 11:08:56 +010011#include <dt-bindings/input/input.h>
Frank Lia5fcccb2015-07-10 02:09:45 +080012#include <dt-bindings/interrupt-controller/arm-gic.h>
13#include "imx6ul-pinfunc.h"
Frank Lia5fcccb2015-07-10 02:09:45 +080014
15/ {
Fabio Estevam7f107882016-11-12 13:30:35 -020016 #address-cells = <1>;
17 #size-cells = <1>;
Fabio Estevama971c552017-01-23 14:54:10 -020018 /*
19 * The decompressor and also some bootloaders rely on a
20 * pre-existing /chosen node to be available to insert the
21 * command line and merge other ATAGS info.
22 * Also for U-Boot there must be a pre-existing /memory node.
23 */
24 chosen {};
Marco Franchi7f08e6a2018-01-24 11:22:13 -020025 memory { device_type = "memory"; };
Fabio Estevam7f107882016-11-12 13:30:35 -020026
Frank Lia5fcccb2015-07-10 02:09:45 +080027 aliases {
Fugang Duan01f3dc72015-07-28 15:30:41 +080028 ethernet0 = &fec1;
29 ethernet1 = &fec2;
Frank Lia5fcccb2015-07-10 02:09:45 +080030 gpio0 = &gpio1;
31 gpio1 = &gpio2;
32 gpio2 = &gpio3;
33 gpio3 = &gpio4;
34 gpio4 = &gpio5;
35 i2c0 = &i2c1;
36 i2c1 = &i2c2;
37 i2c2 = &i2c3;
38 i2c3 = &i2c4;
39 mmc0 = &usdhc1;
40 mmc1 = &usdhc2;
41 serial0 = &uart1;
42 serial1 = &uart2;
43 serial2 = &uart3;
44 serial3 = &uart4;
45 serial4 = &uart5;
46 serial5 = &uart6;
47 serial6 = &uart7;
48 serial7 = &uart8;
Fabio Estevamfb3239f2016-05-04 19:33:17 -030049 sai1 = &sai1;
50 sai2 = &sai2;
51 sai3 = &sai3;
Frank Lia5fcccb2015-07-10 02:09:45 +080052 spi0 = &ecspi1;
53 spi1 = &ecspi2;
54 spi2 = &ecspi3;
55 spi3 = &ecspi4;
56 usbphy0 = &usbphy1;
57 usbphy1 = &usbphy2;
58 };
59
60 cpus {
61 #address-cells = <1>;
62 #size-cells = <0>;
63
64 cpu0: cpu@0 {
65 compatible = "arm,cortex-a7";
66 device_type = "cpu";
67 reg = <0>;
68 clock-latency = <61036>; /* two CLK32 periods */
69 operating-points = <
70 /* kHz uV */
Anson Huangc9619bb2018-01-08 10:04:50 +080071 696000 1275000
Fabio Estevamf7084442016-04-25 16:38:47 -030072 528000 1175000
73 396000 1025000
74 198000 950000
Frank Lia5fcccb2015-07-10 02:09:45 +080075 >;
76 fsl,soc-operating-points = <
77 /* KHz uV */
Anson Huangc9619bb2018-01-08 10:04:50 +080078 696000 1275000
Fabio Estevamf7084442016-04-25 16:38:47 -030079 528000 1175000
80 396000 1175000
81 198000 1175000
Frank Lia5fcccb2015-07-10 02:09:45 +080082 >;
83 clocks = <&clks IMX6UL_CLK_ARM>,
84 <&clks IMX6UL_CLK_PLL2_BUS>,
85 <&clks IMX6UL_CLK_PLL2_PFD2>,
86 <&clks IMX6UL_CA7_SECONDARY_SEL>,
87 <&clks IMX6UL_CLK_STEP>,
88 <&clks IMX6UL_CLK_PLL1_SW>,
Anson Huang4a7459b2018-01-03 19:22:14 +080089 <&clks IMX6UL_CLK_PLL1_SYS>;
Frank Lia5fcccb2015-07-10 02:09:45 +080090 clock-names = "arm", "pll2_bus", "pll2_pfd2_396m",
91 "secondary_sel", "step", "pll1_sw",
Anson Huang4a7459b2018-01-03 19:22:14 +080092 "pll1_sys";
Frank Lia5fcccb2015-07-10 02:09:45 +080093 arm-supply = <&reg_arm>;
94 soc-supply = <&reg_soc>;
95 };
96 };
97
Marco Franchiefb9adb2017-09-21 14:01:25 -030098 intc: interrupt-controller@a01000 {
Marc Zyngier387720c2017-01-18 09:27:28 +000099 compatible = "arm,gic-400", "arm,cortex-a7-gic";
Stefan Agner8dc72262018-01-10 22:04:50 +0100100 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800101 #interrupt-cells = <3>;
102 interrupt-controller;
Stefan Agner8dc72262018-01-10 22:04:50 +0100103 interrupt-parent = <&intc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800104 reg = <0x00a01000 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +0000105 <0x00a02000 0x2000>,
Frank Lia5fcccb2015-07-10 02:09:45 +0800106 <0x00a04000 0x2000>,
107 <0x00a06000 0x2000>;
108 };
109
Stefan Agnercff1ce72018-01-10 22:04:51 +0100110 timer {
111 compatible = "arm,armv7-timer";
112 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
113 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
114 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
115 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
116 interrupt-parent = <&intc>;
117 status = "disabled";
118 };
119
Frank Lia5fcccb2015-07-10 02:09:45 +0800120 ckil: clock-cli {
121 compatible = "fixed-clock";
122 #clock-cells = <0>;
123 clock-frequency = <32768>;
124 clock-output-names = "ckil";
125 };
126
127 osc: clock-osc {
128 compatible = "fixed-clock";
129 #clock-cells = <0>;
130 clock-frequency = <24000000>;
131 clock-output-names = "osc";
132 };
133
134 ipp_di0: clock-di0 {
135 compatible = "fixed-clock";
136 #clock-cells = <0>;
137 clock-frequency = <0>;
138 clock-output-names = "ipp_di0";
139 };
140
141 ipp_di1: clock-di1 {
142 compatible = "fixed-clock";
143 #clock-cells = <0>;
144 clock-frequency = <0>;
145 clock-output-names = "ipp_di1";
146 };
147
Fabio Estevam1e989602017-11-29 16:54:35 -0200148 tempmon: tempmon {
149 compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon";
150 interrupt-parent = <&gpc>;
151 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
152 fsl,tempmon = <&anatop>;
153 nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
154 nvmem-cell-names = "calib", "temp_grade";
155 clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>;
156 };
157
158 pmu {
159 compatible = "arm,cortex-a7-pmu";
160 interrupt-parent = <&gpc>;
161 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
162 status = "disabled";
163 };
164
Frank Lia5fcccb2015-07-10 02:09:45 +0800165 soc {
166 #address-cells = <1>;
167 #size-cells = <1>;
168 compatible = "simple-bus";
Anson Huang18619ff2015-08-04 01:12:12 +0800169 interrupt-parent = <&gpc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800170 ranges;
171
Marco Franchiefb9adb2017-09-21 14:01:25 -0300172 ocram: sram@900000 {
Anson Huang322d09d2015-08-05 01:48:35 +0800173 compatible = "mmio-sram";
174 reg = <0x00900000 0x20000>;
175 };
176
Marco Franchiefb9adb2017-09-21 14:01:25 -0300177 dma_apbh: dma-apbh@1804000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100178 compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
179 reg = <0x01804000 0x2000>;
180 interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
181 <0 13 IRQ_TYPE_LEVEL_HIGH>,
182 <0 13 IRQ_TYPE_LEVEL_HIGH>,
183 <0 13 IRQ_TYPE_LEVEL_HIGH>;
184 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
185 #dma-cells = <1>;
186 dma-channels = <4>;
187 clocks = <&clks IMX6UL_CLK_APBHDMA>;
188 };
189
Marco Franchiefb9adb2017-09-21 14:01:25 -0300190 gpmi: gpmi-nand@1806000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100191 compatible = "fsl,imx6q-gpmi-nand";
192 #address-cells = <1>;
193 #size-cells = <1>;
194 reg = <0x01806000 0x2000>, <0x01808000 0x2000>;
195 reg-names = "gpmi-nand", "bch";
196 interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
197 interrupt-names = "bch";
198 clocks = <&clks IMX6UL_CLK_GPMI_IO>,
199 <&clks IMX6UL_CLK_GPMI_APB>,
200 <&clks IMX6UL_CLK_GPMI_BCH>,
201 <&clks IMX6UL_CLK_GPMI_BCH_APB>,
202 <&clks IMX6UL_CLK_PER_BCH>;
203 clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
204 "gpmi_bch_apb", "per1_bch";
205 dmas = <&dma_apbh 0>;
206 dma-names = "rx-tx";
207 status = "disabled";
208 };
209
Marco Franchiefb9adb2017-09-21 14:01:25 -0300210 aips1: aips-bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800211 compatible = "fsl,aips-bus", "simple-bus";
212 #address-cells = <1>;
213 #size-cells = <1>;
214 reg = <0x02000000 0x100000>;
215 ranges;
216
Marco Franchiefb9adb2017-09-21 14:01:25 -0300217 spba-bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800218 compatible = "fsl,spba-bus", "simple-bus";
219 #address-cells = <1>;
220 #size-cells = <1>;
221 reg = <0x02000000 0x40000>;
222 ranges;
223
Marco Franchiefb9adb2017-09-21 14:01:25 -0300224 ecspi1: ecspi@2008000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800225 #address-cells = <1>;
226 #size-cells = <0>;
227 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
228 reg = <0x02008000 0x4000>;
229 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
230 clocks = <&clks IMX6UL_CLK_ECSPI1>,
231 <&clks IMX6UL_CLK_ECSPI1>;
232 clock-names = "ipg", "per";
233 status = "disabled";
234 };
235
Marco Franchiefb9adb2017-09-21 14:01:25 -0300236 ecspi2: ecspi@200c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800237 #address-cells = <1>;
238 #size-cells = <0>;
239 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
240 reg = <0x0200c000 0x4000>;
241 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
242 clocks = <&clks IMX6UL_CLK_ECSPI2>,
243 <&clks IMX6UL_CLK_ECSPI2>;
244 clock-names = "ipg", "per";
245 status = "disabled";
246 };
247
Marco Franchiefb9adb2017-09-21 14:01:25 -0300248 ecspi3: ecspi@2010000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800249 #address-cells = <1>;
250 #size-cells = <0>;
251 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
252 reg = <0x02010000 0x4000>;
253 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
254 clocks = <&clks IMX6UL_CLK_ECSPI3>,
255 <&clks IMX6UL_CLK_ECSPI3>;
256 clock-names = "ipg", "per";
257 status = "disabled";
258 };
259
Marco Franchiefb9adb2017-09-21 14:01:25 -0300260 ecspi4: ecspi@2014000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800261 #address-cells = <1>;
262 #size-cells = <0>;
263 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
264 reg = <0x02014000 0x4000>;
265 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
266 clocks = <&clks IMX6UL_CLK_ECSPI4>,
267 <&clks IMX6UL_CLK_ECSPI4>;
268 clock-names = "ipg", "per";
269 status = "disabled";
270 };
271
Marco Franchiefb9adb2017-09-21 14:01:25 -0300272 uart7: serial@2018000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800273 compatible = "fsl,imx6ul-uart",
274 "fsl,imx6q-uart";
275 reg = <0x02018000 0x4000>;
276 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
277 clocks = <&clks IMX6UL_CLK_UART7_IPG>,
278 <&clks IMX6UL_CLK_UART7_SERIAL>;
279 clock-names = "ipg", "per";
280 status = "disabled";
281 };
282
Marco Franchiefb9adb2017-09-21 14:01:25 -0300283 uart1: serial@2020000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800284 compatible = "fsl,imx6ul-uart",
285 "fsl,imx6q-uart";
286 reg = <0x02020000 0x4000>;
287 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
288 clocks = <&clks IMX6UL_CLK_UART1_IPG>,
289 <&clks IMX6UL_CLK_UART1_SERIAL>;
290 clock-names = "ipg", "per";
291 status = "disabled";
292 };
293
Marco Franchiefb9adb2017-09-21 14:01:25 -0300294 uart8: serial@2024000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800295 compatible = "fsl,imx6ul-uart",
296 "fsl,imx6q-uart";
297 reg = <0x02024000 0x4000>;
298 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
299 clocks = <&clks IMX6UL_CLK_UART8_IPG>,
300 <&clks IMX6UL_CLK_UART8_SERIAL>;
301 clock-names = "ipg", "per";
302 status = "disabled";
303 };
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100304
Marco Franchiefb9adb2017-09-21 14:01:25 -0300305 sai1: sai@2028000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100306 #sound-dai-cells = <0>;
307 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
308 reg = <0x02028000 0x4000>;
309 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
310 clocks = <&clks IMX6UL_CLK_SAI1_IPG>,
311 <&clks IMX6UL_CLK_SAI1>,
312 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
313 clock-names = "bus", "mclk1", "mclk2", "mclk3";
314 dmas = <&sdma 35 24 0>,
315 <&sdma 36 24 0>;
316 dma-names = "rx", "tx";
317 status = "disabled";
318 };
319
Marco Franchiefb9adb2017-09-21 14:01:25 -0300320 sai2: sai@202c000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100321 #sound-dai-cells = <0>;
322 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
323 reg = <0x0202c000 0x4000>;
324 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
325 clocks = <&clks IMX6UL_CLK_SAI2_IPG>,
326 <&clks IMX6UL_CLK_SAI2>,
327 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
328 clock-names = "bus", "mclk1", "mclk2", "mclk3";
329 dmas = <&sdma 37 24 0>,
330 <&sdma 38 24 0>;
331 dma-names = "rx", "tx";
332 status = "disabled";
333 };
334
Marco Franchiefb9adb2017-09-21 14:01:25 -0300335 sai3: sai@2030000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100336 #sound-dai-cells = <0>;
337 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
338 reg = <0x02030000 0x4000>;
339 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
340 clocks = <&clks IMX6UL_CLK_SAI3_IPG>,
341 <&clks IMX6UL_CLK_SAI3>,
342 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
343 clock-names = "bus", "mclk1", "mclk2", "mclk3";
344 dmas = <&sdma 39 24 0>,
345 <&sdma 40 24 0>;
346 dma-names = "rx", "tx";
347 status = "disabled";
348 };
Frank Lia5fcccb2015-07-10 02:09:45 +0800349 };
350
Marco Franchiefb9adb2017-09-21 14:01:25 -0300351 tsc: tsc@2040000 {
Lothar Waßmann302e01b2016-01-20 11:08:55 +0100352 compatible = "fsl,imx6ul-tsc";
353 reg = <0x02040000 0x4000>, <0x0219c000 0x4000>;
354 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
355 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
356 clocks = <&clks IMX6UL_CLK_IPG>,
357 <&clks IMX6UL_CLK_ADC2>;
358 clock-names = "tsc", "adc";
359 status = "disabled";
360 };
361
Marco Franchiefb9adb2017-09-21 14:01:25 -0300362 pwm1: pwm@2080000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100363 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
364 reg = <0x02080000 0x4000>;
365 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
366 clocks = <&clks IMX6UL_CLK_PWM1>,
367 <&clks IMX6UL_CLK_PWM1>;
368 clock-names = "ipg", "per";
369 #pwm-cells = <2>;
370 status = "disabled";
371 };
372
Marco Franchiefb9adb2017-09-21 14:01:25 -0300373 pwm2: pwm@2084000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100374 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
375 reg = <0x02084000 0x4000>;
376 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&clks IMX6UL_CLK_PWM2>,
378 <&clks IMX6UL_CLK_PWM2>;
379 clock-names = "ipg", "per";
380 #pwm-cells = <2>;
381 status = "disabled";
382 };
383
Marco Franchiefb9adb2017-09-21 14:01:25 -0300384 pwm3: pwm@2088000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100385 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
386 reg = <0x02088000 0x4000>;
387 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
388 clocks = <&clks IMX6UL_CLK_PWM3>,
389 <&clks IMX6UL_CLK_PWM3>;
390 clock-names = "ipg", "per";
391 #pwm-cells = <2>;
392 status = "disabled";
393 };
394
Marco Franchiefb9adb2017-09-21 14:01:25 -0300395 pwm4: pwm@208c000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100396 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
397 reg = <0x0208c000 0x4000>;
398 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
399 clocks = <&clks IMX6UL_CLK_PWM4>,
400 <&clks IMX6UL_CLK_PWM4>;
401 clock-names = "ipg", "per";
402 #pwm-cells = <2>;
403 status = "disabled";
404 };
405
Marco Franchiefb9adb2017-09-21 14:01:25 -0300406 can1: flexcan@2090000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100407 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
408 reg = <0x02090000 0x4000>;
409 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
410 clocks = <&clks IMX6UL_CLK_CAN1_IPG>,
411 <&clks IMX6UL_CLK_CAN1_SERIAL>;
412 clock-names = "ipg", "per";
413 status = "disabled";
414 };
415
Marco Franchiefb9adb2017-09-21 14:01:25 -0300416 can2: flexcan@2094000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100417 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
418 reg = <0x02094000 0x4000>;
419 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
420 clocks = <&clks IMX6UL_CLK_CAN2_IPG>,
421 <&clks IMX6UL_CLK_CAN2_SERIAL>;
422 clock-names = "ipg", "per";
423 status = "disabled";
424 };
425
Marco Franchiefb9adb2017-09-21 14:01:25 -0300426 gpt1: gpt@2098000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800427 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
428 reg = <0x02098000 0x4000>;
429 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
430 clocks = <&clks IMX6UL_CLK_GPT1_BUS>,
431 <&clks IMX6UL_CLK_GPT1_SERIAL>;
432 clock-names = "ipg", "per";
433 };
434
Marco Franchiefb9adb2017-09-21 14:01:25 -0300435 gpio1: gpio@209c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800436 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
437 reg = <0x0209c000 0x4000>;
438 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
439 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
440 gpio-controller;
441 #gpio-cells = <2>;
442 interrupt-controller;
443 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300444 gpio-ranges = <&iomuxc 0 23 10>, <&iomuxc 10 17 6>,
445 <&iomuxc 16 33 16>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800446 };
447
Marco Franchiefb9adb2017-09-21 14:01:25 -0300448 gpio2: gpio@20a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800449 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
450 reg = <0x020a0000 0x4000>;
451 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
452 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
453 gpio-controller;
454 #gpio-cells = <2>;
455 interrupt-controller;
456 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300457 gpio-ranges = <&iomuxc 0 49 16>, <&iomuxc 16 111 6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800458 };
459
Marco Franchiefb9adb2017-09-21 14:01:25 -0300460 gpio3: gpio@20a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800461 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
462 reg = <0x020a4000 0x4000>;
463 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
464 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
465 gpio-controller;
466 #gpio-cells = <2>;
467 interrupt-controller;
468 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300469 gpio-ranges = <&iomuxc 0 65 29>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800470 };
471
Marco Franchiefb9adb2017-09-21 14:01:25 -0300472 gpio4: gpio@20a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800473 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
474 reg = <0x020a8000 0x4000>;
475 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
476 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
477 gpio-controller;
478 #gpio-cells = <2>;
479 interrupt-controller;
480 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300481 gpio-ranges = <&iomuxc 0 94 17>, <&iomuxc 17 117 12>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800482 };
483
Marco Franchiefb9adb2017-09-21 14:01:25 -0300484 gpio5: gpio@20ac000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800485 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
486 reg = <0x020ac000 0x4000>;
487 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
488 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
489 gpio-controller;
490 #gpio-cells = <2>;
491 interrupt-controller;
492 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300493 gpio-ranges = <&iomuxc 0 7 10>, <&iomuxc 10 5 2>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800494 };
495
Marco Franchiefb9adb2017-09-21 14:01:25 -0300496 fec2: ethernet@20b4000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800497 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
498 reg = <0x020b4000 0x4000>;
Troy Kiskye94a2302017-11-03 10:29:58 -0700499 interrupt-names = "int0", "pps";
Fugang Duan01f3dc72015-07-28 15:30:41 +0800500 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
501 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
502 clocks = <&clks IMX6UL_CLK_ENET>,
503 <&clks IMX6UL_CLK_ENET_AHB>,
504 <&clks IMX6UL_CLK_ENET_PTP>,
505 <&clks IMX6UL_CLK_ENET2_REF_125M>,
506 <&clks IMX6UL_CLK_ENET2_REF_125M>;
507 clock-names = "ipg", "ahb", "ptp",
508 "enet_clk_ref", "enet_out";
509 fsl,num-tx-queues=<1>;
510 fsl,num-rx-queues=<1>;
511 status = "disabled";
512 };
513
Marco Franchiefb9adb2017-09-21 14:01:25 -0300514 kpp: kpp@20b8000 {
Lothar Waßmannea1c1752016-01-20 11:09:08 +0100515 compatible = "fsl,imx6ul-kpp", "fsl,imx6q-kpp", "fsl,imx21-kpp";
516 reg = <0x020b8000 0x4000>;
517 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
518 clocks = <&clks IMX6UL_CLK_KPP>;
519 status = "disabled";
520 };
521
Marco Franchiefb9adb2017-09-21 14:01:25 -0300522 wdog1: wdog@20bc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800523 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
524 reg = <0x020bc000 0x4000>;
525 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
526 clocks = <&clks IMX6UL_CLK_WDOG1>;
527 };
528
Marco Franchiefb9adb2017-09-21 14:01:25 -0300529 wdog2: wdog@20c0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800530 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
531 reg = <0x020c0000 0x4000>;
532 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
533 clocks = <&clks IMX6UL_CLK_WDOG2>;
534 status = "disabled";
535 };
536
Marco Franchiefb9adb2017-09-21 14:01:25 -0300537 clks: ccm@20c4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800538 compatible = "fsl,imx6ul-ccm";
539 reg = <0x020c4000 0x4000>;
540 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
541 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
542 #clock-cells = <1>;
543 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
544 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
545 };
546
Marco Franchiefb9adb2017-09-21 14:01:25 -0300547 anatop: anatop@20c8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800548 compatible = "fsl,imx6ul-anatop", "fsl,imx6q-anatop",
549 "syscon", "simple-bus";
550 reg = <0x020c8000 0x1000>;
551 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
552 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
553 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
Fabio Estevam685e1322017-11-29 16:54:36 -0200554 #address-cells = <1>;
555 #size-cells = <0>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800556
Fabio Estevam685e1322017-11-29 16:54:36 -0200557 reg_3p0: regulator-3p0@20c8110 {
558 reg = <0x20c8110>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800559 compatible = "fsl,anatop-regulator";
560 regulator-name = "vdd3p0";
561 regulator-min-microvolt = <2625000>;
562 regulator-max-microvolt = <3400000>;
563 anatop-reg-offset = <0x120>;
564 anatop-vol-bit-shift = <8>;
565 anatop-vol-bit-width = <5>;
566 anatop-min-bit-val = <0>;
567 anatop-min-voltage = <2625000>;
568 anatop-max-voltage = <3400000>;
Andrey Smirnov38281a42017-05-15 07:52:59 -0700569 anatop-enable-bit = <0>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800570 };
571
Fabio Estevam685e1322017-11-29 16:54:36 -0200572 reg_arm: regulator-vddcore@20c8140 {
573 reg = <0x20c8140>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800574 compatible = "fsl,anatop-regulator";
575 regulator-name = "cpu";
576 regulator-min-microvolt = <725000>;
577 regulator-max-microvolt = <1450000>;
578 regulator-always-on;
579 anatop-reg-offset = <0x140>;
580 anatop-vol-bit-shift = <0>;
581 anatop-vol-bit-width = <5>;
582 anatop-delay-reg-offset = <0x170>;
583 anatop-delay-bit-shift = <24>;
584 anatop-delay-bit-width = <2>;
585 anatop-min-bit-val = <1>;
586 anatop-min-voltage = <725000>;
587 anatop-max-voltage = <1450000>;
588 };
589
Fabio Estevam685e1322017-11-29 16:54:36 -0200590 reg_soc: regulator-vddsoc@20c8140 {
591 reg = <0x20c8140>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800592 compatible = "fsl,anatop-regulator";
593 regulator-name = "vddsoc";
594 regulator-min-microvolt = <725000>;
595 regulator-max-microvolt = <1450000>;
596 regulator-always-on;
597 anatop-reg-offset = <0x140>;
598 anatop-vol-bit-shift = <18>;
599 anatop-vol-bit-width = <5>;
600 anatop-delay-reg-offset = <0x170>;
601 anatop-delay-bit-shift = <28>;
602 anatop-delay-bit-width = <2>;
603 anatop-min-bit-val = <1>;
604 anatop-min-voltage = <725000>;
605 anatop-max-voltage = <1450000>;
606 };
607 };
608
Marco Franchiefb9adb2017-09-21 14:01:25 -0300609 usbphy1: usbphy@20c9000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800610 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
611 reg = <0x020c9000 0x1000>;
612 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
613 clocks = <&clks IMX6UL_CLK_USBPHY1>;
614 phy-3p0-supply = <&reg_3p0>;
615 fsl,anatop = <&anatop>;
616 };
617
Marco Franchiefb9adb2017-09-21 14:01:25 -0300618 usbphy2: usbphy@20ca000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800619 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
620 reg = <0x020ca000 0x1000>;
621 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
622 clocks = <&clks IMX6UL_CLK_USBPHY2>;
623 phy-3p0-supply = <&reg_3p0>;
624 fsl,anatop = <&anatop>;
625 };
626
Marco Franchiefb9adb2017-09-21 14:01:25 -0300627 snvs: snvs@20cc000 {
Anson Huang5b032872015-08-04 23:54:58 +0800628 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
629 reg = <0x020cc000 0x4000>;
630
631 snvs_rtc: snvs-rtc-lp {
632 compatible = "fsl,sec-v4.0-mon-rtc-lp";
633 regmap = <&snvs>;
634 offset = <0x34>;
635 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
636 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
637 };
Anson Huang36032572015-08-06 16:16:01 +0800638
Anson Huangab0a05d2015-09-06 15:29:34 +0800639 snvs_poweroff: snvs-poweroff {
640 compatible = "syscon-poweroff";
641 regmap = <&snvs>;
642 offset = <0x38>;
Guy Shapiro87a84c62017-07-04 18:19:12 +0200643 value = <0x60>;
Anson Huangab0a05d2015-09-06 15:29:34 +0800644 mask = <0x60>;
645 status = "disabled";
646 };
647
Anson Huang36032572015-08-06 16:16:01 +0800648 snvs_pwrkey: snvs-powerkey {
649 compatible = "fsl,sec-v4.0-pwrkey";
650 regmap = <&snvs>;
651 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
652 linux,keycode = <KEY_POWER>;
653 wakeup-source;
654 };
Oleksij Rempela53745d2017-06-20 09:09:32 +0200655
656 snvs_lpgpr: snvs-lpgpr {
657 compatible = "fsl,imx6ul-snvs-lpgpr";
658 };
Anson Huang5b032872015-08-04 23:54:58 +0800659 };
660
Marco Franchiefb9adb2017-09-21 14:01:25 -0300661 epit1: epit@20d0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800662 reg = <0x020d0000 0x4000>;
663 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
664 };
665
Marco Franchiefb9adb2017-09-21 14:01:25 -0300666 epit2: epit@20d4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800667 reg = <0x020d4000 0x4000>;
668 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
669 };
670
Marco Franchiefb9adb2017-09-21 14:01:25 -0300671 src: src@20d8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800672 compatible = "fsl,imx6ul-src", "fsl,imx51-src";
673 reg = <0x020d8000 0x4000>;
674 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
675 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
676 #reset-cells = <1>;
677 };
678
Marco Franchiefb9adb2017-09-21 14:01:25 -0300679 gpc: gpc@20dc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800680 compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
681 reg = <0x020dc000 0x4000>;
Anson Huang18619ff2015-08-04 01:12:12 +0800682 interrupt-controller;
683 #interrupt-cells = <3>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800684 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Anson Huang18619ff2015-08-04 01:12:12 +0800685 interrupt-parent = <&intc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800686 };
687
Marco Franchiefb9adb2017-09-21 14:01:25 -0300688 iomuxc: iomuxc@20e0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800689 compatible = "fsl,imx6ul-iomuxc";
690 reg = <0x020e0000 0x4000>;
691 };
692
Marco Franchiefb9adb2017-09-21 14:01:25 -0300693 gpr: iomuxc-gpr@20e4000 {
Anson Huang0f39c502016-08-29 22:25:43 +0800694 compatible = "fsl,imx6ul-iomuxc-gpr",
695 "fsl,imx6q-iomuxc-gpr", "syscon";
Frank Lia5fcccb2015-07-10 02:09:45 +0800696 reg = <0x020e4000 0x4000>;
697 };
698
Marco Franchiefb9adb2017-09-21 14:01:25 -0300699 gpt2: gpt@20e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800700 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
701 reg = <0x020e8000 0x4000>;
702 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannd97ca992016-01-20 11:08:57 +0100703 clocks = <&clks IMX6UL_CLK_GPT2_BUS>,
704 <&clks IMX6UL_CLK_GPT2_SERIAL>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800705 clock-names = "ipg", "per";
706 };
707
Marco Franchiefb9adb2017-09-21 14:01:25 -0300708 sdma: sdma@20ec000 {
Lothar Waßmann76758c62016-01-20 11:09:01 +0100709 compatible = "fsl,imx6ul-sdma", "fsl,imx6q-sdma",
710 "fsl,imx35-sdma";
711 reg = <0x020ec000 0x4000>;
712 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
713 clocks = <&clks IMX6UL_CLK_SDMA>,
714 <&clks IMX6UL_CLK_SDMA>;
715 clock-names = "ipg", "ahb";
716 #dma-cells = <3>;
717 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
718 };
719
Marco Franchiefb9adb2017-09-21 14:01:25 -0300720 pwm5: pwm@20f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800721 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
722 reg = <0x020f0000 0x4000>;
723 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100724 clocks = <&clks IMX6UL_CLK_PWM5>,
725 <&clks IMX6UL_CLK_PWM5>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800726 clock-names = "ipg", "per";
727 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100728 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800729 };
730
Marco Franchiefb9adb2017-09-21 14:01:25 -0300731 pwm6: pwm@20f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800732 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
733 reg = <0x020f4000 0x4000>;
734 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100735 clocks = <&clks IMX6UL_CLK_PWM6>,
736 <&clks IMX6UL_CLK_PWM6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800737 clock-names = "ipg", "per";
738 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100739 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800740 };
741
Marco Franchiefb9adb2017-09-21 14:01:25 -0300742 pwm7: pwm@20f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800743 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
744 reg = <0x020f8000 0x4000>;
745 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100746 clocks = <&clks IMX6UL_CLK_PWM7>,
747 <&clks IMX6UL_CLK_PWM7>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800748 clock-names = "ipg", "per";
749 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100750 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800751 };
752
Marco Franchiefb9adb2017-09-21 14:01:25 -0300753 pwm8: pwm@20fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800754 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
755 reg = <0x020fc000 0x4000>;
756 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100757 clocks = <&clks IMX6UL_CLK_PWM8>,
758 <&clks IMX6UL_CLK_PWM8>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800759 clock-names = "ipg", "per";
760 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100761 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800762 };
763 };
764
Marco Franchiefb9adb2017-09-21 14:01:25 -0300765 aips2: aips-bus@2100000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800766 compatible = "fsl,aips-bus", "simple-bus";
767 #address-cells = <1>;
768 #size-cells = <1>;
769 reg = <0x02100000 0x100000>;
770 ranges;
771
Marco Franchiefb9adb2017-09-21 14:01:25 -0300772 usbotg1: usb@2184000 {
Frank Licad2cb62015-07-17 04:03:16 +0800773 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
774 reg = <0x02184000 0x200>;
775 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
776 clocks = <&clks IMX6UL_CLK_USBOH3>;
777 fsl,usbphy = <&usbphy1>;
778 fsl,usbmisc = <&usbmisc 0>;
779 fsl,anatop = <&anatop>;
Peter Chen9493bf52015-09-30 10:17:16 +0800780 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800781 tx-burst-size-dword = <0x10>;
782 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800783 status = "disabled";
784 };
785
Marco Franchiefb9adb2017-09-21 14:01:25 -0300786 usbotg2: usb@2184200 {
Frank Licad2cb62015-07-17 04:03:16 +0800787 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
788 reg = <0x02184200 0x200>;
789 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
790 clocks = <&clks IMX6UL_CLK_USBOH3>;
791 fsl,usbphy = <&usbphy2>;
792 fsl,usbmisc = <&usbmisc 1>;
Peter Chen9493bf52015-09-30 10:17:16 +0800793 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800794 tx-burst-size-dword = <0x10>;
795 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800796 status = "disabled";
797 };
798
Marco Franchiefb9adb2017-09-21 14:01:25 -0300799 usbmisc: usbmisc@2184800 {
Frank Licad2cb62015-07-17 04:03:16 +0800800 #index-cells = <1>;
801 compatible = "fsl,imx6ul-usbmisc", "fsl,imx6q-usbmisc";
802 reg = <0x02184800 0x200>;
803 };
804
Marco Franchiefb9adb2017-09-21 14:01:25 -0300805 fec1: ethernet@2188000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800806 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
807 reg = <0x02188000 0x4000>;
Troy Kiskye94a2302017-11-03 10:29:58 -0700808 interrupt-names = "int0", "pps";
Fugang Duan01f3dc72015-07-28 15:30:41 +0800809 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
810 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
811 clocks = <&clks IMX6UL_CLK_ENET>,
812 <&clks IMX6UL_CLK_ENET_AHB>,
813 <&clks IMX6UL_CLK_ENET_PTP>,
814 <&clks IMX6UL_CLK_ENET_REF>,
815 <&clks IMX6UL_CLK_ENET_REF>;
816 clock-names = "ipg", "ahb", "ptp",
817 "enet_clk_ref", "enet_out";
818 fsl,num-tx-queues=<1>;
819 fsl,num-rx-queues=<1>;
820 status = "disabled";
821 };
822
Marco Franchiefb9adb2017-09-21 14:01:25 -0300823 usdhc1: usdhc@2190000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800824 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
825 reg = <0x02190000 0x4000>;
826 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
827 clocks = <&clks IMX6UL_CLK_USDHC1>,
828 <&clks IMX6UL_CLK_USDHC1>,
829 <&clks IMX6UL_CLK_USDHC1>;
830 clock-names = "ipg", "ahb", "per";
831 bus-width = <4>;
832 status = "disabled";
833 };
834
Marco Franchiefb9adb2017-09-21 14:01:25 -0300835 usdhc2: usdhc@2194000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800836 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
837 reg = <0x02194000 0x4000>;
838 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
839 clocks = <&clks IMX6UL_CLK_USDHC2>,
840 <&clks IMX6UL_CLK_USDHC2>,
841 <&clks IMX6UL_CLK_USDHC2>;
842 clock-names = "ipg", "ahb", "per";
843 bus-width = <4>;
844 status = "disabled";
845 };
846
Marco Franchiefb9adb2017-09-21 14:01:25 -0300847 adc1: adc@2198000 {
Fabio Estevamaab8ec02015-11-04 10:54:50 -0200848 compatible = "fsl,imx6ul-adc", "fsl,vf610-adc";
849 reg = <0x02198000 0x4000>;
850 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
851 clocks = <&clks IMX6UL_CLK_ADC1>;
852 num-channels = <2>;
853 clock-names = "adc";
854 fsl,adck-max-frequency = <30000000>, <40000000>,
855 <20000000>;
856 status = "disabled";
857 };
858
Marco Franchiefb9adb2017-09-21 14:01:25 -0300859 i2c1: i2c@21a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800860 #address-cells = <1>;
861 #size-cells = <0>;
862 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
863 reg = <0x021a0000 0x4000>;
864 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
865 clocks = <&clks IMX6UL_CLK_I2C1>;
866 status = "disabled";
867 };
868
Marco Franchiefb9adb2017-09-21 14:01:25 -0300869 i2c2: i2c@21a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800870 #address-cells = <1>;
871 #size-cells = <0>;
872 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
873 reg = <0x021a4000 0x4000>;
874 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
875 clocks = <&clks IMX6UL_CLK_I2C2>;
876 status = "disabled";
877 };
878
Marco Franchiefb9adb2017-09-21 14:01:25 -0300879 i2c3: i2c@21a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800880 #address-cells = <1>;
881 #size-cells = <0>;
882 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
883 reg = <0x021a8000 0x4000>;
884 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
885 clocks = <&clks IMX6UL_CLK_I2C3>;
886 status = "disabled";
887 };
888
Marco Franchiefb9adb2017-09-21 14:01:25 -0300889 mmdc: mmdc@21b0000 {
Anson Huang51a37442015-08-05 01:48:36 +0800890 compatible = "fsl,imx6ul-mmdc", "fsl,imx6q-mmdc";
891 reg = <0x021b0000 0x4000>;
892 };
893
Marco Franchiefb9adb2017-09-21 14:01:25 -0300894 ocotp: ocotp-ctrl@21bc000 {
Leonard Crestez2067b752017-07-14 17:11:10 +0300895 #address-cells = <1>;
896 #size-cells = <1>;
Bai Ping86864392016-11-17 09:08:19 +0800897 compatible = "fsl,imx6ul-ocotp", "syscon";
898 reg = <0x021bc000 0x4000>;
899 clocks = <&clks IMX6UL_CLK_OCOTP>;
Leonard Crestez2067b752017-07-14 17:11:10 +0300900
901 tempmon_calib: calib@38 {
902 reg = <0x38 4>;
903 };
904
905 tempmon_temp_grade: temp-grade@20 {
906 reg = <0x20 4>;
907 };
Bai Ping86864392016-11-17 09:08:19 +0800908 };
909
Marco Franchiefb9adb2017-09-21 14:01:25 -0300910 lcdif: lcdif@21c8000 {
Lothar Waßmann6fe01eb2016-01-20 11:09:04 +0100911 compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif";
912 reg = <0x021c8000 0x4000>;
913 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
914 clocks = <&clks IMX6UL_CLK_LCDIF_PIX>,
915 <&clks IMX6UL_CLK_LCDIF_APB>,
916 <&clks IMX6UL_CLK_DUMMY>;
917 clock-names = "pix", "axi", "disp_axi";
918 status = "disabled";
919 };
920
Marco Franchiefb9adb2017-09-21 14:01:25 -0300921 qspi: qspi@21e0000 {
Frank Li5ff807a2015-07-21 03:33:53 +0800922 #address-cells = <1>;
923 #size-cells = <0>;
924 compatible = "fsl,imx6ul-qspi", "fsl,imx6sx-qspi";
925 reg = <0x021e0000 0x4000>, <0x60000000 0x10000000>;
926 reg-names = "QuadSPI", "QuadSPI-memory";
927 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
928 clocks = <&clks IMX6UL_CLK_QSPI>,
929 <&clks IMX6UL_CLK_QSPI>;
930 clock-names = "qspi_en", "qspi";
931 status = "disabled";
932 };
933
Marco Franchiefb9adb2017-09-21 14:01:25 -0300934 uart2: serial@21e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800935 compatible = "fsl,imx6ul-uart",
936 "fsl,imx6q-uart";
937 reg = <0x021e8000 0x4000>;
938 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
939 clocks = <&clks IMX6UL_CLK_UART2_IPG>,
940 <&clks IMX6UL_CLK_UART2_SERIAL>;
941 clock-names = "ipg", "per";
942 status = "disabled";
943 };
944
Marco Franchiefb9adb2017-09-21 14:01:25 -0300945 uart3: serial@21ec000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800946 compatible = "fsl,imx6ul-uart",
947 "fsl,imx6q-uart";
948 reg = <0x021ec000 0x4000>;
949 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
950 clocks = <&clks IMX6UL_CLK_UART3_IPG>,
951 <&clks IMX6UL_CLK_UART3_SERIAL>;
952 clock-names = "ipg", "per";
953 status = "disabled";
954 };
955
Marco Franchiefb9adb2017-09-21 14:01:25 -0300956 uart4: serial@21f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800957 compatible = "fsl,imx6ul-uart",
958 "fsl,imx6q-uart";
959 reg = <0x021f0000 0x4000>;
960 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
961 clocks = <&clks IMX6UL_CLK_UART4_IPG>,
962 <&clks IMX6UL_CLK_UART4_SERIAL>;
963 clock-names = "ipg", "per";
964 status = "disabled";
965 };
966
Marco Franchiefb9adb2017-09-21 14:01:25 -0300967 uart5: serial@21f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800968 compatible = "fsl,imx6ul-uart",
969 "fsl,imx6q-uart";
970 reg = <0x021f4000 0x4000>;
971 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
972 clocks = <&clks IMX6UL_CLK_UART5_IPG>,
973 <&clks IMX6UL_CLK_UART5_SERIAL>;
974 clock-names = "ipg", "per";
975 status = "disabled";
976 };
977
Marco Franchiefb9adb2017-09-21 14:01:25 -0300978 i2c4: i2c@21f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800979 #address-cells = <1>;
980 #size-cells = <0>;
981 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
982 reg = <0x021f8000 0x4000>;
983 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
984 clocks = <&clks IMX6UL_CLK_I2C4>;
985 status = "disabled";
986 };
987
Marco Franchiefb9adb2017-09-21 14:01:25 -0300988 uart6: serial@21fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800989 compatible = "fsl,imx6ul-uart",
990 "fsl,imx6q-uart";
991 reg = <0x021fc000 0x4000>;
992 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
993 clocks = <&clks IMX6UL_CLK_UART6_IPG>,
994 <&clks IMX6UL_CLK_UART6_SERIAL>;
995 clock-names = "ipg", "per";
996 status = "disabled";
997 };
998 };
999 };
1000};