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