blob: bc215e4b75fd52c6e5b2e271b4a9e6265d442205 [file] [log] [blame]
Sascha Hauer9f0749e2012-02-28 21:57:50 +01001/*
2 * Copyright 2012 Sascha Hauer, Pengutronix
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
Shawn Guo36dffd82013-04-07 10:49:34 +080012#include "skeleton.dtsi"
Markus Pargmann61664d02014-02-08 13:54:43 +080013#include "imx27-pinfunc.h"
Alexander Shiyanea336fa82014-07-05 09:36:07 +040014
15#include <dt-bindings/clock/imx27-clock.h>
16#include <dt-bindings/gpio/gpio.h>
Fabio Estevamf6bd3f32014-04-17 15:23:31 -030017#include <dt-bindings/input/input.h>
Alexander Shiyan6ece55b2013-11-30 10:18:04 +040018#include <dt-bindings/interrupt-controller/irq.h>
Sascha Hauer9f0749e2012-02-28 21:57:50 +010019
20/ {
21 aliases {
Marek Vasut22970072014-02-28 12:58:41 +010022 ethernet0 = &fec;
Shawn Guo5230f8f2012-08-05 14:01:28 +080023 gpio0 = &gpio1;
24 gpio1 = &gpio2;
25 gpio2 = &gpio3;
26 gpio3 = &gpio4;
27 gpio4 = &gpio5;
28 gpio5 = &gpio6;
Sascha Hauer6a3c0b32013-06-25 15:51:54 +020029 i2c0 = &i2c1;
30 i2c1 = &i2c2;
31 serial0 = &uart1;
32 serial1 = &uart2;
33 serial2 = &uart3;
34 serial3 = &uart4;
35 serial4 = &uart5;
36 serial5 = &uart6;
Alexander Shiyana5a641a2013-05-01 14:46:57 +040037 spi0 = &cspi1;
38 spi1 = &cspi2;
39 spi2 = &cspi3;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010040 };
41
Fabio Estevam6189bc32013-06-28 16:50:33 +020042 aitc: aitc-interrupt-controller@e0000000 {
43 compatible = "fsl,imx27-aitc", "fsl,avic";
Sascha Hauer9f0749e2012-02-28 21:57:50 +010044 interrupt-controller;
45 #interrupt-cells = <1>;
46 reg = <0x10040000 0x1000>;
47 };
48
49 clocks {
50 #address-cells = <1>;
51 #size-cells = <0>;
52
53 osc26m {
54 compatible = "fsl,imx-osc26m", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080055 #clock-cells = <0>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010056 clock-frequency = <26000000>;
57 };
58 };
59
Markus Pargmanndc1d0f92013-06-28 16:50:36 +020060 cpus {
61 #size-cells = <0>;
62 #address-cells = <1>;
63
Alexander Shiyan48568be2013-07-20 11:17:56 +040064 cpu: cpu@0 {
Markus Pargmanndc1d0f92013-06-28 16:50:36 +020065 device_type = "cpu";
66 compatible = "arm,arm926ej-s";
67 operating-points = <
Alexander Shiyan98a3e802013-07-13 08:34:44 +040068 /* kHz uV */
69 266000 1300000
70 399000 1450000
Markus Pargmanndc1d0f92013-06-28 16:50:36 +020071 >;
Alexander Shiyan8defcb52013-07-20 11:17:57 +040072 clock-latency = <62500>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +040073 clocks = <&clks IMX27_CLK_CPU_DIV>;
Alexander Shiyan98a3e802013-07-13 08:34:44 +040074 voltage-tolerance = <5>;
Markus Pargmanndc1d0f92013-06-28 16:50:36 +020075 };
76 };
77
Sascha Hauer9f0749e2012-02-28 21:57:50 +010078 soc {
79 #address-cells = <1>;
80 #size-cells = <1>;
81 compatible = "simple-bus";
Fabio Estevam6189bc32013-06-28 16:50:33 +020082 interrupt-parent = <&aitc>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010083 ranges;
84
85 aipi@10000000 { /* AIPI1 */
86 compatible = "fsl,aipi-bus", "simple-bus";
87 #address-cells = <1>;
88 #size-cells = <1>;
Fabio Estevam3e24b052012-11-21 17:19:38 -020089 reg = <0x10000000 0x20000>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010090 ranges;
91
Alexander Shiyanb858c342013-06-08 18:39:36 +040092 dma: dma@10001000 {
93 compatible = "fsl,imx27-dma";
94 reg = <0x10001000 0x1000>;
95 interrupts = <32>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +040096 clocks = <&clks IMX27_CLK_DMA_IPG_GATE>,
97 <&clks IMX27_CLK_DMA_AHB_GATE>;
Alexander Shiyanb858c342013-06-08 18:39:36 +040098 clock-names = "ipg", "ahb";
99 #dma-cells = <1>;
100 #dma-channels = <16>;
101 };
102
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100103 wdog: wdog@10002000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100104 compatible = "fsl,imx27-wdt", "fsl,imx21-wdt";
Sascha Hauerca26d042013-03-14 13:08:57 +0100105 reg = <0x10002000 0x1000>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100106 interrupts = <27>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400107 clocks = <&clks IMX27_CLK_WDOG_IPG_GATE>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100108 };
109
Sascha Hauerca26d042013-03-14 13:08:57 +0100110 gpt1: timer@10003000 {
111 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
112 reg = <0x10003000 0x1000>;
113 interrupts = <26>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400114 clocks = <&clks IMX27_CLK_GPT1_IPG_GATE>,
115 <&clks IMX27_CLK_PER1_GATE>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100116 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100117 };
118
119 gpt2: timer@10004000 {
120 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
121 reg = <0x10004000 0x1000>;
122 interrupts = <25>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400123 clocks = <&clks IMX27_CLK_GPT2_IPG_GATE>,
124 <&clks IMX27_CLK_PER1_GATE>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100125 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100126 };
127
128 gpt3: timer@10005000 {
129 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
130 reg = <0x10005000 0x1000>;
131 interrupts = <24>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400132 clocks = <&clks IMX27_CLK_GPT3_IPG_GATE>,
133 <&clks IMX27_CLK_PER1_GATE>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100134 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100135 };
136
Alexander Shiyana392d042013-06-23 10:54:47 +0400137 pwm: pwm@10006000 {
Steffen Trumtrar443b6582013-10-17 15:03:16 +0200138 #pwm-cells = <2>;
Gwenhael Goavec-Merou08f4881a2013-04-14 09:44:25 +0200139 compatible = "fsl,imx27-pwm";
140 reg = <0x10006000 0x1000>;
141 interrupts = <23>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400142 clocks = <&clks IMX27_CLK_PWM_IPG_GATE>,
143 <&clks IMX27_CLK_PER1_GATE>;
Gwenhael Goavec-Merou08f4881a2013-04-14 09:44:25 +0200144 clock-names = "ipg", "per";
145 };
146
Alexander Shiyan6c04ad22013-06-23 10:54:50 +0400147 kpp: kpp@10008000 {
148 compatible = "fsl,imx27-kpp", "fsl,imx21-kpp";
149 reg = <0x10008000 0x1000>;
150 interrupts = <21>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400151 clocks = <&clks IMX27_CLK_KPP_IPG_GATE>;
Alexander Shiyan6c04ad22013-06-23 10:54:50 +0400152 status = "disabled";
153 };
154
Markus Pargmann6a486b72013-07-01 17:21:22 +0800155 owire: owire@10009000 {
156 compatible = "fsl,imx27-owire", "fsl,imx21-owire";
157 reg = <0x10009000 0x1000>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400158 clocks = <&clks IMX27_CLK_OWIRE_IPG_GATE>;
Markus Pargmann6a486b72013-07-01 17:21:22 +0800159 status = "disabled";
160 };
161
Shawn Guo0c456cf2012-04-02 14:39:26 +0800162 uart1: serial@1000a000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100163 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
164 reg = <0x1000a000 0x1000>;
165 interrupts = <20>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400166 clocks = <&clks IMX27_CLK_UART1_IPG_GATE>,
167 <&clks IMX27_CLK_PER1_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200168 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100169 status = "disabled";
170 };
171
Shawn Guo0c456cf2012-04-02 14:39:26 +0800172 uart2: serial@1000b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100173 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
174 reg = <0x1000b000 0x1000>;
175 interrupts = <19>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400176 clocks = <&clks IMX27_CLK_UART2_IPG_GATE>,
177 <&clks IMX27_CLK_PER1_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200178 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100179 status = "disabled";
180 };
181
Shawn Guo0c456cf2012-04-02 14:39:26 +0800182 uart3: serial@1000c000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100183 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
184 reg = <0x1000c000 0x1000>;
185 interrupts = <18>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400186 clocks = <&clks IMX27_CLK_UART3_IPG_GATE>,
187 <&clks IMX27_CLK_PER1_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200188 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100189 status = "disabled";
190 };
191
Shawn Guo0c456cf2012-04-02 14:39:26 +0800192 uart4: serial@1000d000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100193 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
194 reg = <0x1000d000 0x1000>;
195 interrupts = <17>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400196 clocks = <&clks IMX27_CLK_UART4_IPG_GATE>,
197 <&clks IMX27_CLK_PER1_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200198 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100199 status = "disabled";
200 };
201
202 cspi1: cspi@1000e000 {
203 #address-cells = <1>;
204 #size-cells = <0>;
205 compatible = "fsl,imx27-cspi";
206 reg = <0x1000e000 0x1000>;
207 interrupts = <16>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400208 clocks = <&clks IMX27_CLK_CSPI1_IPG_GATE>,
209 <&clks IMX27_CLK_PER2_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200210 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100211 status = "disabled";
212 };
213
214 cspi2: cspi@1000f000 {
215 #address-cells = <1>;
216 #size-cells = <0>;
217 compatible = "fsl,imx27-cspi";
218 reg = <0x1000f000 0x1000>;
219 interrupts = <15>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400220 clocks = <&clks IMX27_CLK_CSPI2_IPG_GATE>,
221 <&clks IMX27_CLK_PER2_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200222 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100223 status = "disabled";
224 };
225
Alexander Shiyanba2d1ea2014-01-04 22:28:35 +0400226 ssi1: ssi@10010000 {
227 #sound-dai-cells = <0>;
228 compatible = "fsl,imx27-ssi", "fsl,imx21-ssi";
229 reg = <0x10010000 0x1000>;
230 interrupts = <14>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400231 clocks = <&clks IMX27_CLK_SSI1_IPG_GATE>;
Alexander Shiyanba2d1ea2014-01-04 22:28:35 +0400232 dmas = <&dma 12>, <&dma 13>, <&dma 14>, <&dma 15>;
233 dma-names = "rx0", "tx0", "rx1", "tx1";
234 fsl,fifo-depth = <8>;
235 status = "disabled";
236 };
237
238 ssi2: ssi@10011000 {
239 #sound-dai-cells = <0>;
240 compatible = "fsl,imx27-ssi", "fsl,imx21-ssi";
241 reg = <0x10011000 0x1000>;
242 interrupts = <13>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400243 clocks = <&clks IMX27_CLK_SSI2_IPG_GATE>;
Alexander Shiyanba2d1ea2014-01-04 22:28:35 +0400244 dmas = <&dma 8>, <&dma 9>, <&dma 10>, <&dma 11>;
245 dma-names = "rx0", "tx0", "rx1", "tx1";
246 fsl,fifo-depth = <8>;
247 status = "disabled";
248 };
249
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100250 i2c1: i2c@10012000 {
251 #address-cells = <1>;
252 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800253 compatible = "fsl,imx27-i2c", "fsl,imx21-i2c";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100254 reg = <0x10012000 0x1000>;
255 interrupts = <12>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400256 clocks = <&clks IMX27_CLK_I2C1_IPG_GATE>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100257 status = "disabled";
258 };
259
Alexander Shiyan0e7b01a2013-06-08 18:39:37 +0400260 sdhci1: sdhci@10013000 {
261 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
262 reg = <0x10013000 0x1000>;
263 interrupts = <11>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400264 clocks = <&clks IMX27_CLK_SDHC1_IPG_GATE>,
265 <&clks IMX27_CLK_PER2_GATE>;
Alexander Shiyan0e7b01a2013-06-08 18:39:37 +0400266 clock-names = "ipg", "per";
267 dmas = <&dma 7>;
268 dma-names = "rx-tx";
269 status = "disabled";
270 };
271
272 sdhci2: sdhci@10014000 {
273 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
274 reg = <0x10014000 0x1000>;
275 interrupts = <10>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400276 clocks = <&clks IMX27_CLK_SDHC2_IPG_GATE>,
277 <&clks IMX27_CLK_PER2_GATE>;
Alexander Shiyan0e7b01a2013-06-08 18:39:37 +0400278 clock-names = "ipg", "per";
279 dmas = <&dma 6>;
280 dma-names = "rx-tx";
281 status = "disabled";
282 };
283
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100284 iomuxc: iomuxc@10015000 {
285 compatible = "fsl,imx27-iomuxc";
286 reg = <0x10015000 0x600>;
287 #address-cells = <1>;
288 #size-cells = <1>;
289 ranges;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100290
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100291 gpio1: gpio@10015000 {
292 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
293 reg = <0x10015000 0x100>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400294 clocks = <&clks IMX27_CLK_GPIO_IPG_GATE>;
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100295 interrupts = <8>;
296 gpio-controller;
297 #gpio-cells = <2>;
298 interrupt-controller;
299 #interrupt-cells = <2>;
300 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100301
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100302 gpio2: gpio@10015100 {
303 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
304 reg = <0x10015100 0x100>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400305 clocks = <&clks IMX27_CLK_GPIO_IPG_GATE>;
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100306 interrupts = <8>;
307 gpio-controller;
308 #gpio-cells = <2>;
309 interrupt-controller;
310 #interrupt-cells = <2>;
311 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100312
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100313 gpio3: gpio@10015200 {
314 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
315 reg = <0x10015200 0x100>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400316 clocks = <&clks IMX27_CLK_GPIO_IPG_GATE>;
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100317 interrupts = <8>;
318 gpio-controller;
319 #gpio-cells = <2>;
320 interrupt-controller;
321 #interrupt-cells = <2>;
322 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100323
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100324 gpio4: gpio@10015300 {
325 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
326 reg = <0x10015300 0x100>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400327 clocks = <&clks IMX27_CLK_GPIO_IPG_GATE>;
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100328 interrupts = <8>;
329 gpio-controller;
330 #gpio-cells = <2>;
331 interrupt-controller;
332 #interrupt-cells = <2>;
333 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100334
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100335 gpio5: gpio@10015400 {
336 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
337 reg = <0x10015400 0x100>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400338 clocks = <&clks IMX27_CLK_GPIO_IPG_GATE>;
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100339 interrupts = <8>;
340 gpio-controller;
341 #gpio-cells = <2>;
342 interrupt-controller;
343 #interrupt-cells = <2>;
344 };
345
346 gpio6: gpio@10015500 {
347 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
348 reg = <0x10015500 0x100>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400349 clocks = <&clks IMX27_CLK_GPIO_IPG_GATE>;
Markus Pargmann733f6ca2013-11-20 09:45:48 +0100350 interrupts = <8>;
351 gpio-controller;
352 #gpio-cells = <2>;
353 interrupt-controller;
354 #interrupt-cells = <2>;
355 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100356 };
357
Alexander Shiyan6e228e82013-06-23 10:54:46 +0400358 audmux: audmux@10016000 {
359 compatible = "fsl,imx27-audmux", "fsl,imx21-audmux";
360 reg = <0x10016000 0x1000>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400361 clocks = <&clks IMX27_CLK_DUMMY>;
Alexander Shiyan6e228e82013-06-23 10:54:46 +0400362 clock-names = "audmux";
Alexander Shiyan1c04ab02013-08-10 12:51:50 +0400363 status = "disabled";
Alexander Shiyan6e228e82013-06-23 10:54:46 +0400364 };
365
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100366 cspi3: cspi@10017000 {
367 #address-cells = <1>;
368 #size-cells = <0>;
369 compatible = "fsl,imx27-cspi";
370 reg = <0x10017000 0x1000>;
371 interrupts = <6>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400372 clocks = <&clks IMX27_CLK_CSPI3_IPG_GATE>,
373 <&clks IMX27_CLK_PER2_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200374 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100375 status = "disabled";
376 };
377
Sascha Hauerca26d042013-03-14 13:08:57 +0100378 gpt4: timer@10019000 {
379 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
380 reg = <0x10019000 0x1000>;
381 interrupts = <4>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400382 clocks = <&clks IMX27_CLK_GPT4_IPG_GATE>,
383 <&clks IMX27_CLK_PER1_GATE>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100384 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100385 };
386
387 gpt5: timer@1001a000 {
388 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
389 reg = <0x1001a000 0x1000>;
390 interrupts = <3>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400391 clocks = <&clks IMX27_CLK_GPT5_IPG_GATE>,
392 <&clks IMX27_CLK_PER1_GATE>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100393 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100394 };
395
Shawn Guo0c456cf2012-04-02 14:39:26 +0800396 uart5: serial@1001b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100397 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
398 reg = <0x1001b000 0x1000>;
399 interrupts = <49>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400400 clocks = <&clks IMX27_CLK_UART5_IPG_GATE>,
401 <&clks IMX27_CLK_PER1_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200402 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100403 status = "disabled";
404 };
405
Shawn Guo0c456cf2012-04-02 14:39:26 +0800406 uart6: serial@1001c000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100407 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
408 reg = <0x1001c000 0x1000>;
409 interrupts = <48>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400410 clocks = <&clks IMX27_CLK_UART6_IPG_GATE>,
411 <&clks IMX27_CLK_PER1_GATE>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200412 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100413 status = "disabled";
414 };
415
416 i2c2: i2c@1001d000 {
417 #address-cells = <1>;
418 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800419 compatible = "fsl,imx27-i2c", "fsl,imx21-i2c";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100420 reg = <0x1001d000 0x1000>;
421 interrupts = <1>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400422 clocks = <&clks IMX27_CLK_I2C2_IPG_GATE>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100423 status = "disabled";
424 };
425
Alexander Shiyan0e7b01a2013-06-08 18:39:37 +0400426 sdhci3: sdhci@1001e000 {
427 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
428 reg = <0x1001e000 0x1000>;
429 interrupts = <9>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400430 clocks = <&clks IMX27_CLK_SDHC3_IPG_GATE>,
431 <&clks IMX27_CLK_PER2_GATE>;
Alexander Shiyan0e7b01a2013-06-08 18:39:37 +0400432 clock-names = "ipg", "per";
433 dmas = <&dma 36>;
434 dma-names = "rx-tx";
435 status = "disabled";
436 };
437
Sascha Hauerca26d042013-03-14 13:08:57 +0100438 gpt6: timer@1001f000 {
439 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
440 reg = <0x1001f000 0x1000>;
441 interrupts = <2>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400442 clocks = <&clks IMX27_CLK_GPT6_IPG_GATE>,
443 <&clks IMX27_CLK_PER1_GATE>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100444 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100445 };
Fabio Estevam3e24b052012-11-21 17:19:38 -0200446 };
447
448 aipi@10020000 { /* AIPI2 */
449 compatible = "fsl,aipi-bus", "simple-bus";
450 #address-cells = <1>;
451 #size-cells = <1>;
452 reg = <0x10020000 0x20000>;
453 ranges;
454
Markus Pargmann5e57b242013-06-28 16:50:34 +0200455 fb: fb@10021000 {
456 compatible = "fsl,imx27-fb", "fsl,imx21-fb";
457 interrupts = <61>;
458 reg = <0x10021000 0x1000>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400459 clocks = <&clks IMX27_CLK_LCDC_IPG_GATE>,
460 <&clks IMX27_CLK_LCDC_AHB_GATE>,
461 <&clks IMX27_CLK_PER3_GATE>;
Markus Pargmann5e57b242013-06-28 16:50:34 +0200462 clock-names = "ipg", "ahb", "per";
463 status = "disabled";
464 };
465
Alexander Shiyan93b331c2013-06-15 16:22:58 +0400466 coda: coda@10023000 {
Fabio Estevam71946612014-11-27 10:18:19 -0200467 compatible = "fsl,imx27-vpu", "cnm,codadx6";
Alexander Shiyan93b331c2013-06-15 16:22:58 +0400468 reg = <0x10023000 0x0200>;
469 interrupts = <53>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400470 clocks = <&clks IMX27_CLK_VPU_BAUD_GATE>,
471 <&clks IMX27_CLK_VPU_AHB_GATE>;
Alexander Shiyan93b331c2013-06-15 16:22:58 +0400472 clock-names = "per", "ahb";
473 iram = <&iram>;
474 };
475
Alexander Shiyana2e502c2014-02-22 13:32:33 +0400476 usbotg: usb@10024000 {
477 compatible = "fsl,imx27-usb";
478 reg = <0x10024000 0x200>;
479 interrupts = <56>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400480 clocks = <&clks IMX27_CLK_USB_IPG_GATE>;
Alexander Shiyana2e502c2014-02-22 13:32:33 +0400481 fsl,usbmisc = <&usbmisc 0>;
Alexander Shiyana2e502c2014-02-22 13:32:33 +0400482 status = "disabled";
483 };
484
485 usbh1: usb@10024200 {
486 compatible = "fsl,imx27-usb";
487 reg = <0x10024200 0x200>;
488 interrupts = <54>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400489 clocks = <&clks IMX27_CLK_USB_IPG_GATE>;
Alexander Shiyana2e502c2014-02-22 13:32:33 +0400490 fsl,usbmisc = <&usbmisc 1>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500491 dr_mode = "host";
Alexander Shiyana2e502c2014-02-22 13:32:33 +0400492 status = "disabled";
493 };
494
495 usbh2: usb@10024400 {
496 compatible = "fsl,imx27-usb";
497 reg = <0x10024400 0x200>;
498 interrupts = <55>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400499 clocks = <&clks IMX27_CLK_USB_IPG_GATE>;
Alexander Shiyana2e502c2014-02-22 13:32:33 +0400500 fsl,usbmisc = <&usbmisc 2>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500501 dr_mode = "host";
Alexander Shiyana2e502c2014-02-22 13:32:33 +0400502 status = "disabled";
503 };
504
505 usbmisc: usbmisc@10024600 {
506 #index-cells = <1>;
507 compatible = "fsl,imx27-usbmisc";
508 reg = <0x10024600 0x200>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400509 clocks = <&clks IMX27_CLK_USB_AHB_GATE>;
Alexander Shiyana2e502c2014-02-22 13:32:33 +0400510 };
511
Alexander Shiyane4b6a052013-06-23 10:54:45 +0400512 sahara2: sahara@10025000 {
513 compatible = "fsl,imx27-sahara";
514 reg = <0x10025000 0x1000>;
515 interrupts = <59>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400516 clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>,
517 <&clks IMX27_CLK_SAHARA_AHB_GATE>;
Alexander Shiyane4b6a052013-06-23 10:54:45 +0400518 clock-names = "ipg", "ahb";
519 };
520
Alexander Shiyan93b331c2013-06-15 16:22:58 +0400521 clks: ccm@10027000{
522 compatible = "fsl,imx27-ccm";
523 reg = <0x10027000 0x1000>;
524 #clock-cells = <1>;
525 };
526
Alexander Shiyand36afcd2013-07-02 20:02:24 +0400527 iim: iim@10028000 {
528 compatible = "fsl,imx27-iim";
529 reg = <0x10028000 0x1000>;
530 interrupts = <62>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400531 clocks = <&clks IMX27_CLK_IIM_IPG_GATE>;
Alexander Shiyand36afcd2013-07-02 20:02:24 +0400532 };
533
Shawn Guo0c456cf2012-04-02 14:39:26 +0800534 fec: ethernet@1002b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100535 compatible = "fsl,imx27-fec";
Philippe Reynesa29ef812015-05-13 00:18:26 +0200536 reg = <0x1002b000 0x1000>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100537 interrupts = <50>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400538 clocks = <&clks IMX27_CLK_FEC_IPG_GATE>,
539 <&clks IMX27_CLK_FEC_AHB_GATE>;
Alexander Shiyanc0b357c2013-07-20 11:17:55 +0400540 clock-names = "ipg", "ahb";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100541 status = "disabled";
542 };
543 };
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100544
545 nfc: nand@d8000000 {
Uwe Kleine-König37787362012-04-23 11:23:42 +0200546 #address-cells = <1>;
547 #size-cells = <1>;
Uwe Kleine-König37787362012-04-23 11:23:42 +0200548 compatible = "fsl,imx27-nand";
549 reg = <0xd8000000 0x1000>;
550 interrupts = <29>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400551 clocks = <&clks IMX27_CLK_NFC_BAUD_GATE>;
Uwe Kleine-König37787362012-04-23 11:23:42 +0200552 status = "disabled";
553 };
Alexander Shiyanff1450f2013-06-23 10:54:48 +0400554
Alexander Shiyan0912f592013-07-02 20:02:25 +0400555 weim: weim@d8002000 {
556 #address-cells = <2>;
557 #size-cells = <1>;
558 compatible = "fsl,imx27-weim";
559 reg = <0xd8002000 0x1000>;
Alexander Shiyanea336fa82014-07-05 09:36:07 +0400560 clocks = <&clks IMX27_CLK_EMI_AHB_GATE>;
Alexander Shiyan0912f592013-07-02 20:02:25 +0400561 ranges = <
562 0 0 0xc0000000 0x08000000
563 1 0 0xc8000000 0x08000000
564 2 0 0xd0000000 0x02000000
565 3 0 0xd2000000 0x02000000
566 4 0 0xd4000000 0x02000000
567 5 0 0xd6000000 0x02000000
568 >;
569 status = "disabled";
570 };
571
Alexander Shiyanff1450f2013-06-23 10:54:48 +0400572 iram: iram@ffff4c00 {
573 compatible = "mmio-sram";
574 reg = <0xffff4c00 0xb400>;
575 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100576 };
577};