blob: 25764b505a619c7e5ff943aa3e4c6769b1256e07 [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 {
Richard Zhao8f9ffec2011-12-14 09:26:45 +080018 serial0 = &uart1;
19 serial1 = &uart2;
20 serial2 = &uart3;
Shawn Guo5230f8f2012-08-05 14:01:28 +080021 gpio0 = &gpio1;
22 gpio1 = &gpio2;
23 gpio2 = &gpio3;
24 gpio3 = &gpio4;
Shawn Guo9daaf312011-10-17 08:42:17 +080025 };
26
27 tzic: tz-interrupt-controller@e0000000 {
28 compatible = "fsl,imx51-tzic", "fsl,tzic";
29 interrupt-controller;
30 #interrupt-cells = <1>;
31 reg = <0xe0000000 0x4000>;
32 };
33
34 clocks {
35 #address-cells = <1>;
36 #size-cells = <0>;
37
38 ckil {
39 compatible = "fsl,imx-ckil", "fixed-clock";
40 clock-frequency = <32768>;
41 };
42
43 ckih1 {
44 compatible = "fsl,imx-ckih1", "fixed-clock";
45 clock-frequency = <22579200>;
46 };
47
48 ckih2 {
49 compatible = "fsl,imx-ckih2", "fixed-clock";
50 clock-frequency = <0>;
51 };
52
53 osc {
54 compatible = "fsl,imx-osc", "fixed-clock";
55 clock-frequency = <24000000>;
56 };
57 };
58
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020059 cpus {
60 #address-cells = <1>;
61 #size-cells = <0>;
62 cpu@0 {
63 device_type = "cpu";
64 compatible = "arm,cortex-a8";
65 reg = <0>;
66 clock-latency = <61036>; /* two CLK32 periods */
67 clocks = <&clks 24>;
68 clock-names = "cpu";
69 operating-points = <
70 /* kHz uV (No regulator support) */
71 160000 0
72 800000 0
73 >;
74 };
75 };
76
Shawn Guo9daaf312011-10-17 08:42:17 +080077 soc {
78 #address-cells = <1>;
79 #size-cells = <1>;
80 compatible = "simple-bus";
81 interrupt-parent = <&tzic>;
82 ranges;
83
Sascha Hauerb5af6b12012-11-12 12:56:00 +010084 ipu: ipu@40000000 {
85 #crtc-cells = <1>;
86 compatible = "fsl,imx51-ipu";
87 reg = <0x40000000 0x20000000>;
88 interrupts = <11 10>;
Philipp Zabel4438a6a2013-03-27 18:30:36 +010089 clocks = <&clks 59>, <&clks 110>, <&clks 61>;
90 clock-names = "bus", "di0", "di1";
Philipp Zabel8d84c372013-03-28 17:35:23 +010091 resets = <&src 2>;
Sascha Hauerb5af6b12012-11-12 12:56:00 +010092 };
93
Shawn Guo9daaf312011-10-17 08:42:17 +080094 aips@70000000 { /* AIPS1 */
95 compatible = "fsl,aips-bus", "simple-bus";
96 #address-cells = <1>;
97 #size-cells = <1>;
98 reg = <0x70000000 0x10000000>;
99 ranges;
100
101 spba@70000000 {
102 compatible = "fsl,spba-bus", "simple-bus";
103 #address-cells = <1>;
104 #size-cells = <1>;
105 reg = <0x70000000 0x40000>;
106 ranges;
107
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100108 esdhc1: esdhc@70004000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800109 compatible = "fsl,imx51-esdhc";
110 reg = <0x70004000 0x4000>;
111 interrupts = <1>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200112 clocks = <&clks 44>, <&clks 0>, <&clks 71>;
113 clock-names = "ipg", "ahb", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800114 status = "disabled";
115 };
116
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100117 esdhc2: esdhc@70008000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800118 compatible = "fsl,imx51-esdhc";
119 reg = <0x70008000 0x4000>;
120 interrupts = <2>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200121 clocks = <&clks 45>, <&clks 0>, <&clks 72>;
122 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200123 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800124 status = "disabled";
125 };
126
Shawn Guo0c456cf2012-04-02 14:39:26 +0800127 uart3: serial@7000c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800128 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
129 reg = <0x7000c000 0x4000>;
130 interrupts = <33>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200131 clocks = <&clks 32>, <&clks 33>;
132 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800133 status = "disabled";
134 };
135
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100136 ecspi1: ecspi@70010000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800137 #address-cells = <1>;
138 #size-cells = <0>;
139 compatible = "fsl,imx51-ecspi";
140 reg = <0x70010000 0x4000>;
141 interrupts = <36>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200142 clocks = <&clks 51>, <&clks 52>;
143 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800144 status = "disabled";
145 };
146
Shawn Guoa15d9f82012-05-11 13:08:46 +0800147 ssi2: ssi@70014000 {
148 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
149 reg = <0x70014000 0x4000>;
150 interrupts = <30>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200151 clocks = <&clks 49>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800152 fsl,fifo-depth = <15>;
153 fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */
154 status = "disabled";
155 };
156
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100157 esdhc3: esdhc@70020000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800158 compatible = "fsl,imx51-esdhc";
159 reg = <0x70020000 0x4000>;
160 interrupts = <3>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200161 clocks = <&clks 46>, <&clks 0>, <&clks 73>;
162 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200163 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800164 status = "disabled";
165 };
166
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100167 esdhc4: esdhc@70024000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800168 compatible = "fsl,imx51-esdhc";
169 reg = <0x70024000 0x4000>;
170 interrupts = <4>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200171 clocks = <&clks 47>, <&clks 0>, <&clks 74>;
172 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200173 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800174 status = "disabled";
175 };
176 };
177
Michael Grzeschika79025c2013-04-11 12:13:16 +0200178 usbphy0: usbphy@0 {
179 compatible = "usb-nop-xceiv";
180 clocks = <&clks 124>;
181 clock-names = "main_clk";
182 status = "okay";
183 };
184
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100185 usbotg: usb@73f80000 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200186 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
187 reg = <0x73f80000 0x0200>;
188 interrupts = <18>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200189 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200190 fsl,usbmisc = <&usbmisc 0>;
Michael Grzeschika79025c2013-04-11 12:13:16 +0200191 fsl,usbphy = <&usbphy0>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200192 status = "disabled";
193 };
194
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100195 usbh1: usb@73f80200 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200196 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
197 reg = <0x73f80200 0x0200>;
198 interrupts = <14>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200199 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200200 fsl,usbmisc = <&usbmisc 1>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200201 status = "disabled";
202 };
203
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100204 usbh2: usb@73f80400 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200205 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
206 reg = <0x73f80400 0x0200>;
207 interrupts = <16>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200208 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200209 fsl,usbmisc = <&usbmisc 2>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200210 status = "disabled";
211 };
212
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100213 usbh3: usb@73f80600 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200214 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
215 reg = <0x73f80600 0x0200>;
216 interrupts = <17>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200217 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200218 fsl,usbmisc = <&usbmisc 3>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200219 status = "disabled";
220 };
221
Michael Grzeschika5735022013-04-11 12:13:14 +0200222 usbmisc: usbmisc@73f80800 {
223 #index-cells = <1>;
224 compatible = "fsl,imx51-usbmisc";
225 reg = <0x73f80800 0x200>;
Michael Grzeschik8e388902013-04-11 12:13:15 +0200226 clocks = <&clks 108>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200227 };
228
Richard Zhao4d191862011-12-14 09:26:44 +0800229 gpio1: gpio@73f84000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200230 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800231 reg = <0x73f84000 0x4000>;
232 interrupts = <50 51>;
233 gpio-controller;
234 #gpio-cells = <2>;
235 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800236 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800237 };
238
Richard Zhao4d191862011-12-14 09:26:44 +0800239 gpio2: gpio@73f88000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200240 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800241 reg = <0x73f88000 0x4000>;
242 interrupts = <52 53>;
243 gpio-controller;
244 #gpio-cells = <2>;
245 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800246 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800247 };
248
Richard Zhao4d191862011-12-14 09:26:44 +0800249 gpio3: gpio@73f8c000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200250 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800251 reg = <0x73f8c000 0x4000>;
252 interrupts = <54 55>;
253 gpio-controller;
254 #gpio-cells = <2>;
255 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800256 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800257 };
258
Richard Zhao4d191862011-12-14 09:26:44 +0800259 gpio4: gpio@73f90000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200260 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800261 reg = <0x73f90000 0x4000>;
262 interrupts = <56 57>;
263 gpio-controller;
264 #gpio-cells = <2>;
265 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800266 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800267 };
268
Liu Ying60125552013-01-03 20:37:33 +0800269 kpp: kpp@73f94000 {
270 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
271 reg = <0x73f94000 0x4000>;
272 interrupts = <60>;
273 clocks = <&clks 0>;
274 status = "disabled";
275 };
276
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100277 wdog1: wdog@73f98000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800278 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
279 reg = <0x73f98000 0x4000>;
280 interrupts = <58>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200281 clocks = <&clks 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800282 };
283
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100284 wdog2: wdog@73f9c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800285 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
286 reg = <0x73f9c000 0x4000>;
287 interrupts = <59>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200288 clocks = <&clks 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800289 status = "disabled";
290 };
291
Sascha Hauered73c632013-03-14 13:08:59 +0100292 gpt: timer@73fa0000 {
293 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
294 reg = <0x73fa0000 0x4000>;
295 interrupts = <39>;
296 clocks = <&clks 36>, <&clks 41>;
297 clock-names = "ipg", "per";
298 };
299
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100300 iomuxc: iomuxc@73fa8000 {
Shawn Guob72cf102012-08-13 19:45:19 +0800301 compatible = "fsl,imx51-iomuxc";
302 reg = <0x73fa8000 0x4000>;
303
304 audmux {
305 pinctrl_audmux_1: audmuxgrp-1 {
306 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800307 MX51_PAD_AUD3_BB_TXD__AUD3_TXD 0x80000000
308 MX51_PAD_AUD3_BB_RXD__AUD3_RXD 0x80000000
309 MX51_PAD_AUD3_BB_CK__AUD3_TXC 0x80000000
310 MX51_PAD_AUD3_BB_FS__AUD3_TXFS 0x80000000
Shawn Guob72cf102012-08-13 19:45:19 +0800311 >;
312 };
313 };
314
315 fec {
316 pinctrl_fec_1: fecgrp-1 {
317 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800318 MX51_PAD_EIM_EB2__FEC_MDIO 0x80000000
319 MX51_PAD_EIM_EB3__FEC_RDATA1 0x80000000
320 MX51_PAD_EIM_CS2__FEC_RDATA2 0x80000000
321 MX51_PAD_EIM_CS3__FEC_RDATA3 0x80000000
322 MX51_PAD_EIM_CS4__FEC_RX_ER 0x80000000
323 MX51_PAD_EIM_CS5__FEC_CRS 0x80000000
324 MX51_PAD_NANDF_RB2__FEC_COL 0x80000000
325 MX51_PAD_NANDF_RB3__FEC_RX_CLK 0x80000000
326 MX51_PAD_NANDF_D9__FEC_RDATA0 0x80000000
327 MX51_PAD_NANDF_D8__FEC_TDATA0 0x80000000
328 MX51_PAD_NANDF_CS2__FEC_TX_ER 0x80000000
329 MX51_PAD_NANDF_CS3__FEC_MDC 0x80000000
330 MX51_PAD_NANDF_CS4__FEC_TDATA1 0x80000000
331 MX51_PAD_NANDF_CS5__FEC_TDATA2 0x80000000
332 MX51_PAD_NANDF_CS6__FEC_TDATA3 0x80000000
333 MX51_PAD_NANDF_CS7__FEC_TX_EN 0x80000000
334 MX51_PAD_NANDF_RDY_INT__FEC_TX_CLK 0x80000000
Shawn Guob72cf102012-08-13 19:45:19 +0800335 >;
336 };
Laurent Cans1982d5b2013-01-20 23:55:29 +0100337
338 pinctrl_fec_2: fecgrp-2 {
339 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800340 MX51_PAD_DI_GP3__FEC_TX_ER 0x80000000
341 MX51_PAD_DI2_PIN4__FEC_CRS 0x80000000
342 MX51_PAD_DI2_PIN2__FEC_MDC 0x80000000
343 MX51_PAD_DI2_PIN3__FEC_MDIO 0x80000000
344 MX51_PAD_DI2_DISP_CLK__FEC_RDATA1 0x80000000
345 MX51_PAD_DI_GP4__FEC_RDATA2 0x80000000
346 MX51_PAD_DISP2_DAT0__FEC_RDATA3 0x80000000
347 MX51_PAD_DISP2_DAT1__FEC_RX_ER 0x80000000
348 MX51_PAD_DISP2_DAT6__FEC_TDATA1 0x80000000
349 MX51_PAD_DISP2_DAT7__FEC_TDATA2 0x80000000
350 MX51_PAD_DISP2_DAT8__FEC_TDATA3 0x80000000
351 MX51_PAD_DISP2_DAT9__FEC_TX_EN 0x80000000
352 MX51_PAD_DISP2_DAT10__FEC_COL 0x80000000
353 MX51_PAD_DISP2_DAT11__FEC_RX_CLK 0x80000000
354 MX51_PAD_DISP2_DAT12__FEC_RX_DV 0x80000000
355 MX51_PAD_DISP2_DAT13__FEC_TX_CLK 0x80000000
356 MX51_PAD_DISP2_DAT14__FEC_RDATA0 0x80000000
357 MX51_PAD_DISP2_DAT15__FEC_TDATA0 0x80000000
Laurent Cans1982d5b2013-01-20 23:55:29 +0100358 >;
359 };
Shawn Guob72cf102012-08-13 19:45:19 +0800360 };
361
362 ecspi1 {
363 pinctrl_ecspi1_1: ecspi1grp-1 {
364 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800365 MX51_PAD_CSPI1_MISO__ECSPI1_MISO 0x185
366 MX51_PAD_CSPI1_MOSI__ECSPI1_MOSI 0x185
367 MX51_PAD_CSPI1_SCLK__ECSPI1_SCLK 0x185
Shawn Guob72cf102012-08-13 19:45:19 +0800368 >;
369 };
370 };
371
Gwenhael Goavec-Meroua15ac4a2013-03-09 14:59:08 +0100372 ecspi2 {
373 pinctrl_ecspi2_1: ecspi2grp-1 {
374 fsl,pins = <
375 MX51_PAD_NANDF_RB3__ECSPI2_MISO 0x185
376 MX51_PAD_NANDF_D15__ECSPI2_MOSI 0x185
377 MX51_PAD_NANDF_RB2__ECSPI2_SCLK 0x185
378 >;
379 };
380 };
381
Shawn Guob72cf102012-08-13 19:45:19 +0800382 esdhc1 {
383 pinctrl_esdhc1_1: esdhc1grp-1 {
384 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800385 MX51_PAD_SD1_CMD__SD1_CMD 0x400020d5
386 MX51_PAD_SD1_CLK__SD1_CLK 0x20d5
387 MX51_PAD_SD1_DATA0__SD1_DATA0 0x20d5
388 MX51_PAD_SD1_DATA1__SD1_DATA1 0x20d5
389 MX51_PAD_SD1_DATA2__SD1_DATA2 0x20d5
390 MX51_PAD_SD1_DATA3__SD1_DATA3 0x20d5
Shawn Guob72cf102012-08-13 19:45:19 +0800391 >;
392 };
393 };
394
395 esdhc2 {
396 pinctrl_esdhc2_1: esdhc2grp-1 {
397 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800398 MX51_PAD_SD2_CMD__SD2_CMD 0x400020d5
399 MX51_PAD_SD2_CLK__SD2_CLK 0x20d5
400 MX51_PAD_SD2_DATA0__SD2_DATA0 0x20d5
401 MX51_PAD_SD2_DATA1__SD2_DATA1 0x20d5
402 MX51_PAD_SD2_DATA2__SD2_DATA2 0x20d5
403 MX51_PAD_SD2_DATA3__SD2_DATA3 0x20d5
Shawn Guob72cf102012-08-13 19:45:19 +0800404 >;
405 };
406 };
407
408 i2c2 {
409 pinctrl_i2c2_1: i2c2grp-1 {
410 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800411 MX51_PAD_KEY_COL4__I2C2_SCL 0x400001ed
412 MX51_PAD_KEY_COL5__I2C2_SDA 0x400001ed
Shawn Guob72cf102012-08-13 19:45:19 +0800413 >;
414 };
Gwenhael Goavec-Merou52c9aa92013-03-09 15:04:19 +0100415
416 pinctrl_i2c2_2: i2c2grp-2 {
417 fsl,pins = <
418 MX51_PAD_EIM_D27__I2C2_SCL 0x400001ed
419 MX51_PAD_EIM_D24__I2C2_SDA 0x400001ed
420 >;
421 };
Shawn Guob72cf102012-08-13 19:45:19 +0800422 };
423
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100424 ipu_disp1 {
425 pinctrl_ipu_disp1_1: ipudisp1grp-1 {
426 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800427 MX51_PAD_DISP1_DAT0__DISP1_DAT0 0x5
428 MX51_PAD_DISP1_DAT1__DISP1_DAT1 0x5
429 MX51_PAD_DISP1_DAT2__DISP1_DAT2 0x5
430 MX51_PAD_DISP1_DAT3__DISP1_DAT3 0x5
431 MX51_PAD_DISP1_DAT4__DISP1_DAT4 0x5
432 MX51_PAD_DISP1_DAT5__DISP1_DAT5 0x5
433 MX51_PAD_DISP1_DAT6__DISP1_DAT6 0x5
434 MX51_PAD_DISP1_DAT7__DISP1_DAT7 0x5
435 MX51_PAD_DISP1_DAT8__DISP1_DAT8 0x5
436 MX51_PAD_DISP1_DAT9__DISP1_DAT9 0x5
437 MX51_PAD_DISP1_DAT10__DISP1_DAT10 0x5
438 MX51_PAD_DISP1_DAT11__DISP1_DAT11 0x5
439 MX51_PAD_DISP1_DAT12__DISP1_DAT12 0x5
440 MX51_PAD_DISP1_DAT13__DISP1_DAT13 0x5
441 MX51_PAD_DISP1_DAT14__DISP1_DAT14 0x5
442 MX51_PAD_DISP1_DAT15__DISP1_DAT15 0x5
443 MX51_PAD_DISP1_DAT16__DISP1_DAT16 0x5
444 MX51_PAD_DISP1_DAT17__DISP1_DAT17 0x5
445 MX51_PAD_DISP1_DAT18__DISP1_DAT18 0x5
446 MX51_PAD_DISP1_DAT19__DISP1_DAT19 0x5
447 MX51_PAD_DISP1_DAT20__DISP1_DAT20 0x5
448 MX51_PAD_DISP1_DAT21__DISP1_DAT21 0x5
449 MX51_PAD_DISP1_DAT22__DISP1_DAT22 0x5
450 MX51_PAD_DISP1_DAT23__DISP1_DAT23 0x5
451 MX51_PAD_DI1_PIN2__DI1_PIN2 0x5 /* hsync */
452 MX51_PAD_DI1_PIN3__DI1_PIN3 0x5 /* vsync */
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100453 >;
454 };
455 };
456
457 ipu_disp2 {
458 pinctrl_ipu_disp2_1: ipudisp2grp-1 {
459 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800460 MX51_PAD_DISP2_DAT0__DISP2_DAT0 0x5
461 MX51_PAD_DISP2_DAT1__DISP2_DAT1 0x5
462 MX51_PAD_DISP2_DAT2__DISP2_DAT2 0x5
463 MX51_PAD_DISP2_DAT3__DISP2_DAT3 0x5
464 MX51_PAD_DISP2_DAT4__DISP2_DAT4 0x5
465 MX51_PAD_DISP2_DAT5__DISP2_DAT5 0x5
466 MX51_PAD_DISP2_DAT6__DISP2_DAT6 0x5
467 MX51_PAD_DISP2_DAT7__DISP2_DAT7 0x5
468 MX51_PAD_DISP2_DAT8__DISP2_DAT8 0x5
469 MX51_PAD_DISP2_DAT9__DISP2_DAT9 0x5
470 MX51_PAD_DISP2_DAT10__DISP2_DAT10 0x5
471 MX51_PAD_DISP2_DAT11__DISP2_DAT11 0x5
472 MX51_PAD_DISP2_DAT12__DISP2_DAT12 0x5
473 MX51_PAD_DISP2_DAT13__DISP2_DAT13 0x5
474 MX51_PAD_DISP2_DAT14__DISP2_DAT14 0x5
475 MX51_PAD_DISP2_DAT15__DISP2_DAT15 0x5
476 MX51_PAD_DI2_PIN2__DI2_PIN2 0x5 /* hsync */
477 MX51_PAD_DI2_PIN3__DI2_PIN3 0x5 /* vsync */
478 MX51_PAD_DI2_DISP_CLK__DI2_DISP_CLK 0x5
479 MX51_PAD_DI_GP4__DI2_PIN15 0x5
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100480 >;
481 };
482 };
483
Sascha Hauer718a35002013-04-04 11:25:09 +0200484 pata {
485 pinctrl_pata_1: patagrp-1 {
486 fsl,pins = <
487 MX51_PAD_NANDF_WE_B__PATA_DIOW 0x2004
488 MX51_PAD_NANDF_RE_B__PATA_DIOR 0x2004
489 MX51_PAD_NANDF_ALE__PATA_BUFFER_EN 0x2004
490 MX51_PAD_NANDF_CLE__PATA_RESET_B 0x2004
491 MX51_PAD_NANDF_WP_B__PATA_DMACK 0x2004
492 MX51_PAD_NANDF_RB0__PATA_DMARQ 0x2004
493 MX51_PAD_NANDF_RB1__PATA_IORDY 0x2004
494 MX51_PAD_GPIO_NAND__PATA_INTRQ 0x2004
495 MX51_PAD_NANDF_CS2__PATA_CS_0 0x2004
496 MX51_PAD_NANDF_CS3__PATA_CS_1 0x2004
497 MX51_PAD_NANDF_CS4__PATA_DA_0 0x2004
498 MX51_PAD_NANDF_CS5__PATA_DA_1 0x2004
499 MX51_PAD_NANDF_CS6__PATA_DA_2 0x2004
500 MX51_PAD_NANDF_D15__PATA_DATA15 0x2004
501 MX51_PAD_NANDF_D14__PATA_DATA14 0x2004
502 MX51_PAD_NANDF_D13__PATA_DATA13 0x2004
503 MX51_PAD_NANDF_D12__PATA_DATA12 0x2004
504 MX51_PAD_NANDF_D11__PATA_DATA11 0x2004
505 MX51_PAD_NANDF_D10__PATA_DATA10 0x2004
506 MX51_PAD_NANDF_D9__PATA_DATA9 0x2004
507 MX51_PAD_NANDF_D8__PATA_DATA8 0x2004
508 MX51_PAD_NANDF_D7__PATA_DATA7 0x2004
509 MX51_PAD_NANDF_D6__PATA_DATA6 0x2004
510 MX51_PAD_NANDF_D5__PATA_DATA5 0x2004
511 MX51_PAD_NANDF_D4__PATA_DATA4 0x2004
512 MX51_PAD_NANDF_D3__PATA_DATA3 0x2004
513 MX51_PAD_NANDF_D2__PATA_DATA2 0x2004
514 MX51_PAD_NANDF_D1__PATA_DATA1 0x2004
515 MX51_PAD_NANDF_D0__PATA_DATA0 0x2004
516 >;
517 };
518 };
519
Shawn Guob72cf102012-08-13 19:45:19 +0800520 uart1 {
521 pinctrl_uart1_1: uart1grp-1 {
522 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800523 MX51_PAD_UART1_RXD__UART1_RXD 0x1c5
524 MX51_PAD_UART1_TXD__UART1_TXD 0x1c5
525 MX51_PAD_UART1_RTS__UART1_RTS 0x1c5
526 MX51_PAD_UART1_CTS__UART1_CTS 0x1c5
Shawn Guob72cf102012-08-13 19:45:19 +0800527 >;
528 };
529 };
530
531 uart2 {
532 pinctrl_uart2_1: uart2grp-1 {
533 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800534 MX51_PAD_UART2_RXD__UART2_RXD 0x1c5
535 MX51_PAD_UART2_TXD__UART2_TXD 0x1c5
Shawn Guob72cf102012-08-13 19:45:19 +0800536 >;
537 };
538 };
539
540 uart3 {
541 pinctrl_uart3_1: uart3grp-1 {
542 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800543 MX51_PAD_EIM_D25__UART3_RXD 0x1c5
544 MX51_PAD_EIM_D26__UART3_TXD 0x1c5
545 MX51_PAD_EIM_D27__UART3_RTS 0x1c5
546 MX51_PAD_EIM_D24__UART3_CTS 0x1c5
Shawn Guob72cf102012-08-13 19:45:19 +0800547 >;
548 };
Laurent Cans1982d5b2013-01-20 23:55:29 +0100549
550 pinctrl_uart3_2: uart3grp-2 {
551 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800552 MX51_PAD_UART3_RXD__UART3_RXD 0x1c5
553 MX51_PAD_UART3_TXD__UART3_TXD 0x1c5
Laurent Cans1982d5b2013-01-20 23:55:29 +0100554 >;
555 };
Shawn Guob72cf102012-08-13 19:45:19 +0800556 };
Liu Ying60125552013-01-03 20:37:33 +0800557
558 kpp {
559 pinctrl_kpp_1: kppgrp-1 {
560 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800561 MX51_PAD_KEY_ROW0__KEY_ROW0 0xe0
562 MX51_PAD_KEY_ROW1__KEY_ROW1 0xe0
563 MX51_PAD_KEY_ROW2__KEY_ROW2 0xe0
564 MX51_PAD_KEY_ROW3__KEY_ROW3 0xe0
565 MX51_PAD_KEY_COL0__KEY_COL0 0xe8
566 MX51_PAD_KEY_COL1__KEY_COL1 0xe8
567 MX51_PAD_KEY_COL2__KEY_COL2 0xe8
568 MX51_PAD_KEY_COL3__KEY_COL3 0xe8
Liu Ying60125552013-01-03 20:37:33 +0800569 >;
570 };
571 };
Shawn Guob72cf102012-08-13 19:45:19 +0800572 };
573
Sascha Hauer82a618d2012-11-19 00:57:08 +0100574 pwm1: pwm@73fb4000 {
575 #pwm-cells = <2>;
576 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
577 reg = <0x73fb4000 0x4000>;
578 clocks = <&clks 37>, <&clks 38>;
579 clock-names = "ipg", "per";
580 interrupts = <61>;
581 };
582
583 pwm2: pwm@73fb8000 {
584 #pwm-cells = <2>;
585 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
586 reg = <0x73fb8000 0x4000>;
587 clocks = <&clks 39>, <&clks 40>;
588 clock-names = "ipg", "per";
589 interrupts = <94>;
590 };
591
Shawn Guo0c456cf2012-04-02 14:39:26 +0800592 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800593 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
594 reg = <0x73fbc000 0x4000>;
595 interrupts = <31>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200596 clocks = <&clks 28>, <&clks 29>;
597 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800598 status = "disabled";
599 };
600
Shawn Guo0c456cf2012-04-02 14:39:26 +0800601 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800602 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
603 reg = <0x73fc0000 0x4000>;
604 interrupts = <32>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200605 clocks = <&clks 30>, <&clks 31>;
606 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800607 status = "disabled";
608 };
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200609
Philipp Zabel8d84c372013-03-28 17:35:23 +0100610 src: src@73fd0000 {
611 compatible = "fsl,imx51-src";
612 reg = <0x73fd0000 0x4000>;
613 #reset-cells = <1>;
614 };
615
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200616 clks: ccm@73fd4000{
617 compatible = "fsl,imx51-ccm";
618 reg = <0x73fd4000 0x4000>;
619 interrupts = <0 71 0x04 0 72 0x04>;
620 #clock-cells = <1>;
621 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800622 };
623
624 aips@80000000 { /* AIPS2 */
625 compatible = "fsl,aips-bus", "simple-bus";
626 #address-cells = <1>;
627 #size-cells = <1>;
628 reg = <0x80000000 0x10000000>;
629 ranges;
630
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100631 ecspi2: ecspi@83fac000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800632 #address-cells = <1>;
633 #size-cells = <0>;
634 compatible = "fsl,imx51-ecspi";
635 reg = <0x83fac000 0x4000>;
636 interrupts = <37>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200637 clocks = <&clks 53>, <&clks 54>;
638 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800639 status = "disabled";
640 };
641
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100642 sdma: sdma@83fb0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800643 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
644 reg = <0x83fb0000 0x4000>;
645 interrupts = <6>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200646 clocks = <&clks 56>, <&clks 56>;
647 clock-names = "ipg", "ahb";
Fabio Estevam7e4f0362012-08-08 11:28:07 -0300648 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
Shawn Guo9daaf312011-10-17 08:42:17 +0800649 };
650
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100651 cspi: cspi@83fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800652 #address-cells = <1>;
653 #size-cells = <0>;
654 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
655 reg = <0x83fc0000 0x4000>;
656 interrupts = <38>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200657 clocks = <&clks 55>, <&clks 55>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200658 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800659 status = "disabled";
660 };
661
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100662 i2c2: i2c@83fc4000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800663 #address-cells = <1>;
664 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800665 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800666 reg = <0x83fc4000 0x4000>;
667 interrupts = <63>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200668 clocks = <&clks 35>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800669 status = "disabled";
670 };
671
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100672 i2c1: i2c@83fc8000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800673 #address-cells = <1>;
674 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800675 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800676 reg = <0x83fc8000 0x4000>;
677 interrupts = <62>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200678 clocks = <&clks 34>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800679 status = "disabled";
680 };
681
Shawn Guoa15d9f82012-05-11 13:08:46 +0800682 ssi1: ssi@83fcc000 {
683 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
684 reg = <0x83fcc000 0x4000>;
685 interrupts = <29>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200686 clocks = <&clks 48>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800687 fsl,fifo-depth = <15>;
688 fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */
689 status = "disabled";
690 };
691
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100692 audmux: audmux@83fd0000 {
Shawn Guoa15d9f82012-05-11 13:08:46 +0800693 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
694 reg = <0x83fd0000 0x4000>;
695 status = "disabled";
696 };
697
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100698 nfc: nand@83fdb000 {
Sascha Hauer75453a02012-06-06 12:33:16 +0200699 compatible = "fsl,imx51-nand";
700 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
701 interrupts = <8>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200702 clocks = <&clks 60>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200703 status = "disabled";
704 };
705
Sascha Hauer718a35002013-04-04 11:25:09 +0200706 pata: pata@83fe0000 {
707 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
708 reg = <0x83fe0000 0x4000>;
709 interrupts = <70>;
710 clocks = <&clks 161>;
711 status = "disabled";
712 };
713
Shawn Guoa15d9f82012-05-11 13:08:46 +0800714 ssi3: ssi@83fe8000 {
715 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
716 reg = <0x83fe8000 0x4000>;
717 interrupts = <96>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200718 clocks = <&clks 50>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800719 fsl,fifo-depth = <15>;
720 fsl,ssi-dma-events = <47 46 37 35>; /* TX0 RX0 TX1 RX1 */
721 status = "disabled";
722 };
723
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100724 fec: ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800725 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
726 reg = <0x83fec000 0x4000>;
727 interrupts = <87>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200728 clocks = <&clks 42>, <&clks 42>, <&clks 42>;
729 clock-names = "ipg", "ahb", "ptp";
Shawn Guo9daaf312011-10-17 08:42:17 +0800730 status = "disabled";
731 };
732 };
733 };
734};