blob: e27bd919e28b677b709bdf3244ab4689f4dd35f9 [file] [log] [blame]
Fabio Estevam241f76b2018-05-07 15:23:40 -03001// SPDX-License-Identifier: GPL-2.0
2//
3// Copyright 2015 Freescale Semiconductor, Inc.
Frank Lia5fcccb2015-07-10 02:09:45 +08004
5#include <dt-bindings/clock/imx6ul-clock.h>
6#include <dt-bindings/gpio/gpio.h>
Lothar Waßmann89435fe2016-01-20 11:08:56 +01007#include <dt-bindings/input/input.h>
Frank Lia5fcccb2015-07-10 02:09:45 +08008#include <dt-bindings/interrupt-controller/arm-gic.h>
9#include "imx6ul-pinfunc.h"
Frank Lia5fcccb2015-07-10 02:09:45 +080010
11/ {
Fabio Estevam7f107882016-11-12 13:30:35 -020012 #address-cells = <1>;
13 #size-cells = <1>;
Fabio Estevama971c552017-01-23 14:54:10 -020014 /*
15 * The decompressor and also some bootloaders rely on a
16 * pre-existing /chosen node to be available to insert the
17 * command line and merge other ATAGS info.
18 * Also for U-Boot there must be a pre-existing /memory node.
19 */
20 chosen {};
Marco Franchi7f08e6a2018-01-24 11:22:13 -020021 memory { device_type = "memory"; };
Fabio Estevam7f107882016-11-12 13:30:35 -020022
Frank Lia5fcccb2015-07-10 02:09:45 +080023 aliases {
Fugang Duan01f3dc72015-07-28 15:30:41 +080024 ethernet0 = &fec1;
25 ethernet1 = &fec2;
Frank Lia5fcccb2015-07-10 02:09:45 +080026 gpio0 = &gpio1;
27 gpio1 = &gpio2;
28 gpio2 = &gpio3;
29 gpio3 = &gpio4;
30 gpio4 = &gpio5;
31 i2c0 = &i2c1;
32 i2c1 = &i2c2;
33 i2c2 = &i2c3;
34 i2c3 = &i2c4;
35 mmc0 = &usdhc1;
36 mmc1 = &usdhc2;
37 serial0 = &uart1;
38 serial1 = &uart2;
39 serial2 = &uart3;
40 serial3 = &uart4;
41 serial4 = &uart5;
42 serial5 = &uart6;
43 serial6 = &uart7;
44 serial7 = &uart8;
Fabio Estevamfb3239f2016-05-04 19:33:17 -030045 sai1 = &sai1;
46 sai2 = &sai2;
47 sai3 = &sai3;
Frank Lia5fcccb2015-07-10 02:09:45 +080048 spi0 = &ecspi1;
49 spi1 = &ecspi2;
50 spi2 = &ecspi3;
51 spi3 = &ecspi4;
52 usbphy0 = &usbphy1;
53 usbphy1 = &usbphy2;
54 };
55
56 cpus {
57 #address-cells = <1>;
58 #size-cells = <0>;
59
60 cpu0: cpu@0 {
61 compatible = "arm,cortex-a7";
62 device_type = "cpu";
63 reg = <0>;
64 clock-latency = <61036>; /* two CLK32 periods */
65 operating-points = <
66 /* kHz uV */
Anson Huangc9619bb2018-01-08 10:04:50 +080067 696000 1275000
Fabio Estevamf7084442016-04-25 16:38:47 -030068 528000 1175000
69 396000 1025000
70 198000 950000
Frank Lia5fcccb2015-07-10 02:09:45 +080071 >;
72 fsl,soc-operating-points = <
73 /* KHz uV */
Anson Huangc9619bb2018-01-08 10:04:50 +080074 696000 1275000
Fabio Estevamf7084442016-04-25 16:38:47 -030075 528000 1175000
76 396000 1175000
77 198000 1175000
Frank Lia5fcccb2015-07-10 02:09:45 +080078 >;
79 clocks = <&clks IMX6UL_CLK_ARM>,
80 <&clks IMX6UL_CLK_PLL2_BUS>,
81 <&clks IMX6UL_CLK_PLL2_PFD2>,
82 <&clks IMX6UL_CA7_SECONDARY_SEL>,
83 <&clks IMX6UL_CLK_STEP>,
84 <&clks IMX6UL_CLK_PLL1_SW>,
Anson Huang4a7459b2018-01-03 19:22:14 +080085 <&clks IMX6UL_CLK_PLL1_SYS>;
Frank Lia5fcccb2015-07-10 02:09:45 +080086 clock-names = "arm", "pll2_bus", "pll2_pfd2_396m",
87 "secondary_sel", "step", "pll1_sw",
Anson Huang4a7459b2018-01-03 19:22:14 +080088 "pll1_sys";
Frank Lia5fcccb2015-07-10 02:09:45 +080089 arm-supply = <&reg_arm>;
90 soc-supply = <&reg_soc>;
91 };
92 };
93
Marco Franchiefb9adb2017-09-21 14:01:25 -030094 intc: interrupt-controller@a01000 {
Marc Zyngier387720c2017-01-18 09:27:28 +000095 compatible = "arm,gic-400", "arm,cortex-a7-gic";
Stefan Agner8dc72262018-01-10 22:04:50 +010096 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Frank Lia5fcccb2015-07-10 02:09:45 +080097 #interrupt-cells = <3>;
98 interrupt-controller;
Stefan Agner8dc72262018-01-10 22:04:50 +010099 interrupt-parent = <&intc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800100 reg = <0x00a01000 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +0000101 <0x00a02000 0x2000>,
Frank Lia5fcccb2015-07-10 02:09:45 +0800102 <0x00a04000 0x2000>,
103 <0x00a06000 0x2000>;
104 };
105
Stefan Agnercff1ce72018-01-10 22:04:51 +0100106 timer {
107 compatible = "arm,armv7-timer";
108 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
109 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
110 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
111 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
112 interrupt-parent = <&intc>;
113 status = "disabled";
114 };
115
Frank Lia5fcccb2015-07-10 02:09:45 +0800116 ckil: clock-cli {
117 compatible = "fixed-clock";
118 #clock-cells = <0>;
119 clock-frequency = <32768>;
120 clock-output-names = "ckil";
121 };
122
123 osc: clock-osc {
124 compatible = "fixed-clock";
125 #clock-cells = <0>;
126 clock-frequency = <24000000>;
127 clock-output-names = "osc";
128 };
129
130 ipp_di0: clock-di0 {
131 compatible = "fixed-clock";
132 #clock-cells = <0>;
133 clock-frequency = <0>;
134 clock-output-names = "ipp_di0";
135 };
136
137 ipp_di1: clock-di1 {
138 compatible = "fixed-clock";
139 #clock-cells = <0>;
140 clock-frequency = <0>;
141 clock-output-names = "ipp_di1";
142 };
143
Fabio Estevam1e989602017-11-29 16:54:35 -0200144 tempmon: tempmon {
145 compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon";
146 interrupt-parent = <&gpc>;
147 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
148 fsl,tempmon = <&anatop>;
149 nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
150 nvmem-cell-names = "calib", "temp_grade";
151 clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>;
152 };
153
154 pmu {
155 compatible = "arm,cortex-a7-pmu";
156 interrupt-parent = <&gpc>;
157 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
158 status = "disabled";
159 };
160
Frank Lia5fcccb2015-07-10 02:09:45 +0800161 soc {
162 #address-cells = <1>;
163 #size-cells = <1>;
164 compatible = "simple-bus";
Anson Huang18619ff2015-08-04 01:12:12 +0800165 interrupt-parent = <&gpc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800166 ranges;
167
Marco Franchiefb9adb2017-09-21 14:01:25 -0300168 ocram: sram@900000 {
Anson Huang322d09d2015-08-05 01:48:35 +0800169 compatible = "mmio-sram";
170 reg = <0x00900000 0x20000>;
171 };
172
Marco Franchiefb9adb2017-09-21 14:01:25 -0300173 dma_apbh: dma-apbh@1804000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100174 compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
175 reg = <0x01804000 0x2000>;
176 interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
177 <0 13 IRQ_TYPE_LEVEL_HIGH>,
178 <0 13 IRQ_TYPE_LEVEL_HIGH>,
179 <0 13 IRQ_TYPE_LEVEL_HIGH>;
180 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
181 #dma-cells = <1>;
182 dma-channels = <4>;
183 clocks = <&clks IMX6UL_CLK_APBHDMA>;
184 };
185
Marco Franchiefb9adb2017-09-21 14:01:25 -0300186 gpmi: gpmi-nand@1806000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100187 compatible = "fsl,imx6q-gpmi-nand";
188 #address-cells = <1>;
189 #size-cells = <1>;
190 reg = <0x01806000 0x2000>, <0x01808000 0x2000>;
191 reg-names = "gpmi-nand", "bch";
192 interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
193 interrupt-names = "bch";
194 clocks = <&clks IMX6UL_CLK_GPMI_IO>,
195 <&clks IMX6UL_CLK_GPMI_APB>,
196 <&clks IMX6UL_CLK_GPMI_BCH>,
197 <&clks IMX6UL_CLK_GPMI_BCH_APB>,
198 <&clks IMX6UL_CLK_PER_BCH>;
199 clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
200 "gpmi_bch_apb", "per1_bch";
201 dmas = <&dma_apbh 0>;
202 dma-names = "rx-tx";
203 status = "disabled";
204 };
205
Marco Franchiefb9adb2017-09-21 14:01:25 -0300206 aips1: aips-bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800207 compatible = "fsl,aips-bus", "simple-bus";
208 #address-cells = <1>;
209 #size-cells = <1>;
210 reg = <0x02000000 0x100000>;
211 ranges;
212
Marco Franchiefb9adb2017-09-21 14:01:25 -0300213 spba-bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800214 compatible = "fsl,spba-bus", "simple-bus";
215 #address-cells = <1>;
216 #size-cells = <1>;
217 reg = <0x02000000 0x40000>;
218 ranges;
219
Marco Franchiefb9adb2017-09-21 14:01:25 -0300220 ecspi1: ecspi@2008000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800221 #address-cells = <1>;
222 #size-cells = <0>;
223 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
224 reg = <0x02008000 0x4000>;
225 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
226 clocks = <&clks IMX6UL_CLK_ECSPI1>,
227 <&clks IMX6UL_CLK_ECSPI1>;
228 clock-names = "ipg", "per";
229 status = "disabled";
230 };
231
Marco Franchiefb9adb2017-09-21 14:01:25 -0300232 ecspi2: ecspi@200c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800233 #address-cells = <1>;
234 #size-cells = <0>;
235 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
236 reg = <0x0200c000 0x4000>;
237 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
238 clocks = <&clks IMX6UL_CLK_ECSPI2>,
239 <&clks IMX6UL_CLK_ECSPI2>;
240 clock-names = "ipg", "per";
241 status = "disabled";
242 };
243
Marco Franchiefb9adb2017-09-21 14:01:25 -0300244 ecspi3: ecspi@2010000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800245 #address-cells = <1>;
246 #size-cells = <0>;
247 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
248 reg = <0x02010000 0x4000>;
249 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
250 clocks = <&clks IMX6UL_CLK_ECSPI3>,
251 <&clks IMX6UL_CLK_ECSPI3>;
252 clock-names = "ipg", "per";
253 status = "disabled";
254 };
255
Marco Franchiefb9adb2017-09-21 14:01:25 -0300256 ecspi4: ecspi@2014000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800257 #address-cells = <1>;
258 #size-cells = <0>;
259 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
260 reg = <0x02014000 0x4000>;
261 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
262 clocks = <&clks IMX6UL_CLK_ECSPI4>,
263 <&clks IMX6UL_CLK_ECSPI4>;
264 clock-names = "ipg", "per";
265 status = "disabled";
266 };
267
Marco Franchiefb9adb2017-09-21 14:01:25 -0300268 uart7: serial@2018000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800269 compatible = "fsl,imx6ul-uart",
270 "fsl,imx6q-uart";
271 reg = <0x02018000 0x4000>;
272 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
273 clocks = <&clks IMX6UL_CLK_UART7_IPG>,
274 <&clks IMX6UL_CLK_UART7_SERIAL>;
275 clock-names = "ipg", "per";
276 status = "disabled";
277 };
278
Marco Franchiefb9adb2017-09-21 14:01:25 -0300279 uart1: serial@2020000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800280 compatible = "fsl,imx6ul-uart",
281 "fsl,imx6q-uart";
282 reg = <0x02020000 0x4000>;
283 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
284 clocks = <&clks IMX6UL_CLK_UART1_IPG>,
285 <&clks IMX6UL_CLK_UART1_SERIAL>;
286 clock-names = "ipg", "per";
287 status = "disabled";
288 };
289
Marco Franchiefb9adb2017-09-21 14:01:25 -0300290 uart8: serial@2024000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800291 compatible = "fsl,imx6ul-uart",
292 "fsl,imx6q-uart";
293 reg = <0x02024000 0x4000>;
294 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
295 clocks = <&clks IMX6UL_CLK_UART8_IPG>,
296 <&clks IMX6UL_CLK_UART8_SERIAL>;
297 clock-names = "ipg", "per";
298 status = "disabled";
299 };
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100300
Marco Franchiefb9adb2017-09-21 14:01:25 -0300301 sai1: sai@2028000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100302 #sound-dai-cells = <0>;
303 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
304 reg = <0x02028000 0x4000>;
305 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
306 clocks = <&clks IMX6UL_CLK_SAI1_IPG>,
307 <&clks IMX6UL_CLK_SAI1>,
308 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
309 clock-names = "bus", "mclk1", "mclk2", "mclk3";
310 dmas = <&sdma 35 24 0>,
311 <&sdma 36 24 0>;
312 dma-names = "rx", "tx";
313 status = "disabled";
314 };
315
Marco Franchiefb9adb2017-09-21 14:01:25 -0300316 sai2: sai@202c000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100317 #sound-dai-cells = <0>;
318 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
319 reg = <0x0202c000 0x4000>;
320 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
321 clocks = <&clks IMX6UL_CLK_SAI2_IPG>,
322 <&clks IMX6UL_CLK_SAI2>,
323 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
324 clock-names = "bus", "mclk1", "mclk2", "mclk3";
325 dmas = <&sdma 37 24 0>,
326 <&sdma 38 24 0>;
327 dma-names = "rx", "tx";
328 status = "disabled";
329 };
330
Marco Franchiefb9adb2017-09-21 14:01:25 -0300331 sai3: sai@2030000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100332 #sound-dai-cells = <0>;
333 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
334 reg = <0x02030000 0x4000>;
335 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
336 clocks = <&clks IMX6UL_CLK_SAI3_IPG>,
337 <&clks IMX6UL_CLK_SAI3>,
338 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
339 clock-names = "bus", "mclk1", "mclk2", "mclk3";
340 dmas = <&sdma 39 24 0>,
341 <&sdma 40 24 0>;
342 dma-names = "rx", "tx";
343 status = "disabled";
344 };
Frank Lia5fcccb2015-07-10 02:09:45 +0800345 };
346
Marco Franchiefb9adb2017-09-21 14:01:25 -0300347 tsc: tsc@2040000 {
Lothar Waßmann302e01b2016-01-20 11:08:55 +0100348 compatible = "fsl,imx6ul-tsc";
349 reg = <0x02040000 0x4000>, <0x0219c000 0x4000>;
350 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
351 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
352 clocks = <&clks IMX6UL_CLK_IPG>,
353 <&clks IMX6UL_CLK_ADC2>;
354 clock-names = "tsc", "adc";
355 status = "disabled";
356 };
357
Marco Franchiefb9adb2017-09-21 14:01:25 -0300358 pwm1: pwm@2080000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100359 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
360 reg = <0x02080000 0x4000>;
361 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
362 clocks = <&clks IMX6UL_CLK_PWM1>,
363 <&clks IMX6UL_CLK_PWM1>;
364 clock-names = "ipg", "per";
365 #pwm-cells = <2>;
366 status = "disabled";
367 };
368
Marco Franchiefb9adb2017-09-21 14:01:25 -0300369 pwm2: pwm@2084000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100370 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
371 reg = <0x02084000 0x4000>;
372 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
373 clocks = <&clks IMX6UL_CLK_PWM2>,
374 <&clks IMX6UL_CLK_PWM2>;
375 clock-names = "ipg", "per";
376 #pwm-cells = <2>;
377 status = "disabled";
378 };
379
Marco Franchiefb9adb2017-09-21 14:01:25 -0300380 pwm3: pwm@2088000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100381 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
382 reg = <0x02088000 0x4000>;
383 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
384 clocks = <&clks IMX6UL_CLK_PWM3>,
385 <&clks IMX6UL_CLK_PWM3>;
386 clock-names = "ipg", "per";
387 #pwm-cells = <2>;
388 status = "disabled";
389 };
390
Marco Franchiefb9adb2017-09-21 14:01:25 -0300391 pwm4: pwm@208c000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100392 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
393 reg = <0x0208c000 0x4000>;
394 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
395 clocks = <&clks IMX6UL_CLK_PWM4>,
396 <&clks IMX6UL_CLK_PWM4>;
397 clock-names = "ipg", "per";
398 #pwm-cells = <2>;
399 status = "disabled";
400 };
401
Marco Franchiefb9adb2017-09-21 14:01:25 -0300402 can1: flexcan@2090000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100403 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
404 reg = <0x02090000 0x4000>;
405 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
406 clocks = <&clks IMX6UL_CLK_CAN1_IPG>,
407 <&clks IMX6UL_CLK_CAN1_SERIAL>;
408 clock-names = "ipg", "per";
409 status = "disabled";
410 };
411
Marco Franchiefb9adb2017-09-21 14:01:25 -0300412 can2: flexcan@2094000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100413 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
414 reg = <0x02094000 0x4000>;
415 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&clks IMX6UL_CLK_CAN2_IPG>,
417 <&clks IMX6UL_CLK_CAN2_SERIAL>;
418 clock-names = "ipg", "per";
419 status = "disabled";
420 };
421
Marco Franchiefb9adb2017-09-21 14:01:25 -0300422 gpt1: gpt@2098000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800423 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
424 reg = <0x02098000 0x4000>;
425 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
426 clocks = <&clks IMX6UL_CLK_GPT1_BUS>,
427 <&clks IMX6UL_CLK_GPT1_SERIAL>;
428 clock-names = "ipg", "per";
429 };
430
Marco Franchiefb9adb2017-09-21 14:01:25 -0300431 gpio1: gpio@209c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800432 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
433 reg = <0x0209c000 0x4000>;
434 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
435 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800436 clocks = <&clks IMX6UL_CLK_GPIO1>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800437 gpio-controller;
438 #gpio-cells = <2>;
439 interrupt-controller;
440 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300441 gpio-ranges = <&iomuxc 0 23 10>, <&iomuxc 10 17 6>,
442 <&iomuxc 16 33 16>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800443 };
444
Marco Franchiefb9adb2017-09-21 14:01:25 -0300445 gpio2: gpio@20a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800446 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
447 reg = <0x020a0000 0x4000>;
448 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
449 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800450 clocks = <&clks IMX6UL_CLK_GPIO2>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800451 gpio-controller;
452 #gpio-cells = <2>;
453 interrupt-controller;
454 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300455 gpio-ranges = <&iomuxc 0 49 16>, <&iomuxc 16 111 6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800456 };
457
Marco Franchiefb9adb2017-09-21 14:01:25 -0300458 gpio3: gpio@20a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800459 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
460 reg = <0x020a4000 0x4000>;
461 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
462 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800463 clocks = <&clks IMX6UL_CLK_GPIO3>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800464 gpio-controller;
465 #gpio-cells = <2>;
466 interrupt-controller;
467 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300468 gpio-ranges = <&iomuxc 0 65 29>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800469 };
470
Marco Franchiefb9adb2017-09-21 14:01:25 -0300471 gpio4: gpio@20a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800472 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
473 reg = <0x020a8000 0x4000>;
474 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
475 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800476 clocks = <&clks IMX6UL_CLK_GPIO4>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800477 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>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800489 clocks = <&clks IMX6UL_CLK_GPIO5>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800490 gpio-controller;
491 #gpio-cells = <2>;
492 interrupt-controller;
493 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300494 gpio-ranges = <&iomuxc 0 7 10>, <&iomuxc 10 5 2>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800495 };
496
Marco Franchiefb9adb2017-09-21 14:01:25 -0300497 fec2: ethernet@20b4000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800498 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
499 reg = <0x020b4000 0x4000>;
Troy Kiskye94a2302017-11-03 10:29:58 -0700500 interrupt-names = "int0", "pps";
Fugang Duan01f3dc72015-07-28 15:30:41 +0800501 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
502 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
503 clocks = <&clks IMX6UL_CLK_ENET>,
504 <&clks IMX6UL_CLK_ENET_AHB>,
505 <&clks IMX6UL_CLK_ENET_PTP>,
506 <&clks IMX6UL_CLK_ENET2_REF_125M>,
507 <&clks IMX6UL_CLK_ENET2_REF_125M>;
508 clock-names = "ipg", "ahb", "ptp",
509 "enet_clk_ref", "enet_out";
510 fsl,num-tx-queues=<1>;
511 fsl,num-rx-queues=<1>;
512 status = "disabled";
513 };
514
Marco Franchiefb9adb2017-09-21 14:01:25 -0300515 kpp: kpp@20b8000 {
Lothar Waßmannea1c1752016-01-20 11:09:08 +0100516 compatible = "fsl,imx6ul-kpp", "fsl,imx6q-kpp", "fsl,imx21-kpp";
517 reg = <0x020b8000 0x4000>;
518 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
519 clocks = <&clks IMX6UL_CLK_KPP>;
520 status = "disabled";
521 };
522
Marco Franchiefb9adb2017-09-21 14:01:25 -0300523 wdog1: wdog@20bc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800524 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
525 reg = <0x020bc000 0x4000>;
526 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
527 clocks = <&clks IMX6UL_CLK_WDOG1>;
528 };
529
Marco Franchiefb9adb2017-09-21 14:01:25 -0300530 wdog2: wdog@20c0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800531 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
532 reg = <0x020c0000 0x4000>;
533 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&clks IMX6UL_CLK_WDOG2>;
535 status = "disabled";
536 };
537
Marco Franchiefb9adb2017-09-21 14:01:25 -0300538 clks: ccm@20c4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800539 compatible = "fsl,imx6ul-ccm";
540 reg = <0x020c4000 0x4000>;
541 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
542 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
543 #clock-cells = <1>;
544 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
545 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
546 };
547
Marco Franchiefb9adb2017-09-21 14:01:25 -0300548 anatop: anatop@20c8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800549 compatible = "fsl,imx6ul-anatop", "fsl,imx6q-anatop",
550 "syscon", "simple-bus";
551 reg = <0x020c8000 0x1000>;
552 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
553 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
554 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
555
Fabio Estevam71db3942018-05-14 10:31:54 -0300556 reg_3p0: regulator-3p0 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800557 compatible = "fsl,anatop-regulator";
558 regulator-name = "vdd3p0";
559 regulator-min-microvolt = <2625000>;
560 regulator-max-microvolt = <3400000>;
561 anatop-reg-offset = <0x120>;
562 anatop-vol-bit-shift = <8>;
563 anatop-vol-bit-width = <5>;
564 anatop-min-bit-val = <0>;
565 anatop-min-voltage = <2625000>;
566 anatop-max-voltage = <3400000>;
Andrey Smirnov38281a42017-05-15 07:52:59 -0700567 anatop-enable-bit = <0>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800568 };
569
Fabio Estevam71db3942018-05-14 10:31:54 -0300570 reg_arm: regulator-vddcore {
Frank Lia5fcccb2015-07-10 02:09:45 +0800571 compatible = "fsl,anatop-regulator";
572 regulator-name = "cpu";
573 regulator-min-microvolt = <725000>;
574 regulator-max-microvolt = <1450000>;
575 regulator-always-on;
576 anatop-reg-offset = <0x140>;
577 anatop-vol-bit-shift = <0>;
578 anatop-vol-bit-width = <5>;
579 anatop-delay-reg-offset = <0x170>;
580 anatop-delay-bit-shift = <24>;
581 anatop-delay-bit-width = <2>;
582 anatop-min-bit-val = <1>;
583 anatop-min-voltage = <725000>;
584 anatop-max-voltage = <1450000>;
585 };
586
Fabio Estevam71db3942018-05-14 10:31:54 -0300587 reg_soc: regulator-vddsoc {
Frank Lia5fcccb2015-07-10 02:09:45 +0800588 compatible = "fsl,anatop-regulator";
589 regulator-name = "vddsoc";
590 regulator-min-microvolt = <725000>;
591 regulator-max-microvolt = <1450000>;
592 regulator-always-on;
593 anatop-reg-offset = <0x140>;
594 anatop-vol-bit-shift = <18>;
595 anatop-vol-bit-width = <5>;
596 anatop-delay-reg-offset = <0x170>;
597 anatop-delay-bit-shift = <28>;
598 anatop-delay-bit-width = <2>;
599 anatop-min-bit-val = <1>;
600 anatop-min-voltage = <725000>;
601 anatop-max-voltage = <1450000>;
602 };
603 };
604
Marco Franchiefb9adb2017-09-21 14:01:25 -0300605 usbphy1: usbphy@20c9000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800606 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
607 reg = <0x020c9000 0x1000>;
608 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
609 clocks = <&clks IMX6UL_CLK_USBPHY1>;
610 phy-3p0-supply = <&reg_3p0>;
611 fsl,anatop = <&anatop>;
612 };
613
Marco Franchiefb9adb2017-09-21 14:01:25 -0300614 usbphy2: usbphy@20ca000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800615 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
616 reg = <0x020ca000 0x1000>;
617 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
618 clocks = <&clks IMX6UL_CLK_USBPHY2>;
619 phy-3p0-supply = <&reg_3p0>;
620 fsl,anatop = <&anatop>;
621 };
622
Marco Franchiefb9adb2017-09-21 14:01:25 -0300623 snvs: snvs@20cc000 {
Anson Huang5b032872015-08-04 23:54:58 +0800624 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
625 reg = <0x020cc000 0x4000>;
626
627 snvs_rtc: snvs-rtc-lp {
628 compatible = "fsl,sec-v4.0-mon-rtc-lp";
629 regmap = <&snvs>;
630 offset = <0x34>;
631 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
632 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
633 };
Anson Huang36032572015-08-06 16:16:01 +0800634
Anson Huangab0a05d2015-09-06 15:29:34 +0800635 snvs_poweroff: snvs-poweroff {
636 compatible = "syscon-poweroff";
637 regmap = <&snvs>;
638 offset = <0x38>;
Guy Shapiro87a84c62017-07-04 18:19:12 +0200639 value = <0x60>;
Anson Huangab0a05d2015-09-06 15:29:34 +0800640 mask = <0x60>;
641 status = "disabled";
642 };
643
Anson Huang36032572015-08-06 16:16:01 +0800644 snvs_pwrkey: snvs-powerkey {
645 compatible = "fsl,sec-v4.0-pwrkey";
646 regmap = <&snvs>;
647 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
648 linux,keycode = <KEY_POWER>;
649 wakeup-source;
650 };
Oleksij Rempela53745d2017-06-20 09:09:32 +0200651
652 snvs_lpgpr: snvs-lpgpr {
653 compatible = "fsl,imx6ul-snvs-lpgpr";
654 };
Anson Huang5b032872015-08-04 23:54:58 +0800655 };
656
Marco Franchiefb9adb2017-09-21 14:01:25 -0300657 epit1: epit@20d0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800658 reg = <0x020d0000 0x4000>;
659 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
660 };
661
Marco Franchiefb9adb2017-09-21 14:01:25 -0300662 epit2: epit@20d4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800663 reg = <0x020d4000 0x4000>;
664 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
665 };
666
Marco Franchiefb9adb2017-09-21 14:01:25 -0300667 src: src@20d8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800668 compatible = "fsl,imx6ul-src", "fsl,imx51-src";
669 reg = <0x020d8000 0x4000>;
670 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
671 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
672 #reset-cells = <1>;
673 };
674
Marco Franchiefb9adb2017-09-21 14:01:25 -0300675 gpc: gpc@20dc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800676 compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
677 reg = <0x020dc000 0x4000>;
Anson Huang18619ff2015-08-04 01:12:12 +0800678 interrupt-controller;
679 #interrupt-cells = <3>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800680 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Anson Huang18619ff2015-08-04 01:12:12 +0800681 interrupt-parent = <&intc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800682 };
683
Marco Franchiefb9adb2017-09-21 14:01:25 -0300684 iomuxc: iomuxc@20e0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800685 compatible = "fsl,imx6ul-iomuxc";
686 reg = <0x020e0000 0x4000>;
687 };
688
Marco Franchiefb9adb2017-09-21 14:01:25 -0300689 gpr: iomuxc-gpr@20e4000 {
Anson Huang0f39c502016-08-29 22:25:43 +0800690 compatible = "fsl,imx6ul-iomuxc-gpr",
691 "fsl,imx6q-iomuxc-gpr", "syscon";
Frank Lia5fcccb2015-07-10 02:09:45 +0800692 reg = <0x020e4000 0x4000>;
693 };
694
Marco Franchiefb9adb2017-09-21 14:01:25 -0300695 gpt2: gpt@20e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800696 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
697 reg = <0x020e8000 0x4000>;
698 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannd97ca992016-01-20 11:08:57 +0100699 clocks = <&clks IMX6UL_CLK_GPT2_BUS>,
700 <&clks IMX6UL_CLK_GPT2_SERIAL>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800701 clock-names = "ipg", "per";
702 };
703
Marco Franchiefb9adb2017-09-21 14:01:25 -0300704 sdma: sdma@20ec000 {
Lothar Waßmann76758c62016-01-20 11:09:01 +0100705 compatible = "fsl,imx6ul-sdma", "fsl,imx6q-sdma",
706 "fsl,imx35-sdma";
707 reg = <0x020ec000 0x4000>;
708 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
709 clocks = <&clks IMX6UL_CLK_SDMA>,
710 <&clks IMX6UL_CLK_SDMA>;
711 clock-names = "ipg", "ahb";
712 #dma-cells = <3>;
713 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
714 };
715
Marco Franchiefb9adb2017-09-21 14:01:25 -0300716 pwm5: pwm@20f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800717 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
718 reg = <0x020f0000 0x4000>;
719 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100720 clocks = <&clks IMX6UL_CLK_PWM5>,
721 <&clks IMX6UL_CLK_PWM5>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800722 clock-names = "ipg", "per";
723 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100724 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800725 };
726
Marco Franchiefb9adb2017-09-21 14:01:25 -0300727 pwm6: pwm@20f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800728 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
729 reg = <0x020f4000 0x4000>;
730 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100731 clocks = <&clks IMX6UL_CLK_PWM6>,
732 <&clks IMX6UL_CLK_PWM6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800733 clock-names = "ipg", "per";
734 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100735 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800736 };
737
Marco Franchiefb9adb2017-09-21 14:01:25 -0300738 pwm7: pwm@20f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800739 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
740 reg = <0x020f8000 0x4000>;
741 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100742 clocks = <&clks IMX6UL_CLK_PWM7>,
743 <&clks IMX6UL_CLK_PWM7>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800744 clock-names = "ipg", "per";
745 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100746 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800747 };
748
Marco Franchiefb9adb2017-09-21 14:01:25 -0300749 pwm8: pwm@20fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800750 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
751 reg = <0x020fc000 0x4000>;
752 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100753 clocks = <&clks IMX6UL_CLK_PWM8>,
754 <&clks IMX6UL_CLK_PWM8>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800755 clock-names = "ipg", "per";
756 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100757 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800758 };
759 };
760
Marco Franchiefb9adb2017-09-21 14:01:25 -0300761 aips2: aips-bus@2100000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800762 compatible = "fsl,aips-bus", "simple-bus";
763 #address-cells = <1>;
764 #size-cells = <1>;
765 reg = <0x02100000 0x100000>;
766 ranges;
767
Fabio Estevam8c371732018-04-14 17:55:30 -0300768 crypto: caam@2140000 {
769 compatible = "fsl,imx6ul-caam", "fsl,sec-v4.0";
770 #address-cells = <1>;
771 #size-cells = <1>;
772 reg = <0x2140000 0x3c000>;
773 ranges = <0 0x2140000 0x3c000>;
774 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
775 clocks = <&clks IMX6UL_CLK_CAAM_IPG>, <&clks IMX6UL_CLK_CAAM_ACLK>,
776 <&clks IMX6UL_CLK_CAAM_MEM>;
777 clock-names = "ipg", "aclk", "mem";
778
779 sec_jr0: jr0@1000 {
780 compatible = "fsl,sec-v4.0-job-ring";
781 reg = <0x1000 0x1000>;
782 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
783 };
784
785 sec_jr1: jr1@2000 {
786 compatible = "fsl,sec-v4.0-job-ring";
787 reg = <0x2000 0x1000>;
788 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
789 };
790
791 sec_jr2: jr2@3000 {
792 compatible = "fsl,sec-v4.0-job-ring";
793 reg = <0x3000 0x1000>;
794 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
795 };
796 };
797
Marco Franchiefb9adb2017-09-21 14:01:25 -0300798 usbotg1: usb@2184000 {
Frank Licad2cb62015-07-17 04:03:16 +0800799 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
800 reg = <0x02184000 0x200>;
801 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
802 clocks = <&clks IMX6UL_CLK_USBOH3>;
803 fsl,usbphy = <&usbphy1>;
804 fsl,usbmisc = <&usbmisc 0>;
805 fsl,anatop = <&anatop>;
Peter Chen9493bf52015-09-30 10:17:16 +0800806 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800807 tx-burst-size-dword = <0x10>;
808 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800809 status = "disabled";
810 };
811
Marco Franchiefb9adb2017-09-21 14:01:25 -0300812 usbotg2: usb@2184200 {
Frank Licad2cb62015-07-17 04:03:16 +0800813 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
814 reg = <0x02184200 0x200>;
815 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
816 clocks = <&clks IMX6UL_CLK_USBOH3>;
817 fsl,usbphy = <&usbphy2>;
818 fsl,usbmisc = <&usbmisc 1>;
Peter Chen9493bf52015-09-30 10:17:16 +0800819 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800820 tx-burst-size-dword = <0x10>;
821 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800822 status = "disabled";
823 };
824
Marco Franchiefb9adb2017-09-21 14:01:25 -0300825 usbmisc: usbmisc@2184800 {
Frank Licad2cb62015-07-17 04:03:16 +0800826 #index-cells = <1>;
827 compatible = "fsl,imx6ul-usbmisc", "fsl,imx6q-usbmisc";
828 reg = <0x02184800 0x200>;
829 };
830
Marco Franchiefb9adb2017-09-21 14:01:25 -0300831 fec1: ethernet@2188000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800832 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
833 reg = <0x02188000 0x4000>;
Troy Kiskye94a2302017-11-03 10:29:58 -0700834 interrupt-names = "int0", "pps";
Fugang Duan01f3dc72015-07-28 15:30:41 +0800835 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
836 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
837 clocks = <&clks IMX6UL_CLK_ENET>,
838 <&clks IMX6UL_CLK_ENET_AHB>,
839 <&clks IMX6UL_CLK_ENET_PTP>,
840 <&clks IMX6UL_CLK_ENET_REF>,
841 <&clks IMX6UL_CLK_ENET_REF>;
842 clock-names = "ipg", "ahb", "ptp",
843 "enet_clk_ref", "enet_out";
844 fsl,num-tx-queues=<1>;
845 fsl,num-rx-queues=<1>;
846 status = "disabled";
847 };
848
Marco Franchiefb9adb2017-09-21 14:01:25 -0300849 usdhc1: usdhc@2190000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800850 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
851 reg = <0x02190000 0x4000>;
852 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
853 clocks = <&clks IMX6UL_CLK_USDHC1>,
854 <&clks IMX6UL_CLK_USDHC1>,
855 <&clks IMX6UL_CLK_USDHC1>;
856 clock-names = "ipg", "ahb", "per";
857 bus-width = <4>;
858 status = "disabled";
859 };
860
Marco Franchiefb9adb2017-09-21 14:01:25 -0300861 usdhc2: usdhc@2194000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800862 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
863 reg = <0x02194000 0x4000>;
864 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
865 clocks = <&clks IMX6UL_CLK_USDHC2>,
866 <&clks IMX6UL_CLK_USDHC2>,
867 <&clks IMX6UL_CLK_USDHC2>;
868 clock-names = "ipg", "ahb", "per";
869 bus-width = <4>;
870 status = "disabled";
871 };
872
Marco Franchiefb9adb2017-09-21 14:01:25 -0300873 adc1: adc@2198000 {
Fabio Estevamaab8ec02015-11-04 10:54:50 -0200874 compatible = "fsl,imx6ul-adc", "fsl,vf610-adc";
875 reg = <0x02198000 0x4000>;
876 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
877 clocks = <&clks IMX6UL_CLK_ADC1>;
878 num-channels = <2>;
879 clock-names = "adc";
880 fsl,adck-max-frequency = <30000000>, <40000000>,
881 <20000000>;
882 status = "disabled";
883 };
884
Marco Franchiefb9adb2017-09-21 14:01:25 -0300885 i2c1: i2c@21a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800886 #address-cells = <1>;
887 #size-cells = <0>;
888 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
889 reg = <0x021a0000 0x4000>;
890 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
891 clocks = <&clks IMX6UL_CLK_I2C1>;
892 status = "disabled";
893 };
894
Marco Franchiefb9adb2017-09-21 14:01:25 -0300895 i2c2: i2c@21a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800896 #address-cells = <1>;
897 #size-cells = <0>;
898 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
899 reg = <0x021a4000 0x4000>;
900 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
901 clocks = <&clks IMX6UL_CLK_I2C2>;
902 status = "disabled";
903 };
904
Marco Franchiefb9adb2017-09-21 14:01:25 -0300905 i2c3: i2c@21a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800906 #address-cells = <1>;
907 #size-cells = <0>;
908 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
909 reg = <0x021a8000 0x4000>;
910 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
911 clocks = <&clks IMX6UL_CLK_I2C3>;
912 status = "disabled";
913 };
914
Marco Franchiefb9adb2017-09-21 14:01:25 -0300915 mmdc: mmdc@21b0000 {
Anson Huang51a37442015-08-05 01:48:36 +0800916 compatible = "fsl,imx6ul-mmdc", "fsl,imx6q-mmdc";
917 reg = <0x021b0000 0x4000>;
918 };
919
Marco Franchiefb9adb2017-09-21 14:01:25 -0300920 ocotp: ocotp-ctrl@21bc000 {
Leonard Crestez2067b752017-07-14 17:11:10 +0300921 #address-cells = <1>;
922 #size-cells = <1>;
Bai Ping86864392016-11-17 09:08:19 +0800923 compatible = "fsl,imx6ul-ocotp", "syscon";
924 reg = <0x021bc000 0x4000>;
925 clocks = <&clks IMX6UL_CLK_OCOTP>;
Leonard Crestez2067b752017-07-14 17:11:10 +0300926
927 tempmon_calib: calib@38 {
928 reg = <0x38 4>;
929 };
930
931 tempmon_temp_grade: temp-grade@20 {
932 reg = <0x20 4>;
933 };
Bai Ping86864392016-11-17 09:08:19 +0800934 };
935
Marco Franchiefb9adb2017-09-21 14:01:25 -0300936 lcdif: lcdif@21c8000 {
Lothar Waßmann6fe01eb2016-01-20 11:09:04 +0100937 compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif";
938 reg = <0x021c8000 0x4000>;
939 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
940 clocks = <&clks IMX6UL_CLK_LCDIF_PIX>,
941 <&clks IMX6UL_CLK_LCDIF_APB>,
942 <&clks IMX6UL_CLK_DUMMY>;
943 clock-names = "pix", "axi", "disp_axi";
944 status = "disabled";
945 };
946
Marco Franchiefb9adb2017-09-21 14:01:25 -0300947 qspi: qspi@21e0000 {
Frank Li5ff807a2015-07-21 03:33:53 +0800948 #address-cells = <1>;
949 #size-cells = <0>;
950 compatible = "fsl,imx6ul-qspi", "fsl,imx6sx-qspi";
951 reg = <0x021e0000 0x4000>, <0x60000000 0x10000000>;
952 reg-names = "QuadSPI", "QuadSPI-memory";
953 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
954 clocks = <&clks IMX6UL_CLK_QSPI>,
955 <&clks IMX6UL_CLK_QSPI>;
956 clock-names = "qspi_en", "qspi";
957 status = "disabled";
958 };
959
Jörg Krausefa2f2572018-02-25 02:24:46 +0100960 wdog3: wdog@21e4000 {
961 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
962 reg = <0x021e4000 0x4000>;
963 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
964 clocks = <&clks IMX6UL_CLK_WDOG3>;
965 status = "disabled";
966 };
967
Marco Franchiefb9adb2017-09-21 14:01:25 -0300968 uart2: serial@21e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800969 compatible = "fsl,imx6ul-uart",
970 "fsl,imx6q-uart";
971 reg = <0x021e8000 0x4000>;
972 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
973 clocks = <&clks IMX6UL_CLK_UART2_IPG>,
974 <&clks IMX6UL_CLK_UART2_SERIAL>;
975 clock-names = "ipg", "per";
976 status = "disabled";
977 };
978
Marco Franchiefb9adb2017-09-21 14:01:25 -0300979 uart3: serial@21ec000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800980 compatible = "fsl,imx6ul-uart",
981 "fsl,imx6q-uart";
982 reg = <0x021ec000 0x4000>;
983 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
984 clocks = <&clks IMX6UL_CLK_UART3_IPG>,
985 <&clks IMX6UL_CLK_UART3_SERIAL>;
986 clock-names = "ipg", "per";
987 status = "disabled";
988 };
989
Marco Franchiefb9adb2017-09-21 14:01:25 -0300990 uart4: serial@21f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800991 compatible = "fsl,imx6ul-uart",
992 "fsl,imx6q-uart";
993 reg = <0x021f0000 0x4000>;
994 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
995 clocks = <&clks IMX6UL_CLK_UART4_IPG>,
996 <&clks IMX6UL_CLK_UART4_SERIAL>;
997 clock-names = "ipg", "per";
998 status = "disabled";
999 };
1000
Marco Franchiefb9adb2017-09-21 14:01:25 -03001001 uart5: serial@21f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001002 compatible = "fsl,imx6ul-uart",
1003 "fsl,imx6q-uart";
1004 reg = <0x021f4000 0x4000>;
1005 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1006 clocks = <&clks IMX6UL_CLK_UART5_IPG>,
1007 <&clks IMX6UL_CLK_UART5_SERIAL>;
1008 clock-names = "ipg", "per";
1009 status = "disabled";
1010 };
1011
Marco Franchiefb9adb2017-09-21 14:01:25 -03001012 i2c4: i2c@21f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001013 #address-cells = <1>;
1014 #size-cells = <0>;
1015 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
1016 reg = <0x021f8000 0x4000>;
1017 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1018 clocks = <&clks IMX6UL_CLK_I2C4>;
1019 status = "disabled";
1020 };
1021
Marco Franchiefb9adb2017-09-21 14:01:25 -03001022 uart6: serial@21fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001023 compatible = "fsl,imx6ul-uart",
1024 "fsl,imx6q-uart";
1025 reg = <0x021fc000 0x4000>;
1026 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1027 clocks = <&clks IMX6UL_CLK_UART6_IPG>,
1028 <&clks IMX6UL_CLK_UART6_SERIAL>;
1029 clock-names = "ipg", "per";
1030 status = "disabled";
1031 };
1032 };
1033 };
1034};