blob: 00d30bd700682a6ace4052efb948b5aeece63b53 [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 Guoe1641532013-02-20 10:32:52 +080013#include "imx51-pinfunc.h"
Lucas Stachff65d4c2013-11-14 11:18:59 +010014#include <dt-bindings/clock/imx5-clock.h>
Alexander Shiyanbdb3eec2013-11-19 15:47:27 +040015#include <dt-bindings/gpio/gpio.h>
Alexander Shiyan72d86d22014-01-11 10:54:19 +040016#include <dt-bindings/input/input.h>
17#include <dt-bindings/interrupt-controller/irq.h>
Shawn Guo9daaf312011-10-17 08:42:17 +080018
19/ {
Fabio Estevam7f107882016-11-12 13:30:35 -020020 #address-cells = <1>;
21 #size-cells = <1>;
Fabio Estevama971c552017-01-23 14:54:10 -020022 /*
23 * The decompressor and also some bootloaders rely on a
24 * pre-existing /chosen node to be available to insert the
25 * command line and merge other ATAGS info.
26 * Also for U-Boot there must be a pre-existing /memory node.
27 */
28 chosen {};
29 memory { device_type = "memory"; reg = <0 0>; };
Fabio Estevam7f107882016-11-12 13:30:35 -020030
Shawn Guo9daaf312011-10-17 08:42:17 +080031 aliases {
Marek Vasut22970072014-02-28 12:58:41 +010032 ethernet0 = &fec;
Shawn Guo5230f8f2012-08-05 14:01:28 +080033 gpio0 = &gpio1;
34 gpio1 = &gpio2;
35 gpio2 = &gpio3;
36 gpio3 = &gpio4;
Sascha Hauere3b73c62013-06-25 15:51:55 +020037 i2c0 = &i2c1;
38 i2c1 = &i2c2;
Sascha Hauerf742c222014-01-16 13:44:21 +010039 mmc0 = &esdhc1;
40 mmc1 = &esdhc2;
41 mmc2 = &esdhc3;
42 mmc3 = &esdhc4;
Sascha Hauere3b73c62013-06-25 15:51:55 +020043 serial0 = &uart1;
44 serial1 = &uart2;
45 serial2 = &uart3;
46 spi0 = &ecspi1;
47 spi1 = &ecspi2;
48 spi2 = &cspi;
Shawn Guo9daaf312011-10-17 08:42:17 +080049 };
50
51 tzic: tz-interrupt-controller@e0000000 {
52 compatible = "fsl,imx51-tzic", "fsl,tzic";
53 interrupt-controller;
54 #interrupt-cells = <1>;
55 reg = <0xe0000000 0x4000>;
56 };
57
58 clocks {
59 #address-cells = <1>;
60 #size-cells = <0>;
61
62 ckil {
63 compatible = "fsl,imx-ckil", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080064 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080065 clock-frequency = <32768>;
66 };
67
68 ckih1 {
69 compatible = "fsl,imx-ckih1", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080070 #clock-cells = <0>;
Alexander Shiyan677e28b2013-07-27 11:19:45 +040071 clock-frequency = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080072 };
73
74 ckih2 {
75 compatible = "fsl,imx-ckih2", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080076 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080077 clock-frequency = <0>;
78 };
79
80 osc {
81 compatible = "fsl,imx-osc", "fixed-clock";
Shawn Guo4b2b4042014-04-11 09:56:46 +080082 #clock-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080083 clock-frequency = <24000000>;
84 };
85 };
86
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020087 cpus {
88 #address-cells = <1>;
89 #size-cells = <0>;
Alexander Shiyan6acde882013-11-07 12:45:05 +040090 cpu: cpu@0 {
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020091 device_type = "cpu";
92 compatible = "arm,cortex-a8";
93 reg = <0>;
Alexander Shiyan6acde882013-11-07 12:45:05 +040094 clock-latency = <62500>;
Lucas Stachff65d4c2013-11-14 11:18:59 +010095 clocks = <&clks IMX5_CLK_CPU_PODF>;
Markus Pargmann6f9d62d2013-04-07 21:56:45 +020096 clock-names = "cpu";
97 operating-points = <
Alexander Shiyan6acde882013-11-07 12:45:05 +040098 166000 1000000
99 600000 1050000
100 800000 1100000
Markus Pargmann6f9d62d2013-04-07 21:56:45 +0200101 >;
Alexander Shiyan6acde882013-11-07 12:45:05 +0400102 voltage-tolerance = <5>;
Markus Pargmann6f9d62d2013-04-07 21:56:45 +0200103 };
104 };
105
Alexander Shiyan4e942302013-11-19 15:47:26 +0400106 usbphy {
107 #address-cells = <1>;
108 #size-cells = <0>;
109 compatible = "simple-bus";
110
111 usbphy0: usbphy@0 {
112 compatible = "usb-nop-xceiv";
113 reg = <0>;
114 clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
115 clock-names = "main_clk";
Rob Herring915fbe52017-11-09 16:26:10 -0600116 #phy-cells = <0>;
Sascha Hauerb5af6b12012-11-12 12:56:00 +0100117 };
118 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800119
Philipp Zabelde10e042014-03-05 10:20:59 +0100120 display-subsystem {
121 compatible = "fsl,imx-display-subsystem";
122 ports = <&ipu_di0>, <&ipu_di1>;
123 };
124
Shawn Guo9daaf312011-10-17 08:42:17 +0800125 soc {
126 #address-cells = <1>;
127 #size-cells = <1>;
128 compatible = "simple-bus";
129 interrupt-parent = <&tzic>;
130 ranges;
131
Alexander Shiyanda38ea32013-08-21 11:28:24 +0400132 iram: iram@1ffe0000 {
133 compatible = "mmio-sram";
134 reg = <0x1ffe0000 0x20000>;
135 };
136
Shawn Guo9daaf312011-10-17 08:42:17 +0800137 ipu: ipu@40000000 {
Philipp Zabelde10e042014-03-05 10:20:59 +0100138 #address-cells = <1>;
139 #size-cells = <0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800140 compatible = "fsl,imx51-ipu";
141 reg = <0x40000000 0x20000000>;
142 interrupts = <11 10>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100143 clocks = <&clks IMX5_CLK_IPU_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530144 <&clks IMX5_CLK_IPU_DI0_GATE>,
145 <&clks IMX5_CLK_IPU_DI1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800146 clock-names = "bus", "di0", "di1";
147 resets = <&src 2>;
Philipp Zabelde10e042014-03-05 10:20:59 +0100148
149 ipu_di0: port@2 {
150 reg = <2>;
151
Marco Franchif7059422017-10-05 11:31:41 -0300152 ipu_di0_disp1: endpoint {
Philipp Zabelde10e042014-03-05 10:20:59 +0100153 };
154 };
155
156 ipu_di1: port@3 {
157 reg = <3>;
158
Marco Franchif7059422017-10-05 11:31:41 -0300159 ipu_di1_disp2: endpoint {
Philipp Zabelde10e042014-03-05 10:20:59 +0100160 };
161 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800162 };
163
164 aips@70000000 { /* AIPS1 */
165 compatible = "fsl,aips-bus", "simple-bus";
166 #address-cells = <1>;
167 #size-cells = <1>;
168 reg = <0x70000000 0x10000000>;
169 ranges;
170
171 spba@70000000 {
172 compatible = "fsl,spba-bus", "simple-bus";
173 #address-cells = <1>;
174 #size-cells = <1>;
175 reg = <0x70000000 0x40000>;
176 ranges;
177
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100178 esdhc1: esdhc@70004000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800179 compatible = "fsl,imx51-esdhc";
180 reg = <0x70004000 0x4000>;
181 interrupts = <1>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100182 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530183 <&clks IMX5_CLK_DUMMY>,
184 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200185 clock-names = "ipg", "ahb", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800186 status = "disabled";
187 };
188
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100189 esdhc2: esdhc@70008000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800190 compatible = "fsl,imx51-esdhc";
191 reg = <0x70008000 0x4000>;
192 interrupts = <2>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100193 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530194 <&clks IMX5_CLK_DUMMY>,
195 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200196 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200197 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800198 status = "disabled";
199 };
200
Shawn Guo0c456cf2012-04-02 14:39:26 +0800201 uart3: serial@7000c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800202 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
203 reg = <0x7000c000 0x4000>;
204 interrupts = <33>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100205 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530206 <&clks IMX5_CLK_UART3_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
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100211 ecspi1: ecspi@70010000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800212 #address-cells = <1>;
213 #size-cells = <0>;
214 compatible = "fsl,imx51-ecspi";
215 reg = <0x70010000 0x4000>;
216 interrupts = <36>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100217 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530218 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200219 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800220 status = "disabled";
221 };
222
Shawn Guoa15d9f82012-05-11 13:08:46 +0800223 ssi2: ssi@70014000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400224 #sound-dai-cells = <0>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800225 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
226 reg = <0x70014000 0x4000>;
227 interrupts = <30>;
Fabio Estevam53ec8742014-09-18 20:23:49 -0300228 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>,
229 <&clks IMX5_CLK_SSI2_ROOT_GATE>;
230 clock-names = "ipg", "baud";
Shawn Guo5da826a2013-07-17 13:50:54 +0800231 dmas = <&sdma 24 1 0>,
232 <&sdma 25 1 0>;
233 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800234 fsl,fifo-depth = <15>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800235 status = "disabled";
236 };
237
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100238 esdhc3: esdhc@70020000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800239 compatible = "fsl,imx51-esdhc";
240 reg = <0x70020000 0x4000>;
241 interrupts = <3>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100242 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530243 <&clks IMX5_CLK_DUMMY>,
244 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200245 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200246 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800247 status = "disabled";
248 };
249
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100250 esdhc4: esdhc@70024000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800251 compatible = "fsl,imx51-esdhc";
252 reg = <0x70024000 0x4000>;
253 interrupts = <4>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100254 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530255 <&clks IMX5_CLK_DUMMY>,
256 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200257 clock-names = "ipg", "ahb", "per";
Sascha Hauerc104b6a2012-09-25 11:49:33 +0200258 bus-width = <4>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800259 status = "disabled";
260 };
261 };
262
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100263 usbotg: usb@73f80000 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200264 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
265 reg = <0x73f80000 0x0200>;
266 interrupts = <18>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100267 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200268 fsl,usbmisc = <&usbmisc 0>;
Michael Grzeschika79025c2013-04-11 12:13:16 +0200269 fsl,usbphy = <&usbphy0>;
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200270 status = "disabled";
271 };
272
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100273 usbh1: usb@73f80200 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200274 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
275 reg = <0x73f80200 0x0200>;
276 interrupts = <14>;
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 1>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500279 dr_mode = "host";
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200280 status = "disabled";
281 };
282
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100283 usbh2: usb@73f80400 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200284 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
285 reg = <0x73f80400 0x0200>;
286 interrupts = <16>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100287 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200288 fsl,usbmisc = <&usbmisc 2>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500289 dr_mode = "host";
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200290 status = "disabled";
291 };
292
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100293 usbh3: usb@73f80600 {
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200294 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
295 reg = <0x73f80600 0x0200>;
296 interrupts = <17>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100297 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200298 fsl,usbmisc = <&usbmisc 3>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500299 dr_mode = "host";
Michael Grzeschik212d0b82012-08-23 12:35:57 +0200300 status = "disabled";
301 };
302
Michael Grzeschika5735022013-04-11 12:13:14 +0200303 usbmisc: usbmisc@73f80800 {
304 #index-cells = <1>;
305 compatible = "fsl,imx51-usbmisc";
306 reg = <0x73f80800 0x200>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100307 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
Michael Grzeschika5735022013-04-11 12:13:14 +0200308 };
309
Richard Zhao4d191862011-12-14 09:26:44 +0800310 gpio1: gpio@73f84000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200311 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800312 reg = <0x73f84000 0x4000>;
313 interrupts = <50 51>;
314 gpio-controller;
315 #gpio-cells = <2>;
316 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800317 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800318 };
319
Richard Zhao4d191862011-12-14 09:26:44 +0800320 gpio2: gpio@73f88000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200321 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800322 reg = <0x73f88000 0x4000>;
323 interrupts = <52 53>;
324 gpio-controller;
325 #gpio-cells = <2>;
326 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800327 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800328 };
329
Richard Zhao4d191862011-12-14 09:26:44 +0800330 gpio3: gpio@73f8c000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200331 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800332 reg = <0x73f8c000 0x4000>;
333 interrupts = <54 55>;
334 gpio-controller;
335 #gpio-cells = <2>;
336 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800337 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800338 };
339
Richard Zhao4d191862011-12-14 09:26:44 +0800340 gpio4: gpio@73f90000 {
Benoît Thébaudeauaeb27742012-06-22 21:04:06 +0200341 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
Shawn Guo9daaf312011-10-17 08:42:17 +0800342 reg = <0x73f90000 0x4000>;
343 interrupts = <56 57>;
344 gpio-controller;
345 #gpio-cells = <2>;
346 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800347 #interrupt-cells = <2>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800348 };
349
Liu Ying60125552013-01-03 20:37:33 +0800350 kpp: kpp@73f94000 {
351 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
352 reg = <0x73f94000 0x4000>;
353 interrupts = <60>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100354 clocks = <&clks IMX5_CLK_DUMMY>;
Liu Ying60125552013-01-03 20:37:33 +0800355 status = "disabled";
356 };
357
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100358 wdog1: wdog@73f98000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800359 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
360 reg = <0x73f98000 0x4000>;
361 interrupts = <58>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100362 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800363 };
364
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100365 wdog2: wdog@73f9c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800366 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
367 reg = <0x73f9c000 0x4000>;
368 interrupts = <59>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100369 clocks = <&clks IMX5_CLK_DUMMY>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800370 status = "disabled";
371 };
372
Sascha Hauered73c632013-03-14 13:08:59 +0100373 gpt: timer@73fa0000 {
374 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
375 reg = <0x73fa0000 0x4000>;
376 interrupts = <39>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100377 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530378 <&clks IMX5_CLK_GPT_HF_GATE>;
Sascha Hauered73c632013-03-14 13:08:59 +0100379 clock-names = "ipg", "per";
380 };
381
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100382 iomuxc: iomuxc@73fa8000 {
Shawn Guob72cf102012-08-13 19:45:19 +0800383 compatible = "fsl,imx51-iomuxc";
384 reg = <0x73fa8000 0x4000>;
Shawn Guob72cf102012-08-13 19:45:19 +0800385 };
386
Sascha Hauer82a618d2012-11-19 00:57:08 +0100387 pwm1: pwm@73fb4000 {
388 #pwm-cells = <2>;
389 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
390 reg = <0x73fb4000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100391 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530392 <&clks IMX5_CLK_PWM1_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100393 clock-names = "ipg", "per";
394 interrupts = <61>;
395 };
396
397 pwm2: pwm@73fb8000 {
398 #pwm-cells = <2>;
399 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
400 reg = <0x73fb8000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100401 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530402 <&clks IMX5_CLK_PWM2_HF_GATE>;
Sascha Hauer82a618d2012-11-19 00:57:08 +0100403 clock-names = "ipg", "per";
404 interrupts = <94>;
405 };
406
Shawn Guo0c456cf2012-04-02 14:39:26 +0800407 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800408 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
409 reg = <0x73fbc000 0x4000>;
410 interrupts = <31>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100411 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530412 <&clks IMX5_CLK_UART1_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200413 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800414 status = "disabled";
415 };
416
Shawn Guo0c456cf2012-04-02 14:39:26 +0800417 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800418 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
419 reg = <0x73fc0000 0x4000>;
420 interrupts = <32>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100421 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530422 <&clks IMX5_CLK_UART2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200423 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800424 status = "disabled";
425 };
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200426
Philipp Zabel8d84c372013-03-28 17:35:23 +0100427 src: src@73fd0000 {
428 compatible = "fsl,imx51-src";
429 reg = <0x73fd0000 0x4000>;
430 #reset-cells = <1>;
431 };
432
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200433 clks: ccm@73fd4000{
434 compatible = "fsl,imx51-ccm";
435 reg = <0x73fd4000 0x4000>;
436 interrupts = <0 71 0x04 0 72 0x04>;
437 #clock-cells = <1>;
438 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800439 };
440
441 aips@80000000 { /* AIPS2 */
442 compatible = "fsl,aips-bus", "simple-bus";
443 #address-cells = <1>;
444 #size-cells = <1>;
445 reg = <0x80000000 0x10000000>;
446 ranges;
447
Sascha Hauer6510ea252013-06-25 15:51:51 +0200448 iim: iim@83f98000 {
449 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
450 reg = <0x83f98000 0x4000>;
451 interrupts = <69>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100452 clocks = <&clks IMX5_CLK_IIM_GATE>;
Sascha Hauer6510ea252013-06-25 15:51:51 +0200453 };
454
Alexander Shiyanad15f082013-08-21 11:28:25 +0400455 owire: owire@83fa4000 {
456 compatible = "fsl,imx51-owire", "fsl,imx21-owire";
457 reg = <0x83fa4000 0x4000>;
458 interrupts = <88>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100459 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
Alexander Shiyanad15f082013-08-21 11:28:25 +0400460 status = "disabled";
461 };
462
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100463 ecspi2: ecspi@83fac000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800464 #address-cells = <1>;
465 #size-cells = <0>;
466 compatible = "fsl,imx51-ecspi";
467 reg = <0x83fac000 0x4000>;
468 interrupts = <37>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100469 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530470 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200471 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800472 status = "disabled";
473 };
474
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100475 sdma: sdma@83fb0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800476 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
477 reg = <0x83fb0000 0x4000>;
478 interrupts = <6>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100479 clocks = <&clks IMX5_CLK_SDMA_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530480 <&clks IMX5_CLK_SDMA_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200481 clock-names = "ipg", "ahb";
Huang Shijiefb72bb22013-07-02 10:15:29 +0800482 #dma-cells = <3>;
Fabio Estevam7e4f0362012-08-08 11:28:07 -0300483 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
Shawn Guo9daaf312011-10-17 08:42:17 +0800484 };
485
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100486 cspi: cspi@83fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800487 #address-cells = <1>;
488 #size-cells = <0>;
489 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
490 reg = <0x83fc0000 0x4000>;
491 interrupts = <38>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100492 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530493 <&clks IMX5_CLK_CSPI_IPG_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200494 clock-names = "ipg", "per";
Shawn Guo9daaf312011-10-17 08:42:17 +0800495 status = "disabled";
496 };
497
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100498 i2c2: i2c@83fc4000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800499 #address-cells = <1>;
500 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800501 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800502 reg = <0x83fc4000 0x4000>;
503 interrupts = <63>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100504 clocks = <&clks IMX5_CLK_I2C2_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800505 status = "disabled";
506 };
507
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100508 i2c1: i2c@83fc8000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800509 #address-cells = <1>;
510 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800511 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
Shawn Guo9daaf312011-10-17 08:42:17 +0800512 reg = <0x83fc8000 0x4000>;
513 interrupts = <62>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100514 clocks = <&clks IMX5_CLK_I2C1_GATE>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800515 status = "disabled";
516 };
517
Shawn Guoa15d9f82012-05-11 13:08:46 +0800518 ssi1: ssi@83fcc000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400519 #sound-dai-cells = <0>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800520 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
521 reg = <0x83fcc000 0x4000>;
522 interrupts = <29>;
Fabio Estevam53ec8742014-09-18 20:23:49 -0300523 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>,
524 <&clks IMX5_CLK_SSI1_ROOT_GATE>;
525 clock-names = "ipg", "baud";
Shawn Guo5da826a2013-07-17 13:50:54 +0800526 dmas = <&sdma 28 0 0>,
527 <&sdma 29 0 0>;
528 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800529 fsl,fifo-depth = <15>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800530 status = "disabled";
531 };
532
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100533 audmux: audmux@83fd0000 {
Shawn Guoa15d9f82012-05-11 13:08:46 +0800534 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
535 reg = <0x83fd0000 0x4000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100536 clocks = <&clks IMX5_CLK_DUMMY>;
Alexander Shiyane030df92013-11-07 12:45:06 +0400537 clock-names = "audmux";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800538 status = "disabled";
539 };
540
Alexander Shiyanedd05282013-07-13 08:30:57 +0400541 weim: weim@83fda000 {
542 #address-cells = <2>;
543 #size-cells = <1>;
544 compatible = "fsl,imx51-weim";
545 reg = <0x83fda000 0x1000>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100546 clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>;
Alexander Shiyanedd05282013-07-13 08:30:57 +0400547 ranges = <
548 0 0 0xb0000000 0x08000000
549 1 0 0xb8000000 0x08000000
550 2 0 0xc0000000 0x08000000
551 3 0 0xc8000000 0x04000000
552 4 0 0xcc000000 0x02000000
553 5 0 0xce000000 0x02000000
554 >;
555 status = "disabled";
556 };
557
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100558 nfc: nand@83fdb000 {
Alexander Shiyanf0e3f892014-04-16 11:24:50 +0400559 #address-cells = <1>;
560 #size-cells = <1>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200561 compatible = "fsl,imx51-nand";
562 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
563 interrupts = <8>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100564 clocks = <&clks IMX5_CLK_NFC_GATE>;
Sascha Hauer75453a02012-06-06 12:33:16 +0200565 status = "disabled";
566 };
567
Sascha Hauer718a35002013-04-04 11:25:09 +0200568 pata: pata@83fe0000 {
569 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
570 reg = <0x83fe0000 0x4000>;
571 interrupts = <70>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100572 clocks = <&clks IMX5_CLK_PATA_GATE>;
Sascha Hauer718a35002013-04-04 11:25:09 +0200573 status = "disabled";
574 };
575
Shawn Guoa15d9f82012-05-11 13:08:46 +0800576 ssi3: ssi@83fe8000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400577 #sound-dai-cells = <0>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800578 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
579 reg = <0x83fe8000 0x4000>;
580 interrupts = <96>;
Fabio Estevam53ec8742014-09-18 20:23:49 -0300581 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>,
582 <&clks IMX5_CLK_SSI3_ROOT_GATE>;
583 clock-names = "ipg", "baud";
Shawn Guo5da826a2013-07-17 13:50:54 +0800584 dmas = <&sdma 46 0 0>,
585 <&sdma 47 0 0>;
586 dma-names = "rx", "tx";
Shawn Guoa15d9f82012-05-11 13:08:46 +0800587 fsl,fifo-depth = <15>;
Shawn Guoa15d9f82012-05-11 13:08:46 +0800588 status = "disabled";
589 };
590
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100591 fec: ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800592 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
593 reg = <0x83fec000 0x4000>;
594 interrupts = <87>;
Lucas Stachff65d4c2013-11-14 11:18:59 +0100595 clocks = <&clks IMX5_CLK_FEC_GATE>,
Jagan Teki46311702016-10-26 15:31:01 +0530596 <&clks IMX5_CLK_FEC_GATE>,
597 <&clks IMX5_CLK_FEC_GATE>;
Fabio Estevamf40f38d2012-11-21 13:43:05 -0200598 clock-names = "ipg", "ahb", "ptp";
Shawn Guo9daaf312011-10-17 08:42:17 +0800599 status = "disabled";
600 };
601 };
602 };
603};