blob: f0b25c91e5eb8e841f82673e5bd7a1eba771f80a [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>;
311
312 audmux {
313 pinctrl_audmux_1: audmuxgrp-1 {
314 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800315 MX51_PAD_AUD3_BB_TXD__AUD3_TXD 0x80000000
316 MX51_PAD_AUD3_BB_RXD__AUD3_RXD 0x80000000
317 MX51_PAD_AUD3_BB_CK__AUD3_TXC 0x80000000
318 MX51_PAD_AUD3_BB_FS__AUD3_TXFS 0x80000000
Shawn Guob72cf102012-08-13 19:45:19 +0800319 >;
320 };
321 };
322
323 fec {
324 pinctrl_fec_1: fecgrp-1 {
325 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800326 MX51_PAD_EIM_EB2__FEC_MDIO 0x80000000
327 MX51_PAD_EIM_EB3__FEC_RDATA1 0x80000000
328 MX51_PAD_EIM_CS2__FEC_RDATA2 0x80000000
329 MX51_PAD_EIM_CS3__FEC_RDATA3 0x80000000
330 MX51_PAD_EIM_CS4__FEC_RX_ER 0x80000000
331 MX51_PAD_EIM_CS5__FEC_CRS 0x80000000
332 MX51_PAD_NANDF_RB2__FEC_COL 0x80000000
333 MX51_PAD_NANDF_RB3__FEC_RX_CLK 0x80000000
334 MX51_PAD_NANDF_D9__FEC_RDATA0 0x80000000
335 MX51_PAD_NANDF_D8__FEC_TDATA0 0x80000000
336 MX51_PAD_NANDF_CS2__FEC_TX_ER 0x80000000
337 MX51_PAD_NANDF_CS3__FEC_MDC 0x80000000
338 MX51_PAD_NANDF_CS4__FEC_TDATA1 0x80000000
339 MX51_PAD_NANDF_CS5__FEC_TDATA2 0x80000000
340 MX51_PAD_NANDF_CS6__FEC_TDATA3 0x80000000
341 MX51_PAD_NANDF_CS7__FEC_TX_EN 0x80000000
342 MX51_PAD_NANDF_RDY_INT__FEC_TX_CLK 0x80000000
Shawn Guob72cf102012-08-13 19:45:19 +0800343 >;
344 };
Laurent Cans1982d5b2013-01-20 23:55:29 +0100345
346 pinctrl_fec_2: fecgrp-2 {
347 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800348 MX51_PAD_DI_GP3__FEC_TX_ER 0x80000000
349 MX51_PAD_DI2_PIN4__FEC_CRS 0x80000000
350 MX51_PAD_DI2_PIN2__FEC_MDC 0x80000000
351 MX51_PAD_DI2_PIN3__FEC_MDIO 0x80000000
352 MX51_PAD_DI2_DISP_CLK__FEC_RDATA1 0x80000000
353 MX51_PAD_DI_GP4__FEC_RDATA2 0x80000000
354 MX51_PAD_DISP2_DAT0__FEC_RDATA3 0x80000000
355 MX51_PAD_DISP2_DAT1__FEC_RX_ER 0x80000000
356 MX51_PAD_DISP2_DAT6__FEC_TDATA1 0x80000000
357 MX51_PAD_DISP2_DAT7__FEC_TDATA2 0x80000000
358 MX51_PAD_DISP2_DAT8__FEC_TDATA3 0x80000000
359 MX51_PAD_DISP2_DAT9__FEC_TX_EN 0x80000000
360 MX51_PAD_DISP2_DAT10__FEC_COL 0x80000000
361 MX51_PAD_DISP2_DAT11__FEC_RX_CLK 0x80000000
362 MX51_PAD_DISP2_DAT12__FEC_RX_DV 0x80000000
363 MX51_PAD_DISP2_DAT13__FEC_TX_CLK 0x80000000
364 MX51_PAD_DISP2_DAT14__FEC_RDATA0 0x80000000
365 MX51_PAD_DISP2_DAT15__FEC_TDATA0 0x80000000
Laurent Cans1982d5b2013-01-20 23:55:29 +0100366 >;
367 };
Shawn Guob72cf102012-08-13 19:45:19 +0800368 };
369
370 ecspi1 {
371 pinctrl_ecspi1_1: ecspi1grp-1 {
372 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800373 MX51_PAD_CSPI1_MISO__ECSPI1_MISO 0x185
374 MX51_PAD_CSPI1_MOSI__ECSPI1_MOSI 0x185
375 MX51_PAD_CSPI1_SCLK__ECSPI1_SCLK 0x185
Shawn Guob72cf102012-08-13 19:45:19 +0800376 >;
377 };
378 };
379
Gwenhael Goavec-Meroua15ac4a2013-03-09 14:59:08 +0100380 ecspi2 {
381 pinctrl_ecspi2_1: ecspi2grp-1 {
382 fsl,pins = <
383 MX51_PAD_NANDF_RB3__ECSPI2_MISO 0x185
384 MX51_PAD_NANDF_D15__ECSPI2_MOSI 0x185
385 MX51_PAD_NANDF_RB2__ECSPI2_SCLK 0x185
386 >;
387 };
388 };
389
Shawn Guob72cf102012-08-13 19:45:19 +0800390 esdhc1 {
391 pinctrl_esdhc1_1: esdhc1grp-1 {
392 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800393 MX51_PAD_SD1_CMD__SD1_CMD 0x400020d5
394 MX51_PAD_SD1_CLK__SD1_CLK 0x20d5
395 MX51_PAD_SD1_DATA0__SD1_DATA0 0x20d5
396 MX51_PAD_SD1_DATA1__SD1_DATA1 0x20d5
397 MX51_PAD_SD1_DATA2__SD1_DATA2 0x20d5
398 MX51_PAD_SD1_DATA3__SD1_DATA3 0x20d5
Shawn Guob72cf102012-08-13 19:45:19 +0800399 >;
400 };
401 };
402
403 esdhc2 {
404 pinctrl_esdhc2_1: esdhc2grp-1 {
405 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800406 MX51_PAD_SD2_CMD__SD2_CMD 0x400020d5
407 MX51_PAD_SD2_CLK__SD2_CLK 0x20d5
408 MX51_PAD_SD2_DATA0__SD2_DATA0 0x20d5
409 MX51_PAD_SD2_DATA1__SD2_DATA1 0x20d5
410 MX51_PAD_SD2_DATA2__SD2_DATA2 0x20d5
411 MX51_PAD_SD2_DATA3__SD2_DATA3 0x20d5
Shawn Guob72cf102012-08-13 19:45:19 +0800412 >;
413 };
414 };
415
416 i2c2 {
417 pinctrl_i2c2_1: i2c2grp-1 {
418 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800419 MX51_PAD_KEY_COL4__I2C2_SCL 0x400001ed
420 MX51_PAD_KEY_COL5__I2C2_SDA 0x400001ed
Shawn Guob72cf102012-08-13 19:45:19 +0800421 >;
422 };
Gwenhael Goavec-Merou52c9aa92013-03-09 15:04:19 +0100423
424 pinctrl_i2c2_2: i2c2grp-2 {
425 fsl,pins = <
426 MX51_PAD_EIM_D27__I2C2_SCL 0x400001ed
427 MX51_PAD_EIM_D24__I2C2_SDA 0x400001ed
428 >;
429 };
Shawn Guob72cf102012-08-13 19:45:19 +0800430 };
431
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100432 ipu_disp1 {
433 pinctrl_ipu_disp1_1: ipudisp1grp-1 {
434 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800435 MX51_PAD_DISP1_DAT0__DISP1_DAT0 0x5
436 MX51_PAD_DISP1_DAT1__DISP1_DAT1 0x5
437 MX51_PAD_DISP1_DAT2__DISP1_DAT2 0x5
438 MX51_PAD_DISP1_DAT3__DISP1_DAT3 0x5
439 MX51_PAD_DISP1_DAT4__DISP1_DAT4 0x5
440 MX51_PAD_DISP1_DAT5__DISP1_DAT5 0x5
441 MX51_PAD_DISP1_DAT6__DISP1_DAT6 0x5
442 MX51_PAD_DISP1_DAT7__DISP1_DAT7 0x5
443 MX51_PAD_DISP1_DAT8__DISP1_DAT8 0x5
444 MX51_PAD_DISP1_DAT9__DISP1_DAT9 0x5
445 MX51_PAD_DISP1_DAT10__DISP1_DAT10 0x5
446 MX51_PAD_DISP1_DAT11__DISP1_DAT11 0x5
447 MX51_PAD_DISP1_DAT12__DISP1_DAT12 0x5
448 MX51_PAD_DISP1_DAT13__DISP1_DAT13 0x5
449 MX51_PAD_DISP1_DAT14__DISP1_DAT14 0x5
450 MX51_PAD_DISP1_DAT15__DISP1_DAT15 0x5
451 MX51_PAD_DISP1_DAT16__DISP1_DAT16 0x5
452 MX51_PAD_DISP1_DAT17__DISP1_DAT17 0x5
453 MX51_PAD_DISP1_DAT18__DISP1_DAT18 0x5
454 MX51_PAD_DISP1_DAT19__DISP1_DAT19 0x5
455 MX51_PAD_DISP1_DAT20__DISP1_DAT20 0x5
456 MX51_PAD_DISP1_DAT21__DISP1_DAT21 0x5
457 MX51_PAD_DISP1_DAT22__DISP1_DAT22 0x5
458 MX51_PAD_DISP1_DAT23__DISP1_DAT23 0x5
459 MX51_PAD_DI1_PIN2__DI1_PIN2 0x5 /* hsync */
460 MX51_PAD_DI1_PIN3__DI1_PIN3 0x5 /* vsync */
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100461 >;
462 };
463 };
464
465 ipu_disp2 {
466 pinctrl_ipu_disp2_1: ipudisp2grp-1 {
467 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800468 MX51_PAD_DISP2_DAT0__DISP2_DAT0 0x5
469 MX51_PAD_DISP2_DAT1__DISP2_DAT1 0x5
470 MX51_PAD_DISP2_DAT2__DISP2_DAT2 0x5
471 MX51_PAD_DISP2_DAT3__DISP2_DAT3 0x5
472 MX51_PAD_DISP2_DAT4__DISP2_DAT4 0x5
473 MX51_PAD_DISP2_DAT5__DISP2_DAT5 0x5
474 MX51_PAD_DISP2_DAT6__DISP2_DAT6 0x5
475 MX51_PAD_DISP2_DAT7__DISP2_DAT7 0x5
476 MX51_PAD_DISP2_DAT8__DISP2_DAT8 0x5
477 MX51_PAD_DISP2_DAT9__DISP2_DAT9 0x5
478 MX51_PAD_DISP2_DAT10__DISP2_DAT10 0x5
479 MX51_PAD_DISP2_DAT11__DISP2_DAT11 0x5
480 MX51_PAD_DISP2_DAT12__DISP2_DAT12 0x5
481 MX51_PAD_DISP2_DAT13__DISP2_DAT13 0x5
482 MX51_PAD_DISP2_DAT14__DISP2_DAT14 0x5
483 MX51_PAD_DISP2_DAT15__DISP2_DAT15 0x5
484 MX51_PAD_DI2_PIN2__DI2_PIN2 0x5 /* hsync */
485 MX51_PAD_DI2_PIN3__DI2_PIN3 0x5 /* vsync */
486 MX51_PAD_DI2_DISP_CLK__DI2_DISP_CLK 0x5
487 MX51_PAD_DI_GP4__DI2_PIN15 0x5
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100488 >;
489 };
490 };
491
Sascha Hauera9031822013-06-25 15:51:58 +0200492 kpp {
493 pinctrl_kpp_1: kppgrp-1 {
494 fsl,pins = <
495 MX51_PAD_KEY_ROW0__KEY_ROW0 0xe0
496 MX51_PAD_KEY_ROW1__KEY_ROW1 0xe0
497 MX51_PAD_KEY_ROW2__KEY_ROW2 0xe0
498 MX51_PAD_KEY_ROW3__KEY_ROW3 0xe0
499 MX51_PAD_KEY_COL0__KEY_COL0 0xe8
500 MX51_PAD_KEY_COL1__KEY_COL1 0xe8
501 MX51_PAD_KEY_COL2__KEY_COL2 0xe8
502 MX51_PAD_KEY_COL3__KEY_COL3 0xe8
503 >;
504 };
505 };
506
Sascha Hauer718a35002013-04-04 11:25:09 +0200507 pata {
508 pinctrl_pata_1: patagrp-1 {
509 fsl,pins = <
510 MX51_PAD_NANDF_WE_B__PATA_DIOW 0x2004
511 MX51_PAD_NANDF_RE_B__PATA_DIOR 0x2004
512 MX51_PAD_NANDF_ALE__PATA_BUFFER_EN 0x2004
513 MX51_PAD_NANDF_CLE__PATA_RESET_B 0x2004
514 MX51_PAD_NANDF_WP_B__PATA_DMACK 0x2004
515 MX51_PAD_NANDF_RB0__PATA_DMARQ 0x2004
516 MX51_PAD_NANDF_RB1__PATA_IORDY 0x2004
517 MX51_PAD_GPIO_NAND__PATA_INTRQ 0x2004
518 MX51_PAD_NANDF_CS2__PATA_CS_0 0x2004
519 MX51_PAD_NANDF_CS3__PATA_CS_1 0x2004
520 MX51_PAD_NANDF_CS4__PATA_DA_0 0x2004
521 MX51_PAD_NANDF_CS5__PATA_DA_1 0x2004
522 MX51_PAD_NANDF_CS6__PATA_DA_2 0x2004
523 MX51_PAD_NANDF_D15__PATA_DATA15 0x2004
524 MX51_PAD_NANDF_D14__PATA_DATA14 0x2004
525 MX51_PAD_NANDF_D13__PATA_DATA13 0x2004
526 MX51_PAD_NANDF_D12__PATA_DATA12 0x2004
527 MX51_PAD_NANDF_D11__PATA_DATA11 0x2004
528 MX51_PAD_NANDF_D10__PATA_DATA10 0x2004
529 MX51_PAD_NANDF_D9__PATA_DATA9 0x2004
530 MX51_PAD_NANDF_D8__PATA_DATA8 0x2004
531 MX51_PAD_NANDF_D7__PATA_DATA7 0x2004
532 MX51_PAD_NANDF_D6__PATA_DATA6 0x2004
533 MX51_PAD_NANDF_D5__PATA_DATA5 0x2004
534 MX51_PAD_NANDF_D4__PATA_DATA4 0x2004
535 MX51_PAD_NANDF_D3__PATA_DATA3 0x2004
536 MX51_PAD_NANDF_D2__PATA_DATA2 0x2004
537 MX51_PAD_NANDF_D1__PATA_DATA1 0x2004
538 MX51_PAD_NANDF_D0__PATA_DATA0 0x2004
539 >;
540 };
541 };
542
Shawn Guob72cf102012-08-13 19:45:19 +0800543 uart1 {
544 pinctrl_uart1_1: uart1grp-1 {
545 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800546 MX51_PAD_UART1_RXD__UART1_RXD 0x1c5
547 MX51_PAD_UART1_TXD__UART1_TXD 0x1c5
548 MX51_PAD_UART1_RTS__UART1_RTS 0x1c5
549 MX51_PAD_UART1_CTS__UART1_CTS 0x1c5
Shawn Guob72cf102012-08-13 19:45:19 +0800550 >;
551 };
552 };
553
554 uart2 {
555 pinctrl_uart2_1: uart2grp-1 {
556 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800557 MX51_PAD_UART2_RXD__UART2_RXD 0x1c5
558 MX51_PAD_UART2_TXD__UART2_TXD 0x1c5
Shawn Guob72cf102012-08-13 19:45:19 +0800559 >;
560 };
561 };
562
563 uart3 {
564 pinctrl_uart3_1: uart3grp-1 {
565 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800566 MX51_PAD_EIM_D25__UART3_RXD 0x1c5
567 MX51_PAD_EIM_D26__UART3_TXD 0x1c5
568 MX51_PAD_EIM_D27__UART3_RTS 0x1c5
569 MX51_PAD_EIM_D24__UART3_CTS 0x1c5
Shawn Guob72cf102012-08-13 19:45:19 +0800570 >;
571 };
Laurent Cans1982d5b2013-01-20 23:55:29 +0100572
573 pinctrl_uart3_2: uart3grp-2 {
574 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800575 MX51_PAD_UART3_RXD__UART3_RXD 0x1c5
576 MX51_PAD_UART3_TXD__UART3_TXD 0x1c5
Laurent Cans1982d5b2013-01-20 23:55:29 +0100577 >;
578 };
Shawn Guob72cf102012-08-13 19:45:19 +0800579 };
Sascha Haueraeaa9512013-06-25 15:52:00 +0200580
581 usbh1 {
582 pinctrl_usbh1_1: usbh1grp-1 {
583 fsl,pins = <
584 MX51_PAD_USBH1_DATA0__USBH1_DATA0 0x1e5
585 MX51_PAD_USBH1_DATA1__USBH1_DATA1 0x1e5
586 MX51_PAD_USBH1_DATA2__USBH1_DATA2 0x1e5
587 MX51_PAD_USBH1_DATA3__USBH1_DATA3 0x1e5
588 MX51_PAD_USBH1_DATA4__USBH1_DATA4 0x1e5
589 MX51_PAD_USBH1_DATA5__USBH1_DATA5 0x1e5
590 MX51_PAD_USBH1_DATA6__USBH1_DATA6 0x1e5
591 MX51_PAD_USBH1_DATA7__USBH1_DATA7 0x1e5
592 MX51_PAD_USBH1_CLK__USBH1_CLK 0x1e5
593 MX51_PAD_USBH1_DIR__USBH1_DIR 0x1e5
594 MX51_PAD_USBH1_NXT__USBH1_NXT 0x1e5
595 MX51_PAD_USBH1_STP__USBH1_STP 0x1e5
596 >;
597 };
598 };
599
600 usbh2 {
601 pinctrl_usbh2_1: usbh2grp-1 {
602 fsl,pins = <
603 MX51_PAD_EIM_D16__USBH2_DATA0 0x1e5
604 MX51_PAD_EIM_D17__USBH2_DATA1 0x1e5
605 MX51_PAD_EIM_D18__USBH2_DATA2 0x1e5
606 MX51_PAD_EIM_D19__USBH2_DATA3 0x1e5
607 MX51_PAD_EIM_D20__USBH2_DATA4 0x1e5
608 MX51_PAD_EIM_D21__USBH2_DATA5 0x1e5
609 MX51_PAD_EIM_D22__USBH2_DATA6 0x1e5
610 MX51_PAD_EIM_D23__USBH2_DATA7 0x1e5
611 MX51_PAD_EIM_A24__USBH2_CLK 0x1e5
612 MX51_PAD_EIM_A25__USBH2_DIR 0x1e5
613 MX51_PAD_EIM_A27__USBH2_NXT 0x1e5
614 MX51_PAD_EIM_A26__USBH2_STP 0x1e5
615 >;
616 };
617 };
Shawn Guob72cf102012-08-13 19:45:19 +0800618 };
619
Sascha Hauer82a618d2012-11-19 00:57:08 +0100620 pwm1: pwm@73fb4000 {
621 #pwm-cells = <2>;
622 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
623 reg = <0x73fb4000 0x4000>;
624 clocks = <&clks 37>, <&clks 38>;
625 clock-names = "ipg", "per";
626 interrupts = <61>;
627 };
628
629 pwm2: pwm@73fb8000 {
630 #pwm-cells = <2>;
631 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
632 reg = <0x73fb8000 0x4000>;
633 clocks = <&clks 39>, <&clks 40>;
634 clock-names = "ipg", "per";
635 interrupts = <94>;
636 };
637
Shawn Guo0c456cf2012-04-02 14:39:26 +0800638 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800639 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
640 reg = <0x73fbc000 0x4000>;
641 interrupts = <31>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200642 clocks = <&clks 28>, <&clks 29>;
643 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800644 status = "disabled";
645 };
646
Shawn Guo0c456cf2012-04-02 14:39:26 +0800647 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800648 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
649 reg = <0x73fc0000 0x4000>;
650 interrupts = <32>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200651 clocks = <&clks 30>, <&clks 31>;
652 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800653 status = "disabled";
654 };
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200655
Philipp Zabel8d84c372013-03-28 17:35:23 +0100656 src: src@73fd0000 {
657 compatible = "fsl,imx51-src";
658 reg = <0x73fd0000 0x4000>;
659 #reset-cells = <1>;
660 };
661
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200662 clks: ccm@73fd4000{
663 compatible = "fsl,imx51-ccm";
664 reg = <0x73fd4000 0x4000>;
665 interrupts = <0 71 0x04 0 72 0x04>;
666 #clock-cells = <1>;
667 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800668 };
669
670 aips@80000000 { /* AIPS2 */
671 compatible = "fsl,aips-bus", "simple-bus";
672 #address-cells = <1>;
673 #size-cells = <1>;
674 reg = <0x80000000 0x10000000>;
675 ranges;
676
Sascha Hauer6510ea252013-06-25 15:51:51 +0200677 iim: iim@83f98000 {
678 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
679 reg = <0x83f98000 0x4000>;
680 interrupts = <69>;
681 clocks = <&clks 107>;
682 };
683
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100684 ecspi2: ecspi@83fac000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800685 #address-cells = <1>;
686 #size-cells = <0>;
687 compatible = "fsl,imx51-ecspi";
688 reg = <0x83fac000 0x4000>;
689 interrupts = <37>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200690 clocks = <&clks 53>, <&clks 54>;
691 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800692 status = "disabled";
693 };
694
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100695 sdma: sdma@83fb0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800696 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
697 reg = <0x83fb0000 0x4000>;
698 interrupts = <6>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200699 clocks = <&clks 56>, <&clks 56>;
700 clock-names = "ipg", "ahb";
Huang Shijiefb72bb22013-07-02 10:15:29 +0800701 #dma-cells = <3>;
Fabio Estevam7e4f0362012-08-08 11:28:07 -0300702 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
Shawn Guo9daaf312011-10-17 08:42:17 +0800703 };
704
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100705 cspi: cspi@83fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800706 #address-cells = <1>;
707 #size-cells = <0>;
708 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
709 reg = <0x83fc0000 0x4000>;
710 interrupts = <38>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200711 clocks = <&clks 55>, <&clks 55>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200712 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800713 status = "disabled";
714 };
715
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100716 i2c2: i2c@83fc4000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800717 #address-cells = <1>;
718 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800719 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800720 reg = <0x83fc4000 0x4000>;
721 interrupts = <63>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200722 clocks = <&clks 35>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800723 status = "disabled";
724 };
725
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100726 i2c1: i2c@83fc8000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800727 #address-cells = <1>;
728 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800729 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800730 reg = <0x83fc8000 0x4000>;
731 interrupts = <62>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200732 clocks = <&clks 34>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800733 status = "disabled";
734 };
735
Shawn Guoa15d9f82012-05-11 13:08:46 +0800736 ssi1: ssi@83fcc000 {
737 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
738 reg = <0x83fcc000 0x4000>;
739 interrupts = <29>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200740 clocks = <&clks 48>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800741 dmas = <&sdma 28 0 0>,
742 <&sdma 29 0 0>;
743 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800744 fsl,fifo-depth = <15>;
745 fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */
746 status = "disabled";
747 };
748
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100749 audmux: audmux@83fd0000 {
Shawn Guoa15d9f82012-05-11 13:08:46 +0800750 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
751 reg = <0x83fd0000 0x4000>;
752 status = "disabled";
753 };
754
Alexander Shiyanedd05282013-07-13 08:30:57 +0400755 weim: weim@83fda000 {
756 #address-cells = <2>;
757 #size-cells = <1>;
758 compatible = "fsl,imx51-weim";
759 reg = <0x83fda000 0x1000>;
760 clocks = <&clks 57>;
761 ranges = <
762 0 0 0xb0000000 0x08000000
763 1 0 0xb8000000 0x08000000
764 2 0 0xc0000000 0x08000000
765 3 0 0xc8000000 0x04000000
766 4 0 0xcc000000 0x02000000
767 5 0 0xce000000 0x02000000
768 >;
769 status = "disabled";
770 };
771
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100772 nfc: nand@83fdb000 {
Sascha Hauer75453a02012-06-06 12:33:16 +0200773 compatible = "fsl,imx51-nand";
774 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
775 interrupts = <8>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200776 clocks = <&clks 60>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200777 status = "disabled";
778 };
779
Sascha Hauer718a35002013-04-04 11:25:09 +0200780 pata: pata@83fe0000 {
781 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
782 reg = <0x83fe0000 0x4000>;
783 interrupts = <70>;
784 clocks = <&clks 161>;
785 status = "disabled";
786 };
787
Shawn Guoa15d9f82012-05-11 13:08:46 +0800788 ssi3: ssi@83fe8000 {
789 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
790 reg = <0x83fe8000 0x4000>;
791 interrupts = <96>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200792 clocks = <&clks 50>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800793 dmas = <&sdma 46 0 0>,
794 <&sdma 47 0 0>;
795 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800796 fsl,fifo-depth = <15>;
797 fsl,ssi-dma-events = <47 46 37 35>; /* TX0 RX0 TX1 RX1 */
798 status = "disabled";
799 };
800
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100801 fec: ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800802 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
803 reg = <0x83fec000 0x4000>;
804 interrupts = <87>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200805 clocks = <&clks 42>, <&clks 42>, <&clks 42>;
806 clock-names = "ipg", "ahb", "ptp";
Shawn Guo9daaf312011-10-17 08:42:17 +0800807 status = "disabled";
808 };
809 };
810 };
811};