blob: d5181f85ca9cafbba955ca1a3a6e5fbaedf9248f [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 {};
25 memory { device_type = "memory"; reg = <0 0>; };
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 */
Fabio Estevamf7084442016-04-25 16:38:47 -030071 528000 1175000
72 396000 1025000
73 198000 950000
Frank Lia5fcccb2015-07-10 02:09:45 +080074 >;
75 fsl,soc-operating-points = <
76 /* KHz uV */
Fabio Estevamf7084442016-04-25 16:38:47 -030077 528000 1175000
78 396000 1175000
79 198000 1175000
Frank Lia5fcccb2015-07-10 02:09:45 +080080 >;
81 clocks = <&clks IMX6UL_CLK_ARM>,
82 <&clks IMX6UL_CLK_PLL2_BUS>,
83 <&clks IMX6UL_CLK_PLL2_PFD2>,
84 <&clks IMX6UL_CA7_SECONDARY_SEL>,
85 <&clks IMX6UL_CLK_STEP>,
86 <&clks IMX6UL_CLK_PLL1_SW>,
87 <&clks IMX6UL_CLK_PLL1_SYS>,
88 <&clks IMX6UL_PLL1_BYPASS>,
89 <&clks IMX6UL_CLK_PLL1>,
90 <&clks IMX6UL_PLL1_BYPASS_SRC>,
91 <&clks IMX6UL_CLK_OSC>;
92 clock-names = "arm", "pll2_bus", "pll2_pfd2_396m",
93 "secondary_sel", "step", "pll1_sw",
94 "pll1_sys", "pll1_bypass", "pll1",
95 "pll1_bypass_src", "osc";
96 arm-supply = <&reg_arm>;
97 soc-supply = <&reg_soc>;
98 };
99 };
100
Marco Franchiefb9adb2017-09-21 14:01:25 -0300101 intc: interrupt-controller@a01000 {
Marc Zyngier387720c2017-01-18 09:27:28 +0000102 compatible = "arm,gic-400", "arm,cortex-a7-gic";
Frank Lia5fcccb2015-07-10 02:09:45 +0800103 #interrupt-cells = <3>;
104 interrupt-controller;
105 reg = <0x00a01000 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +0000106 <0x00a02000 0x2000>,
Frank Lia5fcccb2015-07-10 02:09:45 +0800107 <0x00a04000 0x2000>,
108 <0x00a06000 0x2000>;
109 };
110
111 ckil: clock-cli {
112 compatible = "fixed-clock";
113 #clock-cells = <0>;
114 clock-frequency = <32768>;
115 clock-output-names = "ckil";
116 };
117
118 osc: clock-osc {
119 compatible = "fixed-clock";
120 #clock-cells = <0>;
121 clock-frequency = <24000000>;
122 clock-output-names = "osc";
123 };
124
125 ipp_di0: clock-di0 {
126 compatible = "fixed-clock";
127 #clock-cells = <0>;
128 clock-frequency = <0>;
129 clock-output-names = "ipp_di0";
130 };
131
132 ipp_di1: clock-di1 {
133 compatible = "fixed-clock";
134 #clock-cells = <0>;
135 clock-frequency = <0>;
136 clock-output-names = "ipp_di1";
137 };
138
139 soc {
140 #address-cells = <1>;
141 #size-cells = <1>;
142 compatible = "simple-bus";
Anson Huang18619ff2015-08-04 01:12:12 +0800143 interrupt-parent = <&gpc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800144 ranges;
145
146 pmu {
147 compatible = "arm,cortex-a7-pmu";
148 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
149 status = "disabled";
150 };
151
Marco Franchiefb9adb2017-09-21 14:01:25 -0300152 ocram: sram@900000 {
Anson Huang322d09d2015-08-05 01:48:35 +0800153 compatible = "mmio-sram";
154 reg = <0x00900000 0x20000>;
155 };
156
Marco Franchiefb9adb2017-09-21 14:01:25 -0300157 dma_apbh: dma-apbh@1804000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100158 compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
159 reg = <0x01804000 0x2000>;
160 interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
161 <0 13 IRQ_TYPE_LEVEL_HIGH>,
162 <0 13 IRQ_TYPE_LEVEL_HIGH>,
163 <0 13 IRQ_TYPE_LEVEL_HIGH>;
164 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
165 #dma-cells = <1>;
166 dma-channels = <4>;
167 clocks = <&clks IMX6UL_CLK_APBHDMA>;
168 };
169
Marco Franchiefb9adb2017-09-21 14:01:25 -0300170 gpmi: gpmi-nand@1806000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100171 compatible = "fsl,imx6q-gpmi-nand";
172 #address-cells = <1>;
173 #size-cells = <1>;
174 reg = <0x01806000 0x2000>, <0x01808000 0x2000>;
175 reg-names = "gpmi-nand", "bch";
176 interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
177 interrupt-names = "bch";
178 clocks = <&clks IMX6UL_CLK_GPMI_IO>,
179 <&clks IMX6UL_CLK_GPMI_APB>,
180 <&clks IMX6UL_CLK_GPMI_BCH>,
181 <&clks IMX6UL_CLK_GPMI_BCH_APB>,
182 <&clks IMX6UL_CLK_PER_BCH>;
183 clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
184 "gpmi_bch_apb", "per1_bch";
185 dmas = <&dma_apbh 0>;
186 dma-names = "rx-tx";
187 status = "disabled";
188 };
189
Marco Franchiefb9adb2017-09-21 14:01:25 -0300190 aips1: aips-bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800191 compatible = "fsl,aips-bus", "simple-bus";
192 #address-cells = <1>;
193 #size-cells = <1>;
194 reg = <0x02000000 0x100000>;
195 ranges;
196
Marco Franchiefb9adb2017-09-21 14:01:25 -0300197 spba-bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800198 compatible = "fsl,spba-bus", "simple-bus";
199 #address-cells = <1>;
200 #size-cells = <1>;
201 reg = <0x02000000 0x40000>;
202 ranges;
203
Marco Franchiefb9adb2017-09-21 14:01:25 -0300204 ecspi1: ecspi@2008000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800205 #address-cells = <1>;
206 #size-cells = <0>;
207 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
208 reg = <0x02008000 0x4000>;
209 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
210 clocks = <&clks IMX6UL_CLK_ECSPI1>,
211 <&clks IMX6UL_CLK_ECSPI1>;
212 clock-names = "ipg", "per";
213 status = "disabled";
214 };
215
Marco Franchiefb9adb2017-09-21 14:01:25 -0300216 ecspi2: ecspi@200c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800217 #address-cells = <1>;
218 #size-cells = <0>;
219 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
220 reg = <0x0200c000 0x4000>;
221 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
222 clocks = <&clks IMX6UL_CLK_ECSPI2>,
223 <&clks IMX6UL_CLK_ECSPI2>;
224 clock-names = "ipg", "per";
225 status = "disabled";
226 };
227
Marco Franchiefb9adb2017-09-21 14:01:25 -0300228 ecspi3: ecspi@2010000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800229 #address-cells = <1>;
230 #size-cells = <0>;
231 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
232 reg = <0x02010000 0x4000>;
233 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
234 clocks = <&clks IMX6UL_CLK_ECSPI3>,
235 <&clks IMX6UL_CLK_ECSPI3>;
236 clock-names = "ipg", "per";
237 status = "disabled";
238 };
239
Marco Franchiefb9adb2017-09-21 14:01:25 -0300240 ecspi4: ecspi@2014000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800241 #address-cells = <1>;
242 #size-cells = <0>;
243 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
244 reg = <0x02014000 0x4000>;
245 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
246 clocks = <&clks IMX6UL_CLK_ECSPI4>,
247 <&clks IMX6UL_CLK_ECSPI4>;
248 clock-names = "ipg", "per";
249 status = "disabled";
250 };
251
Marco Franchiefb9adb2017-09-21 14:01:25 -0300252 uart7: serial@2018000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800253 compatible = "fsl,imx6ul-uart",
254 "fsl,imx6q-uart";
255 reg = <0x02018000 0x4000>;
256 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
257 clocks = <&clks IMX6UL_CLK_UART7_IPG>,
258 <&clks IMX6UL_CLK_UART7_SERIAL>;
259 clock-names = "ipg", "per";
260 status = "disabled";
261 };
262
Marco Franchiefb9adb2017-09-21 14:01:25 -0300263 uart1: serial@2020000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800264 compatible = "fsl,imx6ul-uart",
265 "fsl,imx6q-uart";
266 reg = <0x02020000 0x4000>;
267 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
268 clocks = <&clks IMX6UL_CLK_UART1_IPG>,
269 <&clks IMX6UL_CLK_UART1_SERIAL>;
270 clock-names = "ipg", "per";
271 status = "disabled";
272 };
273
Marco Franchiefb9adb2017-09-21 14:01:25 -0300274 uart8: serial@2024000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800275 compatible = "fsl,imx6ul-uart",
276 "fsl,imx6q-uart";
277 reg = <0x02024000 0x4000>;
278 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
279 clocks = <&clks IMX6UL_CLK_UART8_IPG>,
280 <&clks IMX6UL_CLK_UART8_SERIAL>;
281 clock-names = "ipg", "per";
282 status = "disabled";
283 };
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100284
Marco Franchiefb9adb2017-09-21 14:01:25 -0300285 sai1: sai@2028000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100286 #sound-dai-cells = <0>;
287 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
288 reg = <0x02028000 0x4000>;
289 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
290 clocks = <&clks IMX6UL_CLK_SAI1_IPG>,
291 <&clks IMX6UL_CLK_SAI1>,
292 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
293 clock-names = "bus", "mclk1", "mclk2", "mclk3";
294 dmas = <&sdma 35 24 0>,
295 <&sdma 36 24 0>;
296 dma-names = "rx", "tx";
297 status = "disabled";
298 };
299
Marco Franchiefb9adb2017-09-21 14:01:25 -0300300 sai2: sai@202c000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100301 #sound-dai-cells = <0>;
302 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
303 reg = <0x0202c000 0x4000>;
304 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
305 clocks = <&clks IMX6UL_CLK_SAI2_IPG>,
306 <&clks IMX6UL_CLK_SAI2>,
307 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
308 clock-names = "bus", "mclk1", "mclk2", "mclk3";
309 dmas = <&sdma 37 24 0>,
310 <&sdma 38 24 0>;
311 dma-names = "rx", "tx";
312 status = "disabled";
313 };
314
Marco Franchiefb9adb2017-09-21 14:01:25 -0300315 sai3: sai@2030000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100316 #sound-dai-cells = <0>;
317 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
318 reg = <0x02030000 0x4000>;
319 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
320 clocks = <&clks IMX6UL_CLK_SAI3_IPG>,
321 <&clks IMX6UL_CLK_SAI3>,
322 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
323 clock-names = "bus", "mclk1", "mclk2", "mclk3";
324 dmas = <&sdma 39 24 0>,
325 <&sdma 40 24 0>;
326 dma-names = "rx", "tx";
327 status = "disabled";
328 };
Frank Lia5fcccb2015-07-10 02:09:45 +0800329 };
330
Marco Franchiefb9adb2017-09-21 14:01:25 -0300331 tsc: tsc@2040000 {
Lothar Waßmann302e01b2016-01-20 11:08:55 +0100332 compatible = "fsl,imx6ul-tsc";
333 reg = <0x02040000 0x4000>, <0x0219c000 0x4000>;
334 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
335 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
336 clocks = <&clks IMX6UL_CLK_IPG>,
337 <&clks IMX6UL_CLK_ADC2>;
338 clock-names = "tsc", "adc";
339 status = "disabled";
340 };
341
Marco Franchiefb9adb2017-09-21 14:01:25 -0300342 pwm1: pwm@2080000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100343 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
344 reg = <0x02080000 0x4000>;
345 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
346 clocks = <&clks IMX6UL_CLK_PWM1>,
347 <&clks IMX6UL_CLK_PWM1>;
348 clock-names = "ipg", "per";
349 #pwm-cells = <2>;
350 status = "disabled";
351 };
352
Marco Franchiefb9adb2017-09-21 14:01:25 -0300353 pwm2: pwm@2084000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100354 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
355 reg = <0x02084000 0x4000>;
356 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
357 clocks = <&clks IMX6UL_CLK_PWM2>,
358 <&clks IMX6UL_CLK_PWM2>;
359 clock-names = "ipg", "per";
360 #pwm-cells = <2>;
361 status = "disabled";
362 };
363
Marco Franchiefb9adb2017-09-21 14:01:25 -0300364 pwm3: pwm@2088000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100365 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
366 reg = <0x02088000 0x4000>;
367 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
368 clocks = <&clks IMX6UL_CLK_PWM3>,
369 <&clks IMX6UL_CLK_PWM3>;
370 clock-names = "ipg", "per";
371 #pwm-cells = <2>;
372 status = "disabled";
373 };
374
Marco Franchiefb9adb2017-09-21 14:01:25 -0300375 pwm4: pwm@208c000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100376 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
377 reg = <0x0208c000 0x4000>;
378 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
379 clocks = <&clks IMX6UL_CLK_PWM4>,
380 <&clks IMX6UL_CLK_PWM4>;
381 clock-names = "ipg", "per";
382 #pwm-cells = <2>;
383 status = "disabled";
384 };
385
Marco Franchiefb9adb2017-09-21 14:01:25 -0300386 can1: flexcan@2090000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100387 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
388 reg = <0x02090000 0x4000>;
389 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
390 clocks = <&clks IMX6UL_CLK_CAN1_IPG>,
391 <&clks IMX6UL_CLK_CAN1_SERIAL>;
392 clock-names = "ipg", "per";
393 status = "disabled";
394 };
395
Marco Franchiefb9adb2017-09-21 14:01:25 -0300396 can2: flexcan@2094000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100397 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
398 reg = <0x02094000 0x4000>;
399 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
400 clocks = <&clks IMX6UL_CLK_CAN2_IPG>,
401 <&clks IMX6UL_CLK_CAN2_SERIAL>;
402 clock-names = "ipg", "per";
403 status = "disabled";
404 };
405
Marco Franchiefb9adb2017-09-21 14:01:25 -0300406 gpt1: gpt@2098000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800407 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
408 reg = <0x02098000 0x4000>;
409 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
410 clocks = <&clks IMX6UL_CLK_GPT1_BUS>,
411 <&clks IMX6UL_CLK_GPT1_SERIAL>;
412 clock-names = "ipg", "per";
413 };
414
Marco Franchiefb9adb2017-09-21 14:01:25 -0300415 gpio1: gpio@209c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800416 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
417 reg = <0x0209c000 0x4000>;
418 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
419 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
420 gpio-controller;
421 #gpio-cells = <2>;
422 interrupt-controller;
423 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300424 gpio-ranges = <&iomuxc 0 23 10>, <&iomuxc 10 17 6>,
425 <&iomuxc 16 33 16>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800426 };
427
Marco Franchiefb9adb2017-09-21 14:01:25 -0300428 gpio2: gpio@20a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800429 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
430 reg = <0x020a0000 0x4000>;
431 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
432 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
433 gpio-controller;
434 #gpio-cells = <2>;
435 interrupt-controller;
436 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300437 gpio-ranges = <&iomuxc 0 49 16>, <&iomuxc 16 111 6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800438 };
439
Marco Franchiefb9adb2017-09-21 14:01:25 -0300440 gpio3: gpio@20a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800441 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
442 reg = <0x020a4000 0x4000>;
443 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
444 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
445 gpio-controller;
446 #gpio-cells = <2>;
447 interrupt-controller;
448 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300449 gpio-ranges = <&iomuxc 0 65 29>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800450 };
451
Marco Franchiefb9adb2017-09-21 14:01:25 -0300452 gpio4: gpio@20a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800453 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
454 reg = <0x020a8000 0x4000>;
455 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
456 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
457 gpio-controller;
458 #gpio-cells = <2>;
459 interrupt-controller;
460 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300461 gpio-ranges = <&iomuxc 0 94 17>, <&iomuxc 17 117 12>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800462 };
463
Marco Franchiefb9adb2017-09-21 14:01:25 -0300464 gpio5: gpio@20ac000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800465 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
466 reg = <0x020ac000 0x4000>;
467 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
468 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
469 gpio-controller;
470 #gpio-cells = <2>;
471 interrupt-controller;
472 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300473 gpio-ranges = <&iomuxc 0 7 10>, <&iomuxc 10 5 2>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800474 };
475
Marco Franchiefb9adb2017-09-21 14:01:25 -0300476 fec2: ethernet@20b4000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800477 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
478 reg = <0x020b4000 0x4000>;
479 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
480 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
481 clocks = <&clks IMX6UL_CLK_ENET>,
482 <&clks IMX6UL_CLK_ENET_AHB>,
483 <&clks IMX6UL_CLK_ENET_PTP>,
484 <&clks IMX6UL_CLK_ENET2_REF_125M>,
485 <&clks IMX6UL_CLK_ENET2_REF_125M>;
486 clock-names = "ipg", "ahb", "ptp",
487 "enet_clk_ref", "enet_out";
488 fsl,num-tx-queues=<1>;
489 fsl,num-rx-queues=<1>;
490 status = "disabled";
491 };
492
Marco Franchiefb9adb2017-09-21 14:01:25 -0300493 kpp: kpp@20b8000 {
Lothar Waßmannea1c1752016-01-20 11:09:08 +0100494 compatible = "fsl,imx6ul-kpp", "fsl,imx6q-kpp", "fsl,imx21-kpp";
495 reg = <0x020b8000 0x4000>;
496 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
497 clocks = <&clks IMX6UL_CLK_KPP>;
498 status = "disabled";
499 };
500
Marco Franchiefb9adb2017-09-21 14:01:25 -0300501 wdog1: wdog@20bc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800502 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
503 reg = <0x020bc000 0x4000>;
504 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
505 clocks = <&clks IMX6UL_CLK_WDOG1>;
506 };
507
Marco Franchiefb9adb2017-09-21 14:01:25 -0300508 wdog2: wdog@20c0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800509 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
510 reg = <0x020c0000 0x4000>;
511 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
512 clocks = <&clks IMX6UL_CLK_WDOG2>;
513 status = "disabled";
514 };
515
Marco Franchiefb9adb2017-09-21 14:01:25 -0300516 clks: ccm@20c4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800517 compatible = "fsl,imx6ul-ccm";
518 reg = <0x020c4000 0x4000>;
519 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
520 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
521 #clock-cells = <1>;
522 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
523 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
524 };
525
Marco Franchiefb9adb2017-09-21 14:01:25 -0300526 anatop: anatop@20c8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800527 compatible = "fsl,imx6ul-anatop", "fsl,imx6q-anatop",
528 "syscon", "simple-bus";
529 reg = <0x020c8000 0x1000>;
530 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
531 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
532 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
533
Fabio Estevam298701e2016-05-03 10:57:31 -0300534 reg_3p0: regulator-3p0 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800535 compatible = "fsl,anatop-regulator";
536 regulator-name = "vdd3p0";
537 regulator-min-microvolt = <2625000>;
538 regulator-max-microvolt = <3400000>;
539 anatop-reg-offset = <0x120>;
540 anatop-vol-bit-shift = <8>;
541 anatop-vol-bit-width = <5>;
542 anatop-min-bit-val = <0>;
543 anatop-min-voltage = <2625000>;
544 anatop-max-voltage = <3400000>;
Andrey Smirnov38281a42017-05-15 07:52:59 -0700545 anatop-enable-bit = <0>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800546 };
547
Fabio Estevam298701e2016-05-03 10:57:31 -0300548 reg_arm: regulator-vddcore {
Frank Lia5fcccb2015-07-10 02:09:45 +0800549 compatible = "fsl,anatop-regulator";
550 regulator-name = "cpu";
551 regulator-min-microvolt = <725000>;
552 regulator-max-microvolt = <1450000>;
553 regulator-always-on;
554 anatop-reg-offset = <0x140>;
555 anatop-vol-bit-shift = <0>;
556 anatop-vol-bit-width = <5>;
557 anatop-delay-reg-offset = <0x170>;
558 anatop-delay-bit-shift = <24>;
559 anatop-delay-bit-width = <2>;
560 anatop-min-bit-val = <1>;
561 anatop-min-voltage = <725000>;
562 anatop-max-voltage = <1450000>;
563 };
564
Fabio Estevam298701e2016-05-03 10:57:31 -0300565 reg_soc: regulator-vddsoc {
Frank Lia5fcccb2015-07-10 02:09:45 +0800566 compatible = "fsl,anatop-regulator";
567 regulator-name = "vddsoc";
568 regulator-min-microvolt = <725000>;
569 regulator-max-microvolt = <1450000>;
570 regulator-always-on;
571 anatop-reg-offset = <0x140>;
572 anatop-vol-bit-shift = <18>;
573 anatop-vol-bit-width = <5>;
574 anatop-delay-reg-offset = <0x170>;
575 anatop-delay-bit-shift = <28>;
576 anatop-delay-bit-width = <2>;
577 anatop-min-bit-val = <1>;
578 anatop-min-voltage = <725000>;
579 anatop-max-voltage = <1450000>;
580 };
581 };
582
Marco Franchiefb9adb2017-09-21 14:01:25 -0300583 usbphy1: usbphy@20c9000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800584 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
585 reg = <0x020c9000 0x1000>;
586 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
587 clocks = <&clks IMX6UL_CLK_USBPHY1>;
588 phy-3p0-supply = <&reg_3p0>;
589 fsl,anatop = <&anatop>;
590 };
591
Marco Franchiefb9adb2017-09-21 14:01:25 -0300592 usbphy2: usbphy@20ca000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800593 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
594 reg = <0x020ca000 0x1000>;
595 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
596 clocks = <&clks IMX6UL_CLK_USBPHY2>;
597 phy-3p0-supply = <&reg_3p0>;
598 fsl,anatop = <&anatop>;
599 };
600
Leonard Crestez2067b752017-07-14 17:11:10 +0300601 tempmon: tempmon {
602 compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon";
603 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
604 fsl,tempmon = <&anatop>;
605 nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
606 nvmem-cell-names = "calib", "temp_grade";
607 clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>;
608 };
609
Marco Franchiefb9adb2017-09-21 14:01:25 -0300610 snvs: snvs@20cc000 {
Anson Huang5b032872015-08-04 23:54:58 +0800611 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
612 reg = <0x020cc000 0x4000>;
613
614 snvs_rtc: snvs-rtc-lp {
615 compatible = "fsl,sec-v4.0-mon-rtc-lp";
616 regmap = <&snvs>;
617 offset = <0x34>;
618 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
619 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
620 };
Anson Huang36032572015-08-06 16:16:01 +0800621
Anson Huangab0a05d2015-09-06 15:29:34 +0800622 snvs_poweroff: snvs-poweroff {
623 compatible = "syscon-poweroff";
624 regmap = <&snvs>;
625 offset = <0x38>;
Guy Shapiro87a84c62017-07-04 18:19:12 +0200626 value = <0x60>;
Anson Huangab0a05d2015-09-06 15:29:34 +0800627 mask = <0x60>;
628 status = "disabled";
629 };
630
Anson Huang36032572015-08-06 16:16:01 +0800631 snvs_pwrkey: snvs-powerkey {
632 compatible = "fsl,sec-v4.0-pwrkey";
633 regmap = <&snvs>;
634 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
635 linux,keycode = <KEY_POWER>;
636 wakeup-source;
637 };
Anson Huang5b032872015-08-04 23:54:58 +0800638 };
639
Marco Franchiefb9adb2017-09-21 14:01:25 -0300640 epit1: epit@20d0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800641 reg = <0x020d0000 0x4000>;
642 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
643 };
644
Marco Franchiefb9adb2017-09-21 14:01:25 -0300645 epit2: epit@20d4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800646 reg = <0x020d4000 0x4000>;
647 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
648 };
649
Marco Franchiefb9adb2017-09-21 14:01:25 -0300650 src: src@20d8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800651 compatible = "fsl,imx6ul-src", "fsl,imx51-src";
652 reg = <0x020d8000 0x4000>;
653 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
654 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
655 #reset-cells = <1>;
656 };
657
Marco Franchiefb9adb2017-09-21 14:01:25 -0300658 gpc: gpc@20dc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800659 compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
660 reg = <0x020dc000 0x4000>;
Anson Huang18619ff2015-08-04 01:12:12 +0800661 interrupt-controller;
662 #interrupt-cells = <3>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800663 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Anson Huang18619ff2015-08-04 01:12:12 +0800664 interrupt-parent = <&intc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800665 };
666
Marco Franchiefb9adb2017-09-21 14:01:25 -0300667 iomuxc: iomuxc@20e0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800668 compatible = "fsl,imx6ul-iomuxc";
669 reg = <0x020e0000 0x4000>;
670 };
671
Marco Franchiefb9adb2017-09-21 14:01:25 -0300672 gpr: iomuxc-gpr@20e4000 {
Anson Huang0f39c502016-08-29 22:25:43 +0800673 compatible = "fsl,imx6ul-iomuxc-gpr",
674 "fsl,imx6q-iomuxc-gpr", "syscon";
Frank Lia5fcccb2015-07-10 02:09:45 +0800675 reg = <0x020e4000 0x4000>;
676 };
677
Marco Franchiefb9adb2017-09-21 14:01:25 -0300678 gpt2: gpt@20e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800679 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
680 reg = <0x020e8000 0x4000>;
681 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannd97ca992016-01-20 11:08:57 +0100682 clocks = <&clks IMX6UL_CLK_GPT2_BUS>,
683 <&clks IMX6UL_CLK_GPT2_SERIAL>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800684 clock-names = "ipg", "per";
685 };
686
Marco Franchiefb9adb2017-09-21 14:01:25 -0300687 sdma: sdma@20ec000 {
Lothar Waßmann76758c62016-01-20 11:09:01 +0100688 compatible = "fsl,imx6ul-sdma", "fsl,imx6q-sdma",
689 "fsl,imx35-sdma";
690 reg = <0x020ec000 0x4000>;
691 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
692 clocks = <&clks IMX6UL_CLK_SDMA>,
693 <&clks IMX6UL_CLK_SDMA>;
694 clock-names = "ipg", "ahb";
695 #dma-cells = <3>;
696 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
697 };
698
Marco Franchiefb9adb2017-09-21 14:01:25 -0300699 pwm5: pwm@20f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800700 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
701 reg = <0x020f0000 0x4000>;
702 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100703 clocks = <&clks IMX6UL_CLK_PWM5>,
704 <&clks IMX6UL_CLK_PWM5>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800705 clock-names = "ipg", "per";
706 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100707 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800708 };
709
Marco Franchiefb9adb2017-09-21 14:01:25 -0300710 pwm6: pwm@20f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800711 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
712 reg = <0x020f4000 0x4000>;
713 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100714 clocks = <&clks IMX6UL_CLK_PWM6>,
715 <&clks IMX6UL_CLK_PWM6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800716 clock-names = "ipg", "per";
717 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100718 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800719 };
720
Marco Franchiefb9adb2017-09-21 14:01:25 -0300721 pwm7: pwm@20f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800722 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
723 reg = <0x020f8000 0x4000>;
724 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100725 clocks = <&clks IMX6UL_CLK_PWM7>,
726 <&clks IMX6UL_CLK_PWM7>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800727 clock-names = "ipg", "per";
728 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100729 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800730 };
731
Marco Franchiefb9adb2017-09-21 14:01:25 -0300732 pwm8: pwm@20fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800733 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
734 reg = <0x020fc000 0x4000>;
735 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100736 clocks = <&clks IMX6UL_CLK_PWM8>,
737 <&clks IMX6UL_CLK_PWM8>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800738 clock-names = "ipg", "per";
739 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100740 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800741 };
742 };
743
Marco Franchiefb9adb2017-09-21 14:01:25 -0300744 aips2: aips-bus@2100000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800745 compatible = "fsl,aips-bus", "simple-bus";
746 #address-cells = <1>;
747 #size-cells = <1>;
748 reg = <0x02100000 0x100000>;
749 ranges;
750
Marco Franchiefb9adb2017-09-21 14:01:25 -0300751 usbotg1: usb@2184000 {
Frank Licad2cb62015-07-17 04:03:16 +0800752 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
753 reg = <0x02184000 0x200>;
754 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
755 clocks = <&clks IMX6UL_CLK_USBOH3>;
756 fsl,usbphy = <&usbphy1>;
757 fsl,usbmisc = <&usbmisc 0>;
758 fsl,anatop = <&anatop>;
Peter Chen9493bf52015-09-30 10:17:16 +0800759 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800760 tx-burst-size-dword = <0x10>;
761 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800762 status = "disabled";
763 };
764
Marco Franchiefb9adb2017-09-21 14:01:25 -0300765 usbotg2: usb@2184200 {
Frank Licad2cb62015-07-17 04:03:16 +0800766 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
767 reg = <0x02184200 0x200>;
768 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
769 clocks = <&clks IMX6UL_CLK_USBOH3>;
770 fsl,usbphy = <&usbphy2>;
771 fsl,usbmisc = <&usbmisc 1>;
Peter Chen9493bf52015-09-30 10:17:16 +0800772 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800773 tx-burst-size-dword = <0x10>;
774 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800775 status = "disabled";
776 };
777
Marco Franchiefb9adb2017-09-21 14:01:25 -0300778 usbmisc: usbmisc@2184800 {
Frank Licad2cb62015-07-17 04:03:16 +0800779 #index-cells = <1>;
780 compatible = "fsl,imx6ul-usbmisc", "fsl,imx6q-usbmisc";
781 reg = <0x02184800 0x200>;
782 };
783
Marco Franchiefb9adb2017-09-21 14:01:25 -0300784 fec1: ethernet@2188000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800785 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
786 reg = <0x02188000 0x4000>;
787 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
788 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
789 clocks = <&clks IMX6UL_CLK_ENET>,
790 <&clks IMX6UL_CLK_ENET_AHB>,
791 <&clks IMX6UL_CLK_ENET_PTP>,
792 <&clks IMX6UL_CLK_ENET_REF>,
793 <&clks IMX6UL_CLK_ENET_REF>;
794 clock-names = "ipg", "ahb", "ptp",
795 "enet_clk_ref", "enet_out";
796 fsl,num-tx-queues=<1>;
797 fsl,num-rx-queues=<1>;
798 status = "disabled";
799 };
800
Marco Franchiefb9adb2017-09-21 14:01:25 -0300801 usdhc1: usdhc@2190000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800802 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
803 reg = <0x02190000 0x4000>;
804 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
805 clocks = <&clks IMX6UL_CLK_USDHC1>,
806 <&clks IMX6UL_CLK_USDHC1>,
807 <&clks IMX6UL_CLK_USDHC1>;
808 clock-names = "ipg", "ahb", "per";
809 bus-width = <4>;
810 status = "disabled";
811 };
812
Marco Franchiefb9adb2017-09-21 14:01:25 -0300813 usdhc2: usdhc@2194000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800814 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
815 reg = <0x02194000 0x4000>;
816 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
817 clocks = <&clks IMX6UL_CLK_USDHC2>,
818 <&clks IMX6UL_CLK_USDHC2>,
819 <&clks IMX6UL_CLK_USDHC2>;
820 clock-names = "ipg", "ahb", "per";
821 bus-width = <4>;
822 status = "disabled";
823 };
824
Marco Franchiefb9adb2017-09-21 14:01:25 -0300825 adc1: adc@2198000 {
Fabio Estevamaab8ec02015-11-04 10:54:50 -0200826 compatible = "fsl,imx6ul-adc", "fsl,vf610-adc";
827 reg = <0x02198000 0x4000>;
828 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
829 clocks = <&clks IMX6UL_CLK_ADC1>;
830 num-channels = <2>;
831 clock-names = "adc";
832 fsl,adck-max-frequency = <30000000>, <40000000>,
833 <20000000>;
834 status = "disabled";
835 };
836
Marco Franchiefb9adb2017-09-21 14:01:25 -0300837 i2c1: i2c@21a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800838 #address-cells = <1>;
839 #size-cells = <0>;
840 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
841 reg = <0x021a0000 0x4000>;
842 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
843 clocks = <&clks IMX6UL_CLK_I2C1>;
844 status = "disabled";
845 };
846
Marco Franchiefb9adb2017-09-21 14:01:25 -0300847 i2c2: i2c@21a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800848 #address-cells = <1>;
849 #size-cells = <0>;
850 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
851 reg = <0x021a4000 0x4000>;
852 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
853 clocks = <&clks IMX6UL_CLK_I2C2>;
854 status = "disabled";
855 };
856
Marco Franchiefb9adb2017-09-21 14:01:25 -0300857 i2c3: i2c@21a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800858 #address-cells = <1>;
859 #size-cells = <0>;
860 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
861 reg = <0x021a8000 0x4000>;
862 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
863 clocks = <&clks IMX6UL_CLK_I2C3>;
864 status = "disabled";
865 };
866
Marco Franchiefb9adb2017-09-21 14:01:25 -0300867 mmdc: mmdc@21b0000 {
Anson Huang51a37442015-08-05 01:48:36 +0800868 compatible = "fsl,imx6ul-mmdc", "fsl,imx6q-mmdc";
869 reg = <0x021b0000 0x4000>;
870 };
871
Marco Franchiefb9adb2017-09-21 14:01:25 -0300872 ocotp: ocotp-ctrl@21bc000 {
Leonard Crestez2067b752017-07-14 17:11:10 +0300873 #address-cells = <1>;
874 #size-cells = <1>;
Bai Ping86864392016-11-17 09:08:19 +0800875 compatible = "fsl,imx6ul-ocotp", "syscon";
876 reg = <0x021bc000 0x4000>;
877 clocks = <&clks IMX6UL_CLK_OCOTP>;
Leonard Crestez2067b752017-07-14 17:11:10 +0300878
879 tempmon_calib: calib@38 {
880 reg = <0x38 4>;
881 };
882
883 tempmon_temp_grade: temp-grade@20 {
884 reg = <0x20 4>;
885 };
Bai Ping86864392016-11-17 09:08:19 +0800886 };
887
Marco Franchiefb9adb2017-09-21 14:01:25 -0300888 lcdif: lcdif@21c8000 {
Lothar Waßmann6fe01eb2016-01-20 11:09:04 +0100889 compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif";
890 reg = <0x021c8000 0x4000>;
891 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
892 clocks = <&clks IMX6UL_CLK_LCDIF_PIX>,
893 <&clks IMX6UL_CLK_LCDIF_APB>,
894 <&clks IMX6UL_CLK_DUMMY>;
895 clock-names = "pix", "axi", "disp_axi";
896 status = "disabled";
897 };
898
Marco Franchiefb9adb2017-09-21 14:01:25 -0300899 qspi: qspi@21e0000 {
Frank Li5ff807a2015-07-21 03:33:53 +0800900 #address-cells = <1>;
901 #size-cells = <0>;
902 compatible = "fsl,imx6ul-qspi", "fsl,imx6sx-qspi";
903 reg = <0x021e0000 0x4000>, <0x60000000 0x10000000>;
904 reg-names = "QuadSPI", "QuadSPI-memory";
905 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
906 clocks = <&clks IMX6UL_CLK_QSPI>,
907 <&clks IMX6UL_CLK_QSPI>;
908 clock-names = "qspi_en", "qspi";
909 status = "disabled";
910 };
911
Marco Franchiefb9adb2017-09-21 14:01:25 -0300912 uart2: serial@21e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800913 compatible = "fsl,imx6ul-uart",
914 "fsl,imx6q-uart";
915 reg = <0x021e8000 0x4000>;
916 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
917 clocks = <&clks IMX6UL_CLK_UART2_IPG>,
918 <&clks IMX6UL_CLK_UART2_SERIAL>;
919 clock-names = "ipg", "per";
920 status = "disabled";
921 };
922
Marco Franchiefb9adb2017-09-21 14:01:25 -0300923 uart3: serial@21ec000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800924 compatible = "fsl,imx6ul-uart",
925 "fsl,imx6q-uart";
926 reg = <0x021ec000 0x4000>;
927 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
928 clocks = <&clks IMX6UL_CLK_UART3_IPG>,
929 <&clks IMX6UL_CLK_UART3_SERIAL>;
930 clock-names = "ipg", "per";
931 status = "disabled";
932 };
933
Marco Franchiefb9adb2017-09-21 14:01:25 -0300934 uart4: serial@21f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800935 compatible = "fsl,imx6ul-uart",
936 "fsl,imx6q-uart";
937 reg = <0x021f0000 0x4000>;
938 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
939 clocks = <&clks IMX6UL_CLK_UART4_IPG>,
940 <&clks IMX6UL_CLK_UART4_SERIAL>;
941 clock-names = "ipg", "per";
942 status = "disabled";
943 };
944
Marco Franchiefb9adb2017-09-21 14:01:25 -0300945 uart5: serial@21f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800946 compatible = "fsl,imx6ul-uart",
947 "fsl,imx6q-uart";
948 reg = <0x021f4000 0x4000>;
949 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
950 clocks = <&clks IMX6UL_CLK_UART5_IPG>,
951 <&clks IMX6UL_CLK_UART5_SERIAL>;
952 clock-names = "ipg", "per";
953 status = "disabled";
954 };
955
Marco Franchiefb9adb2017-09-21 14:01:25 -0300956 i2c4: i2c@21f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800957 #address-cells = <1>;
958 #size-cells = <0>;
959 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
960 reg = <0x021f8000 0x4000>;
961 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
962 clocks = <&clks IMX6UL_CLK_I2C4>;
963 status = "disabled";
964 };
965
Marco Franchiefb9adb2017-09-21 14:01:25 -0300966 uart6: serial@21fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800967 compatible = "fsl,imx6ul-uart",
968 "fsl,imx6q-uart";
969 reg = <0x021fc000 0x4000>;
970 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
971 clocks = <&clks IMX6UL_CLK_UART6_IPG>,
972 <&clks IMX6UL_CLK_UART6_SERIAL>;
973 clock-names = "ipg", "per";
974 status = "disabled";
975 };
976 };
977 };
978};