blob: 1db97deb64b65154e291f543f15a14bc0ad5ac6c [file] [log] [blame]
Shawn Guo9daaf312011-10-17 08:42:17 +08001/*
2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
Shawn Guo36dffd82013-04-07 10:49:34 +080013#include "skeleton.dtsi"
Shawn Guoe1641532013-02-20 10:32:52 +080014#include "imx51-pinfunc.h"
Shawn Guo9daaf312011-10-17 08:42:17 +080015
16/ {
17 aliases {
Shawn Guo5230f8f2012-08-05 14:01:28 +080018 gpio0 = &gpio1;
19 gpio1 = &gpio2;
20 gpio2 = &gpio3;
21 gpio3 = &gpio4;
Sascha Hauere3b73c62013-06-25 15:51:55 +020022 i2c0 = &i2c1;
23 i2c1 = &i2c2;
24 serial0 = &uart1;
25 serial1 = &uart2;
26 serial2 = &uart3;
27 spi0 = &ecspi1;
28 spi1 = &ecspi2;
29 spi2 = &cspi;
Shawn Guo9daaf312011-10-17 08:42:17 +080030 };
31
32 tzic: tz-interrupt-controller@e0000000 {
33 compatible = "fsl,imx51-tzic", "fsl,tzic";
34 interrupt-controller;
35 #interrupt-cells = <1>;
36 reg = <0xe0000000 0x4000>;
37 };
38
39 clocks {
40 #address-cells = <1>;
41 #size-cells = <0>;
42
43 ckil {
44 compatible = "fsl,imx-ckil", "fixed-clock";
45 clock-frequency = <32768>;
46 };
47
48 ckih1 {
49 compatible = "fsl,imx-ckih1", "fixed-clock";
Alexander Shiyan677e28b2013-07-27 11:19:45 +040050 clock-frequency = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080051 };
52
53 ckih2 {
54 compatible = "fsl,imx-ckih2", "fixed-clock";
55 clock-frequency = <0>;
56 };
57
58 osc {
59 compatible = "fsl,imx-osc", "fixed-clock";
60 clock-frequency = <24000000>;
61 };
62 };
63
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020064 cpus {
65 #address-cells = <1>;
66 #size-cells = <0>;
67 cpu@0 {
68 device_type = "cpu";
69 compatible = "arm,cortex-a8";
70 reg = <0>;
71 clock-latency = <61036>; /* two CLK32 periods */
72 clocks = <&clks 24>;
73 clock-names = "cpu";
74 operating-points = <
75 /* kHz uV (No regulator support) */
76 160000 0
77 800000 0
78 >;
79 };
80 };
81
Shawn Guo9daaf312011-10-17 08:42:17 +080082 soc {
83 #address-cells = <1>;
84 #size-cells = <1>;
85 compatible = "simple-bus";
86 interrupt-parent = <&tzic>;
87 ranges;
88
Sascha Hauerb5af6b12012-11-12 12:56:00 +010089 ipu: ipu@40000000 {
90 #crtc-cells = <1>;
91 compatible = "fsl,imx51-ipu";
92 reg = <0x40000000 0x20000000>;
93 interrupts = <11 10>;
Philipp Zabel4438a6a2013-03-27 18:30:36 +010094 clocks = <&clks 59>, <&clks 110>, <&clks 61>;
95 clock-names = "bus", "di0", "di1";
Philipp Zabel8d84c372013-03-28 17:35:23 +010096 resets = <&src 2>;
Sascha Hauerb5af6b12012-11-12 12:56:00 +010097 };
98
Shawn Guo9daaf312011-10-17 08:42:17 +080099 aips@70000000 { /* AIPS1 */
100 compatible = "fsl,aips-bus", "simple-bus";
101 #address-cells = <1>;
102 #size-cells = <1>;
103 reg = <0x70000000 0x10000000>;
104 ranges;
105
106 spba@70000000 {
107 compatible = "fsl,spba-bus", "simple-bus";
108 #address-cells = <1>;
109 #size-cells = <1>;
110 reg = <0x70000000 0x40000>;
111 ranges;
112
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100113 esdhc1: esdhc@70004000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800114 compatible = "fsl,imx51-esdhc";
115 reg = <0x70004000 0x4000>;
116 interrupts = <1>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200117 clocks = <&clks 44>, <&clks 0>, <&clks 71>;
118 clock-names = "ipg", "ahb", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800119 status = "disabled";
120 };
121
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100122 esdhc2: esdhc@70008000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800123 compatible = "fsl,imx51-esdhc";
124 reg = <0x70008000 0x4000>;
125 interrupts = <2>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200126 clocks = <&clks 45>, <&clks 0>, <&clks 72>;
127 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200128 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800129 status = "disabled";
130 };
131
Shawn Guo0c456cf2012-04-02 14:39:26 +0800132 uart3: serial@7000c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800133 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
134 reg = <0x7000c000 0x4000>;
135 interrupts = <33>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200136 clocks = <&clks 32>, <&clks 33>;
137 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800138 status = "disabled";
139 };
140
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100141 ecspi1: ecspi@70010000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800142 #address-cells = <1>;
143 #size-cells = <0>;
144 compatible = "fsl,imx51-ecspi";
145 reg = <0x70010000 0x4000>;
146 interrupts = <36>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200147 clocks = <&clks 51>, <&clks 52>;
148 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800149 status = "disabled";
150 };
151
Shawn Guoa15d9f82012-05-11 13:08:46 +0800152 ssi2: ssi@70014000 {
153 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
154 reg = <0x70014000 0x4000>;
155 interrupts = <30>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200156 clocks = <&clks 49>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800157 dmas = <&sdma 24 1 0>,
158 <&sdma 25 1 0>;
159 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800160 fsl,fifo-depth = <15>;
161 fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */
162 status = "disabled";
163 };
164
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100165 esdhc3: esdhc@70020000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800166 compatible = "fsl,imx51-esdhc";
167 reg = <0x70020000 0x4000>;
168 interrupts = <3>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200169 clocks = <&clks 46>, <&clks 0>, <&clks 73>;
170 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200171 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800172 status = "disabled";
173 };
174
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100175 esdhc4: esdhc@70024000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800176 compatible = "fsl,imx51-esdhc";
177 reg = <0x70024000 0x4000>;
178 interrupts = <4>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200179 clocks = <&clks 47>, <&clks 0>, <&clks 74>;
180 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200181 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800182 status = "disabled";
183 };
184 };
185
Michael Grzeschika79025c2013-04-11 12:13:16 +0200186 usbphy0: usbphy@0 {
187 compatible = "usb-nop-xceiv";
188 clocks = <&clks 124>;
189 clock-names = "main_clk";
190 status = "okay";
191 };
192
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100193 usbotg: usb@73f80000 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200194 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
195 reg = <0x73f80000 0x0200>;
196 interrupts = <18>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200197 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200198 fsl,usbmisc = <&usbmisc 0>;
Michael Grzeschika79025c2013-04-11 12:13:16 +0200199 fsl,usbphy = <&usbphy0>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200200 status = "disabled";
201 };
202
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100203 usbh1: usb@73f80200 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200204 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
205 reg = <0x73f80200 0x0200>;
206 interrupts = <14>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200207 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200208 fsl,usbmisc = <&usbmisc 1>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200209 status = "disabled";
210 };
211
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100212 usbh2: usb@73f80400 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200213 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
214 reg = <0x73f80400 0x0200>;
215 interrupts = <16>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200216 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200217 fsl,usbmisc = <&usbmisc 2>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200218 status = "disabled";
219 };
220
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100221 usbh3: usb@73f80600 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200222 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
223 reg = <0x73f80600 0x0200>;
224 interrupts = <17>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200225 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200226 fsl,usbmisc = <&usbmisc 3>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200227 status = "disabled";
228 };
229
Michael Grzeschika5735022013-04-11 12:13:14 +0200230 usbmisc: usbmisc@73f80800 {
231 #index-cells = <1>;
232 compatible = "fsl,imx51-usbmisc";
233 reg = <0x73f80800 0x200>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200234 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200235 };
236
Richard Zhao4d191862011-12-14 09:26:44 +0800237 gpio1: gpio@73f84000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200238 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800239 reg = <0x73f84000 0x4000>;
240 interrupts = <50 51>;
241 gpio-controller;
242 #gpio-cells = <2>;
243 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800244 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800245 };
246
Richard Zhao4d191862011-12-14 09:26:44 +0800247 gpio2: gpio@73f88000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200248 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800249 reg = <0x73f88000 0x4000>;
250 interrupts = <52 53>;
251 gpio-controller;
252 #gpio-cells = <2>;
253 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800254 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800255 };
256
Richard Zhao4d191862011-12-14 09:26:44 +0800257 gpio3: gpio@73f8c000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200258 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800259 reg = <0x73f8c000 0x4000>;
260 interrupts = <54 55>;
261 gpio-controller;
262 #gpio-cells = <2>;
263 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800264 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800265 };
266
Richard Zhao4d191862011-12-14 09:26:44 +0800267 gpio4: gpio@73f90000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200268 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800269 reg = <0x73f90000 0x4000>;
270 interrupts = <56 57>;
271 gpio-controller;
272 #gpio-cells = <2>;
273 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800274 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800275 };
276
Liu Ying60125552013-01-03 20:37:33 +0800277 kpp: kpp@73f94000 {
278 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
279 reg = <0x73f94000 0x4000>;
280 interrupts = <60>;
281 clocks = <&clks 0>;
282 status = "disabled";
283 };
284
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100285 wdog1: wdog@73f98000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800286 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
287 reg = <0x73f98000 0x4000>;
288 interrupts = <58>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200289 clocks = <&clks 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800290 };
291
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100292 wdog2: wdog@73f9c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800293 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
294 reg = <0x73f9c000 0x4000>;
295 interrupts = <59>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200296 clocks = <&clks 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800297 status = "disabled";
298 };
299
Sascha Hauered73c632013-03-14 13:08:59 +0100300 gpt: timer@73fa0000 {
301 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
302 reg = <0x73fa0000 0x4000>;
303 interrupts = <39>;
304 clocks = <&clks 36>, <&clks 41>;
305 clock-names = "ipg", "per";
306 };
307
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100308 iomuxc: iomuxc@73fa8000 {
Shawn Guob72cf102012-08-13 19:45:19 +0800309 compatible = "fsl,imx51-iomuxc";
310 reg = <0x73fa8000 0x4000>;
Shawn Guob72cf102012-08-13 19:45:19 +0800311 };
312
Sascha Hauer82a618d2012-11-19 00:57:08 +0100313 pwm1: pwm@73fb4000 {
314 #pwm-cells = <2>;
315 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
316 reg = <0x73fb4000 0x4000>;
317 clocks = <&clks 37>, <&clks 38>;
318 clock-names = "ipg", "per";
319 interrupts = <61>;
320 };
321
322 pwm2: pwm@73fb8000 {
323 #pwm-cells = <2>;
324 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
325 reg = <0x73fb8000 0x4000>;
326 clocks = <&clks 39>, <&clks 40>;
327 clock-names = "ipg", "per";
328 interrupts = <94>;
329 };
330
Shawn Guo0c456cf2012-04-02 14:39:26 +0800331 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800332 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
333 reg = <0x73fbc000 0x4000>;
334 interrupts = <31>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200335 clocks = <&clks 28>, <&clks 29>;
336 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800337 status = "disabled";
338 };
339
Shawn Guo0c456cf2012-04-02 14:39:26 +0800340 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800341 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
342 reg = <0x73fc0000 0x4000>;
343 interrupts = <32>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200344 clocks = <&clks 30>, <&clks 31>;
345 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800346 status = "disabled";
347 };
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200348
Philipp Zabel8d84c372013-03-28 17:35:23 +0100349 src: src@73fd0000 {
350 compatible = "fsl,imx51-src";
351 reg = <0x73fd0000 0x4000>;
352 #reset-cells = <1>;
353 };
354
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200355 clks: ccm@73fd4000{
356 compatible = "fsl,imx51-ccm";
357 reg = <0x73fd4000 0x4000>;
358 interrupts = <0 71 0x04 0 72 0x04>;
359 #clock-cells = <1>;
360 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800361 };
362
363 aips@80000000 { /* AIPS2 */
364 compatible = "fsl,aips-bus", "simple-bus";
365 #address-cells = <1>;
366 #size-cells = <1>;
367 reg = <0x80000000 0x10000000>;
368 ranges;
369
Sascha Hauer6510ea252013-06-25 15:51:51 +0200370 iim: iim@83f98000 {
371 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
372 reg = <0x83f98000 0x4000>;
373 interrupts = <69>;
374 clocks = <&clks 107>;
375 };
376
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100377 ecspi2: ecspi@83fac000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800378 #address-cells = <1>;
379 #size-cells = <0>;
380 compatible = "fsl,imx51-ecspi";
381 reg = <0x83fac000 0x4000>;
382 interrupts = <37>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200383 clocks = <&clks 53>, <&clks 54>;
384 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800385 status = "disabled";
386 };
387
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100388 sdma: sdma@83fb0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800389 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
390 reg = <0x83fb0000 0x4000>;
391 interrupts = <6>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200392 clocks = <&clks 56>, <&clks 56>;
393 clock-names = "ipg", "ahb";
Huang Shijiefb72bb22013-07-02 10:15:29 +0800394 #dma-cells = <3>;
Fabio Estevam7e4f0362012-08-08 11:28:07 -0300395 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
Shawn Guo9daaf312011-10-17 08:42:17 +0800396 };
397
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100398 cspi: cspi@83fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800399 #address-cells = <1>;
400 #size-cells = <0>;
401 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
402 reg = <0x83fc0000 0x4000>;
403 interrupts = <38>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200404 clocks = <&clks 55>, <&clks 55>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200405 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800406 status = "disabled";
407 };
408
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100409 i2c2: i2c@83fc4000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800410 #address-cells = <1>;
411 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800412 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800413 reg = <0x83fc4000 0x4000>;
414 interrupts = <63>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200415 clocks = <&clks 35>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800416 status = "disabled";
417 };
418
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100419 i2c1: i2c@83fc8000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800420 #address-cells = <1>;
421 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800422 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800423 reg = <0x83fc8000 0x4000>;
424 interrupts = <62>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200425 clocks = <&clks 34>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800426 status = "disabled";
427 };
428
Shawn Guoa15d9f82012-05-11 13:08:46 +0800429 ssi1: ssi@83fcc000 {
430 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
431 reg = <0x83fcc000 0x4000>;
432 interrupts = <29>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200433 clocks = <&clks 48>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800434 dmas = <&sdma 28 0 0>,
435 <&sdma 29 0 0>;
436 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800437 fsl,fifo-depth = <15>;
438 fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */
439 status = "disabled";
440 };
441
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100442 audmux: audmux@83fd0000 {
Shawn Guoa15d9f82012-05-11 13:08:46 +0800443 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
444 reg = <0x83fd0000 0x4000>;
445 status = "disabled";
446 };
447
Alexander Shiyanedd05282013-07-13 08:30:57 +0400448 weim: weim@83fda000 {
449 #address-cells = <2>;
450 #size-cells = <1>;
451 compatible = "fsl,imx51-weim";
452 reg = <0x83fda000 0x1000>;
453 clocks = <&clks 57>;
454 ranges = <
455 0 0 0xb0000000 0x08000000
456 1 0 0xb8000000 0x08000000
457 2 0 0xc0000000 0x08000000
458 3 0 0xc8000000 0x04000000
459 4 0 0xcc000000 0x02000000
460 5 0 0xce000000 0x02000000
461 >;
462 status = "disabled";
463 };
464
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100465 nfc: nand@83fdb000 {
Sascha Hauer75453a02012-06-06 12:33:16 +0200466 compatible = "fsl,imx51-nand";
467 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
468 interrupts = <8>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200469 clocks = <&clks 60>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200470 status = "disabled";
471 };
472
Sascha Hauer718a35002013-04-04 11:25:09 +0200473 pata: pata@83fe0000 {
474 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
475 reg = <0x83fe0000 0x4000>;
476 interrupts = <70>;
Arnaud Patard (Rtp)6a030ee2013-09-07 15:23:14 +0200477 clocks = <&clks 172>;
Sascha Hauer718a35002013-04-04 11:25:09 +0200478 status = "disabled";
479 };
480
Shawn Guoa15d9f82012-05-11 13:08:46 +0800481 ssi3: ssi@83fe8000 {
482 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
483 reg = <0x83fe8000 0x4000>;
484 interrupts = <96>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200485 clocks = <&clks 50>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800486 dmas = <&sdma 46 0 0>,
487 <&sdma 47 0 0>;
488 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800489 fsl,fifo-depth = <15>;
490 fsl,ssi-dma-events = <47 46 37 35>; /* TX0 RX0 TX1 RX1 */
491 status = "disabled";
492 };
493
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100494 fec: ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800495 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
496 reg = <0x83fec000 0x4000>;
497 interrupts = <87>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200498 clocks = <&clks 42>, <&clks 42>, <&clks 42>;
499 clock-names = "ipg", "ahb", "ptp";
Shawn Guo9daaf312011-10-17 08:42:17 +0800500 status = "disabled";
501 };
502 };
503 };
504};
Alexander Shiyan35878142013-08-14 13:05:51 +0400505
506&iomuxc {
507 audmux {
508 pinctrl_audmux_1: audmuxgrp-1 {
509 fsl,pins = <
510 MX51_PAD_AUD3_BB_TXD__AUD3_TXD 0x80000000
511 MX51_PAD_AUD3_BB_RXD__AUD3_RXD 0x80000000
512 MX51_PAD_AUD3_BB_CK__AUD3_TXC 0x80000000
513 MX51_PAD_AUD3_BB_FS__AUD3_TXFS 0x80000000
514 >;
515 };
516 };
517
518 fec {
519 pinctrl_fec_1: fecgrp-1 {
520 fsl,pins = <
521 MX51_PAD_EIM_EB2__FEC_MDIO 0x80000000
522 MX51_PAD_EIM_EB3__FEC_RDATA1 0x80000000
523 MX51_PAD_EIM_CS2__FEC_RDATA2 0x80000000
524 MX51_PAD_EIM_CS3__FEC_RDATA3 0x80000000
525 MX51_PAD_EIM_CS4__FEC_RX_ER 0x80000000
526 MX51_PAD_EIM_CS5__FEC_CRS 0x80000000
527 MX51_PAD_NANDF_RB2__FEC_COL 0x80000000
528 MX51_PAD_NANDF_RB3__FEC_RX_CLK 0x80000000
529 MX51_PAD_NANDF_D9__FEC_RDATA0 0x80000000
530 MX51_PAD_NANDF_D8__FEC_TDATA0 0x80000000
531 MX51_PAD_NANDF_CS2__FEC_TX_ER 0x80000000
532 MX51_PAD_NANDF_CS3__FEC_MDC 0x80000000
533 MX51_PAD_NANDF_CS4__FEC_TDATA1 0x80000000
534 MX51_PAD_NANDF_CS5__FEC_TDATA2 0x80000000
535 MX51_PAD_NANDF_CS6__FEC_TDATA3 0x80000000
536 MX51_PAD_NANDF_CS7__FEC_TX_EN 0x80000000
537 MX51_PAD_NANDF_RDY_INT__FEC_TX_CLK 0x80000000
538 >;
539 };
540
541 pinctrl_fec_2: fecgrp-2 {
542 fsl,pins = <
543 MX51_PAD_DI_GP3__FEC_TX_ER 0x80000000
544 MX51_PAD_DI2_PIN4__FEC_CRS 0x80000000
545 MX51_PAD_DI2_PIN2__FEC_MDC 0x80000000
546 MX51_PAD_DI2_PIN3__FEC_MDIO 0x80000000
547 MX51_PAD_DI2_DISP_CLK__FEC_RDATA1 0x80000000
548 MX51_PAD_DI_GP4__FEC_RDATA2 0x80000000
549 MX51_PAD_DISP2_DAT0__FEC_RDATA3 0x80000000
550 MX51_PAD_DISP2_DAT1__FEC_RX_ER 0x80000000
551 MX51_PAD_DISP2_DAT6__FEC_TDATA1 0x80000000
552 MX51_PAD_DISP2_DAT7__FEC_TDATA2 0x80000000
553 MX51_PAD_DISP2_DAT8__FEC_TDATA3 0x80000000
554 MX51_PAD_DISP2_DAT9__FEC_TX_EN 0x80000000
555 MX51_PAD_DISP2_DAT10__FEC_COL 0x80000000
556 MX51_PAD_DISP2_DAT11__FEC_RX_CLK 0x80000000
557 MX51_PAD_DISP2_DAT12__FEC_RX_DV 0x80000000
558 MX51_PAD_DISP2_DAT13__FEC_TX_CLK 0x80000000
559 MX51_PAD_DISP2_DAT14__FEC_RDATA0 0x80000000
560 MX51_PAD_DISP2_DAT15__FEC_TDATA0 0x80000000
561 >;
562 };
563 };
564
565 ecspi1 {
566 pinctrl_ecspi1_1: ecspi1grp-1 {
567 fsl,pins = <
568 MX51_PAD_CSPI1_MISO__ECSPI1_MISO 0x185
569 MX51_PAD_CSPI1_MOSI__ECSPI1_MOSI 0x185
570 MX51_PAD_CSPI1_SCLK__ECSPI1_SCLK 0x185
571 >;
572 };
573 };
574
575 ecspi2 {
576 pinctrl_ecspi2_1: ecspi2grp-1 {
577 fsl,pins = <
578 MX51_PAD_NANDF_RB3__ECSPI2_MISO 0x185
579 MX51_PAD_NANDF_D15__ECSPI2_MOSI 0x185
580 MX51_PAD_NANDF_RB2__ECSPI2_SCLK 0x185
581 >;
582 };
583 };
584
585 esdhc1 {
586 pinctrl_esdhc1_1: esdhc1grp-1 {
587 fsl,pins = <
588 MX51_PAD_SD1_CMD__SD1_CMD 0x400020d5
589 MX51_PAD_SD1_CLK__SD1_CLK 0x20d5
590 MX51_PAD_SD1_DATA0__SD1_DATA0 0x20d5
591 MX51_PAD_SD1_DATA1__SD1_DATA1 0x20d5
592 MX51_PAD_SD1_DATA2__SD1_DATA2 0x20d5
593 MX51_PAD_SD1_DATA3__SD1_DATA3 0x20d5
594 >;
595 };
596 };
597
598 esdhc2 {
599 pinctrl_esdhc2_1: esdhc2grp-1 {
600 fsl,pins = <
601 MX51_PAD_SD2_CMD__SD2_CMD 0x400020d5
602 MX51_PAD_SD2_CLK__SD2_CLK 0x20d5
603 MX51_PAD_SD2_DATA0__SD2_DATA0 0x20d5
604 MX51_PAD_SD2_DATA1__SD2_DATA1 0x20d5
605 MX51_PAD_SD2_DATA2__SD2_DATA2 0x20d5
606 MX51_PAD_SD2_DATA3__SD2_DATA3 0x20d5
607 >;
608 };
609 };
610
611 i2c2 {
612 pinctrl_i2c2_1: i2c2grp-1 {
613 fsl,pins = <
614 MX51_PAD_KEY_COL4__I2C2_SCL 0x400001ed
615 MX51_PAD_KEY_COL5__I2C2_SDA 0x400001ed
616 >;
617 };
618
619 pinctrl_i2c2_2: i2c2grp-2 {
620 fsl,pins = <
621 MX51_PAD_EIM_D27__I2C2_SCL 0x400001ed
622 MX51_PAD_EIM_D24__I2C2_SDA 0x400001ed
623 >;
624 };
Alexander Shiyan10ed76d2013-08-14 13:05:52 +0400625
626 pinctrl_i2c2_3: i2c2grp-3 {
627 fsl,pins = <
628 MX51_PAD_GPIO1_2__I2C2_SCL 0x400001ed
629 MX51_PAD_GPIO1_3__I2C2_SDA 0x400001ed
630 >;
631 };
Alexander Shiyan35878142013-08-14 13:05:51 +0400632 };
633
634 ipu_disp1 {
635 pinctrl_ipu_disp1_1: ipudisp1grp-1 {
636 fsl,pins = <
637 MX51_PAD_DISP1_DAT0__DISP1_DAT0 0x5
638 MX51_PAD_DISP1_DAT1__DISP1_DAT1 0x5
639 MX51_PAD_DISP1_DAT2__DISP1_DAT2 0x5
640 MX51_PAD_DISP1_DAT3__DISP1_DAT3 0x5
641 MX51_PAD_DISP1_DAT4__DISP1_DAT4 0x5
642 MX51_PAD_DISP1_DAT5__DISP1_DAT5 0x5
643 MX51_PAD_DISP1_DAT6__DISP1_DAT6 0x5
644 MX51_PAD_DISP1_DAT7__DISP1_DAT7 0x5
645 MX51_PAD_DISP1_DAT8__DISP1_DAT8 0x5
646 MX51_PAD_DISP1_DAT9__DISP1_DAT9 0x5
647 MX51_PAD_DISP1_DAT10__DISP1_DAT10 0x5
648 MX51_PAD_DISP1_DAT11__DISP1_DAT11 0x5
649 MX51_PAD_DISP1_DAT12__DISP1_DAT12 0x5
650 MX51_PAD_DISP1_DAT13__DISP1_DAT13 0x5
651 MX51_PAD_DISP1_DAT14__DISP1_DAT14 0x5
652 MX51_PAD_DISP1_DAT15__DISP1_DAT15 0x5
653 MX51_PAD_DISP1_DAT16__DISP1_DAT16 0x5
654 MX51_PAD_DISP1_DAT17__DISP1_DAT17 0x5
655 MX51_PAD_DISP1_DAT18__DISP1_DAT18 0x5
656 MX51_PAD_DISP1_DAT19__DISP1_DAT19 0x5
657 MX51_PAD_DISP1_DAT20__DISP1_DAT20 0x5
658 MX51_PAD_DISP1_DAT21__DISP1_DAT21 0x5
659 MX51_PAD_DISP1_DAT22__DISP1_DAT22 0x5
660 MX51_PAD_DISP1_DAT23__DISP1_DAT23 0x5
661 MX51_PAD_DI1_PIN2__DI1_PIN2 0x5 /* hsync */
662 MX51_PAD_DI1_PIN3__DI1_PIN3 0x5 /* vsync */
663 >;
664 };
665 };
666
667 ipu_disp2 {
668 pinctrl_ipu_disp2_1: ipudisp2grp-1 {
669 fsl,pins = <
670 MX51_PAD_DISP2_DAT0__DISP2_DAT0 0x5
671 MX51_PAD_DISP2_DAT1__DISP2_DAT1 0x5
672 MX51_PAD_DISP2_DAT2__DISP2_DAT2 0x5
673 MX51_PAD_DISP2_DAT3__DISP2_DAT3 0x5
674 MX51_PAD_DISP2_DAT4__DISP2_DAT4 0x5
675 MX51_PAD_DISP2_DAT5__DISP2_DAT5 0x5
676 MX51_PAD_DISP2_DAT6__DISP2_DAT6 0x5
677 MX51_PAD_DISP2_DAT7__DISP2_DAT7 0x5
678 MX51_PAD_DISP2_DAT8__DISP2_DAT8 0x5
679 MX51_PAD_DISP2_DAT9__DISP2_DAT9 0x5
680 MX51_PAD_DISP2_DAT10__DISP2_DAT10 0x5
681 MX51_PAD_DISP2_DAT11__DISP2_DAT11 0x5
682 MX51_PAD_DISP2_DAT12__DISP2_DAT12 0x5
683 MX51_PAD_DISP2_DAT13__DISP2_DAT13 0x5
684 MX51_PAD_DISP2_DAT14__DISP2_DAT14 0x5
685 MX51_PAD_DISP2_DAT15__DISP2_DAT15 0x5
686 MX51_PAD_DI2_PIN2__DI2_PIN2 0x5 /* hsync */
687 MX51_PAD_DI2_PIN3__DI2_PIN3 0x5 /* vsync */
688 MX51_PAD_DI2_DISP_CLK__DI2_DISP_CLK 0x5 /* CLK */
689 MX51_PAD_DI_GP4__DI2_PIN15 0x5 /* DE */
690 >;
691 };
692 };
693
694 kpp {
695 pinctrl_kpp_1: kppgrp-1 {
696 fsl,pins = <
697 MX51_PAD_KEY_ROW0__KEY_ROW0 0xe0
698 MX51_PAD_KEY_ROW1__KEY_ROW1 0xe0
699 MX51_PAD_KEY_ROW2__KEY_ROW2 0xe0
700 MX51_PAD_KEY_ROW3__KEY_ROW3 0xe0
701 MX51_PAD_KEY_COL0__KEY_COL0 0xe8
702 MX51_PAD_KEY_COL1__KEY_COL1 0xe8
703 MX51_PAD_KEY_COL2__KEY_COL2 0xe8
704 MX51_PAD_KEY_COL3__KEY_COL3 0xe8
705 >;
706 };
707 };
708
709 pata {
710 pinctrl_pata_1: patagrp-1 {
711 fsl,pins = <
712 MX51_PAD_NANDF_WE_B__PATA_DIOW 0x2004
713 MX51_PAD_NANDF_RE_B__PATA_DIOR 0x2004
714 MX51_PAD_NANDF_ALE__PATA_BUFFER_EN 0x2004
715 MX51_PAD_NANDF_CLE__PATA_RESET_B 0x2004
716 MX51_PAD_NANDF_WP_B__PATA_DMACK 0x2004
717 MX51_PAD_NANDF_RB0__PATA_DMARQ 0x2004
718 MX51_PAD_NANDF_RB1__PATA_IORDY 0x2004
719 MX51_PAD_GPIO_NAND__PATA_INTRQ 0x2004
720 MX51_PAD_NANDF_CS2__PATA_CS_0 0x2004
721 MX51_PAD_NANDF_CS3__PATA_CS_1 0x2004
722 MX51_PAD_NANDF_CS4__PATA_DA_0 0x2004
723 MX51_PAD_NANDF_CS5__PATA_DA_1 0x2004
724 MX51_PAD_NANDF_CS6__PATA_DA_2 0x2004
725 MX51_PAD_NANDF_D15__PATA_DATA15 0x2004
726 MX51_PAD_NANDF_D14__PATA_DATA14 0x2004
727 MX51_PAD_NANDF_D13__PATA_DATA13 0x2004
728 MX51_PAD_NANDF_D12__PATA_DATA12 0x2004
729 MX51_PAD_NANDF_D11__PATA_DATA11 0x2004
730 MX51_PAD_NANDF_D10__PATA_DATA10 0x2004
731 MX51_PAD_NANDF_D9__PATA_DATA9 0x2004
732 MX51_PAD_NANDF_D8__PATA_DATA8 0x2004
733 MX51_PAD_NANDF_D7__PATA_DATA7 0x2004
734 MX51_PAD_NANDF_D6__PATA_DATA6 0x2004
735 MX51_PAD_NANDF_D5__PATA_DATA5 0x2004
736 MX51_PAD_NANDF_D4__PATA_DATA4 0x2004
737 MX51_PAD_NANDF_D3__PATA_DATA3 0x2004
738 MX51_PAD_NANDF_D2__PATA_DATA2 0x2004
739 MX51_PAD_NANDF_D1__PATA_DATA1 0x2004
740 MX51_PAD_NANDF_D0__PATA_DATA0 0x2004
741 >;
742 };
743 };
744
745 uart1 {
746 pinctrl_uart1_1: uart1grp-1 {
747 fsl,pins = <
748 MX51_PAD_UART1_RXD__UART1_RXD 0x1c5
749 MX51_PAD_UART1_TXD__UART1_TXD 0x1c5
Alexander Shiyan727b8122013-08-21 11:28:23 +0400750 >;
751 };
752
753 pinctrl_uart1_rtscts_1: uart1rtscts-1 {
754 fsl,pins = <
Alexander Shiyan35878142013-08-14 13:05:51 +0400755 MX51_PAD_UART1_RTS__UART1_RTS 0x1c5
756 MX51_PAD_UART1_CTS__UART1_CTS 0x1c5
757 >;
758 };
759 };
760
761 uart2 {
762 pinctrl_uart2_1: uart2grp-1 {
763 fsl,pins = <
764 MX51_PAD_UART2_RXD__UART2_RXD 0x1c5
765 MX51_PAD_UART2_TXD__UART2_TXD 0x1c5
766 >;
767 };
768 };
769
770 uart3 {
771 pinctrl_uart3_1: uart3grp-1 {
772 fsl,pins = <
773 MX51_PAD_EIM_D25__UART3_RXD 0x1c5
774 MX51_PAD_EIM_D26__UART3_TXD 0x1c5
Alexander Shiyan727b8122013-08-21 11:28:23 +0400775 >;
776 };
777
778 pinctrl_uart3_rtscts_1: uart3rtscts-1 {
779 fsl,pins = <
Alexander Shiyan35878142013-08-14 13:05:51 +0400780 MX51_PAD_EIM_D27__UART3_RTS 0x1c5
781 MX51_PAD_EIM_D24__UART3_CTS 0x1c5
782 >;
783 };
784
785 pinctrl_uart3_2: uart3grp-2 {
786 fsl,pins = <
787 MX51_PAD_UART3_RXD__UART3_RXD 0x1c5
788 MX51_PAD_UART3_TXD__UART3_TXD 0x1c5
789 >;
790 };
791 };
792
793 usbh1 {
794 pinctrl_usbh1_1: usbh1grp-1 {
795 fsl,pins = <
796 MX51_PAD_USBH1_DATA0__USBH1_DATA0 0x1e5
797 MX51_PAD_USBH1_DATA1__USBH1_DATA1 0x1e5
798 MX51_PAD_USBH1_DATA2__USBH1_DATA2 0x1e5
799 MX51_PAD_USBH1_DATA3__USBH1_DATA3 0x1e5
800 MX51_PAD_USBH1_DATA4__USBH1_DATA4 0x1e5
801 MX51_PAD_USBH1_DATA5__USBH1_DATA5 0x1e5
802 MX51_PAD_USBH1_DATA6__USBH1_DATA6 0x1e5
803 MX51_PAD_USBH1_DATA7__USBH1_DATA7 0x1e5
804 MX51_PAD_USBH1_CLK__USBH1_CLK 0x1e5
805 MX51_PAD_USBH1_DIR__USBH1_DIR 0x1e5
806 MX51_PAD_USBH1_NXT__USBH1_NXT 0x1e5
807 MX51_PAD_USBH1_STP__USBH1_STP 0x1e5
808 >;
809 };
810 };
811
812 usbh2 {
813 pinctrl_usbh2_1: usbh2grp-1 {
814 fsl,pins = <
815 MX51_PAD_EIM_D16__USBH2_DATA0 0x1e5
816 MX51_PAD_EIM_D17__USBH2_DATA1 0x1e5
817 MX51_PAD_EIM_D18__USBH2_DATA2 0x1e5
818 MX51_PAD_EIM_D19__USBH2_DATA3 0x1e5
819 MX51_PAD_EIM_D20__USBH2_DATA4 0x1e5
820 MX51_PAD_EIM_D21__USBH2_DATA5 0x1e5
821 MX51_PAD_EIM_D22__USBH2_DATA6 0x1e5
822 MX51_PAD_EIM_D23__USBH2_DATA7 0x1e5
823 MX51_PAD_EIM_A24__USBH2_CLK 0x1e5
824 MX51_PAD_EIM_A25__USBH2_DIR 0x1e5
825 MX51_PAD_EIM_A27__USBH2_NXT 0x1e5
826 MX51_PAD_EIM_A26__USBH2_STP 0x1e5
827 >;
828 };
829 };
830};