blob: c0116cffc513436d54584ee9d1c9d8ad933ebb83 [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"
Lucas Stachff65d4c2013-11-14 11:18:59 +010015#include <dt-bindings/clock/imx5-clock.h>
Alexander Shiyanbdb3eec2013-11-19 15:47:27 +040016#include <dt-bindings/gpio/gpio.h>
Alexander Shiyan72d86d22014-01-11 10:54:19 +040017#include <dt-bindings/input/input.h>
18#include <dt-bindings/interrupt-controller/irq.h>
Shawn Guo9daaf312011-10-17 08:42:17 +080019
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;
Sascha Hauere3b73c62013-06-25 15:51:55 +020027 i2c0 = &i2c1;
28 i2c1 = &i2c2;
Sascha Hauerf742c222014-01-16 13:44:21 +010029 mmc0 = &esdhc1;
30 mmc1 = &esdhc2;
31 mmc2 = &esdhc3;
32 mmc3 = &esdhc4;
Sascha Hauere3b73c62013-06-25 15:51:55 +020033 serial0 = &uart1;
34 serial1 = &uart2;
35 serial2 = &uart3;
36 spi0 = &ecspi1;
37 spi1 = &ecspi2;
38 spi2 = &cspi;
Shawn Guo9daaf312011-10-17 08:42:17 +080039 };
40
41 tzic: tz-interrupt-controller@e0000000 {
42 compatible = "fsl,imx51-tzic", "fsl,tzic";
43 interrupt-controller;
44 #interrupt-cells = <1>;
45 reg = <0xe0000000 0x4000>;
46 };
47
48 clocks {
49 #address-cells = <1>;
50 #size-cells = <0>;
51
52 ckil {
53 compatible = "fsl,imx-ckil", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080054 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080055 clock-frequency = <32768>;
56 };
57
58 ckih1 {
59 compatible = "fsl,imx-ckih1", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080060 #clock-cells = <0>;
Alexander Shiyan677e28b2013-07-27 11:19:45 +040061 clock-frequency = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080062 };
63
64 ckih2 {
65 compatible = "fsl,imx-ckih2", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080066 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080067 clock-frequency = <0>;
68 };
69
70 osc {
71 compatible = "fsl,imx-osc", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080072 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080073 clock-frequency = <24000000>;
74 };
75 };
76
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020077 cpus {
78 #address-cells = <1>;
79 #size-cells = <0>;
Alexander Shiyan6acde882013-11-07 12:45:05 +040080 cpu: cpu@0 {
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020081 device_type = "cpu";
82 compatible = "arm,cortex-a8";
83 reg = <0>;
Alexander Shiyan6acde882013-11-07 12:45:05 +040084 clock-latency = <62500>;
Lucas Stachff65d4c2013-11-14 11:18:59 +010085 clocks = <&clks IMX5_CLK_CPU_PODF>;
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020086 clock-names = "cpu";
87 operating-points = <
Alexander Shiyan6acde882013-11-07 12:45:05 +040088 166000 1000000
89 600000 1050000
90 800000 1100000
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020091 >;
Alexander Shiyan6acde882013-11-07 12:45:05 +040092 voltage-tolerance = <5>;
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020093 };
94 };
95
Alexander Shiyan4e942302013-11-19 15:47:26 +040096 usbphy {
97 #address-cells = <1>;
98 #size-cells = <0>;
99 compatible = "simple-bus";
100
101 usbphy0: usbphy@0 {
102 compatible = "usb-nop-xceiv";
103 reg = <0>;
104 clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
105 clock-names = "main_clk";
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100106 };
107 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800108
Philipp Zabelde10e042014-03-05 10:20:59 +0100109 display-subsystem {
110 compatible = "fsl,imx-display-subsystem";
111 ports = <&ipu_di0>, <&ipu_di1>;
112 };
113
Shawn Guo9daaf312011-10-17 08:42:17 +0800114 soc {
115 #address-cells = <1>;
116 #size-cells = <1>;
117 compatible = "simple-bus";
118 interrupt-parent = <&tzic>;
119 ranges;
120
Alexander Shiyanda38ea32013-08-21 11:28:24 +0400121 iram: iram@1ffe0000 {
122 compatible = "mmio-sram";
123 reg = <0x1ffe0000 0x20000>;
124 };
125
Shawn Guo9daaf312011-10-17 08:42:17 +0800126 ipu: ipu@40000000 {
Philipp Zabelde10e042014-03-05 10:20:59 +0100127 #address-cells = <1>;
128 #size-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800129 compatible = "fsl,imx51-ipu";
130 reg = <0x40000000 0x20000000>;
131 interrupts = <11 10>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100132 clocks = <&clks IMX5_CLK_IPU_GATE>,
133 <&clks IMX5_CLK_IPU_DI0_GATE>,
134 <&clks IMX5_CLK_IPU_DI1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800135 clock-names = "bus", "di0", "di1";
136 resets = <&src 2>;
Philipp Zabelde10e042014-03-05 10:20:59 +0100137
138 ipu_di0: port@2 {
139 reg = <2>;
140
141 ipu_di0_disp0: endpoint {
142 };
143 };
144
145 ipu_di1: port@3 {
146 reg = <3>;
147
148 ipu_di1_disp1: endpoint {
149 };
150 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800151 };
152
153 aips@70000000 { /* AIPS1 */
154 compatible = "fsl,aips-bus", "simple-bus";
155 #address-cells = <1>;
156 #size-cells = <1>;
157 reg = <0x70000000 0x10000000>;
158 ranges;
159
160 spba@70000000 {
161 compatible = "fsl,spba-bus", "simple-bus";
162 #address-cells = <1>;
163 #size-cells = <1>;
164 reg = <0x70000000 0x40000>;
165 ranges;
166
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100167 esdhc1: esdhc@70004000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800168 compatible = "fsl,imx51-esdhc";
169 reg = <0x70004000 0x4000>;
170 interrupts = <1>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100171 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
172 <&clks IMX5_CLK_DUMMY>,
173 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200174 clock-names = "ipg", "ahb", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800175 status = "disabled";
176 };
177
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100178 esdhc2: esdhc@70008000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800179 compatible = "fsl,imx51-esdhc";
180 reg = <0x70008000 0x4000>;
181 interrupts = <2>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100182 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
183 <&clks IMX5_CLK_DUMMY>,
184 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200185 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200186 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800187 status = "disabled";
188 };
189
Shawn Guo0c456cf2012-04-02 14:39:26 +0800190 uart3: serial@7000c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800191 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
192 reg = <0x7000c000 0x4000>;
193 interrupts = <33>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100194 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
195 <&clks IMX5_CLK_UART3_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200196 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800197 status = "disabled";
198 };
199
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100200 ecspi1: ecspi@70010000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800201 #address-cells = <1>;
202 #size-cells = <0>;
203 compatible = "fsl,imx51-ecspi";
204 reg = <0x70010000 0x4000>;
205 interrupts = <36>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100206 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
207 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200208 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800209 status = "disabled";
210 };
211
Shawn Guoa15d9f82012-05-11 13:08:46 +0800212 ssi2: ssi@70014000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400213 #sound-dai-cells = <0>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800214 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
215 reg = <0x70014000 0x4000>;
216 interrupts = <30>;
Fabio Estevam53ec8742014-09-18 20:23:49 -0300217 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>,
218 <&clks IMX5_CLK_SSI2_ROOT_GATE>;
219 clock-names = "ipg", "baud";
Shawn Guo5da826a2013-07-17 13:50:54 +0800220 dmas = <&sdma 24 1 0>,
221 <&sdma 25 1 0>;
222 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800223 fsl,fifo-depth = <15>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800224 status = "disabled";
225 };
226
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100227 esdhc3: esdhc@70020000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800228 compatible = "fsl,imx51-esdhc";
229 reg = <0x70020000 0x4000>;
230 interrupts = <3>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100231 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
232 <&clks IMX5_CLK_DUMMY>,
233 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200234 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200235 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800236 status = "disabled";
237 };
238
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100239 esdhc4: esdhc@70024000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800240 compatible = "fsl,imx51-esdhc";
241 reg = <0x70024000 0x4000>;
242 interrupts = <4>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100243 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
244 <&clks IMX5_CLK_DUMMY>,
245 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200246 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200247 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800248 status = "disabled";
249 };
250 };
251
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100252 usbotg: usb@73f80000 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200253 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
254 reg = <0x73f80000 0x0200>;
255 interrupts = <18>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100256 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200257 fsl,usbmisc = <&usbmisc 0>;
Michael Grzeschika79025c2013-04-11 12:13:16 +0200258 fsl,usbphy = <&usbphy0>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200259 status = "disabled";
260 };
261
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100262 usbh1: usb@73f80200 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200263 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
264 reg = <0x73f80200 0x0200>;
265 interrupts = <14>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100266 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200267 fsl,usbmisc = <&usbmisc 1>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200268 status = "disabled";
269 };
270
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100271 usbh2: usb@73f80400 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200272 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
273 reg = <0x73f80400 0x0200>;
274 interrupts = <16>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100275 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200276 fsl,usbmisc = <&usbmisc 2>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200277 status = "disabled";
278 };
279
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100280 usbh3: usb@73f80600 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200281 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
282 reg = <0x73f80600 0x0200>;
283 interrupts = <17>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100284 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200285 fsl,usbmisc = <&usbmisc 3>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200286 status = "disabled";
287 };
288
Michael Grzeschika5735022013-04-11 12:13:14 +0200289 usbmisc: usbmisc@73f80800 {
290 #index-cells = <1>;
291 compatible = "fsl,imx51-usbmisc";
292 reg = <0x73f80800 0x200>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100293 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200294 };
295
Richard Zhao4d191862011-12-14 09:26:44 +0800296 gpio1: gpio@73f84000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200297 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800298 reg = <0x73f84000 0x4000>;
299 interrupts = <50 51>;
300 gpio-controller;
301 #gpio-cells = <2>;
302 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800303 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800304 };
305
Richard Zhao4d191862011-12-14 09:26:44 +0800306 gpio2: gpio@73f88000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200307 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800308 reg = <0x73f88000 0x4000>;
309 interrupts = <52 53>;
310 gpio-controller;
311 #gpio-cells = <2>;
312 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800313 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800314 };
315
Richard Zhao4d191862011-12-14 09:26:44 +0800316 gpio3: gpio@73f8c000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200317 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800318 reg = <0x73f8c000 0x4000>;
319 interrupts = <54 55>;
320 gpio-controller;
321 #gpio-cells = <2>;
322 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800323 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800324 };
325
Richard Zhao4d191862011-12-14 09:26:44 +0800326 gpio4: gpio@73f90000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200327 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800328 reg = <0x73f90000 0x4000>;
329 interrupts = <56 57>;
330 gpio-controller;
331 #gpio-cells = <2>;
332 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800333 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800334 };
335
Liu Ying60125552013-01-03 20:37:33 +0800336 kpp: kpp@73f94000 {
337 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
338 reg = <0x73f94000 0x4000>;
339 interrupts = <60>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100340 clocks = <&clks IMX5_CLK_DUMMY>;
Liu Ying60125552013-01-03 20:37:33 +0800341 status = "disabled";
342 };
343
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100344 wdog1: wdog@73f98000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800345 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
346 reg = <0x73f98000 0x4000>;
347 interrupts = <58>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100348 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800349 };
350
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100351 wdog2: wdog@73f9c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800352 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
353 reg = <0x73f9c000 0x4000>;
354 interrupts = <59>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100355 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800356 status = "disabled";
357 };
358
Sascha Hauered73c632013-03-14 13:08:59 +0100359 gpt: timer@73fa0000 {
360 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
361 reg = <0x73fa0000 0x4000>;
362 interrupts = <39>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100363 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
364 <&clks IMX5_CLK_GPT_HF_GATE>;
Sascha Hauered73c632013-03-14 13:08:59 +0100365 clock-names = "ipg", "per";
366 };
367
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100368 iomuxc: iomuxc@73fa8000 {
Shawn Guob72cf102012-08-13 19:45:19 +0800369 compatible = "fsl,imx51-iomuxc";
370 reg = <0x73fa8000 0x4000>;
Shawn Guob72cf102012-08-13 19:45:19 +0800371 };
372
Sascha Hauer82a618d2012-11-19 00:57:08 +0100373 pwm1: pwm@73fb4000 {
374 #pwm-cells = <2>;
375 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
376 reg = <0x73fb4000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100377 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
378 <&clks IMX5_CLK_PWM1_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100379 clock-names = "ipg", "per";
380 interrupts = <61>;
381 };
382
383 pwm2: pwm@73fb8000 {
384 #pwm-cells = <2>;
385 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
386 reg = <0x73fb8000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100387 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
388 <&clks IMX5_CLK_PWM2_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100389 clock-names = "ipg", "per";
390 interrupts = <94>;
391 };
392
Shawn Guo0c456cf2012-04-02 14:39:26 +0800393 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800394 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
395 reg = <0x73fbc000 0x4000>;
396 interrupts = <31>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100397 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
398 <&clks IMX5_CLK_UART1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200399 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800400 status = "disabled";
401 };
402
Shawn Guo0c456cf2012-04-02 14:39:26 +0800403 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800404 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
405 reg = <0x73fc0000 0x4000>;
406 interrupts = <32>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100407 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
408 <&clks IMX5_CLK_UART2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200409 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800410 status = "disabled";
411 };
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200412
Philipp Zabel8d84c372013-03-28 17:35:23 +0100413 src: src@73fd0000 {
414 compatible = "fsl,imx51-src";
415 reg = <0x73fd0000 0x4000>;
416 #reset-cells = <1>;
417 };
418
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200419 clks: ccm@73fd4000{
420 compatible = "fsl,imx51-ccm";
421 reg = <0x73fd4000 0x4000>;
422 interrupts = <0 71 0x04 0 72 0x04>;
423 #clock-cells = <1>;
424 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800425 };
426
427 aips@80000000 { /* AIPS2 */
428 compatible = "fsl,aips-bus", "simple-bus";
429 #address-cells = <1>;
430 #size-cells = <1>;
431 reg = <0x80000000 0x10000000>;
432 ranges;
433
Sascha Hauer6510ea252013-06-25 15:51:51 +0200434 iim: iim@83f98000 {
435 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
436 reg = <0x83f98000 0x4000>;
437 interrupts = <69>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100438 clocks = <&clks IMX5_CLK_IIM_GATE>;
Sascha Hauer6510ea252013-06-25 15:51:51 +0200439 };
440
Alexander Shiyanad15f082013-08-21 11:28:25 +0400441 owire: owire@83fa4000 {
442 compatible = "fsl,imx51-owire", "fsl,imx21-owire";
443 reg = <0x83fa4000 0x4000>;
444 interrupts = <88>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100445 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
Alexander Shiyanad15f082013-08-21 11:28:25 +0400446 status = "disabled";
447 };
448
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100449 ecspi2: ecspi@83fac000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800450 #address-cells = <1>;
451 #size-cells = <0>;
452 compatible = "fsl,imx51-ecspi";
453 reg = <0x83fac000 0x4000>;
454 interrupts = <37>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100455 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
456 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200457 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800458 status = "disabled";
459 };
460
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100461 sdma: sdma@83fb0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800462 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
463 reg = <0x83fb0000 0x4000>;
464 interrupts = <6>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100465 clocks = <&clks IMX5_CLK_SDMA_GATE>,
466 <&clks IMX5_CLK_SDMA_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200467 clock-names = "ipg", "ahb";
Huang Shijiefb72bb22013-07-02 10:15:29 +0800468 #dma-cells = <3>;
Fabio Estevam7e4f0362012-08-08 11:28:07 -0300469 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
Shawn Guo9daaf312011-10-17 08:42:17 +0800470 };
471
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100472 cspi: cspi@83fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800473 #address-cells = <1>;
474 #size-cells = <0>;
475 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
476 reg = <0x83fc0000 0x4000>;
477 interrupts = <38>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100478 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
479 <&clks IMX5_CLK_CSPI_IPG_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200480 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800481 status = "disabled";
482 };
483
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100484 i2c2: i2c@83fc4000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800485 #address-cells = <1>;
486 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800487 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800488 reg = <0x83fc4000 0x4000>;
489 interrupts = <63>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100490 clocks = <&clks IMX5_CLK_I2C2_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800491 status = "disabled";
492 };
493
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100494 i2c1: i2c@83fc8000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800495 #address-cells = <1>;
496 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800497 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800498 reg = <0x83fc8000 0x4000>;
499 interrupts = <62>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100500 clocks = <&clks IMX5_CLK_I2C1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800501 status = "disabled";
502 };
503
Shawn Guoa15d9f82012-05-11 13:08:46 +0800504 ssi1: ssi@83fcc000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400505 #sound-dai-cells = <0>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800506 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
507 reg = <0x83fcc000 0x4000>;
508 interrupts = <29>;
Fabio Estevam53ec8742014-09-18 20:23:49 -0300509 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>,
510 <&clks IMX5_CLK_SSI1_ROOT_GATE>;
511 clock-names = "ipg", "baud";
Shawn Guo5da826a2013-07-17 13:50:54 +0800512 dmas = <&sdma 28 0 0>,
513 <&sdma 29 0 0>;
514 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800515 fsl,fifo-depth = <15>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800516 status = "disabled";
517 };
518
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100519 audmux: audmux@83fd0000 {
Shawn Guoa15d9f82012-05-11 13:08:46 +0800520 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
521 reg = <0x83fd0000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100522 clocks = <&clks IMX5_CLK_DUMMY>;
Alexander Shiyane030df92013-11-07 12:45:06 +0400523 clock-names = "audmux";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800524 status = "disabled";
525 };
526
Alexander Shiyanedd05282013-07-13 08:30:57 +0400527 weim: weim@83fda000 {
528 #address-cells = <2>;
529 #size-cells = <1>;
530 compatible = "fsl,imx51-weim";
531 reg = <0x83fda000 0x1000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100532 clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>;
Alexander Shiyanedd05282013-07-13 08:30:57 +0400533 ranges = <
534 0 0 0xb0000000 0x08000000
535 1 0 0xb8000000 0x08000000
536 2 0 0xc0000000 0x08000000
537 3 0 0xc8000000 0x04000000
538 4 0 0xcc000000 0x02000000
539 5 0 0xce000000 0x02000000
540 >;
541 status = "disabled";
542 };
543
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100544 nfc: nand@83fdb000 {
Alexander Shiyanf0e3f892014-04-16 11:24:50 +0400545 #address-cells = <1>;
546 #size-cells = <1>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200547 compatible = "fsl,imx51-nand";
548 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
549 interrupts = <8>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100550 clocks = <&clks IMX5_CLK_NFC_GATE>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200551 status = "disabled";
552 };
553
Sascha Hauer718a35002013-04-04 11:25:09 +0200554 pata: pata@83fe0000 {
555 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
556 reg = <0x83fe0000 0x4000>;
557 interrupts = <70>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100558 clocks = <&clks IMX5_CLK_PATA_GATE>;
Sascha Hauer718a35002013-04-04 11:25:09 +0200559 status = "disabled";
560 };
561
Shawn Guoa15d9f82012-05-11 13:08:46 +0800562 ssi3: ssi@83fe8000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400563 #sound-dai-cells = <0>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800564 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
565 reg = <0x83fe8000 0x4000>;
566 interrupts = <96>;
Fabio Estevam53ec8742014-09-18 20:23:49 -0300567 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>,
568 <&clks IMX5_CLK_SSI3_ROOT_GATE>;
569 clock-names = "ipg", "baud";
Shawn Guo5da826a2013-07-17 13:50:54 +0800570 dmas = <&sdma 46 0 0>,
571 <&sdma 47 0 0>;
572 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800573 fsl,fifo-depth = <15>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800574 status = "disabled";
575 };
576
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100577 fec: ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800578 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
579 reg = <0x83fec000 0x4000>;
580 interrupts = <87>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100581 clocks = <&clks IMX5_CLK_FEC_GATE>,
582 <&clks IMX5_CLK_FEC_GATE>,
583 <&clks IMX5_CLK_FEC_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200584 clock-names = "ipg", "ahb", "ptp";
Shawn Guo9daaf312011-10-17 08:42:17 +0800585 status = "disabled";
586 };
587 };
588 };
589};