blob: afeec01f652288fe73c48aace20b68ca14d3dc50 [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;
Peng Fan5c8b3b82020-11-01 19:29:53 +080050 usb0 = &usbotg1;
51 usb1 = &usbotg2;
Frank Lia5fcccb2015-07-10 02:09:45 +080052 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>;
Anson Huang43f13222019-05-12 08:57:16 +000064 clock-frequency = <696000000>;
Frank Lia5fcccb2015-07-10 02:09:45 +080065 clock-latency = <61036>; /* two CLK32 periods */
Anson Huangf3d80de2018-06-08 11:06:40 +020066 #cooling-cells = <2>;
Frank Lia5fcccb2015-07-10 02:09:45 +080067 operating-points = <
68 /* kHz uV */
Anson Huangc9619bb2018-01-08 10:04:50 +080069 696000 1275000
Fabio Estevamf7084442016-04-25 16:38:47 -030070 528000 1175000
71 396000 1025000
72 198000 950000
Frank Lia5fcccb2015-07-10 02:09:45 +080073 >;
74 fsl,soc-operating-points = <
75 /* KHz uV */
Anson Huangc9619bb2018-01-08 10:04:50 +080076 696000 1275000
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>,
Anson Huang4a7459b2018-01-03 19:22:14 +080087 <&clks IMX6UL_CLK_PLL1_SYS>;
Frank Lia5fcccb2015-07-10 02:09:45 +080088 clock-names = "arm", "pll2_bus", "pll2_pfd2_396m",
89 "secondary_sel", "step", "pll1_sw",
Anson Huang4a7459b2018-01-03 19:22:14 +080090 "pll1_sys";
Frank Lia5fcccb2015-07-10 02:09:45 +080091 arm-supply = <&reg_arm>;
92 soc-supply = <&reg_soc>;
Anson Huang92f0eb02018-09-14 10:59:21 +080093 nvmem-cells = <&cpu_speed_grade>;
94 nvmem-cell-names = "speed_grade";
Frank Lia5fcccb2015-07-10 02:09:45 +080095 };
96 };
97
Stefan Agnercff1ce72018-01-10 22:04:51 +010098 timer {
99 compatible = "arm,armv7-timer";
Fabio Estevam0c293392018-12-03 15:40:19 -0200100 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
101 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
102 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
103 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
Stefan Agnercff1ce72018-01-10 22:04:51 +0100104 interrupt-parent = <&intc>;
105 status = "disabled";
106 };
107
Frank Lia5fcccb2015-07-10 02:09:45 +0800108 ckil: clock-cli {
109 compatible = "fixed-clock";
110 #clock-cells = <0>;
111 clock-frequency = <32768>;
112 clock-output-names = "ckil";
113 };
114
115 osc: clock-osc {
116 compatible = "fixed-clock";
117 #clock-cells = <0>;
118 clock-frequency = <24000000>;
119 clock-output-names = "osc";
120 };
121
122 ipp_di0: clock-di0 {
123 compatible = "fixed-clock";
124 #clock-cells = <0>;
125 clock-frequency = <0>;
126 clock-output-names = "ipp_di0";
127 };
128
129 ipp_di1: clock-di1 {
130 compatible = "fixed-clock";
131 #clock-cells = <0>;
132 clock-frequency = <0>;
133 clock-output-names = "ipp_di1";
134 };
135
Fabio Estevam1e989602017-11-29 16:54:35 -0200136 pmu {
137 compatible = "arm,cortex-a7-pmu";
138 interrupt-parent = <&gpc>;
139 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
Fabio Estevam1e989602017-11-29 16:54:35 -0200140 };
141
Frank Lia5fcccb2015-07-10 02:09:45 +0800142 soc {
143 #address-cells = <1>;
144 #size-cells = <1>;
145 compatible = "simple-bus";
Anson Huang18619ff2015-08-04 01:12:12 +0800146 interrupt-parent = <&gpc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800147 ranges;
148
Marco Franchiefb9adb2017-09-21 14:01:25 -0300149 ocram: sram@900000 {
Anson Huang322d09d2015-08-05 01:48:35 +0800150 compatible = "mmio-sram";
151 reg = <0x00900000 0x20000>;
152 };
153
Anson Huang8c1a1f42019-07-18 17:15:07 +0800154 intc: interrupt-controller@a01000 {
155 compatible = "arm,gic-400", "arm,cortex-a7-gic";
156 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
157 #interrupt-cells = <3>;
158 interrupt-controller;
159 interrupt-parent = <&intc>;
160 reg = <0x00a01000 0x1000>,
161 <0x00a02000 0x2000>,
162 <0x00a04000 0x2000>,
163 <0x00a06000 0x2000>;
164 };
165
Marco Franchiefb9adb2017-09-21 14:01:25 -0300166 dma_apbh: dma-apbh@1804000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100167 compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
168 reg = <0x01804000 0x2000>;
169 interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
170 <0 13 IRQ_TYPE_LEVEL_HIGH>,
171 <0 13 IRQ_TYPE_LEVEL_HIGH>,
172 <0 13 IRQ_TYPE_LEVEL_HIGH>;
173 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
174 #dma-cells = <1>;
175 dma-channels = <4>;
176 clocks = <&clks IMX6UL_CLK_APBHDMA>;
177 };
178
Anson Huang175808882020-07-30 21:04:06 +0800179 gpmi: nand-controller@1806000 {
Lothar Waßmann7d1cd292016-01-20 11:09:05 +0100180 compatible = "fsl,imx6q-gpmi-nand";
181 #address-cells = <1>;
182 #size-cells = <1>;
183 reg = <0x01806000 0x2000>, <0x01808000 0x2000>;
184 reg-names = "gpmi-nand", "bch";
185 interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
186 interrupt-names = "bch";
187 clocks = <&clks IMX6UL_CLK_GPMI_IO>,
188 <&clks IMX6UL_CLK_GPMI_APB>,
189 <&clks IMX6UL_CLK_GPMI_BCH>,
190 <&clks IMX6UL_CLK_GPMI_BCH_APB>,
191 <&clks IMX6UL_CLK_PER_BCH>;
192 clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
193 "gpmi_bch_apb", "per1_bch";
194 dmas = <&dma_apbh 0>;
195 dma-names = "rx-tx";
196 status = "disabled";
197 };
198
Peng Fanc0157bd2020-02-13 11:17:58 +0800199 aips1: bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800200 compatible = "fsl,aips-bus", "simple-bus";
201 #address-cells = <1>;
202 #size-cells = <1>;
203 reg = <0x02000000 0x100000>;
204 ranges;
205
Marco Franchiefb9adb2017-09-21 14:01:25 -0300206 spba-bus@2000000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800207 compatible = "fsl,spba-bus", "simple-bus";
208 #address-cells = <1>;
209 #size-cells = <1>;
210 reg = <0x02000000 0x40000>;
211 ranges;
212
Rob Herring5a2ecf02018-09-13 13:12:29 -0500213 ecspi1: spi@2008000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800214 #address-cells = <1>;
215 #size-cells = <0>;
216 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
217 reg = <0x02008000 0x4000>;
218 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
219 clocks = <&clks IMX6UL_CLK_ECSPI1>,
220 <&clks IMX6UL_CLK_ECSPI1>;
221 clock-names = "ipg", "per";
Robin Gongc6c0ad72019-06-10 16:17:50 +0800222 dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
223 dma-names = "rx", "tx";
Frank Lia5fcccb2015-07-10 02:09:45 +0800224 status = "disabled";
225 };
226
Rob Herring5a2ecf02018-09-13 13:12:29 -0500227 ecspi2: spi@200c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800228 #address-cells = <1>;
229 #size-cells = <0>;
230 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
231 reg = <0x0200c000 0x4000>;
232 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
233 clocks = <&clks IMX6UL_CLK_ECSPI2>,
234 <&clks IMX6UL_CLK_ECSPI2>;
235 clock-names = "ipg", "per";
Robin Gongc6c0ad72019-06-10 16:17:50 +0800236 dmas = <&sdma 5 7 1>, <&sdma 6 7 2>;
237 dma-names = "rx", "tx";
Frank Lia5fcccb2015-07-10 02:09:45 +0800238 status = "disabled";
239 };
240
Rob Herring5a2ecf02018-09-13 13:12:29 -0500241 ecspi3: spi@2010000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800242 #address-cells = <1>;
243 #size-cells = <0>;
244 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
245 reg = <0x02010000 0x4000>;
246 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
247 clocks = <&clks IMX6UL_CLK_ECSPI3>,
248 <&clks IMX6UL_CLK_ECSPI3>;
249 clock-names = "ipg", "per";
Robin Gongc6c0ad72019-06-10 16:17:50 +0800250 dmas = <&sdma 7 7 1>, <&sdma 8 7 2>;
251 dma-names = "rx", "tx";
Frank Lia5fcccb2015-07-10 02:09:45 +0800252 status = "disabled";
253 };
254
Rob Herring5a2ecf02018-09-13 13:12:29 -0500255 ecspi4: spi@2014000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800256 #address-cells = <1>;
257 #size-cells = <0>;
258 compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
259 reg = <0x02014000 0x4000>;
260 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
261 clocks = <&clks IMX6UL_CLK_ECSPI4>,
262 <&clks IMX6UL_CLK_ECSPI4>;
263 clock-names = "ipg", "per";
Robin Gongc6c0ad72019-06-10 16:17:50 +0800264 dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
265 dma-names = "rx", "tx";
Frank Lia5fcccb2015-07-10 02:09:45 +0800266 status = "disabled";
267 };
268
Marco Franchiefb9adb2017-09-21 14:01:25 -0300269 uart7: serial@2018000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800270 compatible = "fsl,imx6ul-uart",
271 "fsl,imx6q-uart";
272 reg = <0x02018000 0x4000>;
273 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
274 clocks = <&clks IMX6UL_CLK_UART7_IPG>,
275 <&clks IMX6UL_CLK_UART7_SERIAL>;
276 clock-names = "ipg", "per";
277 status = "disabled";
278 };
279
Marco Franchiefb9adb2017-09-21 14:01:25 -0300280 uart1: serial@2020000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800281 compatible = "fsl,imx6ul-uart",
282 "fsl,imx6q-uart";
283 reg = <0x02020000 0x4000>;
284 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
285 clocks = <&clks IMX6UL_CLK_UART1_IPG>,
286 <&clks IMX6UL_CLK_UART1_SERIAL>;
287 clock-names = "ipg", "per";
288 status = "disabled";
289 };
290
Marco Franchiefb9adb2017-09-21 14:01:25 -0300291 uart8: serial@2024000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800292 compatible = "fsl,imx6ul-uart",
293 "fsl,imx6q-uart";
294 reg = <0x02024000 0x4000>;
295 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
296 clocks = <&clks IMX6UL_CLK_UART8_IPG>,
297 <&clks IMX6UL_CLK_UART8_SERIAL>;
298 clock-names = "ipg", "per";
299 status = "disabled";
300 };
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100301
Marco Franchiefb9adb2017-09-21 14:01:25 -0300302 sai1: sai@2028000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100303 #sound-dai-cells = <0>;
304 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
305 reg = <0x02028000 0x4000>;
306 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
307 clocks = <&clks IMX6UL_CLK_SAI1_IPG>,
308 <&clks IMX6UL_CLK_SAI1>,
309 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
310 clock-names = "bus", "mclk1", "mclk2", "mclk3";
311 dmas = <&sdma 35 24 0>,
312 <&sdma 36 24 0>;
313 dma-names = "rx", "tx";
314 status = "disabled";
315 };
316
Marco Franchiefb9adb2017-09-21 14:01:25 -0300317 sai2: sai@202c000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100318 #sound-dai-cells = <0>;
319 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
320 reg = <0x0202c000 0x4000>;
321 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
322 clocks = <&clks IMX6UL_CLK_SAI2_IPG>,
323 <&clks IMX6UL_CLK_SAI2>,
324 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
325 clock-names = "bus", "mclk1", "mclk2", "mclk3";
326 dmas = <&sdma 37 24 0>,
327 <&sdma 38 24 0>;
328 dma-names = "rx", "tx";
329 status = "disabled";
330 };
331
Marco Franchiefb9adb2017-09-21 14:01:25 -0300332 sai3: sai@2030000 {
Lothar Waßmann36e2edf2016-01-20 11:09:03 +0100333 #sound-dai-cells = <0>;
334 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
335 reg = <0x02030000 0x4000>;
336 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
337 clocks = <&clks IMX6UL_CLK_SAI3_IPG>,
338 <&clks IMX6UL_CLK_SAI3>,
339 <&clks IMX6UL_CLK_DUMMY>, <&clks IMX6UL_CLK_DUMMY>;
340 clock-names = "bus", "mclk1", "mclk2", "mclk3";
341 dmas = <&sdma 39 24 0>,
342 <&sdma 40 24 0>;
343 dma-names = "rx", "tx";
344 status = "disabled";
345 };
Shengjiu Wang7c2b3252020-07-01 11:46:56 +0800346
347 asrc: asrc@2034000 {
348 compatible = "fsl,imx6ul-asrc", "fsl,imx53-asrc";
349 reg = <0x2034000 0x4000>;
350 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
351 clocks = <&clks IMX6UL_CLK_ASRC_IPG>,
352 <&clks IMX6UL_CLK_ASRC_MEM>, <&clks 0>,
353 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
354 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
355 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
356 <&clks IMX6UL_CLK_SPDIF>, <&clks 0>, <&clks 0>,
357 <&clks IMX6UL_CLK_SPBA>;
358 clock-names = "mem", "ipg", "asrck_0",
359 "asrck_1", "asrck_2", "asrck_3", "asrck_4",
360 "asrck_5", "asrck_6", "asrck_7", "asrck_8",
361 "asrck_9", "asrck_a", "asrck_b", "asrck_c",
362 "asrck_d", "asrck_e", "asrck_f", "spba";
363 dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, <&sdma 19 23 1>,
364 <&sdma 20 23 1>, <&sdma 21 23 1>, <&sdma 22 23 1>;
365 dma-names = "rxa", "rxb", "rxc",
366 "txa", "txb", "txc";
367 fsl,asrc-rate = <48000>;
368 fsl,asrc-width = <16>;
369 status = "okay";
370 };
Frank Lia5fcccb2015-07-10 02:09:45 +0800371 };
372
Marco Franchiefb9adb2017-09-21 14:01:25 -0300373 tsc: tsc@2040000 {
Lothar Waßmann302e01b2016-01-20 11:08:55 +0100374 compatible = "fsl,imx6ul-tsc";
375 reg = <0x02040000 0x4000>, <0x0219c000 0x4000>;
376 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
377 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
378 clocks = <&clks IMX6UL_CLK_IPG>,
379 <&clks IMX6UL_CLK_ADC2>;
380 clock-names = "tsc", "adc";
381 status = "disabled";
382 };
383
Marco Franchiefb9adb2017-09-21 14:01:25 -0300384 pwm1: pwm@2080000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100385 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
386 reg = <0x02080000 0x4000>;
Sébastien Szymanski3cf10132019-06-18 17:58:34 +0200387 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100388 clocks = <&clks IMX6UL_CLK_PWM1>,
389 <&clks IMX6UL_CLK_PWM1>;
390 clock-names = "ipg", "per";
Uwe Kleine-Königfa28d822020-07-10 07:19:37 +0200391 #pwm-cells = <3>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100392 status = "disabled";
393 };
394
Marco Franchiefb9adb2017-09-21 14:01:25 -0300395 pwm2: pwm@2084000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100396 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
397 reg = <0x02084000 0x4000>;
Sébastien Szymanski3cf10132019-06-18 17:58:34 +0200398 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100399 clocks = <&clks IMX6UL_CLK_PWM2>,
400 <&clks IMX6UL_CLK_PWM2>;
401 clock-names = "ipg", "per";
Uwe Kleine-Königfa28d822020-07-10 07:19:37 +0200402 #pwm-cells = <3>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100403 status = "disabled";
404 };
405
Marco Franchiefb9adb2017-09-21 14:01:25 -0300406 pwm3: pwm@2088000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100407 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
408 reg = <0x02088000 0x4000>;
Sébastien Szymanski3cf10132019-06-18 17:58:34 +0200409 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100410 clocks = <&clks IMX6UL_CLK_PWM3>,
411 <&clks IMX6UL_CLK_PWM3>;
412 clock-names = "ipg", "per";
Uwe Kleine-Königfa28d822020-07-10 07:19:37 +0200413 #pwm-cells = <3>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100414 status = "disabled";
415 };
416
Marco Franchiefb9adb2017-09-21 14:01:25 -0300417 pwm4: pwm@208c000 {
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100418 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
419 reg = <0x0208c000 0x4000>;
Sébastien Szymanski3cf10132019-06-18 17:58:34 +0200420 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100421 clocks = <&clks IMX6UL_CLK_PWM4>,
422 <&clks IMX6UL_CLK_PWM4>;
423 clock-names = "ipg", "per";
Uwe Kleine-Königfa28d822020-07-10 07:19:37 +0200424 #pwm-cells = <3>;
Lothar Waßmannb9901fe2016-01-20 11:09:00 +0100425 status = "disabled";
426 };
427
Marc Kleine-Budde21658d52020-11-11 14:05:05 +0100428 can1: can@2090000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100429 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
430 reg = <0x02090000 0x4000>;
431 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
432 clocks = <&clks IMX6UL_CLK_CAN1_IPG>,
433 <&clks IMX6UL_CLK_CAN1_SERIAL>;
434 clock-names = "ipg", "per";
Oleksij Rempel73db2152020-10-16 09:51:58 +0200435 fsl,stop-mode = <&gpr 0x10 1>;
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100436 status = "disabled";
437 };
438
Marc Kleine-Budde21658d52020-11-11 14:05:05 +0100439 can2: can@2094000 {
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100440 compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan";
441 reg = <0x02094000 0x4000>;
442 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
443 clocks = <&clks IMX6UL_CLK_CAN2_IPG>,
444 <&clks IMX6UL_CLK_CAN2_SERIAL>;
445 clock-names = "ipg", "per";
Oleksij Rempel73db2152020-10-16 09:51:58 +0200446 fsl,stop-mode = <&gpr 0x10 2>;
Lothar Waßmannc4aac1b2016-01-20 11:09:02 +0100447 status = "disabled";
448 };
449
Anson Huang7c48b082020-02-13 10:52:56 +0800450 gpt1: timer@2098000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800451 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
452 reg = <0x02098000 0x4000>;
453 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
454 clocks = <&clks IMX6UL_CLK_GPT1_BUS>,
455 <&clks IMX6UL_CLK_GPT1_SERIAL>;
456 clock-names = "ipg", "per";
457 };
458
Marco Franchiefb9adb2017-09-21 14:01:25 -0300459 gpio1: gpio@209c000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800460 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
461 reg = <0x0209c000 0x4000>;
462 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
463 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800464 clocks = <&clks IMX6UL_CLK_GPIO1>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800465 gpio-controller;
466 #gpio-cells = <2>;
467 interrupt-controller;
468 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300469 gpio-ranges = <&iomuxc 0 23 10>, <&iomuxc 10 17 6>,
470 <&iomuxc 16 33 16>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800471 };
472
Marco Franchiefb9adb2017-09-21 14:01:25 -0300473 gpio2: gpio@20a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800474 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
475 reg = <0x020a0000 0x4000>;
476 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
477 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800478 clocks = <&clks IMX6UL_CLK_GPIO2>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800479 gpio-controller;
480 #gpio-cells = <2>;
481 interrupt-controller;
482 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300483 gpio-ranges = <&iomuxc 0 49 16>, <&iomuxc 16 111 6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800484 };
485
Marco Franchiefb9adb2017-09-21 14:01:25 -0300486 gpio3: gpio@20a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800487 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
488 reg = <0x020a4000 0x4000>;
489 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
490 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800491 clocks = <&clks IMX6UL_CLK_GPIO3>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800492 gpio-controller;
493 #gpio-cells = <2>;
494 interrupt-controller;
495 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300496 gpio-ranges = <&iomuxc 0 65 29>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800497 };
498
Marco Franchiefb9adb2017-09-21 14:01:25 -0300499 gpio4: gpio@20a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800500 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
501 reg = <0x020a8000 0x4000>;
502 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
503 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800504 clocks = <&clks IMX6UL_CLK_GPIO4>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800505 gpio-controller;
506 #gpio-cells = <2>;
507 interrupt-controller;
508 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300509 gpio-ranges = <&iomuxc 0 94 17>, <&iomuxc 17 117 12>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800510 };
511
Marco Franchiefb9adb2017-09-21 14:01:25 -0300512 gpio5: gpio@20ac000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800513 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
514 reg = <0x020ac000 0x4000>;
515 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
516 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Anson Huangbc36b2a2018-06-03 09:44:05 +0800517 clocks = <&clks IMX6UL_CLK_GPIO5>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800518 gpio-controller;
519 #gpio-cells = <2>;
520 interrupt-controller;
521 #interrupt-cells = <2>;
Vladimir Zapolskiybb728d62016-09-09 05:02:36 +0300522 gpio-ranges = <&iomuxc 0 7 10>, <&iomuxc 10 5 2>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800523 };
524
Marco Franchiefb9adb2017-09-21 14:01:25 -0300525 fec2: ethernet@20b4000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800526 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
527 reg = <0x020b4000 0x4000>;
Troy Kiskye94a2302017-11-03 10:29:58 -0700528 interrupt-names = "int0", "pps";
Fugang Duan01f3dc72015-07-28 15:30:41 +0800529 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
530 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
531 clocks = <&clks IMX6UL_CLK_ENET>,
532 <&clks IMX6UL_CLK_ENET_AHB>,
533 <&clks IMX6UL_CLK_ENET_PTP>,
534 <&clks IMX6UL_CLK_ENET2_REF_125M>,
535 <&clks IMX6UL_CLK_ENET2_REF_125M>;
536 clock-names = "ipg", "ahb", "ptp",
537 "enet_clk_ref", "enet_out";
Krzysztof Kozlowski2a44db12019-07-27 16:26:40 +0200538 fsl,num-tx-queues = <1>;
539 fsl,num-rx-queues = <1>;
Fugang Duand009a622020-05-26 00:27:12 +0800540 fsl,stop-mode = <&gpr 0x10 4>;
Joakim Zhangd36f9642021-01-16 16:44:27 +0800541 fsl,magic-packet;
Fugang Duan01f3dc72015-07-28 15:30:41 +0800542 status = "disabled";
543 };
544
Anson Huangb0bb4fb2020-02-14 10:11:29 +0800545 kpp: keypad@20b8000 {
Lothar Waßmannea1c1752016-01-20 11:09:08 +0100546 compatible = "fsl,imx6ul-kpp", "fsl,imx6q-kpp", "fsl,imx21-kpp";
547 reg = <0x020b8000 0x4000>;
548 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
549 clocks = <&clks IMX6UL_CLK_KPP>;
550 status = "disabled";
551 };
552
Anson Huangbffe02c2020-02-21 10:13:20 +0800553 wdog1: watchdog@20bc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800554 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
555 reg = <0x020bc000 0x4000>;
556 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
557 clocks = <&clks IMX6UL_CLK_WDOG1>;
558 };
559
Anson Huangbffe02c2020-02-21 10:13:20 +0800560 wdog2: watchdog@20c0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800561 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
562 reg = <0x020c0000 0x4000>;
563 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
564 clocks = <&clks IMX6UL_CLK_WDOG2>;
565 status = "disabled";
566 };
567
Anson Huang993de772020-02-14 10:59:36 +0800568 clks: clock-controller@20c4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800569 compatible = "fsl,imx6ul-ccm";
570 reg = <0x020c4000 0x4000>;
571 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
572 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
573 #clock-cells = <1>;
574 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
575 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
576 };
577
Marco Franchiefb9adb2017-09-21 14:01:25 -0300578 anatop: anatop@20c8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800579 compatible = "fsl,imx6ul-anatop", "fsl,imx6q-anatop",
Fabio Estevam16d46c52019-09-11 15:34:19 -0300580 "syscon", "simple-mfd";
Frank Lia5fcccb2015-07-10 02:09:45 +0800581 reg = <0x020c8000 0x1000>;
582 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
583 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
584 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
585
Fabio Estevam71db3942018-05-14 10:31:54 -0300586 reg_3p0: regulator-3p0 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800587 compatible = "fsl,anatop-regulator";
588 regulator-name = "vdd3p0";
589 regulator-min-microvolt = <2625000>;
590 regulator-max-microvolt = <3400000>;
591 anatop-reg-offset = <0x120>;
592 anatop-vol-bit-shift = <8>;
593 anatop-vol-bit-width = <5>;
594 anatop-min-bit-val = <0>;
595 anatop-min-voltage = <2625000>;
596 anatop-max-voltage = <3400000>;
Andrey Smirnov38281a42017-05-15 07:52:59 -0700597 anatop-enable-bit = <0>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800598 };
599
Fabio Estevam71db3942018-05-14 10:31:54 -0300600 reg_arm: regulator-vddcore {
Frank Lia5fcccb2015-07-10 02:09:45 +0800601 compatible = "fsl,anatop-regulator";
602 regulator-name = "cpu";
603 regulator-min-microvolt = <725000>;
604 regulator-max-microvolt = <1450000>;
605 regulator-always-on;
606 anatop-reg-offset = <0x140>;
607 anatop-vol-bit-shift = <0>;
608 anatop-vol-bit-width = <5>;
609 anatop-delay-reg-offset = <0x170>;
610 anatop-delay-bit-shift = <24>;
611 anatop-delay-bit-width = <2>;
612 anatop-min-bit-val = <1>;
613 anatop-min-voltage = <725000>;
614 anatop-max-voltage = <1450000>;
615 };
616
Fabio Estevam71db3942018-05-14 10:31:54 -0300617 reg_soc: regulator-vddsoc {
Frank Lia5fcccb2015-07-10 02:09:45 +0800618 compatible = "fsl,anatop-regulator";
619 regulator-name = "vddsoc";
620 regulator-min-microvolt = <725000>;
621 regulator-max-microvolt = <1450000>;
622 regulator-always-on;
623 anatop-reg-offset = <0x140>;
624 anatop-vol-bit-shift = <18>;
625 anatop-vol-bit-width = <5>;
626 anatop-delay-reg-offset = <0x170>;
627 anatop-delay-bit-shift = <28>;
628 anatop-delay-bit-width = <2>;
629 anatop-min-bit-val = <1>;
630 anatop-min-voltage = <725000>;
631 anatop-max-voltage = <1450000>;
632 };
Anson Huang915e1962020-05-20 14:30:16 +0800633
634 tempmon: tempmon {
635 compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon";
636 interrupt-parent = <&gpc>;
637 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
638 fsl,tempmon = <&anatop>;
639 nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
640 nvmem-cell-names = "calib", "temp_grade";
641 clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>;
642 };
Frank Lia5fcccb2015-07-10 02:09:45 +0800643 };
644
Marco Franchiefb9adb2017-09-21 14:01:25 -0300645 usbphy1: usbphy@20c9000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800646 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
647 reg = <0x020c9000 0x1000>;
648 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
649 clocks = <&clks IMX6UL_CLK_USBPHY1>;
650 phy-3p0-supply = <&reg_3p0>;
651 fsl,anatop = <&anatop>;
652 };
653
Marco Franchiefb9adb2017-09-21 14:01:25 -0300654 usbphy2: usbphy@20ca000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800655 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
656 reg = <0x020ca000 0x1000>;
657 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
658 clocks = <&clks IMX6UL_CLK_USBPHY2>;
659 phy-3p0-supply = <&reg_3p0>;
660 fsl,anatop = <&anatop>;
661 };
662
Marco Franchiefb9adb2017-09-21 14:01:25 -0300663 snvs: snvs@20cc000 {
Anson Huang5b032872015-08-04 23:54:58 +0800664 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
665 reg = <0x020cc000 0x4000>;
666
667 snvs_rtc: snvs-rtc-lp {
668 compatible = "fsl,sec-v4.0-mon-rtc-lp";
669 regmap = <&snvs>;
670 offset = <0x34>;
671 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
672 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
673 };
Anson Huang36032572015-08-06 16:16:01 +0800674
Anson Huangab0a05d2015-09-06 15:29:34 +0800675 snvs_poweroff: snvs-poweroff {
676 compatible = "syscon-poweroff";
677 regmap = <&snvs>;
678 offset = <0x38>;
Guy Shapiro87a84c62017-07-04 18:19:12 +0200679 value = <0x60>;
Anson Huangab0a05d2015-09-06 15:29:34 +0800680 mask = <0x60>;
681 status = "disabled";
682 };
683
Anson Huang36032572015-08-06 16:16:01 +0800684 snvs_pwrkey: snvs-powerkey {
685 compatible = "fsl,sec-v4.0-pwrkey";
686 regmap = <&snvs>;
687 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
688 linux,keycode = <KEY_POWER>;
689 wakeup-source;
Anson Huang052ce6f2019-06-13 11:35:24 +0800690 status = "disabled";
Anson Huang36032572015-08-06 16:16:01 +0800691 };
Oleksij Rempela53745d2017-06-20 09:09:32 +0200692
693 snvs_lpgpr: snvs-lpgpr {
694 compatible = "fsl,imx6ul-snvs-lpgpr";
695 };
Anson Huang5b032872015-08-04 23:54:58 +0800696 };
697
Marco Franchiefb9adb2017-09-21 14:01:25 -0300698 epit1: epit@20d0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800699 reg = <0x020d0000 0x4000>;
700 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
701 };
702
Marco Franchiefb9adb2017-09-21 14:01:25 -0300703 epit2: epit@20d4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800704 reg = <0x020d4000 0x4000>;
705 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
706 };
707
Anson Huangeb998542020-05-18 20:39:53 +0800708 src: reset-controller@20d8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800709 compatible = "fsl,imx6ul-src", "fsl,imx51-src";
710 reg = <0x020d8000 0x4000>;
711 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
712 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
713 #reset-cells = <1>;
714 };
715
Marco Franchiefb9adb2017-09-21 14:01:25 -0300716 gpc: gpc@20dc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800717 compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
718 reg = <0x020dc000 0x4000>;
Anson Huang18619ff2015-08-04 01:12:12 +0800719 interrupt-controller;
720 #interrupt-cells = <3>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800721 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Anson Huang18619ff2015-08-04 01:12:12 +0800722 interrupt-parent = <&intc>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800723 };
724
Anson Huang68472002020-02-26 13:36:18 +0800725 iomuxc: pinctrl@20e0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800726 compatible = "fsl,imx6ul-iomuxc";
727 reg = <0x020e0000 0x4000>;
728 };
729
Marco Franchiefb9adb2017-09-21 14:01:25 -0300730 gpr: iomuxc-gpr@20e4000 {
Anson Huang0f39c502016-08-29 22:25:43 +0800731 compatible = "fsl,imx6ul-iomuxc-gpr",
732 "fsl,imx6q-iomuxc-gpr", "syscon";
Frank Lia5fcccb2015-07-10 02:09:45 +0800733 reg = <0x020e4000 0x4000>;
734 };
735
Anson Huang7c48b082020-02-13 10:52:56 +0800736 gpt2: timer@20e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800737 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
738 reg = <0x020e8000 0x4000>;
739 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannd97ca992016-01-20 11:08:57 +0100740 clocks = <&clks IMX6UL_CLK_GPT2_BUS>,
741 <&clks IMX6UL_CLK_GPT2_SERIAL>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800742 clock-names = "ipg", "per";
Anson Huangc4e88bb2019-10-24 10:59:25 +0800743 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800744 };
745
Marco Franchiefb9adb2017-09-21 14:01:25 -0300746 sdma: sdma@20ec000 {
Lothar Waßmann76758c62016-01-20 11:09:01 +0100747 compatible = "fsl,imx6ul-sdma", "fsl,imx6q-sdma",
748 "fsl,imx35-sdma";
749 reg = <0x020ec000 0x4000>;
750 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Andrey Smirnov7b3132e2019-03-28 23:49:19 -0700751 clocks = <&clks IMX6UL_CLK_IPG>,
Lothar Waßmann76758c62016-01-20 11:09:01 +0100752 <&clks IMX6UL_CLK_SDMA>;
753 clock-names = "ipg", "ahb";
754 #dma-cells = <3>;
755 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
756 };
757
Marco Franchiefb9adb2017-09-21 14:01:25 -0300758 pwm5: pwm@20f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800759 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
760 reg = <0x020f0000 0x4000>;
761 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100762 clocks = <&clks IMX6UL_CLK_PWM5>,
763 <&clks IMX6UL_CLK_PWM5>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800764 clock-names = "ipg", "per";
Uwe Kleine-Königfa28d822020-07-10 07:19:37 +0200765 #pwm-cells = <3>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100766 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800767 };
768
Marco Franchiefb9adb2017-09-21 14:01:25 -0300769 pwm6: pwm@20f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800770 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
771 reg = <0x020f4000 0x4000>;
772 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100773 clocks = <&clks IMX6UL_CLK_PWM6>,
774 <&clks IMX6UL_CLK_PWM6>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800775 clock-names = "ipg", "per";
Uwe Kleine-Königfa28d822020-07-10 07:19:37 +0200776 #pwm-cells = <3>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100777 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800778 };
779
Marco Franchiefb9adb2017-09-21 14:01:25 -0300780 pwm7: pwm@20f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800781 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
782 reg = <0x020f8000 0x4000>;
783 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100784 clocks = <&clks IMX6UL_CLK_PWM7>,
785 <&clks IMX6UL_CLK_PWM7>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800786 clock-names = "ipg", "per";
Uwe Kleine-Königfa28d822020-07-10 07:19:37 +0200787 #pwm-cells = <3>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100788 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800789 };
790
Marco Franchiefb9adb2017-09-21 14:01:25 -0300791 pwm8: pwm@20fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800792 compatible = "fsl,imx6ul-pwm", "fsl,imx27-pwm";
793 reg = <0x020fc000 0x4000>;
794 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Lothar Waßmannc530d232016-01-20 11:08:58 +0100795 clocks = <&clks IMX6UL_CLK_PWM8>,
796 <&clks IMX6UL_CLK_PWM8>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800797 clock-names = "ipg", "per";
Uwe Kleine-Königfa28d822020-07-10 07:19:37 +0200798 #pwm-cells = <3>;
Lothar Waßmanndd135092016-01-20 11:08:59 +0100799 status = "disabled";
Frank Lia5fcccb2015-07-10 02:09:45 +0800800 };
801 };
802
Peng Fanc0157bd2020-02-13 11:17:58 +0800803 aips2: bus@2100000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800804 compatible = "fsl,aips-bus", "simple-bus";
805 #address-cells = <1>;
806 #size-cells = <1>;
807 reg = <0x02100000 0x100000>;
808 ranges;
809
Horia Geantă6cef60f2020-03-05 15:59:08 +0200810 crypto: crypto@2140000 {
Fabio Estevam8c371732018-04-14 17:55:30 -0300811 compatible = "fsl,imx6ul-caam", "fsl,sec-v4.0";
812 #address-cells = <1>;
813 #size-cells = <1>;
814 reg = <0x2140000 0x3c000>;
815 ranges = <0 0x2140000 0x3c000>;
816 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
817 clocks = <&clks IMX6UL_CLK_CAAM_IPG>, <&clks IMX6UL_CLK_CAAM_ACLK>,
818 <&clks IMX6UL_CLK_CAAM_MEM>;
819 clock-names = "ipg", "aclk", "mem";
820
Horia Geantă6cef60f2020-03-05 15:59:08 +0200821 sec_jr0: jr@1000 {
Fabio Estevam8c371732018-04-14 17:55:30 -0300822 compatible = "fsl,sec-v4.0-job-ring";
823 reg = <0x1000 0x1000>;
824 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
825 };
826
Horia Geantă6cef60f2020-03-05 15:59:08 +0200827 sec_jr1: jr@2000 {
Fabio Estevam8c371732018-04-14 17:55:30 -0300828 compatible = "fsl,sec-v4.0-job-ring";
829 reg = <0x2000 0x1000>;
830 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
831 };
832
Horia Geantă6cef60f2020-03-05 15:59:08 +0200833 sec_jr2: jr@3000 {
Fabio Estevam8c371732018-04-14 17:55:30 -0300834 compatible = "fsl,sec-v4.0-job-ring";
835 reg = <0x3000 0x1000>;
836 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
837 };
838 };
839
Marco Franchiefb9adb2017-09-21 14:01:25 -0300840 usbotg1: usb@2184000 {
Frank Licad2cb62015-07-17 04:03:16 +0800841 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
842 reg = <0x02184000 0x200>;
843 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
844 clocks = <&clks IMX6UL_CLK_USBOH3>;
845 fsl,usbphy = <&usbphy1>;
846 fsl,usbmisc = <&usbmisc 0>;
847 fsl,anatop = <&anatop>;
Peter Chen9493bf52015-09-30 10:17:16 +0800848 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800849 tx-burst-size-dword = <0x10>;
850 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800851 status = "disabled";
852 };
853
Marco Franchiefb9adb2017-09-21 14:01:25 -0300854 usbotg2: usb@2184200 {
Frank Licad2cb62015-07-17 04:03:16 +0800855 compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
856 reg = <0x02184200 0x200>;
857 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
858 clocks = <&clks IMX6UL_CLK_USBOH3>;
859 fsl,usbphy = <&usbphy2>;
860 fsl,usbmisc = <&usbmisc 1>;
Peter Chen9493bf52015-09-30 10:17:16 +0800861 ahb-burst-config = <0x0>;
Peter Chen2b1a40e2015-09-30 10:17:17 +0800862 tx-burst-size-dword = <0x10>;
863 rx-burst-size-dword = <0x10>;
Frank Licad2cb62015-07-17 04:03:16 +0800864 status = "disabled";
865 };
866
Marco Franchiefb9adb2017-09-21 14:01:25 -0300867 usbmisc: usbmisc@2184800 {
Frank Licad2cb62015-07-17 04:03:16 +0800868 #index-cells = <1>;
869 compatible = "fsl,imx6ul-usbmisc", "fsl,imx6q-usbmisc";
870 reg = <0x02184800 0x200>;
871 };
872
Marco Franchiefb9adb2017-09-21 14:01:25 -0300873 fec1: ethernet@2188000 {
Fugang Duan01f3dc72015-07-28 15:30:41 +0800874 compatible = "fsl,imx6ul-fec", "fsl,imx6q-fec";
875 reg = <0x02188000 0x4000>;
Troy Kiskye94a2302017-11-03 10:29:58 -0700876 interrupt-names = "int0", "pps";
Fugang Duan01f3dc72015-07-28 15:30:41 +0800877 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
878 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
879 clocks = <&clks IMX6UL_CLK_ENET>,
880 <&clks IMX6UL_CLK_ENET_AHB>,
881 <&clks IMX6UL_CLK_ENET_PTP>,
882 <&clks IMX6UL_CLK_ENET_REF>,
883 <&clks IMX6UL_CLK_ENET_REF>;
884 clock-names = "ipg", "ahb", "ptp",
885 "enet_clk_ref", "enet_out";
Krzysztof Kozlowski2a44db12019-07-27 16:26:40 +0200886 fsl,num-tx-queues = <1>;
887 fsl,num-rx-queues = <1>;
Fugang Duand009a622020-05-26 00:27:12 +0800888 fsl,stop-mode = <&gpr 0x10 3>;
Joakim Zhangd36f9642021-01-16 16:44:27 +0800889 fsl,magic-packet;
Fugang Duan01f3dc72015-07-28 15:30:41 +0800890 status = "disabled";
891 };
892
Anson Huanga6d09442020-06-02 14:24:52 +0800893 usdhc1: mmc@2190000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800894 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
895 reg = <0x02190000 0x4000>;
896 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
897 clocks = <&clks IMX6UL_CLK_USDHC1>,
898 <&clks IMX6UL_CLK_USDHC1>,
899 <&clks IMX6UL_CLK_USDHC1>;
900 clock-names = "ipg", "ahb", "per";
Krzysztof Kozlowski2a44db12019-07-27 16:26:40 +0200901 fsl,tuning-step = <2>;
Igor Opaniuk20353142019-06-06 12:06:12 +0300902 fsl,tuning-start-tap = <20>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800903 bus-width = <4>;
904 status = "disabled";
905 };
906
Anson Huanga6d09442020-06-02 14:24:52 +0800907 usdhc2: mmc@2194000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800908 compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
909 reg = <0x02194000 0x4000>;
910 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
911 clocks = <&clks IMX6UL_CLK_USDHC2>,
912 <&clks IMX6UL_CLK_USDHC2>,
913 <&clks IMX6UL_CLK_USDHC2>;
914 clock-names = "ipg", "ahb", "per";
915 bus-width = <4>;
Krzysztof Kozlowski2a44db12019-07-27 16:26:40 +0200916 fsl,tuning-step = <2>;
Igor Opaniuk20353142019-06-06 12:06:12 +0300917 fsl,tuning-start-tap = <20>;
Frank Lia5fcccb2015-07-10 02:09:45 +0800918 status = "disabled";
919 };
920
Marco Franchiefb9adb2017-09-21 14:01:25 -0300921 adc1: adc@2198000 {
Fabio Estevamaab8ec02015-11-04 10:54:50 -0200922 compatible = "fsl,imx6ul-adc", "fsl,vf610-adc";
923 reg = <0x02198000 0x4000>;
924 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
925 clocks = <&clks IMX6UL_CLK_ADC1>;
926 num-channels = <2>;
927 clock-names = "adc";
928 fsl,adck-max-frequency = <30000000>, <40000000>,
929 <20000000>;
930 status = "disabled";
931 };
932
Marco Franchiefb9adb2017-09-21 14:01:25 -0300933 i2c1: i2c@21a0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800934 #address-cells = <1>;
935 #size-cells = <0>;
936 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
937 reg = <0x021a0000 0x4000>;
938 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
939 clocks = <&clks IMX6UL_CLK_I2C1>;
940 status = "disabled";
941 };
942
Marco Franchiefb9adb2017-09-21 14:01:25 -0300943 i2c2: i2c@21a4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800944 #address-cells = <1>;
945 #size-cells = <0>;
946 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
947 reg = <0x021a4000 0x4000>;
948 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
949 clocks = <&clks IMX6UL_CLK_I2C2>;
950 status = "disabled";
951 };
952
Marco Franchiefb9adb2017-09-21 14:01:25 -0300953 i2c3: i2c@21a8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +0800954 #address-cells = <1>;
955 #size-cells = <0>;
956 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
957 reg = <0x021a8000 0x4000>;
958 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
959 clocks = <&clks IMX6UL_CLK_I2C3>;
960 status = "disabled";
961 };
962
Anson Huang476f6e52019-03-12 02:24:16 +0000963 memory-controller@21b0000 {
Anson Huang51a37442015-08-05 01:48:36 +0800964 compatible = "fsl,imx6ul-mmdc", "fsl,imx6q-mmdc";
965 reg = <0x021b0000 0x4000>;
Anson Huang39db0e12018-08-31 15:53:18 +0800966 clocks = <&clks IMX6UL_CLK_MMDC_P0_IPG>;
Anson Huang51a37442015-08-05 01:48:36 +0800967 };
968
Sébastien Szymanski3494cfb2018-08-27 10:01:27 +0200969 weim: weim@21b8000 {
970 #address-cells = <2>;
971 #size-cells = <1>;
972 compatible = "fsl,imx6ul-weim", "fsl,imx6q-weim";
973 reg = <0x021b8000 0x4000>;
974 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
975 clocks = <&clks IMX6UL_CLK_EIM>;
976 fsl,weim-cs-gpr = <&gpr>;
977 status = "disabled";
978 };
979
Anson Huanga1abd672020-05-28 11:12:47 +0800980 ocotp: efuse@21bc000 {
Leonard Crestez2067b752017-07-14 17:11:10 +0300981 #address-cells = <1>;
982 #size-cells = <1>;
Bai Ping86864392016-11-17 09:08:19 +0800983 compatible = "fsl,imx6ul-ocotp", "syscon";
984 reg = <0x021bc000 0x4000>;
985 clocks = <&clks IMX6UL_CLK_OCOTP>;
Leonard Crestez2067b752017-07-14 17:11:10 +0300986
987 tempmon_calib: calib@38 {
988 reg = <0x38 4>;
989 };
990
991 tempmon_temp_grade: temp-grade@20 {
992 reg = <0x20 4>;
993 };
Anson Huang92f0eb02018-09-14 10:59:21 +0800994
995 cpu_speed_grade: speed-grade@10 {
996 reg = <0x10 4>;
997 };
Bai Ping86864392016-11-17 09:08:19 +0800998 };
999
Sébastien Szymanskidce84022019-07-31 18:32:57 +02001000 csi: csi@21c4000 {
1001 compatible = "fsl,imx6ul-csi", "fsl,imx7-csi";
1002 reg = <0x021c4000 0x4000>;
1003 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1004 clocks = <&clks IMX6UL_CLK_CSI>;
1005 clock-names = "mclk";
1006 status = "disabled";
1007 };
1008
Marco Franchiefb9adb2017-09-21 14:01:25 -03001009 lcdif: lcdif@21c8000 {
Lothar Waßmann6fe01eb2016-01-20 11:09:04 +01001010 compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif";
1011 reg = <0x021c8000 0x4000>;
1012 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1013 clocks = <&clks IMX6UL_CLK_LCDIF_PIX>,
1014 <&clks IMX6UL_CLK_LCDIF_APB>,
1015 <&clks IMX6UL_CLK_DUMMY>;
1016 clock-names = "pix", "axi", "disp_axi";
1017 status = "disabled";
1018 };
1019
Sébastien Szymanski470f2482019-06-13 12:23:55 +02001020 pxp: pxp@21cc000 {
1021 compatible = "fsl,imx6ul-pxp";
1022 reg = <0x021cc000 0x4000>;
1023 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1024 clocks = <&clks IMX6UL_CLK_PXP>;
1025 clock-names = "axi";
1026 };
1027
Rob Herring5a2ecf02018-09-13 13:12:29 -05001028 qspi: spi@21e0000 {
Frank Li5ff807a2015-07-21 03:33:53 +08001029 #address-cells = <1>;
1030 #size-cells = <0>;
1031 compatible = "fsl,imx6ul-qspi", "fsl,imx6sx-qspi";
1032 reg = <0x021e0000 0x4000>, <0x60000000 0x10000000>;
1033 reg-names = "QuadSPI", "QuadSPI-memory";
1034 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1035 clocks = <&clks IMX6UL_CLK_QSPI>,
1036 <&clks IMX6UL_CLK_QSPI>;
1037 clock-names = "qspi_en", "qspi";
1038 status = "disabled";
1039 };
1040
Anson Huangbffe02c2020-02-21 10:13:20 +08001041 wdog3: watchdog@21e4000 {
Jörg Krausefa2f2572018-02-25 02:24:46 +01001042 compatible = "fsl,imx6ul-wdt", "fsl,imx21-wdt";
1043 reg = <0x021e4000 0x4000>;
1044 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1045 clocks = <&clks IMX6UL_CLK_WDOG3>;
1046 status = "disabled";
1047 };
1048
Marco Franchiefb9adb2017-09-21 14:01:25 -03001049 uart2: serial@21e8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001050 compatible = "fsl,imx6ul-uart",
1051 "fsl,imx6q-uart";
1052 reg = <0x021e8000 0x4000>;
1053 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
1054 clocks = <&clks IMX6UL_CLK_UART2_IPG>,
1055 <&clks IMX6UL_CLK_UART2_SERIAL>;
1056 clock-names = "ipg", "per";
1057 status = "disabled";
1058 };
1059
Marco Franchiefb9adb2017-09-21 14:01:25 -03001060 uart3: serial@21ec000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001061 compatible = "fsl,imx6ul-uart",
1062 "fsl,imx6q-uart";
1063 reg = <0x021ec000 0x4000>;
1064 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
1065 clocks = <&clks IMX6UL_CLK_UART3_IPG>,
1066 <&clks IMX6UL_CLK_UART3_SERIAL>;
1067 clock-names = "ipg", "per";
1068 status = "disabled";
1069 };
1070
Marco Franchiefb9adb2017-09-21 14:01:25 -03001071 uart4: serial@21f0000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001072 compatible = "fsl,imx6ul-uart",
1073 "fsl,imx6q-uart";
1074 reg = <0x021f0000 0x4000>;
1075 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1076 clocks = <&clks IMX6UL_CLK_UART4_IPG>,
1077 <&clks IMX6UL_CLK_UART4_SERIAL>;
1078 clock-names = "ipg", "per";
1079 status = "disabled";
1080 };
1081
Marco Franchiefb9adb2017-09-21 14:01:25 -03001082 uart5: serial@21f4000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001083 compatible = "fsl,imx6ul-uart",
1084 "fsl,imx6q-uart";
1085 reg = <0x021f4000 0x4000>;
1086 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1087 clocks = <&clks IMX6UL_CLK_UART5_IPG>,
1088 <&clks IMX6UL_CLK_UART5_SERIAL>;
1089 clock-names = "ipg", "per";
1090 status = "disabled";
1091 };
1092
Marco Franchiefb9adb2017-09-21 14:01:25 -03001093 i2c4: i2c@21f8000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001094 #address-cells = <1>;
1095 #size-cells = <0>;
1096 compatible = "fsl,imx6ul-i2c", "fsl,imx21-i2c";
1097 reg = <0x021f8000 0x4000>;
1098 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1099 clocks = <&clks IMX6UL_CLK_I2C4>;
1100 status = "disabled";
1101 };
1102
Marco Franchiefb9adb2017-09-21 14:01:25 -03001103 uart6: serial@21fc000 {
Frank Lia5fcccb2015-07-10 02:09:45 +08001104 compatible = "fsl,imx6ul-uart",
1105 "fsl,imx6q-uart";
1106 reg = <0x021fc000 0x4000>;
1107 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1108 clocks = <&clks IMX6UL_CLK_UART6_IPG>,
1109 <&clks IMX6UL_CLK_UART6_SERIAL>;
1110 clock-names = "ipg", "per";
1111 status = "disabled";
1112 };
1113 };
1114 };
1115};