blob: f46fe9bf0bcb37a903d7ee05d67cc3289516acac [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>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500268 dr_mode = "host";
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200269 status = "disabled";
270 };
271
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100272 usbh2: usb@73f80400 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200273 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
274 reg = <0x73f80400 0x0200>;
275 interrupts = <16>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100276 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200277 fsl,usbmisc = <&usbmisc 2>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500278 dr_mode = "host";
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200279 status = "disabled";
280 };
281
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100282 usbh3: usb@73f80600 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200283 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
284 reg = <0x73f80600 0x0200>;
285 interrupts = <17>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100286 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200287 fsl,usbmisc = <&usbmisc 3>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500288 dr_mode = "host";
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200289 status = "disabled";
290 };
291
Michael Grzeschika5735022013-04-11 12:13:14 +0200292 usbmisc: usbmisc@73f80800 {
293 #index-cells = <1>;
294 compatible = "fsl,imx51-usbmisc";
295 reg = <0x73f80800 0x200>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100296 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200297 };
298
Richard Zhao4d191862011-12-14 09:26:44 +0800299 gpio1: gpio@73f84000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200300 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800301 reg = <0x73f84000 0x4000>;
302 interrupts = <50 51>;
303 gpio-controller;
304 #gpio-cells = <2>;
305 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800306 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800307 };
308
Richard Zhao4d191862011-12-14 09:26:44 +0800309 gpio2: gpio@73f88000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200310 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800311 reg = <0x73f88000 0x4000>;
312 interrupts = <52 53>;
313 gpio-controller;
314 #gpio-cells = <2>;
315 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800316 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800317 };
318
Richard Zhao4d191862011-12-14 09:26:44 +0800319 gpio3: gpio@73f8c000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200320 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800321 reg = <0x73f8c000 0x4000>;
322 interrupts = <54 55>;
323 gpio-controller;
324 #gpio-cells = <2>;
325 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800326 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800327 };
328
Richard Zhao4d191862011-12-14 09:26:44 +0800329 gpio4: gpio@73f90000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200330 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800331 reg = <0x73f90000 0x4000>;
332 interrupts = <56 57>;
333 gpio-controller;
334 #gpio-cells = <2>;
335 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800336 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800337 };
338
Liu Ying60125552013-01-03 20:37:33 +0800339 kpp: kpp@73f94000 {
340 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
341 reg = <0x73f94000 0x4000>;
342 interrupts = <60>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100343 clocks = <&clks IMX5_CLK_DUMMY>;
Liu Ying60125552013-01-03 20:37:33 +0800344 status = "disabled";
345 };
346
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100347 wdog1: wdog@73f98000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800348 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
349 reg = <0x73f98000 0x4000>;
350 interrupts = <58>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100351 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800352 };
353
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100354 wdog2: wdog@73f9c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800355 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
356 reg = <0x73f9c000 0x4000>;
357 interrupts = <59>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100358 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800359 status = "disabled";
360 };
361
Sascha Hauered73c632013-03-14 13:08:59 +0100362 gpt: timer@73fa0000 {
363 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
364 reg = <0x73fa0000 0x4000>;
365 interrupts = <39>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100366 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
367 <&clks IMX5_CLK_GPT_HF_GATE>;
Sascha Hauered73c632013-03-14 13:08:59 +0100368 clock-names = "ipg", "per";
369 };
370
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100371 iomuxc: iomuxc@73fa8000 {
Shawn Guob72cf102012-08-13 19:45:19 +0800372 compatible = "fsl,imx51-iomuxc";
373 reg = <0x73fa8000 0x4000>;
Shawn Guob72cf102012-08-13 19:45:19 +0800374 };
375
Sascha Hauer82a618d2012-11-19 00:57:08 +0100376 pwm1: pwm@73fb4000 {
377 #pwm-cells = <2>;
378 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
379 reg = <0x73fb4000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100380 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
381 <&clks IMX5_CLK_PWM1_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100382 clock-names = "ipg", "per";
383 interrupts = <61>;
384 };
385
386 pwm2: pwm@73fb8000 {
387 #pwm-cells = <2>;
388 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
389 reg = <0x73fb8000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100390 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
391 <&clks IMX5_CLK_PWM2_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100392 clock-names = "ipg", "per";
393 interrupts = <94>;
394 };
395
Shawn Guo0c456cf2012-04-02 14:39:26 +0800396 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800397 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
398 reg = <0x73fbc000 0x4000>;
399 interrupts = <31>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100400 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
401 <&clks IMX5_CLK_UART1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200402 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800403 status = "disabled";
404 };
405
Shawn Guo0c456cf2012-04-02 14:39:26 +0800406 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800407 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
408 reg = <0x73fc0000 0x4000>;
409 interrupts = <32>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100410 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
411 <&clks IMX5_CLK_UART2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200412 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800413 status = "disabled";
414 };
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200415
Philipp Zabel8d84c372013-03-28 17:35:23 +0100416 src: src@73fd0000 {
417 compatible = "fsl,imx51-src";
418 reg = <0x73fd0000 0x4000>;
419 #reset-cells = <1>;
420 };
421
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200422 clks: ccm@73fd4000{
423 compatible = "fsl,imx51-ccm";
424 reg = <0x73fd4000 0x4000>;
425 interrupts = <0 71 0x04 0 72 0x04>;
426 #clock-cells = <1>;
427 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800428 };
429
430 aips@80000000 { /* AIPS2 */
431 compatible = "fsl,aips-bus", "simple-bus";
432 #address-cells = <1>;
433 #size-cells = <1>;
434 reg = <0x80000000 0x10000000>;
435 ranges;
436
Sascha Hauer6510ea252013-06-25 15:51:51 +0200437 iim: iim@83f98000 {
438 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
439 reg = <0x83f98000 0x4000>;
440 interrupts = <69>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100441 clocks = <&clks IMX5_CLK_IIM_GATE>;
Sascha Hauer6510ea252013-06-25 15:51:51 +0200442 };
443
Alexander Shiyanad15f082013-08-21 11:28:25 +0400444 owire: owire@83fa4000 {
445 compatible = "fsl,imx51-owire", "fsl,imx21-owire";
446 reg = <0x83fa4000 0x4000>;
447 interrupts = <88>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100448 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
Alexander Shiyanad15f082013-08-21 11:28:25 +0400449 status = "disabled";
450 };
451
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100452 ecspi2: ecspi@83fac000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800453 #address-cells = <1>;
454 #size-cells = <0>;
455 compatible = "fsl,imx51-ecspi";
456 reg = <0x83fac000 0x4000>;
457 interrupts = <37>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100458 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
459 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200460 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800461 status = "disabled";
462 };
463
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100464 sdma: sdma@83fb0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800465 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
466 reg = <0x83fb0000 0x4000>;
467 interrupts = <6>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100468 clocks = <&clks IMX5_CLK_SDMA_GATE>,
469 <&clks IMX5_CLK_SDMA_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200470 clock-names = "ipg", "ahb";
Huang Shijiefb72bb22013-07-02 10:15:29 +0800471 #dma-cells = <3>;
Fabio Estevam7e4f0362012-08-08 11:28:07 -0300472 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
Shawn Guo9daaf312011-10-17 08:42:17 +0800473 };
474
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100475 cspi: cspi@83fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800476 #address-cells = <1>;
477 #size-cells = <0>;
478 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
479 reg = <0x83fc0000 0x4000>;
480 interrupts = <38>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100481 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
482 <&clks IMX5_CLK_CSPI_IPG_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200483 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800484 status = "disabled";
485 };
486
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100487 i2c2: i2c@83fc4000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800488 #address-cells = <1>;
489 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800490 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800491 reg = <0x83fc4000 0x4000>;
492 interrupts = <63>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100493 clocks = <&clks IMX5_CLK_I2C2_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800494 status = "disabled";
495 };
496
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100497 i2c1: i2c@83fc8000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800498 #address-cells = <1>;
499 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800500 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800501 reg = <0x83fc8000 0x4000>;
502 interrupts = <62>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100503 clocks = <&clks IMX5_CLK_I2C1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800504 status = "disabled";
505 };
506
Shawn Guoa15d9f82012-05-11 13:08:46 +0800507 ssi1: ssi@83fcc000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400508 #sound-dai-cells = <0>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800509 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
510 reg = <0x83fcc000 0x4000>;
511 interrupts = <29>;
Fabio Estevam53ec8742014-09-18 20:23:49 -0300512 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>,
513 <&clks IMX5_CLK_SSI1_ROOT_GATE>;
514 clock-names = "ipg", "baud";
Shawn Guo5da826a2013-07-17 13:50:54 +0800515 dmas = <&sdma 28 0 0>,
516 <&sdma 29 0 0>;
517 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800518 fsl,fifo-depth = <15>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800519 status = "disabled";
520 };
521
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100522 audmux: audmux@83fd0000 {
Shawn Guoa15d9f82012-05-11 13:08:46 +0800523 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
524 reg = <0x83fd0000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100525 clocks = <&clks IMX5_CLK_DUMMY>;
Alexander Shiyane030df92013-11-07 12:45:06 +0400526 clock-names = "audmux";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800527 status = "disabled";
528 };
529
Alexander Shiyanedd05282013-07-13 08:30:57 +0400530 weim: weim@83fda000 {
531 #address-cells = <2>;
532 #size-cells = <1>;
533 compatible = "fsl,imx51-weim";
534 reg = <0x83fda000 0x1000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100535 clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>;
Alexander Shiyanedd05282013-07-13 08:30:57 +0400536 ranges = <
537 0 0 0xb0000000 0x08000000
538 1 0 0xb8000000 0x08000000
539 2 0 0xc0000000 0x08000000
540 3 0 0xc8000000 0x04000000
541 4 0 0xcc000000 0x02000000
542 5 0 0xce000000 0x02000000
543 >;
544 status = "disabled";
545 };
546
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100547 nfc: nand@83fdb000 {
Alexander Shiyanf0e3f892014-04-16 11:24:50 +0400548 #address-cells = <1>;
549 #size-cells = <1>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200550 compatible = "fsl,imx51-nand";
551 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
552 interrupts = <8>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100553 clocks = <&clks IMX5_CLK_NFC_GATE>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200554 status = "disabled";
555 };
556
Sascha Hauer718a35002013-04-04 11:25:09 +0200557 pata: pata@83fe0000 {
558 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
559 reg = <0x83fe0000 0x4000>;
560 interrupts = <70>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100561 clocks = <&clks IMX5_CLK_PATA_GATE>;
Sascha Hauer718a35002013-04-04 11:25:09 +0200562 status = "disabled";
563 };
564
Shawn Guoa15d9f82012-05-11 13:08:46 +0800565 ssi3: ssi@83fe8000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400566 #sound-dai-cells = <0>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800567 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
568 reg = <0x83fe8000 0x4000>;
569 interrupts = <96>;
Fabio Estevam53ec8742014-09-18 20:23:49 -0300570 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>,
571 <&clks IMX5_CLK_SSI3_ROOT_GATE>;
572 clock-names = "ipg", "baud";
Shawn Guo5da826a2013-07-17 13:50:54 +0800573 dmas = <&sdma 46 0 0>,
574 <&sdma 47 0 0>;
575 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800576 fsl,fifo-depth = <15>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800577 status = "disabled";
578 };
579
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100580 fec: ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800581 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
582 reg = <0x83fec000 0x4000>;
583 interrupts = <87>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100584 clocks = <&clks IMX5_CLK_FEC_GATE>,
585 <&clks IMX5_CLK_FEC_GATE>,
586 <&clks IMX5_CLK_FEC_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200587 clock-names = "ipg", "ahb", "ptp";
Shawn Guo9daaf312011-10-17 08:42:17 +0800588 status = "disabled";
589 };
590 };
591 };
592};