blob: 150bb4e2f744374fd712895ce30786dc9fdb7b25 [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";
Shawn Guo4b2b4042014-04-11 09:56:46 +080053 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080054 clock-frequency = <32768>;
55 };
56
57 ckih1 {
58 compatible = "fsl,imx-ckih1", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080059 #clock-cells = <0>;
Alexander Shiyan677e28b2013-07-27 11:19:45 +040060 clock-frequency = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080061 };
62
63 ckih2 {
64 compatible = "fsl,imx-ckih2", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080065 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080066 clock-frequency = <0>;
67 };
68
69 osc {
70 compatible = "fsl,imx-osc", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080071 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080072 clock-frequency = <24000000>;
73 };
74 };
75
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020076 cpus {
77 #address-cells = <1>;
78 #size-cells = <0>;
Alexander Shiyan6acde882013-11-07 12:45:05 +040079 cpu: cpu@0 {
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020080 device_type = "cpu";
81 compatible = "arm,cortex-a8";
82 reg = <0>;
Alexander Shiyan6acde882013-11-07 12:45:05 +040083 clock-latency = <62500>;
Lucas Stachff65d4c2013-11-14 11:18:59 +010084 clocks = <&clks IMX5_CLK_CPU_PODF>;
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020085 clock-names = "cpu";
86 operating-points = <
Alexander Shiyan6acde882013-11-07 12:45:05 +040087 166000 1000000
88 600000 1050000
89 800000 1100000
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020090 >;
Alexander Shiyan6acde882013-11-07 12:45:05 +040091 voltage-tolerance = <5>;
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020092 };
93 };
94
Alexander Shiyan4e942302013-11-19 15:47:26 +040095 usbphy {
96 #address-cells = <1>;
97 #size-cells = <0>;
98 compatible = "simple-bus";
99
100 usbphy0: usbphy@0 {
101 compatible = "usb-nop-xceiv";
102 reg = <0>;
103 clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
104 clock-names = "main_clk";
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100105 };
106 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800107
Philipp Zabelde10e042014-03-05 10:20:59 +0100108 display-subsystem {
109 compatible = "fsl,imx-display-subsystem";
110 ports = <&ipu_di0>, <&ipu_di1>;
111 };
112
Shawn Guo9daaf312011-10-17 08:42:17 +0800113 soc {
114 #address-cells = <1>;
115 #size-cells = <1>;
116 compatible = "simple-bus";
117 interrupt-parent = <&tzic>;
118 ranges;
119
Alexander Shiyanda38ea32013-08-21 11:28:24 +0400120 iram: iram@1ffe0000 {
121 compatible = "mmio-sram";
122 reg = <0x1ffe0000 0x20000>;
123 };
124
Shawn Guo9daaf312011-10-17 08:42:17 +0800125 ipu: ipu@40000000 {
Philipp Zabelde10e042014-03-05 10:20:59 +0100126 #address-cells = <1>;
127 #size-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800128 compatible = "fsl,imx51-ipu";
129 reg = <0x40000000 0x20000000>;
130 interrupts = <11 10>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100131 clocks = <&clks IMX5_CLK_IPU_GATE>,
132 <&clks IMX5_CLK_IPU_DI0_GATE>,
133 <&clks IMX5_CLK_IPU_DI1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800134 clock-names = "bus", "di0", "di1";
135 resets = <&src 2>;
Philipp Zabelde10e042014-03-05 10:20:59 +0100136
137 ipu_di0: port@2 {
138 reg = <2>;
139
140 ipu_di0_disp0: endpoint {
141 };
142 };
143
144 ipu_di1: port@3 {
145 reg = <3>;
146
147 ipu_di1_disp1: endpoint {
148 };
149 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800150 };
151
152 aips@70000000 { /* AIPS1 */
153 compatible = "fsl,aips-bus", "simple-bus";
154 #address-cells = <1>;
155 #size-cells = <1>;
156 reg = <0x70000000 0x10000000>;
157 ranges;
158
159 spba@70000000 {
160 compatible = "fsl,spba-bus", "simple-bus";
161 #address-cells = <1>;
162 #size-cells = <1>;
163 reg = <0x70000000 0x40000>;
164 ranges;
165
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100166 esdhc1: esdhc@70004000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800167 compatible = "fsl,imx51-esdhc";
168 reg = <0x70004000 0x4000>;
169 interrupts = <1>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100170 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
171 <&clks IMX5_CLK_DUMMY>,
172 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200173 clock-names = "ipg", "ahb", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800174 status = "disabled";
175 };
176
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100177 esdhc2: esdhc@70008000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800178 compatible = "fsl,imx51-esdhc";
179 reg = <0x70008000 0x4000>;
180 interrupts = <2>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100181 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
182 <&clks IMX5_CLK_DUMMY>,
183 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200184 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200185 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800186 status = "disabled";
187 };
188
Shawn Guo0c456cf2012-04-02 14:39:26 +0800189 uart3: serial@7000c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800190 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
191 reg = <0x7000c000 0x4000>;
192 interrupts = <33>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100193 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
194 <&clks IMX5_CLK_UART3_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200195 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800196 status = "disabled";
197 };
198
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100199 ecspi1: ecspi@70010000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800200 #address-cells = <1>;
201 #size-cells = <0>;
202 compatible = "fsl,imx51-ecspi";
203 reg = <0x70010000 0x4000>;
204 interrupts = <36>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100205 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
206 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200207 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800208 status = "disabled";
209 };
210
Shawn Guoa15d9f82012-05-11 13:08:46 +0800211 ssi2: ssi@70014000 {
212 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
213 reg = <0x70014000 0x4000>;
214 interrupts = <30>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100215 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800216 dmas = <&sdma 24 1 0>,
217 <&sdma 25 1 0>;
218 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800219 fsl,fifo-depth = <15>;
220 fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */
221 status = "disabled";
222 };
223
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100224 esdhc3: esdhc@70020000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800225 compatible = "fsl,imx51-esdhc";
226 reg = <0x70020000 0x4000>;
227 interrupts = <3>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100228 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
229 <&clks IMX5_CLK_DUMMY>,
230 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200231 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200232 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800233 status = "disabled";
234 };
235
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100236 esdhc4: esdhc@70024000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800237 compatible = "fsl,imx51-esdhc";
238 reg = <0x70024000 0x4000>;
239 interrupts = <4>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100240 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
241 <&clks IMX5_CLK_DUMMY>,
242 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200243 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200244 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800245 status = "disabled";
246 };
247 };
248
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100249 usbotg: usb@73f80000 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200250 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
251 reg = <0x73f80000 0x0200>;
252 interrupts = <18>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100253 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200254 fsl,usbmisc = <&usbmisc 0>;
Michael Grzeschika79025c2013-04-11 12:13:16 +0200255 fsl,usbphy = <&usbphy0>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200256 status = "disabled";
257 };
258
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100259 usbh1: usb@73f80200 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200260 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
261 reg = <0x73f80200 0x0200>;
262 interrupts = <14>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100263 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200264 fsl,usbmisc = <&usbmisc 1>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200265 status = "disabled";
266 };
267
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100268 usbh2: usb@73f80400 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200269 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
270 reg = <0x73f80400 0x0200>;
271 interrupts = <16>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100272 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200273 fsl,usbmisc = <&usbmisc 2>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200274 status = "disabled";
275 };
276
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100277 usbh3: usb@73f80600 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200278 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
279 reg = <0x73f80600 0x0200>;
280 interrupts = <17>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100281 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200282 fsl,usbmisc = <&usbmisc 3>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200283 status = "disabled";
284 };
285
Michael Grzeschika5735022013-04-11 12:13:14 +0200286 usbmisc: usbmisc@73f80800 {
287 #index-cells = <1>;
288 compatible = "fsl,imx51-usbmisc";
289 reg = <0x73f80800 0x200>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100290 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200291 };
292
Richard Zhao4d191862011-12-14 09:26:44 +0800293 gpio1: gpio@73f84000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200294 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800295 reg = <0x73f84000 0x4000>;
296 interrupts = <50 51>;
297 gpio-controller;
298 #gpio-cells = <2>;
299 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800300 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800301 };
302
Richard Zhao4d191862011-12-14 09:26:44 +0800303 gpio2: gpio@73f88000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200304 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800305 reg = <0x73f88000 0x4000>;
306 interrupts = <52 53>;
307 gpio-controller;
308 #gpio-cells = <2>;
309 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800310 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800311 };
312
Richard Zhao4d191862011-12-14 09:26:44 +0800313 gpio3: gpio@73f8c000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200314 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800315 reg = <0x73f8c000 0x4000>;
316 interrupts = <54 55>;
317 gpio-controller;
318 #gpio-cells = <2>;
319 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800320 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800321 };
322
Richard Zhao4d191862011-12-14 09:26:44 +0800323 gpio4: gpio@73f90000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200324 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800325 reg = <0x73f90000 0x4000>;
326 interrupts = <56 57>;
327 gpio-controller;
328 #gpio-cells = <2>;
329 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800330 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800331 };
332
Liu Ying60125552013-01-03 20:37:33 +0800333 kpp: kpp@73f94000 {
334 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
335 reg = <0x73f94000 0x4000>;
336 interrupts = <60>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100337 clocks = <&clks IMX5_CLK_DUMMY>;
Liu Ying60125552013-01-03 20:37:33 +0800338 status = "disabled";
339 };
340
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100341 wdog1: wdog@73f98000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800342 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
343 reg = <0x73f98000 0x4000>;
344 interrupts = <58>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100345 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800346 };
347
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100348 wdog2: wdog@73f9c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800349 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
350 reg = <0x73f9c000 0x4000>;
351 interrupts = <59>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100352 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800353 status = "disabled";
354 };
355
Sascha Hauered73c632013-03-14 13:08:59 +0100356 gpt: timer@73fa0000 {
357 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
358 reg = <0x73fa0000 0x4000>;
359 interrupts = <39>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100360 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
361 <&clks IMX5_CLK_GPT_HF_GATE>;
Sascha Hauered73c632013-03-14 13:08:59 +0100362 clock-names = "ipg", "per";
363 };
364
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100365 iomuxc: iomuxc@73fa8000 {
Shawn Guob72cf102012-08-13 19:45:19 +0800366 compatible = "fsl,imx51-iomuxc";
367 reg = <0x73fa8000 0x4000>;
Shawn Guob72cf102012-08-13 19:45:19 +0800368 };
369
Sascha Hauer82a618d2012-11-19 00:57:08 +0100370 pwm1: pwm@73fb4000 {
371 #pwm-cells = <2>;
372 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
373 reg = <0x73fb4000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100374 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
375 <&clks IMX5_CLK_PWM1_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100376 clock-names = "ipg", "per";
377 interrupts = <61>;
378 };
379
380 pwm2: pwm@73fb8000 {
381 #pwm-cells = <2>;
382 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
383 reg = <0x73fb8000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100384 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
385 <&clks IMX5_CLK_PWM2_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100386 clock-names = "ipg", "per";
387 interrupts = <94>;
388 };
389
Shawn Guo0c456cf2012-04-02 14:39:26 +0800390 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800391 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
392 reg = <0x73fbc000 0x4000>;
393 interrupts = <31>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100394 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
395 <&clks IMX5_CLK_UART1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200396 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800397 status = "disabled";
398 };
399
Shawn Guo0c456cf2012-04-02 14:39:26 +0800400 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800401 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
402 reg = <0x73fc0000 0x4000>;
403 interrupts = <32>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100404 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
405 <&clks IMX5_CLK_UART2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200406 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800407 status = "disabled";
408 };
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200409
Philipp Zabel8d84c372013-03-28 17:35:23 +0100410 src: src@73fd0000 {
411 compatible = "fsl,imx51-src";
412 reg = <0x73fd0000 0x4000>;
413 #reset-cells = <1>;
414 };
415
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200416 clks: ccm@73fd4000{
417 compatible = "fsl,imx51-ccm";
418 reg = <0x73fd4000 0x4000>;
419 interrupts = <0 71 0x04 0 72 0x04>;
420 #clock-cells = <1>;
421 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800422 };
423
424 aips@80000000 { /* AIPS2 */
425 compatible = "fsl,aips-bus", "simple-bus";
426 #address-cells = <1>;
427 #size-cells = <1>;
428 reg = <0x80000000 0x10000000>;
429 ranges;
430
Sascha Hauer6510ea252013-06-25 15:51:51 +0200431 iim: iim@83f98000 {
432 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
433 reg = <0x83f98000 0x4000>;
434 interrupts = <69>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100435 clocks = <&clks IMX5_CLK_IIM_GATE>;
Sascha Hauer6510ea252013-06-25 15:51:51 +0200436 };
437
Alexander Shiyanad15f082013-08-21 11:28:25 +0400438 owire: owire@83fa4000 {
439 compatible = "fsl,imx51-owire", "fsl,imx21-owire";
440 reg = <0x83fa4000 0x4000>;
441 interrupts = <88>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100442 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
Alexander Shiyanad15f082013-08-21 11:28:25 +0400443 status = "disabled";
444 };
445
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100446 ecspi2: ecspi@83fac000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800447 #address-cells = <1>;
448 #size-cells = <0>;
449 compatible = "fsl,imx51-ecspi";
450 reg = <0x83fac000 0x4000>;
451 interrupts = <37>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100452 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
453 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200454 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800455 status = "disabled";
456 };
457
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100458 sdma: sdma@83fb0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800459 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
460 reg = <0x83fb0000 0x4000>;
461 interrupts = <6>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100462 clocks = <&clks IMX5_CLK_SDMA_GATE>,
463 <&clks IMX5_CLK_SDMA_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200464 clock-names = "ipg", "ahb";
Huang Shijiefb72bb22013-07-02 10:15:29 +0800465 #dma-cells = <3>;
Fabio Estevam7e4f0362012-08-08 11:28:07 -0300466 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
Shawn Guo9daaf312011-10-17 08:42:17 +0800467 };
468
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100469 cspi: cspi@83fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800470 #address-cells = <1>;
471 #size-cells = <0>;
472 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
473 reg = <0x83fc0000 0x4000>;
474 interrupts = <38>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100475 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
476 <&clks IMX5_CLK_CSPI_IPG_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200477 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800478 status = "disabled";
479 };
480
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100481 i2c2: i2c@83fc4000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800482 #address-cells = <1>;
483 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800484 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800485 reg = <0x83fc4000 0x4000>;
486 interrupts = <63>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100487 clocks = <&clks IMX5_CLK_I2C2_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800488 status = "disabled";
489 };
490
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100491 i2c1: i2c@83fc8000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800492 #address-cells = <1>;
493 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800494 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800495 reg = <0x83fc8000 0x4000>;
496 interrupts = <62>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100497 clocks = <&clks IMX5_CLK_I2C1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800498 status = "disabled";
499 };
500
Shawn Guoa15d9f82012-05-11 13:08:46 +0800501 ssi1: ssi@83fcc000 {
502 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
503 reg = <0x83fcc000 0x4000>;
504 interrupts = <29>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100505 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800506 dmas = <&sdma 28 0 0>,
507 <&sdma 29 0 0>;
508 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800509 fsl,fifo-depth = <15>;
510 fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */
511 status = "disabled";
512 };
513
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100514 audmux: audmux@83fd0000 {
Shawn Guoa15d9f82012-05-11 13:08:46 +0800515 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
516 reg = <0x83fd0000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100517 clocks = <&clks IMX5_CLK_DUMMY>;
Alexander Shiyane030df92013-11-07 12:45:06 +0400518 clock-names = "audmux";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800519 status = "disabled";
520 };
521
Alexander Shiyanedd05282013-07-13 08:30:57 +0400522 weim: weim@83fda000 {
523 #address-cells = <2>;
524 #size-cells = <1>;
525 compatible = "fsl,imx51-weim";
526 reg = <0x83fda000 0x1000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100527 clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>;
Alexander Shiyanedd05282013-07-13 08:30:57 +0400528 ranges = <
529 0 0 0xb0000000 0x08000000
530 1 0 0xb8000000 0x08000000
531 2 0 0xc0000000 0x08000000
532 3 0 0xc8000000 0x04000000
533 4 0 0xcc000000 0x02000000
534 5 0 0xce000000 0x02000000
535 >;
536 status = "disabled";
537 };
538
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100539 nfc: nand@83fdb000 {
Sascha Hauer75453a02012-06-06 12:33:16 +0200540 compatible = "fsl,imx51-nand";
541 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
542 interrupts = <8>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100543 clocks = <&clks IMX5_CLK_NFC_GATE>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200544 status = "disabled";
545 };
546
Sascha Hauer718a35002013-04-04 11:25:09 +0200547 pata: pata@83fe0000 {
548 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
549 reg = <0x83fe0000 0x4000>;
550 interrupts = <70>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100551 clocks = <&clks IMX5_CLK_PATA_GATE>;
Sascha Hauer718a35002013-04-04 11:25:09 +0200552 status = "disabled";
553 };
554
Shawn Guoa15d9f82012-05-11 13:08:46 +0800555 ssi3: ssi@83fe8000 {
556 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
557 reg = <0x83fe8000 0x4000>;
558 interrupts = <96>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100559 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>;
Shawn Guo5da826a2013-07-17 13:50:54 +0800560 dmas = <&sdma 46 0 0>,
561 <&sdma 47 0 0>;
562 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800563 fsl,fifo-depth = <15>;
564 fsl,ssi-dma-events = <47 46 37 35>; /* TX0 RX0 TX1 RX1 */
565 status = "disabled";
566 };
567
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100568 fec: ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800569 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
570 reg = <0x83fec000 0x4000>;
571 interrupts = <87>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100572 clocks = <&clks IMX5_CLK_FEC_GATE>,
573 <&clks IMX5_CLK_FEC_GATE>,
574 <&clks IMX5_CLK_FEC_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200575 clock-names = "ipg", "ahb", "ptp";
Shawn Guo9daaf312011-10-17 08:42:17 +0800576 status = "disabled";
577 };
578 };
579 };
580};