blob: 5f8216d08f6b5f4ff98e13df047ab9b27ee83706 [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 {
Shawn Guo5230f8f2012-08-05 14:01:28 +080022 gpio0 = &gpio1;
23 gpio1 = &gpio2;
24 gpio2 = &gpio3;
25 gpio3 = &gpio4;
Sascha Hauere3b73c62013-06-25 15:51:55 +020026 i2c0 = &i2c1;
27 i2c1 = &i2c2;
Sascha Hauerf742c222014-01-16 13:44:21 +010028 mmc0 = &esdhc1;
29 mmc1 = &esdhc2;
30 mmc2 = &esdhc3;
31 mmc3 = &esdhc4;
Sascha Hauere3b73c62013-06-25 15:51:55 +020032 serial0 = &uart1;
33 serial1 = &uart2;
34 serial2 = &uart3;
35 spi0 = &ecspi1;
36 spi1 = &ecspi2;
37 spi2 = &cspi;
Shawn Guo9daaf312011-10-17 08:42:17 +080038 };
39
40 tzic: tz-interrupt-controller@e0000000 {
41 compatible = "fsl,imx51-tzic", "fsl,tzic";
42 interrupt-controller;
43 #interrupt-cells = <1>;
44 reg = <0xe0000000 0x4000>;
45 };
46
47 clocks {
48 #address-cells = <1>;
49 #size-cells = <0>;
50
51 ckil {
52 compatible = "fsl,imx-ckil", "fixed-clock";
53 clock-frequency = <32768>;
54 };
55
56 ckih1 {
57 compatible = "fsl,imx-ckih1", "fixed-clock";
Alexander Shiyan677e28b2013-07-27 11:19:45 +040058 clock-frequency = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080059 };
60
61 ckih2 {
62 compatible = "fsl,imx-ckih2", "fixed-clock";
63 clock-frequency = <0>;
64 };
65
66 osc {
67 compatible = "fsl,imx-osc", "fixed-clock";
68 clock-frequency = <24000000>;
69 };
70 };
71
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020072 cpus {
73 #address-cells = <1>;
74 #size-cells = <0>;
Alexander Shiyan6acde882013-11-07 12:45:05 +040075 cpu: cpu@0 {
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020076 device_type = "cpu";
77 compatible = "arm,cortex-a8";
78 reg = <0>;
Alexander Shiyan6acde882013-11-07 12:45:05 +040079 clock-latency = <62500>;
Lucas Stachff65d4c2013-11-14 11:18:59 +010080 clocks = <&clks IMX5_CLK_CPU_PODF>;
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020081 clock-names = "cpu";
82 operating-points = <
Alexander Shiyan6acde882013-11-07 12:45:05 +040083 166000 1000000
84 600000 1050000
85 800000 1100000
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020086 >;
Alexander Shiyan6acde882013-11-07 12:45:05 +040087 voltage-tolerance = <5>;
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020088 };
89 };
90
Alexander Shiyan4e942302013-11-19 15:47:26 +040091 usbphy {
92 #address-cells = <1>;
93 #size-cells = <0>;
94 compatible = "simple-bus";
95
96 usbphy0: usbphy@0 {
97 compatible = "usb-nop-xceiv";
98 reg = <0>;
99 clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
100 clock-names = "main_clk";
Sascha Hauerb5af6b102012-11-12 12:56:00 +0100101 };
102 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800103
Philipp Zabelde10e042014-03-05 10:20:59 +0100104 display-subsystem {
105 compatible = "fsl,imx-display-subsystem";
106 ports = <&ipu_di0>, <&ipu_di1>;
107 };
108
Shawn Guo9daaf312011-10-17 08:42:17 +0800109 soc {
110 #address-cells = <1>;
111 #size-cells = <1>;
112 compatible = "simple-bus";
113 interrupt-parent = <&tzic>;
114 ranges;
115
Alexander Shiyanda38ea32013-08-21 11:28:24 +0400116 iram: iram@1ffe0000 {
117 compatible = "mmio-sram";
118 reg = <0x1ffe0000 0x20000>;
119 };
120
Shawn Guo9daaf312011-10-17 08:42:17 +0800121 ipu: ipu@40000000 {
Philipp Zabelde10e042014-03-05 10:20:59 +0100122 #address-cells = <1>;
123 #size-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800124 compatible = "fsl,imx51-ipu";
125 reg = <0x40000000 0x20000000>;
126 interrupts = <11 10>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100127 clocks = <&clks IMX5_CLK_IPU_GATE>,
128 <&clks IMX5_CLK_IPU_DI0_GATE>,
129 <&clks IMX5_CLK_IPU_DI1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800130 clock-names = "bus", "di0", "di1";
131 resets = <&src 2>;
Philipp Zabelde10e042014-03-05 10:20:59 +0100132
133 ipu_di0: port@2 {
134 reg = <2>;
135
136 ipu_di0_disp0: endpoint {
137 };
138 };
139
140 ipu_di1: port@3 {
141 reg = <3>;
142
143 ipu_di1_disp1: endpoint {
144 };
145 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800146 };
147
148 aips@70000000 { /* AIPS1 */
149 compatible = "fsl,aips-bus", "simple-bus";
150 #address-cells = <1>;
151 #size-cells = <1>;
152 reg = <0x70000000 0x10000000>;
153 ranges;
154
155 spba@70000000 {
156 compatible = "fsl,spba-bus", "simple-bus";
157 #address-cells = <1>;
158 #size-cells = <1>;
159 reg = <0x70000000 0x40000>;
160 ranges;
161
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100162 esdhc1: esdhc@70004000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800163 compatible = "fsl,imx51-esdhc";
164 reg = <0x70004000 0x4000>;
165 interrupts = <1>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100166 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
167 <&clks IMX5_CLK_DUMMY>,
168 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200169 clock-names = "ipg", "ahb", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800170 status = "disabled";
171 };
172
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100173 esdhc2: esdhc@70008000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800174 compatible = "fsl,imx51-esdhc";
175 reg = <0x70008000 0x4000>;
176 interrupts = <2>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100177 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
178 <&clks IMX5_CLK_DUMMY>,
179 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200180 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
Shawn Guo0c456cf2012-04-02 14:39:26 +0800185 uart3: serial@7000c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800186 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
187 reg = <0x7000c000 0x4000>;
188 interrupts = <33>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100189 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
190 <&clks IMX5_CLK_UART3_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200191 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800192 status = "disabled";
193 };
194
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100195 ecspi1: ecspi@70010000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800196 #address-cells = <1>;
197 #size-cells = <0>;
198 compatible = "fsl,imx51-ecspi";
199 reg = <0x70010000 0x4000>;
200 interrupts = <36>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100201 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
202 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200203 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800204 status = "disabled";
205 };
206
Shawn Guoa15d9f82012-05-11 13:08:46 +0800207 ssi2: ssi@70014000 {
208 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
209 reg = <0x70014000 0x4000>;
210 interrupts = <30>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100211 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800212 dmas = <&sdma 24 1 0>,
213 <&sdma 25 1 0>;
214 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800215 fsl,fifo-depth = <15>;
216 fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */
217 status = "disabled";
218 };
219
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100220 esdhc3: esdhc@70020000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800221 compatible = "fsl,imx51-esdhc";
222 reg = <0x70020000 0x4000>;
223 interrupts = <3>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100224 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
225 <&clks IMX5_CLK_DUMMY>,
226 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200227 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200228 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800229 status = "disabled";
230 };
231
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100232 esdhc4: esdhc@70024000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800233 compatible = "fsl,imx51-esdhc";
234 reg = <0x70024000 0x4000>;
235 interrupts = <4>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100236 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
237 <&clks IMX5_CLK_DUMMY>,
238 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200239 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200240 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800241 status = "disabled";
242 };
243 };
244
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100245 usbotg: usb@73f80000 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200246 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
247 reg = <0x73f80000 0x0200>;
248 interrupts = <18>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100249 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200250 fsl,usbmisc = <&usbmisc 0>;
Michael Grzeschika79025c2013-04-11 12:13:16 +0200251 fsl,usbphy = <&usbphy0>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200252 status = "disabled";
253 };
254
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100255 usbh1: usb@73f80200 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200256 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
257 reg = <0x73f80200 0x0200>;
258 interrupts = <14>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100259 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200260 fsl,usbmisc = <&usbmisc 1>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200261 status = "disabled";
262 };
263
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100264 usbh2: usb@73f80400 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200265 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
266 reg = <0x73f80400 0x0200>;
267 interrupts = <16>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100268 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200269 fsl,usbmisc = <&usbmisc 2>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200270 status = "disabled";
271 };
272
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100273 usbh3: usb@73f80600 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200274 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
275 reg = <0x73f80600 0x0200>;
276 interrupts = <17>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100277 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200278 fsl,usbmisc = <&usbmisc 3>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200279 status = "disabled";
280 };
281
Michael Grzeschika5735022013-04-11 12:13:14 +0200282 usbmisc: usbmisc@73f80800 {
283 #index-cells = <1>;
284 compatible = "fsl,imx51-usbmisc";
285 reg = <0x73f80800 0x200>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100286 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200287 };
288
Richard Zhao4d191862011-12-14 09:26:44 +0800289 gpio1: gpio@73f84000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200290 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800291 reg = <0x73f84000 0x4000>;
292 interrupts = <50 51>;
293 gpio-controller;
294 #gpio-cells = <2>;
295 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800296 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800297 };
298
Richard Zhao4d191862011-12-14 09:26:44 +0800299 gpio2: gpio@73f88000 {
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 = <0x73f88000 0x4000>;
302 interrupts = <52 53>;
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 gpio3: gpio@73f8c000 {
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 = <0x73f8c000 0x4000>;
312 interrupts = <54 55>;
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 gpio4: gpio@73f90000 {
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 = <0x73f90000 0x4000>;
322 interrupts = <56 57>;
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
Liu Ying60125552013-01-03 20:37:33 +0800329 kpp: kpp@73f94000 {
330 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
331 reg = <0x73f94000 0x4000>;
332 interrupts = <60>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100333 clocks = <&clks IMX5_CLK_DUMMY>;
Liu Ying60125552013-01-03 20:37:33 +0800334 status = "disabled";
335 };
336
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100337 wdog1: wdog@73f98000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800338 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
339 reg = <0x73f98000 0x4000>;
340 interrupts = <58>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100341 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800342 };
343
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100344 wdog2: wdog@73f9c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800345 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
346 reg = <0x73f9c000 0x4000>;
347 interrupts = <59>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100348 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800349 status = "disabled";
350 };
351
Sascha Hauered73c632013-03-14 13:08:59 +0100352 gpt: timer@73fa0000 {
353 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
354 reg = <0x73fa0000 0x4000>;
355 interrupts = <39>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100356 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
357 <&clks IMX5_CLK_GPT_HF_GATE>;
Sascha Hauered73c632013-03-14 13:08:59 +0100358 clock-names = "ipg", "per";
359 };
360
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100361 iomuxc: iomuxc@73fa8000 {
Shawn Guob72cf102012-08-13 19:45:19 +0800362 compatible = "fsl,imx51-iomuxc";
363 reg = <0x73fa8000 0x4000>;
Shawn Guob72cf102012-08-13 19:45:19 +0800364 };
365
Sascha Hauer82a618d2012-11-19 00:57:08 +0100366 pwm1: pwm@73fb4000 {
367 #pwm-cells = <2>;
368 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
369 reg = <0x73fb4000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100370 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
371 <&clks IMX5_CLK_PWM1_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100372 clock-names = "ipg", "per";
373 interrupts = <61>;
374 };
375
376 pwm2: pwm@73fb8000 {
377 #pwm-cells = <2>;
378 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
379 reg = <0x73fb8000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100380 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
381 <&clks IMX5_CLK_PWM2_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100382 clock-names = "ipg", "per";
383 interrupts = <94>;
384 };
385
Shawn Guo0c456cf2012-04-02 14:39:26 +0800386 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800387 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
388 reg = <0x73fbc000 0x4000>;
389 interrupts = <31>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100390 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
391 <&clks IMX5_CLK_UART1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200392 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800393 status = "disabled";
394 };
395
Shawn Guo0c456cf2012-04-02 14:39:26 +0800396 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800397 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
398 reg = <0x73fc0000 0x4000>;
399 interrupts = <32>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100400 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
401 <&clks IMX5_CLK_UART2_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 };
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200405
Philipp Zabel8d84c372013-03-28 17:35:23 +0100406 src: src@73fd0000 {
407 compatible = "fsl,imx51-src";
408 reg = <0x73fd0000 0x4000>;
409 #reset-cells = <1>;
410 };
411
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200412 clks: ccm@73fd4000{
413 compatible = "fsl,imx51-ccm";
414 reg = <0x73fd4000 0x4000>;
415 interrupts = <0 71 0x04 0 72 0x04>;
416 #clock-cells = <1>;
417 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800418 };
419
420 aips@80000000 { /* AIPS2 */
421 compatible = "fsl,aips-bus", "simple-bus";
422 #address-cells = <1>;
423 #size-cells = <1>;
424 reg = <0x80000000 0x10000000>;
425 ranges;
426
Sascha Hauer6510ea252013-06-25 15:51:51 +0200427 iim: iim@83f98000 {
428 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
429 reg = <0x83f98000 0x4000>;
430 interrupts = <69>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100431 clocks = <&clks IMX5_CLK_IIM_GATE>;
Sascha Hauer6510ea252013-06-25 15:51:51 +0200432 };
433
Alexander Shiyanad15f082013-08-21 11:28:25 +0400434 owire: owire@83fa4000 {
435 compatible = "fsl,imx51-owire", "fsl,imx21-owire";
436 reg = <0x83fa4000 0x4000>;
437 interrupts = <88>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100438 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
Alexander Shiyanad15f082013-08-21 11:28:25 +0400439 status = "disabled";
440 };
441
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100442 ecspi2: ecspi@83fac000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800443 #address-cells = <1>;
444 #size-cells = <0>;
445 compatible = "fsl,imx51-ecspi";
446 reg = <0x83fac000 0x4000>;
447 interrupts = <37>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100448 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
449 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200450 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800451 status = "disabled";
452 };
453
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100454 sdma: sdma@83fb0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800455 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
456 reg = <0x83fb0000 0x4000>;
457 interrupts = <6>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100458 clocks = <&clks IMX5_CLK_SDMA_GATE>,
459 <&clks IMX5_CLK_SDMA_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200460 clock-names = "ipg", "ahb";
Huang Shijiefb72bb22013-07-02 10:15:29 +0800461 #dma-cells = <3>;
Fabio Estevam7e4f0362012-08-08 11:28:07 -0300462 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
Shawn Guo9daaf312011-10-17 08:42:17 +0800463 };
464
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100465 cspi: cspi@83fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800466 #address-cells = <1>;
467 #size-cells = <0>;
468 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
469 reg = <0x83fc0000 0x4000>;
470 interrupts = <38>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100471 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
472 <&clks IMX5_CLK_CSPI_IPG_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200473 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800474 status = "disabled";
475 };
476
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100477 i2c2: i2c@83fc4000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800478 #address-cells = <1>;
479 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800480 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800481 reg = <0x83fc4000 0x4000>;
482 interrupts = <63>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100483 clocks = <&clks IMX5_CLK_I2C2_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800484 status = "disabled";
485 };
486
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100487 i2c1: i2c@83fc8000 {
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 = <0x83fc8000 0x4000>;
492 interrupts = <62>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100493 clocks = <&clks IMX5_CLK_I2C1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800494 status = "disabled";
495 };
496
Shawn Guoa15d9f82012-05-11 13:08:46 +0800497 ssi1: ssi@83fcc000 {
498 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
499 reg = <0x83fcc000 0x4000>;
500 interrupts = <29>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100501 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800502 dmas = <&sdma 28 0 0>,
503 <&sdma 29 0 0>;
504 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800505 fsl,fifo-depth = <15>;
506 fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */
507 status = "disabled";
508 };
509
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100510 audmux: audmux@83fd0000 {
Shawn Guoa15d9f82012-05-11 13:08:46 +0800511 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
512 reg = <0x83fd0000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100513 clocks = <&clks IMX5_CLK_DUMMY>;
Alexander Shiyane030df92013-11-07 12:45:06 +0400514 clock-names = "audmux";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800515 status = "disabled";
516 };
517
Alexander Shiyanedd05282013-07-13 08:30:57 +0400518 weim: weim@83fda000 {
519 #address-cells = <2>;
520 #size-cells = <1>;
521 compatible = "fsl,imx51-weim";
522 reg = <0x83fda000 0x1000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100523 clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>;
Alexander Shiyanedd05282013-07-13 08:30:57 +0400524 ranges = <
525 0 0 0xb0000000 0x08000000
526 1 0 0xb8000000 0x08000000
527 2 0 0xc0000000 0x08000000
528 3 0 0xc8000000 0x04000000
529 4 0 0xcc000000 0x02000000
530 5 0 0xce000000 0x02000000
531 >;
532 status = "disabled";
533 };
534
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100535 nfc: nand@83fdb000 {
Sascha Hauer75453a02012-06-06 12:33:16 +0200536 compatible = "fsl,imx51-nand";
537 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
538 interrupts = <8>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100539 clocks = <&clks IMX5_CLK_NFC_GATE>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200540 status = "disabled";
541 };
542
Sascha Hauer718a35002013-04-04 11:25:09 +0200543 pata: pata@83fe0000 {
544 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
545 reg = <0x83fe0000 0x4000>;
546 interrupts = <70>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100547 clocks = <&clks IMX5_CLK_PATA_GATE>;
Sascha Hauer718a35002013-04-04 11:25:09 +0200548 status = "disabled";
549 };
550
Shawn Guoa15d9f82012-05-11 13:08:46 +0800551 ssi3: ssi@83fe8000 {
552 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
553 reg = <0x83fe8000 0x4000>;
554 interrupts = <96>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100555 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800556 dmas = <&sdma 46 0 0>,
557 <&sdma 47 0 0>;
558 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800559 fsl,fifo-depth = <15>;
560 fsl,ssi-dma-events = <47 46 37 35>; /* TX0 RX0 TX1 RX1 */
561 status = "disabled";
562 };
563
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100564 fec: ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800565 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
566 reg = <0x83fec000 0x4000>;
567 interrupts = <87>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100568 clocks = <&clks IMX5_CLK_FEC_GATE>,
569 <&clks IMX5_CLK_FEC_GATE>,
570 <&clks IMX5_CLK_FEC_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200571 clock-names = "ipg", "ahb", "ptp";
Shawn Guo9daaf312011-10-17 08:42:17 +0800572 status = "disabled";
573 };
574 };
575 };
576};