blob: 43ccbbf754a340ab552a10ae0578badc59287aa4 [file] [log] [blame]
Shawn Guo2954ff32012-05-04 21:33:42 +08001/*
2 * Copyright 2012 Freescale Semiconductor, Inc.
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
Lothar Waßmannbc3875f2013-09-19 08:59:48 +020012#include "imx23-pinfunc.h"
Shawn Guo2954ff32012-05-04 21:33:42 +080013
14/ {
Fabio Estevam7f107882016-11-12 13:30:35 -020015 #address-cells = <1>;
16 #size-cells = <1>;
17
Shawn Guo2954ff32012-05-04 21:33:42 +080018 interrupt-parent = <&icoll>;
Fabio Estevama971c552017-01-23 14:54:10 -020019 /*
20 * The decompressor and also some bootloaders rely on a
21 * pre-existing /chosen node to be available to insert the
22 * command line and merge other ATAGS info.
23 * Also for U-Boot there must be a pre-existing /memory node.
24 */
25 chosen {};
26 memory { device_type = "memory"; reg = <0 0>; };
Shawn Guo2954ff32012-05-04 21:33:42 +080027
Shawn Guoce4c6f92012-05-04 14:32:35 +080028 aliases {
29 gpio0 = &gpio0;
30 gpio1 = &gpio1;
31 gpio2 = &gpio2;
Shawn Guoa4508392012-06-28 11:45:00 +080032 serial0 = &auart0;
33 serial1 = &auart1;
Fabio Estevam6bf6eb02013-07-22 17:57:01 -030034 spi0 = &ssp0;
35 spi1 = &ssp1;
Peter Chen1f35cc62013-12-20 15:52:05 +080036 usbphy0 = &usbphy0;
Shawn Guoce4c6f92012-05-04 14:32:35 +080037 };
38
Shawn Guo2954ff32012-05-04 21:33:42 +080039 cpus {
Lorenzo Pieralisi7925e892013-04-18 18:34:06 +010040 #address-cells = <0>;
41 #size-cells = <0>;
42
43 cpu {
44 compatible = "arm,arm926ej-s";
45 device_type = "cpu";
Shawn Guo2954ff32012-05-04 21:33:42 +080046 };
47 };
48
49 apb@80000000 {
50 compatible = "simple-bus";
51 #address-cells = <1>;
52 #size-cells = <1>;
53 reg = <0x80000000 0x80000>;
54 ranges;
55
56 apbh@80000000 {
57 compatible = "simple-bus";
58 #address-cells = <1>;
59 #size-cells = <1>;
60 reg = <0x80000000 0x40000>;
61 ranges;
62
63 icoll: interrupt-controller@80000000 {
Shawn Guo83a84ef2012-08-20 21:34:56 +080064 compatible = "fsl,imx23-icoll", "fsl,icoll";
Shawn Guo2954ff32012-05-04 21:33:42 +080065 interrupt-controller;
66 #interrupt-cells = <1>;
67 reg = <0x80000000 0x2000>;
68 };
69
Shawn Guof30fb032013-02-25 21:56:56 +080070 dma_apbh: dma-apbh@80004000 {
Dong Aisheng84f35702012-05-04 20:12:19 +080071 compatible = "fsl,imx23-dma-apbh";
Fabio Estevam640bf062012-07-30 21:29:18 -030072 reg = <0x80004000 0x2000>;
Shawn Guof30fb032013-02-25 21:56:56 +080073 interrupts = <0 14 20 0
74 13 13 13 13>;
75 interrupt-names = "empty", "ssp0", "ssp1", "empty",
76 "gpmi0", "gpmi1", "gpmi2", "gpmi3";
77 #dma-cells = <1>;
78 dma-channels = <8>;
Shawn Guo53f94432012-08-22 21:36:30 +080079 clocks = <&clks 15>;
Shawn Guo2954ff32012-05-04 21:33:42 +080080 };
81
82 ecc@80008000 {
Fabio Estevam640bf062012-07-30 21:29:18 -030083 reg = <0x80008000 0x2000>;
Shawn Guo2954ff32012-05-04 21:33:42 +080084 status = "disabled";
85 };
86
Marek Vasuta217c462012-06-09 01:21:55 +020087 gpmi-nand@8000c000 {
Huang Shijieb9f25f82012-07-03 12:58:13 +080088 compatible = "fsl,imx23-gpmi-nand";
89 #address-cells = <1>;
90 #size-cells = <1>;
Fabio Estevam640bf062012-07-30 21:29:18 -030091 reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>;
Huang Shijieb9f25f82012-07-03 12:58:13 +080092 reg-names = "gpmi-nand", "bch";
Shawn Guo7f2b9282013-07-16 17:10:55 +080093 interrupts = <56>;
94 interrupt-names = "bch";
Shawn Guo53f94432012-08-22 21:36:30 +080095 clocks = <&clks 34>;
Huang Shijieb6442552012-10-10 18:27:09 +080096 clock-names = "gpmi_io";
Shawn Guof30fb032013-02-25 21:56:56 +080097 dmas = <&dma_apbh 4>;
98 dma-names = "rx-tx";
Shawn Guo2954ff32012-05-04 21:33:42 +080099 status = "disabled";
100 };
101
102 ssp0: ssp@80010000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300103 reg = <0x80010000 0x2000>;
Shawn Guo7f2b9282013-07-16 17:10:55 +0800104 interrupts = <15>;
Shawn Guo53f94432012-08-22 21:36:30 +0800105 clocks = <&clks 33>;
Shawn Guof30fb032013-02-25 21:56:56 +0800106 dmas = <&dma_apbh 1>;
107 dma-names = "rx-tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800108 status = "disabled";
109 };
110
111 etm@80014000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300112 reg = <0x80014000 0x2000>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800113 status = "disabled";
114 };
115
116 pinctrl@80018000 {
117 #address-cells = <1>;
118 #size-cells = <0>;
Shawn Guoce4c6f92012-05-04 14:32:35 +0800119 compatible = "fsl,imx23-pinctrl", "simple-bus";
Fabio Estevam640bf062012-07-30 21:29:18 -0300120 reg = <0x80018000 0x2000>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800121
Shawn Guoce4c6f92012-05-04 14:32:35 +0800122 gpio0: gpio@0 {
123 compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
Stefan Wahrene57609a2016-06-05 13:49:27 +0000124 reg = <0>;
Shawn Guoce4c6f92012-05-04 14:32:35 +0800125 interrupts = <16>;
126 gpio-controller;
127 #gpio-cells = <2>;
128 interrupt-controller;
129 #interrupt-cells = <2>;
130 };
131
132 gpio1: gpio@1 {
133 compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
Stefan Wahrene57609a2016-06-05 13:49:27 +0000134 reg = <1>;
Shawn Guoce4c6f92012-05-04 14:32:35 +0800135 interrupts = <17>;
136 gpio-controller;
137 #gpio-cells = <2>;
138 interrupt-controller;
139 #interrupt-cells = <2>;
140 };
141
142 gpio2: gpio@2 {
143 compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
Stefan Wahrene57609a2016-06-05 13:49:27 +0000144 reg = <2>;
Shawn Guoce4c6f92012-05-04 14:32:35 +0800145 interrupts = <18>;
146 gpio-controller;
147 #gpio-cells = <2>;
148 interrupt-controller;
149 #interrupt-cells = <2>;
150 };
151
Shawn Guo2954ff32012-05-04 21:33:42 +0800152 duart_pins_a: duart@0 {
153 reg = <0>;
Shawn Guof14da762012-06-28 11:44:57 +0800154 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200155 MX23_PAD_PWM0__DUART_RX
156 MX23_PAD_PWM1__DUART_TX
Shawn Guof14da762012-06-28 11:44:57 +0800157 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800158 fsl,drive-strength = <MXS_DRIVE_4mA>;
159 fsl,voltage = <MXS_VOLTAGE_HIGH>;
160 fsl,pull-up = <MXS_PULL_DISABLE>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800161 };
Shawn Guobe1ce302012-05-06 16:29:36 +0800162
Shawn Guoa4508392012-06-28 11:45:00 +0800163 auart0_pins_a: auart0@0 {
164 reg = <0>;
165 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200166 MX23_PAD_AUART1_RX__AUART1_RX
167 MX23_PAD_AUART1_TX__AUART1_TX
168 MX23_PAD_AUART1_CTS__AUART1_CTS
169 MX23_PAD_AUART1_RTS__AUART1_RTS
Shawn Guoa4508392012-06-28 11:45:00 +0800170 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800171 fsl,drive-strength = <MXS_DRIVE_4mA>;
172 fsl,voltage = <MXS_VOLTAGE_HIGH>;
173 fsl,pull-up = <MXS_PULL_DISABLE>;
Shawn Guoa4508392012-06-28 11:45:00 +0800174 };
175
Fabio Estevam98916a22012-07-30 16:33:44 -0300176 auart0_2pins_a: auart0-2pins@0 {
177 reg = <0>;
178 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200179 MX23_PAD_I2C_SCL__AUART1_TX
180 MX23_PAD_I2C_SDA__AUART1_RX
Fabio Estevam98916a22012-07-30 16:33:44 -0300181 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800182 fsl,drive-strength = <MXS_DRIVE_4mA>;
183 fsl,voltage = <MXS_VOLTAGE_HIGH>;
184 fsl,pull-up = <MXS_PULL_DISABLE>;
Fabio Estevam98916a22012-07-30 16:33:44 -0300185 };
186
Marek Vasutd33c7312016-06-09 21:43:11 +0200187 auart1_2pins_a: auart1-2pins@0 {
188 reg = <0>;
189 fsl,pinmux-ids = <
190 MX23_PAD_GPMI_D14__AUART2_RX
191 MX23_PAD_GPMI_D15__AUART2_TX
192 >;
193 fsl,drive-strength = <MXS_DRIVE_4mA>;
194 fsl,voltage = <MXS_VOLTAGE_HIGH>;
195 fsl,pull-up = <MXS_PULL_DISABLE>;
196 };
197
Huang Shijieb9f25f82012-07-03 12:58:13 +0800198 gpmi_pins_a: gpmi-nand@0 {
199 reg = <0>;
200 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200201 MX23_PAD_GPMI_D00__GPMI_D00
202 MX23_PAD_GPMI_D01__GPMI_D01
203 MX23_PAD_GPMI_D02__GPMI_D02
204 MX23_PAD_GPMI_D03__GPMI_D03
205 MX23_PAD_GPMI_D04__GPMI_D04
206 MX23_PAD_GPMI_D05__GPMI_D05
207 MX23_PAD_GPMI_D06__GPMI_D06
208 MX23_PAD_GPMI_D07__GPMI_D07
209 MX23_PAD_GPMI_CLE__GPMI_CLE
210 MX23_PAD_GPMI_ALE__GPMI_ALE
211 MX23_PAD_GPMI_RDY0__GPMI_RDY0
212 MX23_PAD_GPMI_RDY1__GPMI_RDY1
213 MX23_PAD_GPMI_WPN__GPMI_WPN
214 MX23_PAD_GPMI_WRN__GPMI_WRN
215 MX23_PAD_GPMI_RDN__GPMI_RDN
216 MX23_PAD_GPMI_CE1N__GPMI_CE1N
217 MX23_PAD_GPMI_CE0N__GPMI_CE0N
Huang Shijieb9f25f82012-07-03 12:58:13 +0800218 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800219 fsl,drive-strength = <MXS_DRIVE_4mA>;
220 fsl,voltage = <MXS_VOLTAGE_HIGH>;
221 fsl,pull-up = <MXS_PULL_DISABLE>;
Huang Shijieb9f25f82012-07-03 12:58:13 +0800222 };
223
224 gpmi_pins_fixup: gpmi-pins-fixup {
225 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200226 MX23_PAD_GPMI_WPN__GPMI_WPN
227 MX23_PAD_GPMI_WRN__GPMI_WRN
228 MX23_PAD_GPMI_RDN__GPMI_RDN
Huang Shijieb9f25f82012-07-03 12:58:13 +0800229 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800230 fsl,drive-strength = <MXS_DRIVE_12mA>;
Huang Shijieb9f25f82012-07-03 12:58:13 +0800231 };
232
Shawn Guo72beaba2012-06-28 11:44:59 +0800233 mmc0_4bit_pins_a: mmc0-4bit@0 {
234 reg = <0>;
235 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200236 MX23_PAD_SSP1_DATA0__SSP1_DATA0
237 MX23_PAD_SSP1_DATA1__SSP1_DATA1
238 MX23_PAD_SSP1_DATA2__SSP1_DATA2
239 MX23_PAD_SSP1_DATA3__SSP1_DATA3
240 MX23_PAD_SSP1_CMD__SSP1_CMD
241 MX23_PAD_SSP1_SCK__SSP1_SCK
Shawn Guo72beaba2012-06-28 11:44:59 +0800242 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800243 fsl,drive-strength = <MXS_DRIVE_8mA>;
244 fsl,voltage = <MXS_VOLTAGE_HIGH>;
245 fsl,pull-up = <MXS_PULL_ENABLE>;
Shawn Guo72beaba2012-06-28 11:44:59 +0800246 };
247
Shawn Guobe1ce302012-05-06 16:29:36 +0800248 mmc0_8bit_pins_a: mmc0-8bit@0 {
249 reg = <0>;
Shawn Guof14da762012-06-28 11:44:57 +0800250 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200251 MX23_PAD_SSP1_DATA0__SSP1_DATA0
252 MX23_PAD_SSP1_DATA1__SSP1_DATA1
253 MX23_PAD_SSP1_DATA2__SSP1_DATA2
254 MX23_PAD_SSP1_DATA3__SSP1_DATA3
255 MX23_PAD_GPMI_D08__SSP1_DATA4
256 MX23_PAD_GPMI_D09__SSP1_DATA5
257 MX23_PAD_GPMI_D10__SSP1_DATA6
258 MX23_PAD_GPMI_D11__SSP1_DATA7
259 MX23_PAD_SSP1_CMD__SSP1_CMD
260 MX23_PAD_SSP1_DETECT__SSP1_DETECT
261 MX23_PAD_SSP1_SCK__SSP1_SCK
Shawn Guof14da762012-06-28 11:44:57 +0800262 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800263 fsl,drive-strength = <MXS_DRIVE_8mA>;
264 fsl,voltage = <MXS_VOLTAGE_HIGH>;
265 fsl,pull-up = <MXS_PULL_ENABLE>;
Shawn Guobe1ce302012-05-06 16:29:36 +0800266 };
267
268 mmc0_pins_fixup: mmc0-pins-fixup {
Shawn Guof14da762012-06-28 11:44:57 +0800269 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200270 MX23_PAD_SSP1_DETECT__SSP1_DETECT
271 MX23_PAD_SSP1_SCK__SSP1_SCK
Shawn Guof14da762012-06-28 11:44:57 +0800272 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800273 fsl,pull-up = <MXS_PULL_DISABLE>;
Shawn Guobe1ce302012-05-06 16:29:36 +0800274 };
Shawn Guo52f71762012-06-28 11:45:06 +0800275
Marek Vasut1ebcb162016-06-09 21:43:10 +0200276 mmc1_4bit_pins_a: mmc1-4bit@0 {
277 reg = <0>;
278 fsl,pinmux-ids = <
279 MX23_PAD_GPMI_D00__SSP2_DATA0
280 MX23_PAD_GPMI_D01__SSP2_DATA1
281 MX23_PAD_GPMI_D02__SSP2_DATA2
282 MX23_PAD_GPMI_D03__SSP2_DATA3
283 MX23_PAD_GPMI_RDY1__SSP2_CMD
284 MX23_PAD_GPMI_WRN__SSP2_SCK
285 >;
286 fsl,drive-strength = <MXS_DRIVE_8mA>;
287 fsl,voltage = <MXS_VOLTAGE_HIGH>;
288 fsl,pull-up = <MXS_PULL_ENABLE>;
289 };
290
291 mmc1_8bit_pins_a: mmc1-8bit@0 {
292 reg = <0>;
293 fsl,pinmux-ids = <
294 MX23_PAD_GPMI_D00__SSP2_DATA0
295 MX23_PAD_GPMI_D01__SSP2_DATA1
296 MX23_PAD_GPMI_D02__SSP2_DATA2
297 MX23_PAD_GPMI_D03__SSP2_DATA3
298 MX23_PAD_GPMI_D04__SSP2_DATA4
299 MX23_PAD_GPMI_D05__SSP2_DATA5
300 MX23_PAD_GPMI_D06__SSP2_DATA6
301 MX23_PAD_GPMI_D07__SSP2_DATA7
302 MX23_PAD_GPMI_RDY1__SSP2_CMD
303 MX23_PAD_GPMI_WRN__SSP2_SCK
304 >;
305 fsl,drive-strength = <MXS_DRIVE_8mA>;
306 fsl,voltage = <MXS_VOLTAGE_HIGH>;
307 fsl,pull-up = <MXS_PULL_ENABLE>;
308 };
309
Shawn Guo52f71762012-06-28 11:45:06 +0800310 pwm2_pins_a: pwm2@0 {
311 reg = <0>;
312 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200313 MX23_PAD_PWM2__PWM2
Shawn Guo52f71762012-06-28 11:45:06 +0800314 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800315 fsl,drive-strength = <MXS_DRIVE_4mA>;
316 fsl,voltage = <MXS_VOLTAGE_HIGH>;
317 fsl,pull-up = <MXS_PULL_DISABLE>;
Shawn Guo52f71762012-06-28 11:45:06 +0800318 };
Shawn Guoa915ee42012-06-28 11:45:07 +0800319
320 lcdif_24bit_pins_a: lcdif-24bit@0 {
321 reg = <0>;
322 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200323 MX23_PAD_LCD_D00__LCD_D00
324 MX23_PAD_LCD_D01__LCD_D01
325 MX23_PAD_LCD_D02__LCD_D02
326 MX23_PAD_LCD_D03__LCD_D03
327 MX23_PAD_LCD_D04__LCD_D04
328 MX23_PAD_LCD_D05__LCD_D05
329 MX23_PAD_LCD_D06__LCD_D06
330 MX23_PAD_LCD_D07__LCD_D07
331 MX23_PAD_LCD_D08__LCD_D08
332 MX23_PAD_LCD_D09__LCD_D09
333 MX23_PAD_LCD_D10__LCD_D10
334 MX23_PAD_LCD_D11__LCD_D11
335 MX23_PAD_LCD_D12__LCD_D12
336 MX23_PAD_LCD_D13__LCD_D13
337 MX23_PAD_LCD_D14__LCD_D14
338 MX23_PAD_LCD_D15__LCD_D15
339 MX23_PAD_LCD_D16__LCD_D16
340 MX23_PAD_LCD_D17__LCD_D17
341 MX23_PAD_GPMI_D08__LCD_D18
342 MX23_PAD_GPMI_D09__LCD_D19
343 MX23_PAD_GPMI_D10__LCD_D20
344 MX23_PAD_GPMI_D11__LCD_D21
345 MX23_PAD_GPMI_D12__LCD_D22
346 MX23_PAD_GPMI_D13__LCD_D23
347 MX23_PAD_LCD_DOTCK__LCD_DOTCK
348 MX23_PAD_LCD_ENABLE__LCD_ENABLE
349 MX23_PAD_LCD_HSYNC__LCD_HSYNC
350 MX23_PAD_LCD_VSYNC__LCD_VSYNC
Shawn Guoa915ee42012-06-28 11:45:07 +0800351 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800352 fsl,drive-strength = <MXS_DRIVE_4mA>;
353 fsl,voltage = <MXS_VOLTAGE_HIGH>;
354 fsl,pull-up = <MXS_PULL_DISABLE>;
Shawn Guoa915ee42012-06-28 11:45:07 +0800355 };
Fadil Berishaa0487862012-11-17 16:52:32 -0500356
357 spi2_pins_a: spi2@0 {
358 reg = <0>;
359 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +0200360 MX23_PAD_GPMI_WRN__SSP2_SCK
361 MX23_PAD_GPMI_RDY1__SSP2_CMD
362 MX23_PAD_GPMI_D00__SSP2_DATA0
363 MX23_PAD_GPMI_D03__SSP2_DATA3
Fadil Berishaa0487862012-11-17 16:52:32 -0500364 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +0800365 fsl,drive-strength = <MXS_DRIVE_8mA>;
366 fsl,voltage = <MXS_VOLTAGE_HIGH>;
367 fsl,pull-up = <MXS_PULL_ENABLE>;
Fadil Berishaa0487862012-11-17 16:52:32 -0500368 };
Harald Geyer71a34d82015-04-17 14:43:24 +0000369
370 i2c_pins_a: i2c@0 {
371 reg = <0>;
372 fsl,pinmux-ids = <
373 MX23_PAD_I2C_SCL__I2C_SCL
374 MX23_PAD_I2C_SDA__I2C_SDA
375 >;
376 fsl,drive-strength = <MXS_DRIVE_8mA>;
377 fsl,voltage = <MXS_VOLTAGE_HIGH>;
378 fsl,pull-up = <MXS_PULL_ENABLE>;
379 };
380
381 i2c_pins_b: i2c@1 {
382 reg = <1>;
383 fsl,pinmux-ids = <
384 MX23_PAD_LCD_ENABLE__I2C_SCL
385 MX23_PAD_LCD_HSYNC__I2C_SDA
386 >;
387 fsl,drive-strength = <MXS_DRIVE_8mA>;
388 fsl,voltage = <MXS_VOLTAGE_HIGH>;
389 fsl,pull-up = <MXS_PULL_ENABLE>;
390 };
391
392 i2c_pins_c: i2c@2 {
393 reg = <2>;
394 fsl,pinmux-ids = <
395 MX23_PAD_SSP1_DATA1__I2C_SCL
396 MX23_PAD_SSP1_DATA2__I2C_SDA
397 >;
398 fsl,drive-strength = <MXS_DRIVE_8mA>;
399 fsl,voltage = <MXS_VOLTAGE_HIGH>;
400 fsl,pull-up = <MXS_PULL_ENABLE>;
401 };
Shawn Guo2954ff32012-05-04 21:33:42 +0800402 };
403
404 digctl@8001c000 {
Shawn Guo38d65902013-03-26 21:11:02 +0800405 compatible = "fsl,imx23-digctl";
Shawn Guo2954ff32012-05-04 21:33:42 +0800406 reg = <0x8001c000 2000>;
407 status = "disabled";
408 };
409
410 emi@80020000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300411 reg = <0x80020000 0x2000>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800412 status = "disabled";
413 };
414
Shawn Guof30fb032013-02-25 21:56:56 +0800415 dma_apbx: dma-apbx@80024000 {
Dong Aisheng84f35702012-05-04 20:12:19 +0800416 compatible = "fsl,imx23-dma-apbx";
Fabio Estevam640bf062012-07-30 21:29:18 -0300417 reg = <0x80024000 0x2000>;
Shawn Guof30fb032013-02-25 21:56:56 +0800418 interrupts = <7 5 9 26
419 19 0 25 23
420 60 58 9 0
421 0 0 0 0>;
422 interrupt-names = "audio-adc", "audio-dac", "spdif-tx", "i2c",
423 "saif0", "empty", "auart0-rx", "auart0-tx",
424 "auart1-rx", "auart1-tx", "saif1", "empty",
425 "empty", "empty", "empty", "empty";
426 #dma-cells = <1>;
427 dma-channels = <16>;
Shawn Guo53f94432012-08-22 21:36:30 +0800428 clocks = <&clks 16>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800429 };
430
431 dcp@80028000 {
Marek Vasut7d56a282013-12-10 20:26:22 +0100432 compatible = "fsl,imx23-dcp";
Fabio Estevam640bf062012-07-30 21:29:18 -0300433 reg = <0x80028000 0x2000>;
Marek Vasut7d56a282013-12-10 20:26:22 +0100434 interrupts = <53 54>;
435 status = "okay";
Shawn Guo2954ff32012-05-04 21:33:42 +0800436 };
437
438 pxp@8002a000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300439 reg = <0x8002a000 0x2000>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800440 status = "disabled";
441 };
442
443 ocotp@8002c000 {
Stefan Wahrena7be1e62015-08-12 22:21:56 +0000444 compatible = "fsl,imx23-ocotp", "fsl,ocotp";
445 #address-cells = <1>;
446 #size-cells = <1>;
Fabio Estevam640bf062012-07-30 21:29:18 -0300447 reg = <0x8002c000 0x2000>;
Stefan Wahrena7be1e62015-08-12 22:21:56 +0000448 clocks = <&clks 15>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800449 };
450
451 axi-ahb@8002e000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300452 reg = <0x8002e000 0x2000>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800453 status = "disabled";
454 };
455
456 lcdif@80030000 {
Shawn Guoa915ee42012-06-28 11:45:07 +0800457 compatible = "fsl,imx23-lcdif";
Shawn Guo2954ff32012-05-04 21:33:42 +0800458 reg = <0x80030000 2000>;
Shawn Guoa915ee42012-06-28 11:45:07 +0800459 interrupts = <46 45>;
Shawn Guo53f94432012-08-22 21:36:30 +0800460 clocks = <&clks 38>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800461 status = "disabled";
462 };
463
464 ssp1: ssp@80034000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300465 reg = <0x80034000 0x2000>;
Shawn Guo7f2b9282013-07-16 17:10:55 +0800466 interrupts = <2>;
Shawn Guo53f94432012-08-22 21:36:30 +0800467 clocks = <&clks 33>;
Shawn Guof30fb032013-02-25 21:56:56 +0800468 dmas = <&dma_apbh 2>;
469 dma-names = "rx-tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800470 status = "disabled";
471 };
472
473 tvenc@80038000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300474 reg = <0x80038000 0x2000>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800475 status = "disabled";
476 };
Jagan Teki46311702016-10-26 15:31:01 +0530477 };
Shawn Guo2954ff32012-05-04 21:33:42 +0800478
479 apbx@80040000 {
480 compatible = "simple-bus";
481 #address-cells = <1>;
482 #size-cells = <1>;
483 reg = <0x80040000 0x40000>;
484 ranges;
485
Shawn Guo53f94432012-08-22 21:36:30 +0800486 clks: clkctrl@80040000 {
Shawn Guo8f7cf882013-03-29 09:33:09 +0800487 compatible = "fsl,imx23-clkctrl", "fsl,clkctrl";
Fabio Estevam640bf062012-07-30 21:29:18 -0300488 reg = <0x80040000 0x2000>;
Shawn Guo53f94432012-08-22 21:36:30 +0800489 #clock-cells = <1>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800490 };
491
492 saif0: saif@80042000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300493 reg = <0x80042000 0x2000>;
Shawn Guof30fb032013-02-25 21:56:56 +0800494 dmas = <&dma_apbx 4>;
495 dma-names = "rx-tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800496 status = "disabled";
497 };
498
499 power@80044000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300500 reg = <0x80044000 0x2000>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800501 status = "disabled";
502 };
503
504 saif1: saif@80046000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300505 reg = <0x80046000 0x2000>;
Shawn Guof30fb032013-02-25 21:56:56 +0800506 dmas = <&dma_apbx 10>;
507 dma-names = "rx-tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800508 status = "disabled";
509 };
510
511 audio-out@80048000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300512 reg = <0x80048000 0x2000>;
Shawn Guof30fb032013-02-25 21:56:56 +0800513 dmas = <&dma_apbx 1>;
514 dma-names = "tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800515 status = "disabled";
516 };
517
518 audio-in@8004c000 {
Fabio Estevam640bf062012-07-30 21:29:18 -0300519 reg = <0x8004c000 0x2000>;
Shawn Guof30fb032013-02-25 21:56:56 +0800520 dmas = <&dma_apbx 0>;
521 dma-names = "rx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800522 status = "disabled";
523 };
524
Alexandre Bellonibd798f92013-12-18 19:50:56 +0100525 lradc: lradc@80050000 {
Marek Vasut1f451882013-01-21 20:05:00 +0000526 compatible = "fsl,imx23-lradc";
Fabio Estevam640bf062012-07-30 21:29:18 -0300527 reg = <0x80050000 0x2000>;
Marek Vasut1f451882013-01-21 20:05:00 +0000528 interrupts = <36 37 38 39 40 41 42 43 44>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800529 status = "disabled";
Juergen Beisert18da7552013-09-23 15:36:00 +0100530 clocks = <&clks 26>;
Stefan Wahrene8e94ed2015-06-02 22:03:28 +0000531 #io-channel-cells = <1>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800532 };
533
534 spdif@80054000 {
535 reg = <0x80054000 2000>;
Shawn Guof30fb032013-02-25 21:56:56 +0800536 dmas = <&dma_apbx 2>;
537 dma-names = "tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800538 status = "disabled";
539 };
540
Harald Geyer71a34d82015-04-17 14:43:24 +0000541 i2c: i2c@80058000 {
542 #address-cells = <1>;
543 #size-cells = <0>;
544 compatible = "fsl,imx23-i2c";
Fabio Estevam640bf062012-07-30 21:29:18 -0300545 reg = <0x80058000 0x2000>;
Harald Geyer71a34d82015-04-17 14:43:24 +0000546 interrupts = <27>;
547 clock-frequency = <100000>;
Shawn Guof30fb032013-02-25 21:56:56 +0800548 dmas = <&dma_apbx 3>;
549 dma-names = "rx-tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800550 status = "disabled";
551 };
552
553 rtc@8005c000 {
Shawn Guof98c9902012-06-28 11:45:05 +0800554 compatible = "fsl,imx23-rtc", "fsl,stmp3xxx-rtc";
Fabio Estevam640bf062012-07-30 21:29:18 -0300555 reg = <0x8005c000 0x2000>;
Shawn Guof98c9902012-06-28 11:45:05 +0800556 interrupts = <22>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800557 };
558
Shawn Guo52f71762012-06-28 11:45:06 +0800559 pwm: pwm@80064000 {
560 compatible = "fsl,imx23-pwm";
Fabio Estevam640bf062012-07-30 21:29:18 -0300561 reg = <0x80064000 0x2000>;
Shawn Guo53f94432012-08-22 21:36:30 +0800562 clocks = <&clks 30>;
Shawn Guo52f71762012-06-28 11:45:06 +0800563 #pwm-cells = <2>;
564 fsl,pwm-number = <5>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800565 status = "disabled";
566 };
567
568 timrot@80068000 {
Shawn Guoeeca6e62012-08-20 08:51:45 +0800569 compatible = "fsl,imx23-timrot", "fsl,timrot";
Fabio Estevam640bf062012-07-30 21:29:18 -0300570 reg = <0x80068000 0x2000>;
Shawn Guoeeca6e62012-08-20 08:51:45 +0800571 interrupts = <28 29 30 31>;
Shawn Guo2efb9502013-03-25 22:57:14 +0800572 clocks = <&clks 28>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800573 };
574
575 auart0: serial@8006c000 {
Shawn Guoa4508392012-06-28 11:45:00 +0800576 compatible = "fsl,imx23-auart";
Shawn Guo2954ff32012-05-04 21:33:42 +0800577 reg = <0x8006c000 0x2000>;
Shawn Guo7f2b9282013-07-16 17:10:55 +0800578 interrupts = <24>;
Shawn Guo53f94432012-08-22 21:36:30 +0800579 clocks = <&clks 32>;
Shawn Guof30fb032013-02-25 21:56:56 +0800580 dmas = <&dma_apbx 6>, <&dma_apbx 7>;
581 dma-names = "rx", "tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800582 status = "disabled";
583 };
584
585 auart1: serial@8006e000 {
Shawn Guoa4508392012-06-28 11:45:00 +0800586 compatible = "fsl,imx23-auart";
Shawn Guo2954ff32012-05-04 21:33:42 +0800587 reg = <0x8006e000 0x2000>;
Shawn Guo7f2b9282013-07-16 17:10:55 +0800588 interrupts = <59>;
Shawn Guo53f94432012-08-22 21:36:30 +0800589 clocks = <&clks 32>;
Shawn Guof30fb032013-02-25 21:56:56 +0800590 dmas = <&dma_apbx 8>, <&dma_apbx 9>;
591 dma-names = "rx", "tx";
Shawn Guo2954ff32012-05-04 21:33:42 +0800592 status = "disabled";
593 };
594
595 duart: serial@80070000 {
596 compatible = "arm,pl011", "arm,primecell";
597 reg = <0x80070000 0x2000>;
598 interrupts = <0>;
Shawn Guo53f94432012-08-22 21:36:30 +0800599 clocks = <&clks 32>, <&clks 16>;
600 clock-names = "uart", "apb_pclk";
Shawn Guo2954ff32012-05-04 21:33:42 +0800601 status = "disabled";
602 };
603
Fabio Estevamd6475317b2012-09-13 14:33:38 -0300604 usbphy0: usbphy@8007c000 {
605 compatible = "fsl,imx23-usbphy";
Shawn Guo2954ff32012-05-04 21:33:42 +0800606 reg = <0x8007c000 0x2000>;
Fabio Estevamd6475317b2012-09-13 14:33:38 -0300607 clocks = <&clks 41>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800608 status = "disabled";
609 };
610 };
611 };
612
613 ahb@80080000 {
614 compatible = "simple-bus";
615 #address-cells = <1>;
616 #size-cells = <1>;
617 reg = <0x80080000 0x80000>;
618 ranges;
619
Fabio Estevamd6475317b2012-09-13 14:33:38 -0300620 usb0: usb@80080000 {
621 compatible = "fsl,imx23-usb", "fsl,imx27-usb";
Fabio Estevam640bf062012-07-30 21:29:18 -0300622 reg = <0x80080000 0x40000>;
Fabio Estevamd6475317b2012-09-13 14:33:38 -0300623 interrupts = <11>;
624 fsl,usbphy = <&usbphy0>;
625 clocks = <&clks 40>;
Shawn Guo2954ff32012-05-04 21:33:42 +0800626 status = "disabled";
627 };
628 };
Alexandre Bellonibd798f92013-12-18 19:50:56 +0100629
Sanchayan Maity0b452cc2016-02-16 10:30:54 +0530630 iio-hwmon {
Alexandre Bellonibd798f92013-12-18 19:50:56 +0100631 compatible = "iio-hwmon";
632 io-channels = <&lradc 8>;
633 };
Shawn Guo2954ff32012-05-04 21:33:42 +0800634};