1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2f126890aSEmmanuel Vadot//
3f126890aSEmmanuel Vadot// Copyright 2012 Freescale Semiconductor, Inc.
4f126890aSEmmanuel Vadot
5f126890aSEmmanuel Vadot#include "imx23-pinfunc.h"
6f126890aSEmmanuel Vadot
7f126890aSEmmanuel Vadot/ {
8f126890aSEmmanuel Vadot	#address-cells = <1>;
9f126890aSEmmanuel Vadot	#size-cells = <1>;
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot	interrupt-parent = <&icoll>;
12f126890aSEmmanuel Vadot	/*
13f126890aSEmmanuel Vadot	 * The decompressor and also some bootloaders rely on a
14f126890aSEmmanuel Vadot	 * pre-existing /chosen node to be available to insert the
15f126890aSEmmanuel Vadot	 * command line and merge other ATAGS info.
16f126890aSEmmanuel Vadot	 */
17f126890aSEmmanuel Vadot	chosen {};
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	aliases {
20f126890aSEmmanuel Vadot		gpio0 = &gpio0;
21f126890aSEmmanuel Vadot		gpio1 = &gpio1;
22f126890aSEmmanuel Vadot		gpio2 = &gpio2;
23f126890aSEmmanuel Vadot		serial0 = &auart0;
24f126890aSEmmanuel Vadot		serial1 = &auart1;
25f126890aSEmmanuel Vadot		spi0 = &ssp0;
26f126890aSEmmanuel Vadot		spi1 = &ssp1;
27f126890aSEmmanuel Vadot		usbphy0 = &usbphy0;
28f126890aSEmmanuel Vadot	};
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot	cpus {
31f126890aSEmmanuel Vadot		#address-cells = <1>;
32f126890aSEmmanuel Vadot		#size-cells = <0>;
33f126890aSEmmanuel Vadot
34f126890aSEmmanuel Vadot		cpu@0 {
35f126890aSEmmanuel Vadot			compatible = "arm,arm926ej-s";
36f126890aSEmmanuel Vadot			device_type = "cpu";
37f126890aSEmmanuel Vadot			reg = <0>;
38f126890aSEmmanuel Vadot		};
39f126890aSEmmanuel Vadot	};
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot	apb@80000000 {
42f126890aSEmmanuel Vadot		compatible = "simple-bus";
43f126890aSEmmanuel Vadot		#address-cells = <1>;
44f126890aSEmmanuel Vadot		#size-cells = <1>;
45f126890aSEmmanuel Vadot		reg = <0x80000000 0x80000>;
46f126890aSEmmanuel Vadot		ranges;
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot		apbh@80000000 {
49f126890aSEmmanuel Vadot			compatible = "simple-bus";
50f126890aSEmmanuel Vadot			#address-cells = <1>;
51f126890aSEmmanuel Vadot			#size-cells = <1>;
52f126890aSEmmanuel Vadot			reg = <0x80000000 0x40000>;
53f126890aSEmmanuel Vadot			ranges;
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot			icoll: interrupt-controller@80000000 {
56f126890aSEmmanuel Vadot				compatible = "fsl,imx23-icoll", "fsl,icoll";
57f126890aSEmmanuel Vadot				interrupt-controller;
58f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
59f126890aSEmmanuel Vadot				reg = <0x80000000 0x2000>;
60f126890aSEmmanuel Vadot			};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot			dma_apbh: dma-controller@80004000 {
63f126890aSEmmanuel Vadot				compatible = "fsl,imx23-dma-apbh";
64f126890aSEmmanuel Vadot				reg = <0x80004000 0x2000>;
65aa1a8ff2SEmmanuel Vadot				interrupts = <0>, <14>, <20>, <0>,
66aa1a8ff2SEmmanuel Vadot					     <13>, <13>, <13>, <13>;
67f126890aSEmmanuel Vadot				#dma-cells = <1>;
68f126890aSEmmanuel Vadot				dma-channels = <8>;
69f126890aSEmmanuel Vadot				clocks = <&clks 15>;
70f126890aSEmmanuel Vadot			};
71f126890aSEmmanuel Vadot
72f126890aSEmmanuel Vadot			ecc@80008000 {
73f126890aSEmmanuel Vadot				reg = <0x80008000 0x2000>;
74f126890aSEmmanuel Vadot				status = "disabled";
75f126890aSEmmanuel Vadot			};
76f126890aSEmmanuel Vadot
77f126890aSEmmanuel Vadot			nand-controller@8000c000 {
78f126890aSEmmanuel Vadot				compatible = "fsl,imx23-gpmi-nand";
79f126890aSEmmanuel Vadot				#address-cells = <1>;
80f126890aSEmmanuel Vadot				#size-cells = <1>;
81f126890aSEmmanuel Vadot				reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>;
82f126890aSEmmanuel Vadot				reg-names = "gpmi-nand", "bch";
83f126890aSEmmanuel Vadot				interrupts = <56>;
84f126890aSEmmanuel Vadot				interrupt-names = "bch";
85f126890aSEmmanuel Vadot				clocks = <&clks 34>;
86f126890aSEmmanuel Vadot				clock-names = "gpmi_io";
87f126890aSEmmanuel Vadot				dmas = <&dma_apbh 4>;
88f126890aSEmmanuel Vadot				dma-names = "rx-tx";
89f126890aSEmmanuel Vadot				status = "disabled";
90f126890aSEmmanuel Vadot			};
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot			ssp0: spi@80010000 {
93f126890aSEmmanuel Vadot				reg = <0x80010000 0x2000>;
94f126890aSEmmanuel Vadot				interrupts = <15>;
95f126890aSEmmanuel Vadot				clocks = <&clks 33>;
96f126890aSEmmanuel Vadot				dmas = <&dma_apbh 1>;
97f126890aSEmmanuel Vadot				dma-names = "rx-tx";
98f126890aSEmmanuel Vadot				status = "disabled";
99f126890aSEmmanuel Vadot			};
100f126890aSEmmanuel Vadot
101f126890aSEmmanuel Vadot			etm@80014000 {
102f126890aSEmmanuel Vadot				reg = <0x80014000 0x2000>;
103f126890aSEmmanuel Vadot				status = "disabled";
104f126890aSEmmanuel Vadot			};
105f126890aSEmmanuel Vadot
106f126890aSEmmanuel Vadot			pinctrl@80018000 {
107f126890aSEmmanuel Vadot				#address-cells = <1>;
108f126890aSEmmanuel Vadot				#size-cells = <0>;
109f126890aSEmmanuel Vadot				compatible = "fsl,imx23-pinctrl", "simple-bus";
110f126890aSEmmanuel Vadot				reg = <0x80018000 0x2000>;
111f126890aSEmmanuel Vadot
112f126890aSEmmanuel Vadot				gpio0: gpio@0 {
113*8d13bc63SEmmanuel Vadot					compatible = "fsl,imx23-gpio";
114f126890aSEmmanuel Vadot					reg = <0>;
115f126890aSEmmanuel Vadot					interrupts = <16>;
116f126890aSEmmanuel Vadot					gpio-controller;
117f126890aSEmmanuel Vadot					#gpio-cells = <2>;
118f126890aSEmmanuel Vadot					interrupt-controller;
119f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
120f126890aSEmmanuel Vadot				};
121f126890aSEmmanuel Vadot
122f126890aSEmmanuel Vadot				gpio1: gpio@1 {
123*8d13bc63SEmmanuel Vadot					compatible = "fsl,imx23-gpio";
124f126890aSEmmanuel Vadot					reg = <1>;
125f126890aSEmmanuel Vadot					interrupts = <17>;
126f126890aSEmmanuel Vadot					gpio-controller;
127f126890aSEmmanuel Vadot					#gpio-cells = <2>;
128f126890aSEmmanuel Vadot					interrupt-controller;
129f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
130f126890aSEmmanuel Vadot				};
131f126890aSEmmanuel Vadot
132f126890aSEmmanuel Vadot				gpio2: gpio@2 {
133*8d13bc63SEmmanuel Vadot					compatible = "fsl,imx23-gpio";
134f126890aSEmmanuel Vadot					reg = <2>;
135f126890aSEmmanuel Vadot					interrupts = <18>;
136f126890aSEmmanuel Vadot					gpio-controller;
137f126890aSEmmanuel Vadot					#gpio-cells = <2>;
138f126890aSEmmanuel Vadot					interrupt-controller;
139f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
140f126890aSEmmanuel Vadot				};
141f126890aSEmmanuel Vadot
142f126890aSEmmanuel Vadot				duart_pins_a: duart@0 {
143f126890aSEmmanuel Vadot					reg = <0>;
144f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
145f126890aSEmmanuel Vadot						MX23_PAD_PWM0__DUART_RX
146f126890aSEmmanuel Vadot						MX23_PAD_PWM1__DUART_TX
147f126890aSEmmanuel Vadot					>;
148f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
149f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
150f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
151f126890aSEmmanuel Vadot				};
152f126890aSEmmanuel Vadot
153f126890aSEmmanuel Vadot				auart0_pins_a: auart0@0 {
154f126890aSEmmanuel Vadot					reg = <0>;
155f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
156f126890aSEmmanuel Vadot						MX23_PAD_AUART1_RX__AUART1_RX
157f126890aSEmmanuel Vadot						MX23_PAD_AUART1_TX__AUART1_TX
158f126890aSEmmanuel Vadot						MX23_PAD_AUART1_CTS__AUART1_CTS
159f126890aSEmmanuel Vadot						MX23_PAD_AUART1_RTS__AUART1_RTS
160f126890aSEmmanuel Vadot					>;
161f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
162f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
163f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
164f126890aSEmmanuel Vadot				};
165f126890aSEmmanuel Vadot
166f126890aSEmmanuel Vadot				auart0_2pins_a: auart0-2pins@0 {
167f126890aSEmmanuel Vadot					reg = <0>;
168f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
169f126890aSEmmanuel Vadot						MX23_PAD_I2C_SCL__AUART1_TX
170f126890aSEmmanuel Vadot						MX23_PAD_I2C_SDA__AUART1_RX
171f126890aSEmmanuel Vadot					>;
172f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
173f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
174f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
175f126890aSEmmanuel Vadot				};
176f126890aSEmmanuel Vadot
177f126890aSEmmanuel Vadot				auart1_2pins_a: auart1-2pins@0 {
178f126890aSEmmanuel Vadot					reg = <0>;
179f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
180f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D14__AUART2_RX
181f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D15__AUART2_TX
182f126890aSEmmanuel Vadot					>;
183f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
184f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
185f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
186f126890aSEmmanuel Vadot				};
187f126890aSEmmanuel Vadot
188f126890aSEmmanuel Vadot				gpmi_pins_a: gpmi-nand@0 {
189f126890aSEmmanuel Vadot					reg = <0>;
190f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
191f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D00__GPMI_D00
192f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D01__GPMI_D01
193f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D02__GPMI_D02
194f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D03__GPMI_D03
195f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D04__GPMI_D04
196f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D05__GPMI_D05
197f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D06__GPMI_D06
198f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D07__GPMI_D07
199f126890aSEmmanuel Vadot						MX23_PAD_GPMI_CLE__GPMI_CLE
200f126890aSEmmanuel Vadot						MX23_PAD_GPMI_ALE__GPMI_ALE
201f126890aSEmmanuel Vadot						MX23_PAD_GPMI_RDY0__GPMI_RDY0
202f126890aSEmmanuel Vadot						MX23_PAD_GPMI_RDY1__GPMI_RDY1
203f126890aSEmmanuel Vadot						MX23_PAD_GPMI_WPN__GPMI_WPN
204f126890aSEmmanuel Vadot						MX23_PAD_GPMI_WRN__GPMI_WRN
205f126890aSEmmanuel Vadot						MX23_PAD_GPMI_RDN__GPMI_RDN
206f126890aSEmmanuel Vadot						MX23_PAD_GPMI_CE1N__GPMI_CE1N
207f126890aSEmmanuel Vadot						MX23_PAD_GPMI_CE0N__GPMI_CE0N
208f126890aSEmmanuel Vadot					>;
209f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
210f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
211f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
212f126890aSEmmanuel Vadot				};
213f126890aSEmmanuel Vadot
214f126890aSEmmanuel Vadot				gpmi_pins_fixup: gpmi-pins-fixup@0 {
215f126890aSEmmanuel Vadot					reg = <0>;
216f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
217f126890aSEmmanuel Vadot						MX23_PAD_GPMI_WPN__GPMI_WPN
218f126890aSEmmanuel Vadot						MX23_PAD_GPMI_WRN__GPMI_WRN
219f126890aSEmmanuel Vadot						MX23_PAD_GPMI_RDN__GPMI_RDN
220f126890aSEmmanuel Vadot					>;
221f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_12mA>;
222f126890aSEmmanuel Vadot				};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot				mmc0_4bit_pins_a: mmc0-4bit@0 {
225f126890aSEmmanuel Vadot					reg = <0>;
226f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
227f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA0__SSP1_DATA0
228f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA1__SSP1_DATA1
229f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA2__SSP1_DATA2
230f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA3__SSP1_DATA3
231f126890aSEmmanuel Vadot						MX23_PAD_SSP1_CMD__SSP1_CMD
232f126890aSEmmanuel Vadot						MX23_PAD_SSP1_SCK__SSP1_SCK
233f126890aSEmmanuel Vadot					>;
234f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_8mA>;
235f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
236f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_ENABLE>;
237f126890aSEmmanuel Vadot				};
238f126890aSEmmanuel Vadot
239f126890aSEmmanuel Vadot				mmc0_8bit_pins_a: mmc0-8bit@0 {
240f126890aSEmmanuel Vadot					reg = <0>;
241f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
242f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA0__SSP1_DATA0
243f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA1__SSP1_DATA1
244f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA2__SSP1_DATA2
245f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA3__SSP1_DATA3
246f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D08__SSP1_DATA4
247f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D09__SSP1_DATA5
248f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D10__SSP1_DATA6
249f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D11__SSP1_DATA7
250f126890aSEmmanuel Vadot						MX23_PAD_SSP1_CMD__SSP1_CMD
251f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DETECT__SSP1_DETECT
252f126890aSEmmanuel Vadot						MX23_PAD_SSP1_SCK__SSP1_SCK
253f126890aSEmmanuel Vadot					>;
254f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_8mA>;
255f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
256f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_ENABLE>;
257f126890aSEmmanuel Vadot				};
258f126890aSEmmanuel Vadot
259f126890aSEmmanuel Vadot				mmc0_pins_fixup: mmc0-pins-fixup@0 {
260f126890aSEmmanuel Vadot					reg = <0>;
261f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
262f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DETECT__SSP1_DETECT
263f126890aSEmmanuel Vadot						MX23_PAD_SSP1_SCK__SSP1_SCK
264f126890aSEmmanuel Vadot					>;
265f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
266f126890aSEmmanuel Vadot				};
267f126890aSEmmanuel Vadot
268f126890aSEmmanuel Vadot				mmc0_sck_cfg: mmc0-sck-cfg@0 {
269f126890aSEmmanuel Vadot					reg = <0>;
270f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
271f126890aSEmmanuel Vadot						MX23_PAD_SSP1_SCK__SSP1_SCK
272f126890aSEmmanuel Vadot					>;
273f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
274f126890aSEmmanuel Vadot				};
275f126890aSEmmanuel Vadot
276f126890aSEmmanuel Vadot				mmc1_4bit_pins_a: mmc1-4bit@0 {
277f126890aSEmmanuel Vadot					reg = <0>;
278f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
279f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D00__SSP2_DATA0
280f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D01__SSP2_DATA1
281f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D02__SSP2_DATA2
282f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D03__SSP2_DATA3
283f126890aSEmmanuel Vadot						MX23_PAD_GPMI_RDY1__SSP2_CMD
284f126890aSEmmanuel Vadot						MX23_PAD_GPMI_WRN__SSP2_SCK
285f126890aSEmmanuel Vadot					>;
286f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_8mA>;
287f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
288f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_ENABLE>;
289f126890aSEmmanuel Vadot				};
290f126890aSEmmanuel Vadot
291f126890aSEmmanuel Vadot				mmc1_8bit_pins_a: mmc1-8bit@0 {
292f126890aSEmmanuel Vadot					reg = <0>;
293f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
294f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D00__SSP2_DATA0
295f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D01__SSP2_DATA1
296f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D02__SSP2_DATA2
297f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D03__SSP2_DATA3
298f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D04__SSP2_DATA4
299f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D05__SSP2_DATA5
300f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D06__SSP2_DATA6
301f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D07__SSP2_DATA7
302f126890aSEmmanuel Vadot						MX23_PAD_GPMI_RDY1__SSP2_CMD
303f126890aSEmmanuel Vadot						MX23_PAD_GPMI_WRN__SSP2_SCK
304f126890aSEmmanuel Vadot					>;
305f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_8mA>;
306f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
307f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_ENABLE>;
308f126890aSEmmanuel Vadot				};
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot				pwm2_pins_a: pwm2@0 {
311f126890aSEmmanuel Vadot					reg = <0>;
312f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
313f126890aSEmmanuel Vadot						MX23_PAD_PWM2__PWM2
314f126890aSEmmanuel Vadot					>;
315f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
316f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
317f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
318f126890aSEmmanuel Vadot				};
319f126890aSEmmanuel Vadot
320f126890aSEmmanuel Vadot				lcdif_24bit_pins_a: lcdif-24bit@0 {
321f126890aSEmmanuel Vadot					reg = <0>;
322f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
323f126890aSEmmanuel Vadot						MX23_PAD_LCD_D00__LCD_D00
324f126890aSEmmanuel Vadot						MX23_PAD_LCD_D01__LCD_D01
325f126890aSEmmanuel Vadot						MX23_PAD_LCD_D02__LCD_D02
326f126890aSEmmanuel Vadot						MX23_PAD_LCD_D03__LCD_D03
327f126890aSEmmanuel Vadot						MX23_PAD_LCD_D04__LCD_D04
328f126890aSEmmanuel Vadot						MX23_PAD_LCD_D05__LCD_D05
329f126890aSEmmanuel Vadot						MX23_PAD_LCD_D06__LCD_D06
330f126890aSEmmanuel Vadot						MX23_PAD_LCD_D07__LCD_D07
331f126890aSEmmanuel Vadot						MX23_PAD_LCD_D08__LCD_D08
332f126890aSEmmanuel Vadot						MX23_PAD_LCD_D09__LCD_D09
333f126890aSEmmanuel Vadot						MX23_PAD_LCD_D10__LCD_D10
334f126890aSEmmanuel Vadot						MX23_PAD_LCD_D11__LCD_D11
335f126890aSEmmanuel Vadot						MX23_PAD_LCD_D12__LCD_D12
336f126890aSEmmanuel Vadot						MX23_PAD_LCD_D13__LCD_D13
337f126890aSEmmanuel Vadot						MX23_PAD_LCD_D14__LCD_D14
338f126890aSEmmanuel Vadot						MX23_PAD_LCD_D15__LCD_D15
339f126890aSEmmanuel Vadot						MX23_PAD_LCD_D16__LCD_D16
340f126890aSEmmanuel Vadot						MX23_PAD_LCD_D17__LCD_D17
341f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D08__LCD_D18
342f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D09__LCD_D19
343f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D10__LCD_D20
344f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D11__LCD_D21
345f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D12__LCD_D22
346f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D13__LCD_D23
347f126890aSEmmanuel Vadot						MX23_PAD_LCD_DOTCK__LCD_DOTCK
348f126890aSEmmanuel Vadot						MX23_PAD_LCD_ENABLE__LCD_ENABLE
349f126890aSEmmanuel Vadot						MX23_PAD_LCD_HSYNC__LCD_HSYNC
350f126890aSEmmanuel Vadot						MX23_PAD_LCD_VSYNC__LCD_VSYNC
351f126890aSEmmanuel Vadot					>;
352f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
353f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
354f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
355f126890aSEmmanuel Vadot				};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot				spi2_pins_a: spi2@0 {
358f126890aSEmmanuel Vadot					reg = <0>;
359f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
360f126890aSEmmanuel Vadot						MX23_PAD_GPMI_WRN__SSP2_SCK
361f126890aSEmmanuel Vadot						MX23_PAD_GPMI_RDY1__SSP2_CMD
362f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D00__SSP2_DATA0
363f126890aSEmmanuel Vadot						MX23_PAD_GPMI_D03__SSP2_DATA3
364f126890aSEmmanuel Vadot					>;
365f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_8mA>;
366f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
367f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_ENABLE>;
368f126890aSEmmanuel Vadot				};
369f126890aSEmmanuel Vadot
370f126890aSEmmanuel Vadot				i2c_pins_a: i2c@0 {
371f126890aSEmmanuel Vadot					reg = <0>;
372f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
373f126890aSEmmanuel Vadot						MX23_PAD_I2C_SCL__I2C_SCL
374f126890aSEmmanuel Vadot						MX23_PAD_I2C_SDA__I2C_SDA
375f126890aSEmmanuel Vadot					>;
376f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_8mA>;
377f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
378f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_ENABLE>;
379f126890aSEmmanuel Vadot				};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot				i2c_pins_b: i2c@1 {
382f126890aSEmmanuel Vadot					reg = <1>;
383f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
384f126890aSEmmanuel Vadot						MX23_PAD_LCD_ENABLE__I2C_SCL
385f126890aSEmmanuel Vadot						MX23_PAD_LCD_HSYNC__I2C_SDA
386f126890aSEmmanuel Vadot					>;
387f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_8mA>;
388f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
389f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_ENABLE>;
390f126890aSEmmanuel Vadot				};
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot				i2c_pins_c: i2c@2 {
393f126890aSEmmanuel Vadot					reg = <2>;
394f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
395f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA1__I2C_SCL
396f126890aSEmmanuel Vadot						MX23_PAD_SSP1_DATA2__I2C_SDA
397f126890aSEmmanuel Vadot					>;
398f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_8mA>;
399f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
400f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_ENABLE>;
401f126890aSEmmanuel Vadot				};
402f126890aSEmmanuel Vadot			};
403f126890aSEmmanuel Vadot
404f126890aSEmmanuel Vadot			digctl@8001c000 {
405f126890aSEmmanuel Vadot				compatible = "fsl,imx23-digctl";
406f126890aSEmmanuel Vadot				reg = <0x8001c000 2000>;
407f126890aSEmmanuel Vadot				status = "disabled";
408f126890aSEmmanuel Vadot			};
409f126890aSEmmanuel Vadot
410f126890aSEmmanuel Vadot			emi@80020000 {
411f126890aSEmmanuel Vadot				reg = <0x80020000 0x2000>;
412f126890aSEmmanuel Vadot				status = "disabled";
413f126890aSEmmanuel Vadot			};
414f126890aSEmmanuel Vadot
415*8d13bc63SEmmanuel Vadot			dma_apbx: dma-controller@80024000 {
416f126890aSEmmanuel Vadot				compatible = "fsl,imx23-dma-apbx";
417f126890aSEmmanuel Vadot				reg = <0x80024000 0x2000>;
418aa1a8ff2SEmmanuel Vadot				interrupts = <7>, <5>, <9>, <26>,
419aa1a8ff2SEmmanuel Vadot					     <19>, <0>, <25>, <23>,
420aa1a8ff2SEmmanuel Vadot					     <60>, <58>, <9>, <0>,
421aa1a8ff2SEmmanuel Vadot					     <0>, <0>, <0>, <0>;
422f126890aSEmmanuel Vadot				interrupt-names = "audio-adc", "audio-dac", "spdif-tx", "i2c",
423f126890aSEmmanuel Vadot						  "saif0", "empty", "auart0-rx", "auart0-tx",
424f126890aSEmmanuel Vadot						  "auart1-rx", "auart1-tx", "saif1", "empty",
425f126890aSEmmanuel Vadot						  "empty", "empty", "empty", "empty";
426f126890aSEmmanuel Vadot				#dma-cells = <1>;
427f126890aSEmmanuel Vadot				dma-channels = <16>;
428f126890aSEmmanuel Vadot				clocks = <&clks 16>;
429f126890aSEmmanuel Vadot			};
430f126890aSEmmanuel Vadot
431f126890aSEmmanuel Vadot			dcp: crypto@80028000 {
432f126890aSEmmanuel Vadot				compatible = "fsl,imx23-dcp";
433f126890aSEmmanuel Vadot				reg = <0x80028000 0x2000>;
434aa1a8ff2SEmmanuel Vadot				interrupts = <53>, <54>;
435f126890aSEmmanuel Vadot				status = "okay";
436f126890aSEmmanuel Vadot			};
437f126890aSEmmanuel Vadot
438f126890aSEmmanuel Vadot			pxp@8002a000 {
439f126890aSEmmanuel Vadot				reg = <0x8002a000 0x2000>;
440f126890aSEmmanuel Vadot				status = "disabled";
441f126890aSEmmanuel Vadot			};
442f126890aSEmmanuel Vadot
443f126890aSEmmanuel Vadot			efuse@8002c000 {
444f126890aSEmmanuel Vadot				compatible = "fsl,imx23-ocotp", "fsl,ocotp";
445f126890aSEmmanuel Vadot				#address-cells = <1>;
446f126890aSEmmanuel Vadot				#size-cells = <1>;
447f126890aSEmmanuel Vadot				reg = <0x8002c000 0x2000>;
448f126890aSEmmanuel Vadot				clocks = <&clks 15>;
449f126890aSEmmanuel Vadot			};
450f126890aSEmmanuel Vadot
451f126890aSEmmanuel Vadot			axi-ahb@8002e000 {
452f126890aSEmmanuel Vadot				reg = <0x8002e000 0x2000>;
453f126890aSEmmanuel Vadot				status = "disabled";
454f126890aSEmmanuel Vadot			};
455f126890aSEmmanuel Vadot
456f126890aSEmmanuel Vadot			lcdif@80030000 {
457f126890aSEmmanuel Vadot				compatible = "fsl,imx23-lcdif";
458f126890aSEmmanuel Vadot				reg = <0x80030000 2000>;
459aa1a8ff2SEmmanuel Vadot				interrupts = <46>, <45>;
460f126890aSEmmanuel Vadot				clocks = <&clks 38>;
461f126890aSEmmanuel Vadot				status = "disabled";
462f126890aSEmmanuel Vadot			};
463f126890aSEmmanuel Vadot
464f126890aSEmmanuel Vadot			ssp1: spi@80034000 {
465f126890aSEmmanuel Vadot				reg = <0x80034000 0x2000>;
466f126890aSEmmanuel Vadot				interrupts = <2>;
467f126890aSEmmanuel Vadot				clocks = <&clks 33>;
468f126890aSEmmanuel Vadot				dmas = <&dma_apbh 2>;
469f126890aSEmmanuel Vadot				dma-names = "rx-tx";
470f126890aSEmmanuel Vadot				status = "disabled";
471f126890aSEmmanuel Vadot			};
472f126890aSEmmanuel Vadot
473f126890aSEmmanuel Vadot			tvenc@80038000 {
474f126890aSEmmanuel Vadot				reg = <0x80038000 0x2000>;
475f126890aSEmmanuel Vadot				status = "disabled";
476f126890aSEmmanuel Vadot			};
477f126890aSEmmanuel Vadot		};
478f126890aSEmmanuel Vadot
479f126890aSEmmanuel Vadot		apbx@80040000 {
480f126890aSEmmanuel Vadot			compatible = "simple-bus";
481f126890aSEmmanuel Vadot			#address-cells = <1>;
482f126890aSEmmanuel Vadot			#size-cells = <1>;
483f126890aSEmmanuel Vadot			reg = <0x80040000 0x40000>;
484f126890aSEmmanuel Vadot			ranges;
485f126890aSEmmanuel Vadot
486f126890aSEmmanuel Vadot			clks: clkctrl@80040000 {
487*8d13bc63SEmmanuel Vadot				compatible = "fsl,imx23-clkctrl";
488f126890aSEmmanuel Vadot				reg = <0x80040000 0x2000>;
489f126890aSEmmanuel Vadot				#clock-cells = <1>;
490f126890aSEmmanuel Vadot			};
491f126890aSEmmanuel Vadot
492f126890aSEmmanuel Vadot			saif0: saif@80042000 {
493f126890aSEmmanuel Vadot				reg = <0x80042000 0x2000>;
494f126890aSEmmanuel Vadot				dmas = <&dma_apbx 4>;
495f126890aSEmmanuel Vadot				dma-names = "rx-tx";
496f126890aSEmmanuel Vadot				status = "disabled";
497f126890aSEmmanuel Vadot			};
498f126890aSEmmanuel Vadot
499f126890aSEmmanuel Vadot			power@80044000 {
500f126890aSEmmanuel Vadot				reg = <0x80044000 0x2000>;
501f126890aSEmmanuel Vadot				status = "disabled";
502f126890aSEmmanuel Vadot			};
503f126890aSEmmanuel Vadot
504f126890aSEmmanuel Vadot			saif1: saif@80046000 {
505f126890aSEmmanuel Vadot				reg = <0x80046000 0x2000>;
506f126890aSEmmanuel Vadot				dmas = <&dma_apbx 10>;
507f126890aSEmmanuel Vadot				dma-names = "rx-tx";
508f126890aSEmmanuel Vadot				status = "disabled";
509f126890aSEmmanuel Vadot			};
510f126890aSEmmanuel Vadot
511f126890aSEmmanuel Vadot			audio-out@80048000 {
512f126890aSEmmanuel Vadot				reg = <0x80048000 0x2000>;
513f126890aSEmmanuel Vadot				dmas = <&dma_apbx 1>;
514f126890aSEmmanuel Vadot				dma-names = "tx";
515f126890aSEmmanuel Vadot				status = "disabled";
516f126890aSEmmanuel Vadot			};
517f126890aSEmmanuel Vadot
518f126890aSEmmanuel Vadot			audio-in@8004c000 {
519f126890aSEmmanuel Vadot				reg = <0x8004c000 0x2000>;
520f126890aSEmmanuel Vadot				dmas = <&dma_apbx 0>;
521f126890aSEmmanuel Vadot				dma-names = "rx";
522f126890aSEmmanuel Vadot				status = "disabled";
523f126890aSEmmanuel Vadot			};
524f126890aSEmmanuel Vadot
525f126890aSEmmanuel Vadot			lradc: lradc@80050000 {
526f126890aSEmmanuel Vadot				compatible = "fsl,imx23-lradc";
527f126890aSEmmanuel Vadot				reg = <0x80050000 0x2000>;
528aa1a8ff2SEmmanuel Vadot				interrupts = <36>, <37>, <38>, <39>, <40>,
529aa1a8ff2SEmmanuel Vadot					     <41>, <42>, <43>, <44>;
530f126890aSEmmanuel Vadot				status = "disabled";
531f126890aSEmmanuel Vadot				clocks = <&clks 26>;
532f126890aSEmmanuel Vadot				#io-channel-cells = <1>;
533f126890aSEmmanuel Vadot			};
534f126890aSEmmanuel Vadot
535f126890aSEmmanuel Vadot			spdif@80054000 {
536f126890aSEmmanuel Vadot				reg = <0x80054000 2000>;
537f126890aSEmmanuel Vadot				dmas = <&dma_apbx 2>;
538f126890aSEmmanuel Vadot				dma-names = "tx";
539f126890aSEmmanuel Vadot				status = "disabled";
540f126890aSEmmanuel Vadot			};
541f126890aSEmmanuel Vadot
542f126890aSEmmanuel Vadot			i2c: i2c@80058000 {
543f126890aSEmmanuel Vadot				#address-cells = <1>;
544f126890aSEmmanuel Vadot				#size-cells = <0>;
545f126890aSEmmanuel Vadot				compatible = "fsl,imx23-i2c";
546f126890aSEmmanuel Vadot				reg = <0x80058000 0x2000>;
547f126890aSEmmanuel Vadot				interrupts = <27>;
548f126890aSEmmanuel Vadot				clock-frequency = <100000>;
549f126890aSEmmanuel Vadot				dmas = <&dma_apbx 3>;
550f126890aSEmmanuel Vadot				dma-names = "rx-tx";
551f126890aSEmmanuel Vadot				status = "disabled";
552f126890aSEmmanuel Vadot			};
553f126890aSEmmanuel Vadot
554f126890aSEmmanuel Vadot			rtc@8005c000 {
555f126890aSEmmanuel Vadot				compatible = "fsl,imx23-rtc", "fsl,stmp3xxx-rtc";
556f126890aSEmmanuel Vadot				reg = <0x8005c000 0x2000>;
557f126890aSEmmanuel Vadot				interrupts = <22>;
558f126890aSEmmanuel Vadot			};
559f126890aSEmmanuel Vadot
560f126890aSEmmanuel Vadot			pwm: pwm@80064000 {
561f126890aSEmmanuel Vadot				compatible = "fsl,imx23-pwm";
562f126890aSEmmanuel Vadot				reg = <0x80064000 0x2000>;
563f126890aSEmmanuel Vadot				clocks = <&clks 30>;
56484943d6fSEmmanuel Vadot				#pwm-cells = <3>;
565f126890aSEmmanuel Vadot				fsl,pwm-number = <5>;
566f126890aSEmmanuel Vadot				status = "disabled";
567f126890aSEmmanuel Vadot			};
568f126890aSEmmanuel Vadot
569f126890aSEmmanuel Vadot			timrot@80068000 {
570f126890aSEmmanuel Vadot				compatible = "fsl,imx23-timrot", "fsl,timrot";
571f126890aSEmmanuel Vadot				reg = <0x80068000 0x2000>;
572aa1a8ff2SEmmanuel Vadot				interrupts = <28>, <29>, <30>, <31>;
573f126890aSEmmanuel Vadot				clocks = <&clks 28>;
574f126890aSEmmanuel Vadot			};
575f126890aSEmmanuel Vadot
576f126890aSEmmanuel Vadot			auart0: serial@8006c000 {
577f126890aSEmmanuel Vadot				compatible = "fsl,imx23-auart";
578f126890aSEmmanuel Vadot				reg = <0x8006c000 0x2000>;
579f126890aSEmmanuel Vadot				interrupts = <24>;
580f126890aSEmmanuel Vadot				clocks = <&clks 32>;
581f126890aSEmmanuel Vadot				dmas = <&dma_apbx 6>, <&dma_apbx 7>;
582f126890aSEmmanuel Vadot				dma-names = "rx", "tx";
583f126890aSEmmanuel Vadot				status = "disabled";
584f126890aSEmmanuel Vadot			};
585f126890aSEmmanuel Vadot
586f126890aSEmmanuel Vadot			auart1: serial@8006e000 {
587f126890aSEmmanuel Vadot				compatible = "fsl,imx23-auart";
588f126890aSEmmanuel Vadot				reg = <0x8006e000 0x2000>;
589f126890aSEmmanuel Vadot				interrupts = <59>;
590f126890aSEmmanuel Vadot				clocks = <&clks 32>;
591f126890aSEmmanuel Vadot				dmas = <&dma_apbx 8>, <&dma_apbx 9>;
592f126890aSEmmanuel Vadot				dma-names = "rx", "tx";
593f126890aSEmmanuel Vadot				status = "disabled";
594f126890aSEmmanuel Vadot			};
595f126890aSEmmanuel Vadot
596f126890aSEmmanuel Vadot			duart: serial@80070000 {
597f126890aSEmmanuel Vadot				compatible = "arm,pl011", "arm,primecell";
598f126890aSEmmanuel Vadot				reg = <0x80070000 0x2000>;
599f126890aSEmmanuel Vadot				interrupts = <0>;
600f126890aSEmmanuel Vadot				clocks = <&clks 32>, <&clks 16>;
60184943d6fSEmmanuel Vadot				clock-names = "uartclk", "apb_pclk";
602f126890aSEmmanuel Vadot				status = "disabled";
603f126890aSEmmanuel Vadot			};
604f126890aSEmmanuel Vadot
605f126890aSEmmanuel Vadot			usbphy0: usbphy@8007c000 {
606f126890aSEmmanuel Vadot				compatible = "fsl,imx23-usbphy";
607f126890aSEmmanuel Vadot				reg = <0x8007c000 0x2000>;
608f126890aSEmmanuel Vadot				clocks = <&clks 41>;
609f126890aSEmmanuel Vadot				status = "disabled";
610f126890aSEmmanuel Vadot			};
611f126890aSEmmanuel Vadot		};
612f126890aSEmmanuel Vadot	};
613f126890aSEmmanuel Vadot
614f126890aSEmmanuel Vadot	ahb@80080000 {
615f126890aSEmmanuel Vadot		compatible = "simple-bus";
616f126890aSEmmanuel Vadot		#address-cells = <1>;
617f126890aSEmmanuel Vadot		#size-cells = <1>;
618f126890aSEmmanuel Vadot		reg = <0x80080000 0x80000>;
619f126890aSEmmanuel Vadot		ranges;
620f126890aSEmmanuel Vadot
621f126890aSEmmanuel Vadot		usb0: usb@80080000 {
622f126890aSEmmanuel Vadot			compatible = "fsl,imx23-usb", "fsl,imx27-usb";
623f126890aSEmmanuel Vadot			reg = <0x80080000 0x40000>;
624f126890aSEmmanuel Vadot			interrupts = <11>;
625f126890aSEmmanuel Vadot			fsl,usbphy = <&usbphy0>;
626f126890aSEmmanuel Vadot			clocks = <&clks 40>;
627f126890aSEmmanuel Vadot			status = "disabled";
628f126890aSEmmanuel Vadot		};
629f126890aSEmmanuel Vadot	};
630f126890aSEmmanuel Vadot
631f126890aSEmmanuel Vadot	iio-hwmon {
632f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
633f126890aSEmmanuel Vadot		io-channels = <&lradc 8>;
634f126890aSEmmanuel Vadot	};
635f126890aSEmmanuel Vadot};
636