blob: e1807e9d385a036fdc313169ba8ee9fbb3d7cd1d [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.
Fabio Estevama971c552017-01-23 14:54:10 -020018 */
19 chosen {};
Fabio Estevam7f107882016-11-12 13:30:35 -020020
Frank Lia5fcccb2015-07-10 02:09:45 +080021 aliases {
Fugang Duan01f3dc72015-07-28 15:30:41 +080022 ethernet0 = &fec1;
23 ethernet1 = &fec2;
Frank Lia5fcccb2015-07-10 02:09:45 +080024 gpio0 = &gpio1;
25 gpio1 = &gpio2;
26 gpio2 = &gpio3;
27 gpio3 = &gpio4;
28 gpio4 = &gpio5;
29 i2c0 = &i2c1;
30 i2c1 = &i2c2;
31 i2c2 = &i2c3;
32 i2c3 = &i2c4;
33 mmc0 = &usdhc1;
34 mmc1 = &usdhc2;
35 serial0 = &uart1;
36 serial1 = &uart2;
37 serial2 = &uart3;
38 serial3 = &uart4;
39 serial4 = &uart5;
40 serial5 = &uart6;
41 serial6 = &uart7;
42 serial7 = &uart8;
Fabio Estevamfb3239f2016-05-04 19:33:17 -030043 sai1 = &sai1;
44 sai2 = &sai2;
45 sai3 = &sai3;
Frank Lia5fcccb2015-07-10 02:09:45 +080046 spi0 = &ecspi1;
47 spi1 = &ecspi2;
48 spi2 = &ecspi3;
49 spi3 = &ecspi4;
50 usbphy0 = &usbphy1;
51 usbphy1 = &usbphy2;
52 };
53
54 cpus {
55 #address-cells = <1>;
56 #size-cells = <0>;
57
58 cpu0: cpu@0 {
59 compatible = "arm,cortex-a7";
60 device_type = "cpu";
61 reg = <0>;
Anson Huang43f13222019-05-12 08:57:16 +000062 clock-frequency = <696000000>;
Frank Lia5fcccb2015-07-10 02:09:45 +080063 clock-latency = <61036>; /* two CLK32 periods */
Anson Huangf3d80de2018-06-08 11:06:40 +020064 #cooling-cells = <2>;
Frank Lia5fcccb2015-07-10 02:09:45 +080065 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>;
Anson Huang92f0eb02018-09-14 10:59:21 +080091 nvmem-cells = <&cpu_speed_grade>;
92 nvmem-cell-names = "speed_grade";
Frank Lia5fcccb2015-07-10 02:09:45 +080093 };
94 };
95
Stefan Agnercff1ce72018-01-10 22:04:51 +010096 timer {
97 compatible = "arm,armv7-timer";
Fabio Estevam0c293392018-12-03 15:40:19 -020098 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
99 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
100 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
101 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
Stefan Agnercff1ce72018-01-10 22:04:51 +0100102 interrupt-parent = <&intc>;
103 status = "disabled";
104 };
105
Frank Lia5fcccb2015-07-10 02:09:45 +0800106 ckil: clock-cli {
107 compatible = "fixed-clock";
108 #clock-cells = <0>;
109 clock-frequency = <32768>;
110 clock-output-names = "ckil";
111 };
112
113 osc: clock-osc {
114 compatible = "fixed-clock";
115 #clock-cells = <0>;
116 clock-frequency = <24000000>;
117 clock-output-names = "osc";
118 };
119
120 ipp_di0: clock-di0 {
121 compatible = "fixed-clock";
122 #clock-cells = <0>;
123 clock-frequency = <0>;
124 clock-output-names = "ipp_di0";
125 };
126
127 ipp_di1: clock-di1 {
128 compatible = "fixed-clock";
129 #clock-cells = <0>;
130 clock-frequency = <0>;
131 clock-output-names = "ipp_di1";
132 };
133
Fabio Estevam1e989602017-11-29 16:54:35 -0200134 tempmon: tempmon {
135 compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon";
136 interrupt-parent = <&gpc>;
137 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
138 fsl,tempmon = <&anatop>;
139 nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
140 nvmem-cell-names = "calib", "temp_grade";
141 clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>;
142 };
143
144 pmu {
145 compatible = "arm,cortex-a7-pmu";
146 interrupt-parent = <&gpc>;
147 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
Fabio Estevam1e989602017-11-29 16:54:35 -0200148 };
149
Frank Lia5fcccb2015-07-10 02:09:45 +0800150 soc {
151 #address-cells = <1>;
152 #size-cells = <1>;
153 compatible = "simple-bus";
Anson Huang18619ff2015-08-04 01:12:12 +0800154 interrupt-parent = <&gpc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800155 ranges;
156
Marco Franchiefb9adb2017-09-21 14:01:25 -0300157 ocram: sram@900000 {
Anson Huang322d09d2015-08-05 01:48:35 +0800158 compatible = "mmio-sram";
159 reg = <0x00900000 0x20000>;
160 };
161
Anson Huang8c1a1f42019-07-18 17:15:07 +0800162 intc: interrupt-controller@a01000 {
163 compatible = "arm,gic-400", "arm,cortex-a7-gic";
164 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
165 #interrupt-cells = <3>;
166 interrupt-controller;
167 interrupt-parent = <&intc>;
168 reg = <0x00a01000 0x1000>,
169 <0x00a02000 0x2000>,
170 <0x00a04000 0x2000>,
171 <0x00a06000 0x2000>;
172 };
173
Marco Franchiefb9adb2017-09-21 14:01:25 -0300174 dma_apbh: dma-apbh@1804000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100175 compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
176 reg = <0x01804000 0x2000>;
177 interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
178 <0 13 IRQ_TYPE_LEVEL_HIGH>,
179 <0 13 IRQ_TYPE_LEVEL_HIGH>,
180 <0 13 IRQ_TYPE_LEVEL_HIGH>;
181 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
182 #dma-cells = <1>;
183 dma-channels = <4>;
184 clocks = <&clks IMX6UL_CLK_APBHDMA>;
185 };
186
Leonard Crestez81c00392018-12-06 19:22:16 +0000187 gpmi: gpmi-nand@1806000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100188 compatible = "fsl,imx6q-gpmi-nand";
189 #address-cells = <1>;
190 #size-cells = <1>;
191 reg = <0x01806000 0x2000>, <0x01808000 0x2000>;
192 reg-names = "gpmi-nand", "bch";
193 interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
194 interrupt-names = "bch";
195 clocks = <&clks IMX6UL_CLK_GPMI_IO>,
196 <&clks IMX6UL_CLK_GPMI_APB>,
197 <&clks IMX6UL_CLK_GPMI_BCH>,
198 <&clks IMX6UL_CLK_GPMI_BCH_APB>,
199 <&clks IMX6UL_CLK_PER_BCH>;
200 clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
201 "gpmi_bch_apb", "per1_bch";
202 dmas = <&dma_apbh 0>;
203 dma-names = "rx-tx";
204 status = "disabled";
205 };
206
Peng Fanc0157bd2020-02-13 11:17:58 +0800207 aips1: bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800208 compatible = "fsl,aips-bus", "simple-bus";
209 #address-cells = <1>;
210 #size-cells = <1>;
211 reg = <0x02000000 0x100000>;
212 ranges;
213
Marco Franchiefb9adb2017-09-21 14:01:25 -0300214 spba-bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800215 compatible = "fsl,spba-bus", "simple-bus";
216 #address-cells = <1>;
217 #size-cells = <1>;
218 reg = <0x02000000 0x40000>;
219 ranges;
220
Rob Herring5a2ecf02018-09-13 13:12:29 -0500221 ecspi1: spi@2008000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800222 #address-cells = <1>;
223 #size-cells = <0>;
224 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
225 reg = <0x02008000 0x4000>;
226 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
227 clocks = <&clks IMX6UL_CLK_ECSPI1>,
228 <&clks IMX6UL_CLK_ECSPI1>;
229 clock-names = "ipg", "per";
Robin Gongc6c0ad72019-06-10 16:17:50 +0800230 dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
231 dma-names = "rx", "tx";
Frank Lia5fcccb2015-07-10 02:09:45 +0800232 status = "disabled";
233 };
234
Rob Herring5a2ecf02018-09-13 13:12:29 -0500235 ecspi2: spi@200c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800236 #address-cells = <1>;
237 #size-cells = <0>;
238 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
239 reg = <0x0200c000 0x4000>;
240 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
241 clocks = <&clks IMX6UL_CLK_ECSPI2>,
242 <&clks IMX6UL_CLK_ECSPI2>;
243 clock-names = "ipg", "per";
Robin Gongc6c0ad72019-06-10 16:17:50 +0800244 dmas = <&sdma 5 7 1>, <&sdma 6 7 2>;
245 dma-names = "rx", "tx";
Frank Lia5fcccb2015-07-10 02:09:45 +0800246 status = "disabled";
247 };
248
Rob Herring5a2ecf02018-09-13 13:12:29 -0500249 ecspi3: spi@2010000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800250 #address-cells = <1>;
251 #size-cells = <0>;
252 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
253 reg = <0x02010000 0x4000>;
254 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
255 clocks = <&clks IMX6UL_CLK_ECSPI3>,
256 <&clks IMX6UL_CLK_ECSPI3>;
257 clock-names = "ipg", "per";
Robin Gongc6c0ad72019-06-10 16:17:50 +0800258 dmas = <&sdma 7 7 1>, <&sdma 8 7 2>;
259 dma-names = "rx", "tx";
Frank Lia5fcccb2015-07-10 02:09:45 +0800260 status = "disabled";
261 };
262
Rob Herring5a2ecf02018-09-13 13:12:29 -0500263 ecspi4: spi@2014000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800264 #address-cells = <1>;
265 #size-cells = <0>;
266 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
267 reg = <0x02014000 0x4000>;
268 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
269 clocks = <&clks IMX6UL_CLK_ECSPI4>,
270 <&clks IMX6UL_CLK_ECSPI4>;
271 clock-names = "ipg", "per";
Robin Gongc6c0ad72019-06-10 16:17:50 +0800272 dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
273 dma-names = "rx", "tx";
Frank Lia5fcccb2015-07-10 02:09:45 +0800274 status = "disabled";
275 };
276
Marco Franchiefb9adb2017-09-21 14:01:25 -0300277 uart7: serial@2018000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800278 compatible = "fsl,imx6ul-uart",
279 "fsl,imx6q-uart";
280 reg = <0x02018000 0x4000>;
281 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
282 clocks = <&clks IMX6UL_CLK_UART7_IPG>,
283 <&clks IMX6UL_CLK_UART7_SERIAL>;
284 clock-names = "ipg", "per";
285 status = "disabled";
286 };
287
Marco Franchiefb9adb2017-09-21 14:01:25 -0300288 uart1: serial@2020000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800289 compatible = "fsl,imx6ul-uart",
290 "fsl,imx6q-uart";
291 reg = <0x02020000 0x4000>;
292 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
293 clocks = <&clks IMX6UL_CLK_UART1_IPG>,
294 <&clks IMX6UL_CLK_UART1_SERIAL>;
295 clock-names = "ipg", "per";
296 status = "disabled";
297 };
298
Marco Franchiefb9adb2017-09-21 14:01:25 -0300299 uart8: serial@2024000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800300 compatible = "fsl,imx6ul-uart",
301 "fsl,imx6q-uart";
302 reg = <0x02024000 0x4000>;
303 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
304 clocks = <&clks IMX6UL_CLK_UART8_IPG>,
305 <&clks IMX6UL_CLK_UART8_SERIAL>;
306 clock-names = "ipg", "per";
307 status = "disabled";
308 };
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100309
Marco Franchiefb9adb2017-09-21 14:01:25 -0300310 sai1: sai@2028000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100311 #sound-dai-cells = <0>;
312 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
313 reg = <0x02028000 0x4000>;
314 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
315 clocks = <&clks IMX6UL_CLK_SAI1_IPG>,
316 <&clks IMX6UL_CLK_SAI1>,
317 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
318 clock-names = "bus", "mclk1", "mclk2", "mclk3";
319 dmas = <&sdma 35 24 0>,
320 <&sdma 36 24 0>;
321 dma-names = "rx", "tx";
322 status = "disabled";
323 };
324
Marco Franchiefb9adb2017-09-21 14:01:25 -0300325 sai2: sai@202c000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100326 #sound-dai-cells = <0>;
327 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
328 reg = <0x0202c000 0x4000>;
329 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
330 clocks = <&clks IMX6UL_CLK_SAI2_IPG>,
331 <&clks IMX6UL_CLK_SAI2>,
332 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
333 clock-names = "bus", "mclk1", "mclk2", "mclk3";
334 dmas = <&sdma 37 24 0>,
335 <&sdma 38 24 0>;
336 dma-names = "rx", "tx";
337 status = "disabled";
338 };
339
Marco Franchiefb9adb2017-09-21 14:01:25 -0300340 sai3: sai@2030000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100341 #sound-dai-cells = <0>;
342 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
343 reg = <0x02030000 0x4000>;
344 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
345 clocks = <&clks IMX6UL_CLK_SAI3_IPG>,
346 <&clks IMX6UL_CLK_SAI3>,
347 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
348 clock-names = "bus", "mclk1", "mclk2", "mclk3";
349 dmas = <&sdma 39 24 0>,
350 <&sdma 40 24 0>;
351 dma-names = "rx", "tx";
352 status = "disabled";
353 };
Frank Lia5fcccb2015-07-10 02:09:45 +0800354 };
355
Marco Franchiefb9adb2017-09-21 14:01:25 -0300356 tsc: tsc@2040000 {
Lothar Waßmann302e01b2016-01-20 11:08:55 +0100357 compatible = "fsl,imx6ul-tsc";
358 reg = <0x02040000 0x4000>, <0x0219c000 0x4000>;
359 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
360 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
361 clocks = <&clks IMX6UL_CLK_IPG>,
362 <&clks IMX6UL_CLK_ADC2>;
363 clock-names = "tsc", "adc";
364 status = "disabled";
365 };
366
Marco Franchiefb9adb2017-09-21 14:01:25 -0300367 pwm1: pwm@2080000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100368 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
369 reg = <0x02080000 0x4000>;
Sébastien Szymanski3cf10132019-06-18 17:58:34 +0200370 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100371 clocks = <&clks IMX6UL_CLK_PWM1>,
372 <&clks IMX6UL_CLK_PWM1>;
373 clock-names = "ipg", "per";
374 #pwm-cells = <2>;
375 status = "disabled";
376 };
377
Marco Franchiefb9adb2017-09-21 14:01:25 -0300378 pwm2: pwm@2084000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100379 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
380 reg = <0x02084000 0x4000>;
Sébastien Szymanski3cf10132019-06-18 17:58:34 +0200381 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100382 clocks = <&clks IMX6UL_CLK_PWM2>,
383 <&clks IMX6UL_CLK_PWM2>;
384 clock-names = "ipg", "per";
385 #pwm-cells = <2>;
386 status = "disabled";
387 };
388
Marco Franchiefb9adb2017-09-21 14:01:25 -0300389 pwm3: pwm@2088000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100390 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
391 reg = <0x02088000 0x4000>;
Sébastien Szymanski3cf10132019-06-18 17:58:34 +0200392 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100393 clocks = <&clks IMX6UL_CLK_PWM3>,
394 <&clks IMX6UL_CLK_PWM3>;
395 clock-names = "ipg", "per";
396 #pwm-cells = <2>;
397 status = "disabled";
398 };
399
Marco Franchiefb9adb2017-09-21 14:01:25 -0300400 pwm4: pwm@208c000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100401 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
402 reg = <0x0208c000 0x4000>;
Sébastien Szymanski3cf10132019-06-18 17:58:34 +0200403 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100404 clocks = <&clks IMX6UL_CLK_PWM4>,
405 <&clks IMX6UL_CLK_PWM4>;
406 clock-names = "ipg", "per";
407 #pwm-cells = <2>;
408 status = "disabled";
409 };
410
Marco Franchiefb9adb2017-09-21 14:01:25 -0300411 can1: flexcan@2090000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100412 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
413 reg = <0x02090000 0x4000>;
414 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
415 clocks = <&clks IMX6UL_CLK_CAN1_IPG>,
416 <&clks IMX6UL_CLK_CAN1_SERIAL>;
417 clock-names = "ipg", "per";
Aisheng Dongf0495572018-12-03 05:20:27 +0000418 fsl,stop-mode = <&gpr 0x10 1 0x10 17>;
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100419 status = "disabled";
420 };
421
Marco Franchiefb9adb2017-09-21 14:01:25 -0300422 can2: flexcan@2094000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100423 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
424 reg = <0x02094000 0x4000>;
425 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
426 clocks = <&clks IMX6UL_CLK_CAN2_IPG>,
427 <&clks IMX6UL_CLK_CAN2_SERIAL>;
428 clock-names = "ipg", "per";
Aisheng Dongf0495572018-12-03 05:20:27 +0000429 fsl,stop-mode = <&gpr 0x10 2 0x10 18>;
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100430 status = "disabled";
431 };
432
Anson Huang7c48b082020-02-13 10:52:56 +0800433 gpt1: timer@2098000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800434 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
435 reg = <0x02098000 0x4000>;
436 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
437 clocks = <&clks IMX6UL_CLK_GPT1_BUS>,
438 <&clks IMX6UL_CLK_GPT1_SERIAL>;
439 clock-names = "ipg", "per";
440 };
441
Marco Franchiefb9adb2017-09-21 14:01:25 -0300442 gpio1: gpio@209c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800443 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
444 reg = <0x0209c000 0x4000>;
445 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
446 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800447 clocks = <&clks IMX6UL_CLK_GPIO1>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800448 gpio-controller;
449 #gpio-cells = <2>;
450 interrupt-controller;
451 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300452 gpio-ranges = <&iomuxc 0 23 10>, <&iomuxc 10 17 6>,
453 <&iomuxc 16 33 16>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800454 };
455
Marco Franchiefb9adb2017-09-21 14:01:25 -0300456 gpio2: gpio@20a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800457 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
458 reg = <0x020a0000 0x4000>;
459 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
460 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800461 clocks = <&clks IMX6UL_CLK_GPIO2>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800462 gpio-controller;
463 #gpio-cells = <2>;
464 interrupt-controller;
465 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300466 gpio-ranges = <&iomuxc 0 49 16>, <&iomuxc 16 111 6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800467 };
468
Marco Franchiefb9adb2017-09-21 14:01:25 -0300469 gpio3: gpio@20a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800470 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
471 reg = <0x020a4000 0x4000>;
472 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
473 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800474 clocks = <&clks IMX6UL_CLK_GPIO3>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800475 gpio-controller;
476 #gpio-cells = <2>;
477 interrupt-controller;
478 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300479 gpio-ranges = <&iomuxc 0 65 29>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800480 };
481
Marco Franchiefb9adb2017-09-21 14:01:25 -0300482 gpio4: gpio@20a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800483 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
484 reg = <0x020a8000 0x4000>;
485 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
486 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800487 clocks = <&clks IMX6UL_CLK_GPIO4>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800488 gpio-controller;
489 #gpio-cells = <2>;
490 interrupt-controller;
491 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300492 gpio-ranges = <&iomuxc 0 94 17>, <&iomuxc 17 117 12>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800493 };
494
Marco Franchiefb9adb2017-09-21 14:01:25 -0300495 gpio5: gpio@20ac000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800496 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
497 reg = <0x020ac000 0x4000>;
498 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
499 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800500 clocks = <&clks IMX6UL_CLK_GPIO5>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800501 gpio-controller;
502 #gpio-cells = <2>;
503 interrupt-controller;
504 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300505 gpio-ranges = <&iomuxc 0 7 10>, <&iomuxc 10 5 2>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800506 };
507
Marco Franchiefb9adb2017-09-21 14:01:25 -0300508 fec2: ethernet@20b4000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800509 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
510 reg = <0x020b4000 0x4000>;
Troy Kiskye94a2302017-11-03 10:29:58 -0700511 interrupt-names = "int0", "pps";
Fugang Duan01f3dc72015-07-28 15:30:41 +0800512 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
513 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
514 clocks = <&clks IMX6UL_CLK_ENET>,
515 <&clks IMX6UL_CLK_ENET_AHB>,
516 <&clks IMX6UL_CLK_ENET_PTP>,
517 <&clks IMX6UL_CLK_ENET2_REF_125M>,
518 <&clks IMX6UL_CLK_ENET2_REF_125M>;
519 clock-names = "ipg", "ahb", "ptp",
520 "enet_clk_ref", "enet_out";
Krzysztof Kozlowski2a44db12019-07-27 16:26:40 +0200521 fsl,num-tx-queues = <1>;
522 fsl,num-rx-queues = <1>;
Fugang Duan01f3dc72015-07-28 15:30:41 +0800523 status = "disabled";
524 };
525
Anson Huangb0bb4fb2020-02-14 10:11:29 +0800526 kpp: keypad@20b8000 {
Lothar Waßmannea1c1752016-01-20 11:09:08 +0100527 compatible = "fsl,imx6ul-kpp", "fsl,imx6q-kpp", "fsl,imx21-kpp";
528 reg = <0x020b8000 0x4000>;
529 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
530 clocks = <&clks IMX6UL_CLK_KPP>;
531 status = "disabled";
532 };
533
Anson Huangbffe02c2020-02-21 10:13:20 +0800534 wdog1: watchdog@20bc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800535 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
536 reg = <0x020bc000 0x4000>;
537 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
538 clocks = <&clks IMX6UL_CLK_WDOG1>;
539 };
540
Anson Huangbffe02c2020-02-21 10:13:20 +0800541 wdog2: watchdog@20c0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800542 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
543 reg = <0x020c0000 0x4000>;
544 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
545 clocks = <&clks IMX6UL_CLK_WDOG2>;
546 status = "disabled";
547 };
548
Anson Huang993de772020-02-14 10:59:36 +0800549 clks: clock-controller@20c4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800550 compatible = "fsl,imx6ul-ccm";
551 reg = <0x020c4000 0x4000>;
552 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
553 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
554 #clock-cells = <1>;
555 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
556 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
557 };
558
Marco Franchiefb9adb2017-09-21 14:01:25 -0300559 anatop: anatop@20c8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800560 compatible = "fsl,imx6ul-anatop", "fsl,imx6q-anatop",
Fabio Estevam16d46c52019-09-11 15:34:19 -0300561 "syscon", "simple-mfd";
Frank Lia5fcccb2015-07-10 02:09:45 +0800562 reg = <0x020c8000 0x1000>;
563 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
564 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
565 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
566
Fabio Estevam71db3942018-05-14 10:31:54 -0300567 reg_3p0: regulator-3p0 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800568 compatible = "fsl,anatop-regulator";
569 regulator-name = "vdd3p0";
570 regulator-min-microvolt = <2625000>;
571 regulator-max-microvolt = <3400000>;
572 anatop-reg-offset = <0x120>;
573 anatop-vol-bit-shift = <8>;
574 anatop-vol-bit-width = <5>;
575 anatop-min-bit-val = <0>;
576 anatop-min-voltage = <2625000>;
577 anatop-max-voltage = <3400000>;
Andrey Smirnov38281a42017-05-15 07:52:59 -0700578 anatop-enable-bit = <0>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800579 };
580
Fabio Estevam71db3942018-05-14 10:31:54 -0300581 reg_arm: regulator-vddcore {
Frank Lia5fcccb2015-07-10 02:09:45 +0800582 compatible = "fsl,anatop-regulator";
583 regulator-name = "cpu";
584 regulator-min-microvolt = <725000>;
585 regulator-max-microvolt = <1450000>;
586 regulator-always-on;
587 anatop-reg-offset = <0x140>;
588 anatop-vol-bit-shift = <0>;
589 anatop-vol-bit-width = <5>;
590 anatop-delay-reg-offset = <0x170>;
591 anatop-delay-bit-shift = <24>;
592 anatop-delay-bit-width = <2>;
593 anatop-min-bit-val = <1>;
594 anatop-min-voltage = <725000>;
595 anatop-max-voltage = <1450000>;
596 };
597
Fabio Estevam71db3942018-05-14 10:31:54 -0300598 reg_soc: regulator-vddsoc {
Frank Lia5fcccb2015-07-10 02:09:45 +0800599 compatible = "fsl,anatop-regulator";
600 regulator-name = "vddsoc";
601 regulator-min-microvolt = <725000>;
602 regulator-max-microvolt = <1450000>;
603 regulator-always-on;
604 anatop-reg-offset = <0x140>;
605 anatop-vol-bit-shift = <18>;
606 anatop-vol-bit-width = <5>;
607 anatop-delay-reg-offset = <0x170>;
608 anatop-delay-bit-shift = <28>;
609 anatop-delay-bit-width = <2>;
610 anatop-min-bit-val = <1>;
611 anatop-min-voltage = <725000>;
612 anatop-max-voltage = <1450000>;
613 };
614 };
615
Marco Franchiefb9adb2017-09-21 14:01:25 -0300616 usbphy1: usbphy@20c9000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800617 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
618 reg = <0x020c9000 0x1000>;
619 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
620 clocks = <&clks IMX6UL_CLK_USBPHY1>;
621 phy-3p0-supply = <&reg_3p0>;
622 fsl,anatop = <&anatop>;
623 };
624
Marco Franchiefb9adb2017-09-21 14:01:25 -0300625 usbphy2: usbphy@20ca000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800626 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
627 reg = <0x020ca000 0x1000>;
628 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
629 clocks = <&clks IMX6UL_CLK_USBPHY2>;
630 phy-3p0-supply = <&reg_3p0>;
631 fsl,anatop = <&anatop>;
632 };
633
Marco Franchiefb9adb2017-09-21 14:01:25 -0300634 snvs: snvs@20cc000 {
Anson Huang5b032872015-08-04 23:54:58 +0800635 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
636 reg = <0x020cc000 0x4000>;
637
638 snvs_rtc: snvs-rtc-lp {
639 compatible = "fsl,sec-v4.0-mon-rtc-lp";
640 regmap = <&snvs>;
641 offset = <0x34>;
642 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
643 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
644 };
Anson Huang36032572015-08-06 16:16:01 +0800645
Anson Huangab0a05d2015-09-06 15:29:34 +0800646 snvs_poweroff: snvs-poweroff {
647 compatible = "syscon-poweroff";
648 regmap = <&snvs>;
649 offset = <0x38>;
Guy Shapiro87a84c62017-07-04 18:19:12 +0200650 value = <0x60>;
Anson Huangab0a05d2015-09-06 15:29:34 +0800651 mask = <0x60>;
652 status = "disabled";
653 };
654
Anson Huang36032572015-08-06 16:16:01 +0800655 snvs_pwrkey: snvs-powerkey {
656 compatible = "fsl,sec-v4.0-pwrkey";
657 regmap = <&snvs>;
658 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
659 linux,keycode = <KEY_POWER>;
660 wakeup-source;
Anson Huang052ce6f2019-06-13 11:35:24 +0800661 status = "disabled";
Anson Huang36032572015-08-06 16:16:01 +0800662 };
Oleksij Rempela53745d2017-06-20 09:09:32 +0200663
664 snvs_lpgpr: snvs-lpgpr {
665 compatible = "fsl,imx6ul-snvs-lpgpr";
666 };
Anson Huang5b032872015-08-04 23:54:58 +0800667 };
668
Marco Franchiefb9adb2017-09-21 14:01:25 -0300669 epit1: epit@20d0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800670 reg = <0x020d0000 0x4000>;
671 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
672 };
673
Marco Franchiefb9adb2017-09-21 14:01:25 -0300674 epit2: epit@20d4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800675 reg = <0x020d4000 0x4000>;
676 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
677 };
678
Marco Franchiefb9adb2017-09-21 14:01:25 -0300679 src: src@20d8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800680 compatible = "fsl,imx6ul-src", "fsl,imx51-src";
681 reg = <0x020d8000 0x4000>;
682 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
683 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
684 #reset-cells = <1>;
685 };
686
Marco Franchiefb9adb2017-09-21 14:01:25 -0300687 gpc: gpc@20dc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800688 compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
689 reg = <0x020dc000 0x4000>;
Anson Huang18619ff2015-08-04 01:12:12 +0800690 interrupt-controller;
691 #interrupt-cells = <3>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800692 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Anson Huang18619ff2015-08-04 01:12:12 +0800693 interrupt-parent = <&intc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800694 };
695
Marco Franchiefb9adb2017-09-21 14:01:25 -0300696 iomuxc: iomuxc@20e0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800697 compatible = "fsl,imx6ul-iomuxc";
698 reg = <0x020e0000 0x4000>;
699 };
700
Marco Franchiefb9adb2017-09-21 14:01:25 -0300701 gpr: iomuxc-gpr@20e4000 {
Anson Huang0f39c502016-08-29 22:25:43 +0800702 compatible = "fsl,imx6ul-iomuxc-gpr",
703 "fsl,imx6q-iomuxc-gpr", "syscon";
Frank Lia5fcccb2015-07-10 02:09:45 +0800704 reg = <0x020e4000 0x4000>;
705 };
706
Anson Huang7c48b082020-02-13 10:52:56 +0800707 gpt2: timer@20e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800708 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
709 reg = <0x020e8000 0x4000>;
710 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannd97ca992016-01-20 11:08:57 +0100711 clocks = <&clks IMX6UL_CLK_GPT2_BUS>,
712 <&clks IMX6UL_CLK_GPT2_SERIAL>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800713 clock-names = "ipg", "per";
Anson Huangc4e88bb2019-10-24 10:59:25 +0800714 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800715 };
716
Marco Franchiefb9adb2017-09-21 14:01:25 -0300717 sdma: sdma@20ec000 {
Lothar Waßmann76758c62016-01-20 11:09:01 +0100718 compatible = "fsl,imx6ul-sdma", "fsl,imx6q-sdma",
719 "fsl,imx35-sdma";
720 reg = <0x020ec000 0x4000>;
721 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Andrey Smirnov7b3132e2019-03-28 23:49:19 -0700722 clocks = <&clks IMX6UL_CLK_IPG>,
Lothar Waßmann76758c62016-01-20 11:09:01 +0100723 <&clks IMX6UL_CLK_SDMA>;
724 clock-names = "ipg", "ahb";
725 #dma-cells = <3>;
726 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
727 };
728
Marco Franchiefb9adb2017-09-21 14:01:25 -0300729 pwm5: pwm@20f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800730 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
731 reg = <0x020f0000 0x4000>;
732 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100733 clocks = <&clks IMX6UL_CLK_PWM5>,
734 <&clks IMX6UL_CLK_PWM5>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800735 clock-names = "ipg", "per";
736 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100737 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800738 };
739
Marco Franchiefb9adb2017-09-21 14:01:25 -0300740 pwm6: pwm@20f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800741 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
742 reg = <0x020f4000 0x4000>;
743 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100744 clocks = <&clks IMX6UL_CLK_PWM6>,
745 <&clks IMX6UL_CLK_PWM6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800746 clock-names = "ipg", "per";
747 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100748 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800749 };
750
Marco Franchiefb9adb2017-09-21 14:01:25 -0300751 pwm7: pwm@20f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800752 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
753 reg = <0x020f8000 0x4000>;
754 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100755 clocks = <&clks IMX6UL_CLK_PWM7>,
756 <&clks IMX6UL_CLK_PWM7>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800757 clock-names = "ipg", "per";
758 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100759 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800760 };
761
Marco Franchiefb9adb2017-09-21 14:01:25 -0300762 pwm8: pwm@20fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800763 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
764 reg = <0x020fc000 0x4000>;
765 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100766 clocks = <&clks IMX6UL_CLK_PWM8>,
767 <&clks IMX6UL_CLK_PWM8>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800768 clock-names = "ipg", "per";
769 #pwm-cells = <2>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100770 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800771 };
772 };
773
Peng Fanc0157bd2020-02-13 11:17:58 +0800774 aips2: bus@2100000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800775 compatible = "fsl,aips-bus", "simple-bus";
776 #address-cells = <1>;
777 #size-cells = <1>;
778 reg = <0x02100000 0x100000>;
779 ranges;
780
Fabio Estevam8c371732018-04-14 17:55:30 -0300781 crypto: caam@2140000 {
782 compatible = "fsl,imx6ul-caam", "fsl,sec-v4.0";
783 #address-cells = <1>;
784 #size-cells = <1>;
785 reg = <0x2140000 0x3c000>;
786 ranges = <0 0x2140000 0x3c000>;
787 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
788 clocks = <&clks IMX6UL_CLK_CAAM_IPG>, <&clks IMX6UL_CLK_CAAM_ACLK>,
789 <&clks IMX6UL_CLK_CAAM_MEM>;
790 clock-names = "ipg", "aclk", "mem";
791
792 sec_jr0: jr0@1000 {
793 compatible = "fsl,sec-v4.0-job-ring";
794 reg = <0x1000 0x1000>;
795 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
796 };
797
798 sec_jr1: jr1@2000 {
799 compatible = "fsl,sec-v4.0-job-ring";
800 reg = <0x2000 0x1000>;
801 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
802 };
803
804 sec_jr2: jr2@3000 {
805 compatible = "fsl,sec-v4.0-job-ring";
806 reg = <0x3000 0x1000>;
807 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
808 };
809 };
810
Marco Franchiefb9adb2017-09-21 14:01:25 -0300811 usbotg1: usb@2184000 {
Frank Licad2cb62015-07-17 04:03:16 +0800812 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
813 reg = <0x02184000 0x200>;
814 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
815 clocks = <&clks IMX6UL_CLK_USBOH3>;
816 fsl,usbphy = <&usbphy1>;
817 fsl,usbmisc = <&usbmisc 0>;
818 fsl,anatop = <&anatop>;
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 usbotg2: usb@2184200 {
Frank Licad2cb62015-07-17 04:03:16 +0800826 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
827 reg = <0x02184200 0x200>;
828 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
829 clocks = <&clks IMX6UL_CLK_USBOH3>;
830 fsl,usbphy = <&usbphy2>;
831 fsl,usbmisc = <&usbmisc 1>;
Peter Chen9493bf52015-09-30 10:17:16 +0800832 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800833 tx-burst-size-dword = <0x10>;
834 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800835 status = "disabled";
836 };
837
Marco Franchiefb9adb2017-09-21 14:01:25 -0300838 usbmisc: usbmisc@2184800 {
Frank Licad2cb62015-07-17 04:03:16 +0800839 #index-cells = <1>;
840 compatible = "fsl,imx6ul-usbmisc", "fsl,imx6q-usbmisc";
841 reg = <0x02184800 0x200>;
842 };
843
Marco Franchiefb9adb2017-09-21 14:01:25 -0300844 fec1: ethernet@2188000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800845 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
846 reg = <0x02188000 0x4000>;
Troy Kiskye94a2302017-11-03 10:29:58 -0700847 interrupt-names = "int0", "pps";
Fugang Duan01f3dc72015-07-28 15:30:41 +0800848 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
849 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
850 clocks = <&clks IMX6UL_CLK_ENET>,
851 <&clks IMX6UL_CLK_ENET_AHB>,
852 <&clks IMX6UL_CLK_ENET_PTP>,
853 <&clks IMX6UL_CLK_ENET_REF>,
854 <&clks IMX6UL_CLK_ENET_REF>;
855 clock-names = "ipg", "ahb", "ptp",
856 "enet_clk_ref", "enet_out";
Krzysztof Kozlowski2a44db12019-07-27 16:26:40 +0200857 fsl,num-tx-queues = <1>;
858 fsl,num-rx-queues = <1>;
Fugang Duan01f3dc72015-07-28 15:30:41 +0800859 status = "disabled";
860 };
861
Marco Franchiefb9adb2017-09-21 14:01:25 -0300862 usdhc1: usdhc@2190000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800863 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
864 reg = <0x02190000 0x4000>;
865 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
866 clocks = <&clks IMX6UL_CLK_USDHC1>,
867 <&clks IMX6UL_CLK_USDHC1>,
868 <&clks IMX6UL_CLK_USDHC1>;
869 clock-names = "ipg", "ahb", "per";
Krzysztof Kozlowski2a44db12019-07-27 16:26:40 +0200870 fsl,tuning-step = <2>;
Igor Opaniuk20353142019-06-06 12:06:12 +0300871 fsl,tuning-start-tap = <20>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800872 bus-width = <4>;
873 status = "disabled";
874 };
875
Marco Franchiefb9adb2017-09-21 14:01:25 -0300876 usdhc2: usdhc@2194000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800877 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
878 reg = <0x02194000 0x4000>;
879 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
880 clocks = <&clks IMX6UL_CLK_USDHC2>,
881 <&clks IMX6UL_CLK_USDHC2>,
882 <&clks IMX6UL_CLK_USDHC2>;
883 clock-names = "ipg", "ahb", "per";
884 bus-width = <4>;
Krzysztof Kozlowski2a44db12019-07-27 16:26:40 +0200885 fsl,tuning-step = <2>;
Igor Opaniuk20353142019-06-06 12:06:12 +0300886 fsl,tuning-start-tap = <20>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800887 status = "disabled";
888 };
889
Marco Franchiefb9adb2017-09-21 14:01:25 -0300890 adc1: adc@2198000 {
Fabio Estevamaab8ec02015-11-04 10:54:50 -0200891 compatible = "fsl,imx6ul-adc", "fsl,vf610-adc";
892 reg = <0x02198000 0x4000>;
893 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
894 clocks = <&clks IMX6UL_CLK_ADC1>;
895 num-channels = <2>;
896 clock-names = "adc";
897 fsl,adck-max-frequency = <30000000>, <40000000>,
898 <20000000>;
899 status = "disabled";
900 };
901
Marco Franchiefb9adb2017-09-21 14:01:25 -0300902 i2c1: i2c@21a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800903 #address-cells = <1>;
904 #size-cells = <0>;
905 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
906 reg = <0x021a0000 0x4000>;
907 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
908 clocks = <&clks IMX6UL_CLK_I2C1>;
909 status = "disabled";
910 };
911
Marco Franchiefb9adb2017-09-21 14:01:25 -0300912 i2c2: i2c@21a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800913 #address-cells = <1>;
914 #size-cells = <0>;
915 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
916 reg = <0x021a4000 0x4000>;
917 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
918 clocks = <&clks IMX6UL_CLK_I2C2>;
919 status = "disabled";
920 };
921
Marco Franchiefb9adb2017-09-21 14:01:25 -0300922 i2c3: i2c@21a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800923 #address-cells = <1>;
924 #size-cells = <0>;
925 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
926 reg = <0x021a8000 0x4000>;
927 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
928 clocks = <&clks IMX6UL_CLK_I2C3>;
929 status = "disabled";
930 };
931
Anson Huang476f6e52019-03-12 02:24:16 +0000932 memory-controller@21b0000 {
Anson Huang51a37442015-08-05 01:48:36 +0800933 compatible = "fsl,imx6ul-mmdc", "fsl,imx6q-mmdc";
934 reg = <0x021b0000 0x4000>;
Anson Huang39db0e12018-08-31 15:53:18 +0800935 clocks = <&clks IMX6UL_CLK_MMDC_P0_IPG>;
Anson Huang51a37442015-08-05 01:48:36 +0800936 };
937
Sébastien Szymanski3494cfb2018-08-27 10:01:27 +0200938 weim: weim@21b8000 {
939 #address-cells = <2>;
940 #size-cells = <1>;
941 compatible = "fsl,imx6ul-weim", "fsl,imx6q-weim";
942 reg = <0x021b8000 0x4000>;
943 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
944 clocks = <&clks IMX6UL_CLK_EIM>;
945 fsl,weim-cs-gpr = <&gpr>;
946 status = "disabled";
947 };
948
Marco Franchiefb9adb2017-09-21 14:01:25 -0300949 ocotp: ocotp-ctrl@21bc000 {
Leonard Crestez2067b752017-07-14 17:11:10 +0300950 #address-cells = <1>;
951 #size-cells = <1>;
Bai Ping86864392016-11-17 09:08:19 +0800952 compatible = "fsl,imx6ul-ocotp", "syscon";
953 reg = <0x021bc000 0x4000>;
954 clocks = <&clks IMX6UL_CLK_OCOTP>;
Leonard Crestez2067b752017-07-14 17:11:10 +0300955
956 tempmon_calib: calib@38 {
957 reg = <0x38 4>;
958 };
959
960 tempmon_temp_grade: temp-grade@20 {
961 reg = <0x20 4>;
962 };
Anson Huang92f0eb02018-09-14 10:59:21 +0800963
964 cpu_speed_grade: speed-grade@10 {
965 reg = <0x10 4>;
966 };
Bai Ping86864392016-11-17 09:08:19 +0800967 };
968
Sébastien Szymanskidce84022019-07-31 18:32:57 +0200969 csi: csi@21c4000 {
970 compatible = "fsl,imx6ul-csi", "fsl,imx7-csi";
971 reg = <0x021c4000 0x4000>;
972 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
973 clocks = <&clks IMX6UL_CLK_CSI>;
974 clock-names = "mclk";
975 status = "disabled";
976 };
977
Marco Franchiefb9adb2017-09-21 14:01:25 -0300978 lcdif: lcdif@21c8000 {
Lothar Waßmann6fe01eb2016-01-20 11:09:04 +0100979 compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif";
980 reg = <0x021c8000 0x4000>;
981 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
982 clocks = <&clks IMX6UL_CLK_LCDIF_PIX>,
983 <&clks IMX6UL_CLK_LCDIF_APB>,
984 <&clks IMX6UL_CLK_DUMMY>;
985 clock-names = "pix", "axi", "disp_axi";
986 status = "disabled";
987 };
988
Sébastien Szymanski470f2482019-06-13 12:23:55 +0200989 pxp: pxp@21cc000 {
990 compatible = "fsl,imx6ul-pxp";
991 reg = <0x021cc000 0x4000>;
992 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
993 clocks = <&clks IMX6UL_CLK_PXP>;
994 clock-names = "axi";
995 };
996
Rob Herring5a2ecf02018-09-13 13:12:29 -0500997 qspi: spi@21e0000 {
Frank Li5ff807a2015-07-21 03:33:53 +0800998 #address-cells = <1>;
999 #size-cells = <0>;
1000 compatible = "fsl,imx6ul-qspi", "fsl,imx6sx-qspi";
1001 reg = <0x021e0000 0x4000>, <0x60000000 0x10000000>;
1002 reg-names = "QuadSPI", "QuadSPI-memory";
1003 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1004 clocks = <&clks IMX6UL_CLK_QSPI>,
1005 <&clks IMX6UL_CLK_QSPI>;
1006 clock-names = "qspi_en", "qspi";
1007 status = "disabled";
1008 };
1009
Anson Huangbffe02c2020-02-21 10:13:20 +08001010 wdog3: watchdog@21e4000 {
Jörg Krausefa2f2572018-02-25 02:24:46 +01001011 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
1012 reg = <0x021e4000 0x4000>;
1013 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1014 clocks = <&clks IMX6UL_CLK_WDOG3>;
1015 status = "disabled";
1016 };
1017
Marco Franchiefb9adb2017-09-21 14:01:25 -03001018 uart2: serial@21e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001019 compatible = "fsl,imx6ul-uart",
1020 "fsl,imx6q-uart";
1021 reg = <0x021e8000 0x4000>;
1022 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
1023 clocks = <&clks IMX6UL_CLK_UART2_IPG>,
1024 <&clks IMX6UL_CLK_UART2_SERIAL>;
1025 clock-names = "ipg", "per";
1026 status = "disabled";
1027 };
1028
Marco Franchiefb9adb2017-09-21 14:01:25 -03001029 uart3: serial@21ec000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001030 compatible = "fsl,imx6ul-uart",
1031 "fsl,imx6q-uart";
1032 reg = <0x021ec000 0x4000>;
1033 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
1034 clocks = <&clks IMX6UL_CLK_UART3_IPG>,
1035 <&clks IMX6UL_CLK_UART3_SERIAL>;
1036 clock-names = "ipg", "per";
1037 status = "disabled";
1038 };
1039
Marco Franchiefb9adb2017-09-21 14:01:25 -03001040 uart4: serial@21f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001041 compatible = "fsl,imx6ul-uart",
1042 "fsl,imx6q-uart";
1043 reg = <0x021f0000 0x4000>;
1044 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1045 clocks = <&clks IMX6UL_CLK_UART4_IPG>,
1046 <&clks IMX6UL_CLK_UART4_SERIAL>;
1047 clock-names = "ipg", "per";
1048 status = "disabled";
1049 };
1050
Marco Franchiefb9adb2017-09-21 14:01:25 -03001051 uart5: serial@21f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001052 compatible = "fsl,imx6ul-uart",
1053 "fsl,imx6q-uart";
1054 reg = <0x021f4000 0x4000>;
1055 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1056 clocks = <&clks IMX6UL_CLK_UART5_IPG>,
1057 <&clks IMX6UL_CLK_UART5_SERIAL>;
1058 clock-names = "ipg", "per";
1059 status = "disabled";
1060 };
1061
Marco Franchiefb9adb2017-09-21 14:01:25 -03001062 i2c4: i2c@21f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001063 #address-cells = <1>;
1064 #size-cells = <0>;
1065 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
1066 reg = <0x021f8000 0x4000>;
1067 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1068 clocks = <&clks IMX6UL_CLK_I2C4>;
1069 status = "disabled";
1070 };
1071
Marco Franchiefb9adb2017-09-21 14:01:25 -03001072 uart6: serial@21fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001073 compatible = "fsl,imx6ul-uart",
1074 "fsl,imx6q-uart";
1075 reg = <0x021fc000 0x4000>;
1076 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1077 clocks = <&clks IMX6UL_CLK_UART6_IPG>,
1078 <&clks IMX6UL_CLK_UART6_SERIAL>;
1079 clock-names = "ipg", "per";
1080 status = "disabled";
1081 };
1082 };
1083 };
1084};