xref: /linux/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (C) 2013 Marek Vasut <marex@denx.de>
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/dts-v1/;
7*724ba675SRob Herring#include "imx53-m53.dtsi"
8*724ba675SRob Herring
9*724ba675SRob Herring/ {
10*724ba675SRob Herring	model = "Aries/DENX M53EVK";
11*724ba675SRob Herring	compatible = "aries,imx53-m53evk", "denx,imx53-m53evk", "fsl,imx53";
12*724ba675SRob Herring
13*724ba675SRob Herring	display1: disp1 {
14*724ba675SRob Herring		compatible = "fsl,imx-parallel-display";
15*724ba675SRob Herring		interface-pix-fmt = "bgr666";
16*724ba675SRob Herring		pinctrl-names = "default";
17*724ba675SRob Herring		pinctrl-0 = <&pinctrl_ipu_disp1>;
18*724ba675SRob Herring
19*724ba675SRob Herring		display-timings {
20*724ba675SRob Herring			800x480p60 {
21*724ba675SRob Herring				native-mode;
22*724ba675SRob Herring				clock-frequency = <31500000>;
23*724ba675SRob Herring				hactive = <800>;
24*724ba675SRob Herring				vactive = <480>;
25*724ba675SRob Herring				hfront-porch = <40>;
26*724ba675SRob Herring				hback-porch = <88>;
27*724ba675SRob Herring				hsync-len = <128>;
28*724ba675SRob Herring				vback-porch = <33>;
29*724ba675SRob Herring				vfront-porch = <9>;
30*724ba675SRob Herring				vsync-len = <3>;
31*724ba675SRob Herring				vsync-active = <1>;
32*724ba675SRob Herring			};
33*724ba675SRob Herring		};
34*724ba675SRob Herring
35*724ba675SRob Herring		port {
36*724ba675SRob Herring			display1_in: endpoint {
37*724ba675SRob Herring				remote-endpoint = <&ipu_di1_disp1>;
38*724ba675SRob Herring			};
39*724ba675SRob Herring		};
40*724ba675SRob Herring	};
41*724ba675SRob Herring
42*724ba675SRob Herring	backlight {
43*724ba675SRob Herring		compatible = "pwm-backlight";
44*724ba675SRob Herring		pwms = <&pwm1 0 3000>;
45*724ba675SRob Herring		brightness-levels = <0 4 8 16 32 64 128 255>;
46*724ba675SRob Herring		default-brightness-level = <6>;
47*724ba675SRob Herring		power-supply = <&reg_backlight>;
48*724ba675SRob Herring	};
49*724ba675SRob Herring
50*724ba675SRob Herring	leds {
51*724ba675SRob Herring		compatible = "gpio-leds";
52*724ba675SRob Herring		pinctrl-names = "default";
53*724ba675SRob Herring		pinctrl-0 = <&led_pin_gpio>;
54*724ba675SRob Herring
55*724ba675SRob Herring		led-user1 {
56*724ba675SRob Herring			label = "user1";
57*724ba675SRob Herring			gpios = <&gpio2 8 0>;
58*724ba675SRob Herring			linux,default-trigger = "heartbeat";
59*724ba675SRob Herring		};
60*724ba675SRob Herring
61*724ba675SRob Herring		led-user2 {
62*724ba675SRob Herring			label = "user2";
63*724ba675SRob Herring			gpios = <&gpio2 9 0>;
64*724ba675SRob Herring			linux,default-trigger = "heartbeat";
65*724ba675SRob Herring		};
66*724ba675SRob Herring	};
67*724ba675SRob Herring
68*724ba675SRob Herring	regulators {
69*724ba675SRob Herring		compatible = "simple-bus";
70*724ba675SRob Herring		#address-cells = <1>;
71*724ba675SRob Herring		#size-cells = <0>;
72*724ba675SRob Herring
73*724ba675SRob Herring		reg_usbh1_vbus: regulator@3 {
74*724ba675SRob Herring			compatible = "regulator-fixed";
75*724ba675SRob Herring			reg = <3>;
76*724ba675SRob Herring			regulator-name = "vbus";
77*724ba675SRob Herring			regulator-min-microvolt = <5000000>;
78*724ba675SRob Herring			regulator-max-microvolt = <5000000>;
79*724ba675SRob Herring			gpio = <&gpio1 2 0>;
80*724ba675SRob Herring		};
81*724ba675SRob Herring
82*724ba675SRob Herring		reg_usb_otg_vbus: regulator@4 {
83*724ba675SRob Herring			compatible = "regulator-fixed";
84*724ba675SRob Herring			reg = <4>;
85*724ba675SRob Herring			regulator-name = "usb_otg_vbus";
86*724ba675SRob Herring			regulator-min-microvolt = <5000000>;
87*724ba675SRob Herring			regulator-max-microvolt = <5000000>;
88*724ba675SRob Herring			gpio = <&gpio1 4 0>;
89*724ba675SRob Herring		};
90*724ba675SRob Herring	};
91*724ba675SRob Herring
92*724ba675SRob Herring	sound {
93*724ba675SRob Herring		compatible = "fsl,imx53-m53evk-sgtl5000",
94*724ba675SRob Herring			     "fsl,imx-audio-sgtl5000";
95*724ba675SRob Herring		model = "imx53-m53evk-sgtl5000";
96*724ba675SRob Herring		ssi-controller = <&ssi2>;
97*724ba675SRob Herring		audio-codec = <&sgtl5000>;
98*724ba675SRob Herring		audio-routing =
99*724ba675SRob Herring			"MIC_IN", "Mic Jack",
100*724ba675SRob Herring			"Mic Jack", "Mic Bias",
101*724ba675SRob Herring			"LINE_IN", "Line In Jack",
102*724ba675SRob Herring			"Headphone Jack", "HP_OUT",
103*724ba675SRob Herring			"Ext Spk", "LINE_OUT";
104*724ba675SRob Herring		mux-int-port = <2>;
105*724ba675SRob Herring		mux-ext-port = <4>;
106*724ba675SRob Herring	};
107*724ba675SRob Herring};
108*724ba675SRob Herring
109*724ba675SRob Herring&audmux {
110*724ba675SRob Herring	pinctrl-names = "default";
111*724ba675SRob Herring	pinctrl-0 = <&pinctrl_audmux>;
112*724ba675SRob Herring	status = "okay";
113*724ba675SRob Herring};
114*724ba675SRob Herring
115*724ba675SRob Herring&can1 {
116*724ba675SRob Herring	pinctrl-names = "default";
117*724ba675SRob Herring	pinctrl-0 = <&pinctrl_can1>;
118*724ba675SRob Herring	status = "okay";
119*724ba675SRob Herring};
120*724ba675SRob Herring
121*724ba675SRob Herring&can2 {
122*724ba675SRob Herring	pinctrl-names = "default";
123*724ba675SRob Herring	pinctrl-0 = <&pinctrl_can2>;
124*724ba675SRob Herring	status = "okay";
125*724ba675SRob Herring};
126*724ba675SRob Herring
127*724ba675SRob Herring&esdhc1 {
128*724ba675SRob Herring	pinctrl-names = "default";
129*724ba675SRob Herring	pinctrl-0 = <&pinctrl_esdhc1>;
130*724ba675SRob Herring	cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
131*724ba675SRob Herring	wp-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
132*724ba675SRob Herring	status = "okay";
133*724ba675SRob Herring};
134*724ba675SRob Herring
135*724ba675SRob Herring&fec {
136*724ba675SRob Herring	pinctrl-names = "default";
137*724ba675SRob Herring	pinctrl-0 = <&pinctrl_fec>;
138*724ba675SRob Herring	phy-mode = "rmii";
139*724ba675SRob Herring	status = "okay";
140*724ba675SRob Herring};
141*724ba675SRob Herring
142*724ba675SRob Herring&i2c1 {
143*724ba675SRob Herring	pinctrl-names = "default";
144*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
145*724ba675SRob Herring	status = "okay";
146*724ba675SRob Herring
147*724ba675SRob Herring	sgtl5000: codec@a {
148*724ba675SRob Herring		compatible = "fsl,sgtl5000";
149*724ba675SRob Herring		reg = <0x0a>;
150*724ba675SRob Herring		#sound-dai-cells = <0>;
151*724ba675SRob Herring		VDDA-supply = <&reg_3p2v>;
152*724ba675SRob Herring		VDDIO-supply = <&reg_3p2v>;
153*724ba675SRob Herring		clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>;
154*724ba675SRob Herring	};
155*724ba675SRob Herring};
156*724ba675SRob Herring
157*724ba675SRob Herring&i2c3 {
158*724ba675SRob Herring	pinctrl-names = "default";
159*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
160*724ba675SRob Herring	status = "okay";
161*724ba675SRob Herring};
162*724ba675SRob Herring
163*724ba675SRob Herring&iomuxc {
164*724ba675SRob Herring	pinctrl-names = "default";
165*724ba675SRob Herring	pinctrl-0 = <&pinctrl_hog>;
166*724ba675SRob Herring
167*724ba675SRob Herring	imx53-m53evk {
168*724ba675SRob Herring		pinctrl_usb: usbgrp {
169*724ba675SRob Herring			fsl,pins = <
170*724ba675SRob Herring				MX53_PAD_GPIO_2__GPIO1_2		0x80000000
171*724ba675SRob Herring				MX53_PAD_GPIO_3__USBOH3_USBH1_OC	0x80000000
172*724ba675SRob Herring			>;
173*724ba675SRob Herring		};
174*724ba675SRob Herring
175*724ba675SRob Herring		pinctrl_usbotg: usbotggrp {
176*724ba675SRob Herring			fsl,pins = <
177*724ba675SRob Herring				MX53_PAD_GPIO_4__GPIO1_4		0x000b0
178*724ba675SRob Herring			>;
179*724ba675SRob Herring		};
180*724ba675SRob Herring
181*724ba675SRob Herring		led_pin_gpio: led_gpio {
182*724ba675SRob Herring			fsl,pins = <
183*724ba675SRob Herring				MX53_PAD_PATA_DATA8__GPIO2_8		0x80000000
184*724ba675SRob Herring				MX53_PAD_PATA_DATA9__GPIO2_9		0x80000000
185*724ba675SRob Herring			>;
186*724ba675SRob Herring		};
187*724ba675SRob Herring
188*724ba675SRob Herring		pinctrl_audmux: audmuxgrp {
189*724ba675SRob Herring			fsl,pins = <
190*724ba675SRob Herring				MX53_PAD_SD2_DATA3__AUDMUX_AUD4_TXC	0x80000000
191*724ba675SRob Herring				MX53_PAD_SD2_DATA2__AUDMUX_AUD4_TXD	0x80000000
192*724ba675SRob Herring				MX53_PAD_SD2_DATA1__AUDMUX_AUD4_TXFS	0x80000000
193*724ba675SRob Herring				MX53_PAD_SD2_DATA0__AUDMUX_AUD4_RXD	0x80000000
194*724ba675SRob Herring			>;
195*724ba675SRob Herring		};
196*724ba675SRob Herring
197*724ba675SRob Herring		pinctrl_can1: can1grp {
198*724ba675SRob Herring			fsl,pins = <
199*724ba675SRob Herring				MX53_PAD_GPIO_7__CAN1_TXCAN		0x80000000
200*724ba675SRob Herring				MX53_PAD_GPIO_8__CAN1_RXCAN		0x80000000
201*724ba675SRob Herring			>;
202*724ba675SRob Herring		};
203*724ba675SRob Herring
204*724ba675SRob Herring		pinctrl_can2: can2grp {
205*724ba675SRob Herring			fsl,pins = <
206*724ba675SRob Herring				MX53_PAD_KEY_COL4__CAN2_TXCAN		0x80000000
207*724ba675SRob Herring				MX53_PAD_KEY_ROW4__CAN2_RXCAN		0x80000000
208*724ba675SRob Herring			>;
209*724ba675SRob Herring		};
210*724ba675SRob Herring
211*724ba675SRob Herring		pinctrl_esdhc1: esdhc1grp {
212*724ba675SRob Herring			fsl,pins = <
213*724ba675SRob Herring				MX53_PAD_SD1_DATA0__ESDHC1_DAT0		0x1d5
214*724ba675SRob Herring				MX53_PAD_SD1_DATA1__ESDHC1_DAT1		0x1d5
215*724ba675SRob Herring				MX53_PAD_SD1_DATA2__ESDHC1_DAT2		0x1d5
216*724ba675SRob Herring				MX53_PAD_SD1_DATA3__ESDHC1_DAT3		0x1d5
217*724ba675SRob Herring				MX53_PAD_SD1_CMD__ESDHC1_CMD		0x1d5
218*724ba675SRob Herring				MX53_PAD_SD1_CLK__ESDHC1_CLK		0x1d5
219*724ba675SRob Herring			>;
220*724ba675SRob Herring		};
221*724ba675SRob Herring
222*724ba675SRob Herring		pinctrl_fec: fecgrp {
223*724ba675SRob Herring			fsl,pins = <
224*724ba675SRob Herring				MX53_PAD_FEC_MDC__FEC_MDC		0x80000000
225*724ba675SRob Herring				MX53_PAD_FEC_MDIO__FEC_MDIO		0x80000000
226*724ba675SRob Herring				MX53_PAD_FEC_REF_CLK__FEC_TX_CLK	0x80000000
227*724ba675SRob Herring				MX53_PAD_FEC_RX_ER__FEC_RX_ER		0x80000000
228*724ba675SRob Herring				MX53_PAD_FEC_CRS_DV__FEC_RX_DV		0x80000000
229*724ba675SRob Herring				MX53_PAD_FEC_RXD1__FEC_RDATA_1		0x80000000
230*724ba675SRob Herring				MX53_PAD_FEC_RXD0__FEC_RDATA_0		0x80000000
231*724ba675SRob Herring				MX53_PAD_FEC_TX_EN__FEC_TX_EN		0x80000000
232*724ba675SRob Herring				MX53_PAD_FEC_TXD1__FEC_TDATA_1		0x80000000
233*724ba675SRob Herring				MX53_PAD_FEC_TXD0__FEC_TDATA_0		0x80000000
234*724ba675SRob Herring			>;
235*724ba675SRob Herring		};
236*724ba675SRob Herring
237*724ba675SRob Herring		pinctrl_i2c1: i2c1grp {
238*724ba675SRob Herring			fsl,pins = <
239*724ba675SRob Herring				MX53_PAD_EIM_D21__I2C1_SCL		0xc0000000
240*724ba675SRob Herring				MX53_PAD_EIM_D28__I2C1_SDA		0xc0000000
241*724ba675SRob Herring			>;
242*724ba675SRob Herring		};
243*724ba675SRob Herring
244*724ba675SRob Herring		pinctrl_i2c3: i2c3grp {
245*724ba675SRob Herring			fsl,pins = <
246*724ba675SRob Herring				MX53_PAD_GPIO_6__I2C3_SDA		0xc0000000
247*724ba675SRob Herring				MX53_PAD_GPIO_5__I2C3_SCL		0xc0000000
248*724ba675SRob Herring			>;
249*724ba675SRob Herring		};
250*724ba675SRob Herring
251*724ba675SRob Herring		pinctrl_ipu_disp1: ipudisp1grp {
252*724ba675SRob Herring			fsl,pins = <
253*724ba675SRob Herring				MX53_PAD_EIM_DA9__IPU_DISP1_DAT_0	0x5
254*724ba675SRob Herring				MX53_PAD_EIM_DA8__IPU_DISP1_DAT_1	0x5
255*724ba675SRob Herring				MX53_PAD_EIM_DA7__IPU_DISP1_DAT_2	0x5
256*724ba675SRob Herring				MX53_PAD_EIM_DA6__IPU_DISP1_DAT_3	0x5
257*724ba675SRob Herring				MX53_PAD_EIM_DA5__IPU_DISP1_DAT_4	0x5
258*724ba675SRob Herring				MX53_PAD_EIM_DA4__IPU_DISP1_DAT_5	0x5
259*724ba675SRob Herring				MX53_PAD_EIM_DA3__IPU_DISP1_DAT_6	0x5
260*724ba675SRob Herring				MX53_PAD_EIM_DA2__IPU_DISP1_DAT_7	0x5
261*724ba675SRob Herring				MX53_PAD_EIM_DA1__IPU_DISP1_DAT_8	0x5
262*724ba675SRob Herring				MX53_PAD_EIM_DA0__IPU_DISP1_DAT_9	0x5
263*724ba675SRob Herring				MX53_PAD_EIM_EB1__IPU_DISP1_DAT_10	0x5
264*724ba675SRob Herring				MX53_PAD_EIM_EB0__IPU_DISP1_DAT_11	0x5
265*724ba675SRob Herring				MX53_PAD_EIM_A17__IPU_DISP1_DAT_12	0x5
266*724ba675SRob Herring				MX53_PAD_EIM_A18__IPU_DISP1_DAT_13	0x5
267*724ba675SRob Herring				MX53_PAD_EIM_A19__IPU_DISP1_DAT_14	0x5
268*724ba675SRob Herring				MX53_PAD_EIM_A20__IPU_DISP1_DAT_15	0x5
269*724ba675SRob Herring				MX53_PAD_EIM_A21__IPU_DISP1_DAT_16	0x5
270*724ba675SRob Herring				MX53_PAD_EIM_A22__IPU_DISP1_DAT_17	0x5
271*724ba675SRob Herring				MX53_PAD_EIM_A23__IPU_DISP1_DAT_18	0x5
272*724ba675SRob Herring				MX53_PAD_EIM_A24__IPU_DISP1_DAT_19	0x5
273*724ba675SRob Herring				MX53_PAD_EIM_D31__IPU_DISP1_DAT_20	0x5
274*724ba675SRob Herring				MX53_PAD_EIM_D30__IPU_DISP1_DAT_21	0x5
275*724ba675SRob Herring				MX53_PAD_EIM_D26__IPU_DISP1_DAT_22	0x5
276*724ba675SRob Herring				MX53_PAD_EIM_D27__IPU_DISP1_DAT_23	0x5
277*724ba675SRob Herring				MX53_PAD_EIM_A16__IPU_DI1_DISP_CLK	0x5
278*724ba675SRob Herring				MX53_PAD_EIM_DA13__IPU_DI1_D0_CS	0x5
279*724ba675SRob Herring				MX53_PAD_EIM_DA14__IPU_DI1_D1_CS	0x5
280*724ba675SRob Herring				MX53_PAD_EIM_DA15__IPU_DI1_PIN1		0x5
281*724ba675SRob Herring				MX53_PAD_EIM_DA11__IPU_DI1_PIN2		0x5
282*724ba675SRob Herring				MX53_PAD_EIM_DA12__IPU_DI1_PIN3		0x5
283*724ba675SRob Herring				MX53_PAD_EIM_A25__IPU_DI1_PIN12		0x5
284*724ba675SRob Herring				MX53_PAD_EIM_DA10__IPU_DI1_PIN15	0x5
285*724ba675SRob Herring			>;
286*724ba675SRob Herring		};
287*724ba675SRob Herring
288*724ba675SRob Herring		pinctrl_pwm1: pwm1grp {
289*724ba675SRob Herring			fsl,pins = <
290*724ba675SRob Herring				MX53_PAD_DISP0_DAT8__PWM1_PWMO		0x5
291*724ba675SRob Herring			>;
292*724ba675SRob Herring		};
293*724ba675SRob Herring
294*724ba675SRob Herring		pinctrl_uart1: uart1grp {
295*724ba675SRob Herring			fsl,pins = <
296*724ba675SRob Herring				MX53_PAD_PATA_DIOW__UART1_TXD_MUX	0x1e4
297*724ba675SRob Herring				MX53_PAD_PATA_DMACK__UART1_RXD_MUX	0x1e4
298*724ba675SRob Herring			>;
299*724ba675SRob Herring		};
300*724ba675SRob Herring
301*724ba675SRob Herring		pinctrl_uart2: uart2grp {
302*724ba675SRob Herring			fsl,pins = <
303*724ba675SRob Herring				MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX	0x1e4
304*724ba675SRob Herring				MX53_PAD_PATA_DMARQ__UART2_TXD_MUX	0x1e4
305*724ba675SRob Herring			>;
306*724ba675SRob Herring		};
307*724ba675SRob Herring
308*724ba675SRob Herring		pinctrl_uart3: uart3grp {
309*724ba675SRob Herring			fsl,pins = <
310*724ba675SRob Herring				MX53_PAD_PATA_CS_0__UART3_TXD_MUX	0x1e4
311*724ba675SRob Herring				MX53_PAD_PATA_CS_1__UART3_RXD_MUX	0x1e4
312*724ba675SRob Herring				MX53_PAD_PATA_DA_1__UART3_CTS		0x1e4
313*724ba675SRob Herring				MX53_PAD_PATA_DA_2__UART3_RTS		0x1e4
314*724ba675SRob Herring			>;
315*724ba675SRob Herring		};
316*724ba675SRob Herring	};
317*724ba675SRob Herring};
318*724ba675SRob Herring
319*724ba675SRob Herring&ipu_di1_disp1 {
320*724ba675SRob Herring	remote-endpoint = <&display1_in>;
321*724ba675SRob Herring};
322*724ba675SRob Herring
323*724ba675SRob Herring&pwm1 {
324*724ba675SRob Herring	#pwm-cells = <2>;
325*724ba675SRob Herring	pinctrl-names = "default";
326*724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm1>;
327*724ba675SRob Herring	status = "okay";
328*724ba675SRob Herring};
329*724ba675SRob Herring
330*724ba675SRob Herring&sata {
331*724ba675SRob Herring	status = "okay";
332*724ba675SRob Herring};
333*724ba675SRob Herring
334*724ba675SRob Herring&ssi2 {
335*724ba675SRob Herring	status = "okay";
336*724ba675SRob Herring};
337*724ba675SRob Herring
338*724ba675SRob Herring&uart1 {
339*724ba675SRob Herring	pinctrl-names = "default";
340*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
341*724ba675SRob Herring	status = "okay";
342*724ba675SRob Herring};
343*724ba675SRob Herring
344*724ba675SRob Herring&uart2 {
345*724ba675SRob Herring	pinctrl-names = "default";
346*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2>;
347*724ba675SRob Herring	status = "okay";
348*724ba675SRob Herring};
349*724ba675SRob Herring
350*724ba675SRob Herring&uart3 {
351*724ba675SRob Herring	pinctrl-names = "default";
352*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart3>;
353*724ba675SRob Herring	status = "okay";
354*724ba675SRob Herring};
355*724ba675SRob Herring
356*724ba675SRob Herring&usbh1 {
357*724ba675SRob Herring	pinctrl-names = "default";
358*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usb>;
359*724ba675SRob Herring	vbus-supply = <&reg_usbh1_vbus>;
360*724ba675SRob Herring	phy_type = "utmi";
361*724ba675SRob Herring	status = "okay";
362*724ba675SRob Herring};
363*724ba675SRob Herring
364*724ba675SRob Herring&usbotg {
365*724ba675SRob Herring	pinctrl-names = "default";
366*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
367*724ba675SRob Herring	dr_mode = "otg";
368*724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
369*724ba675SRob Herring	disable-over-current;
370*724ba675SRob Herring	status = "okay";
371*724ba675SRob Herring};
372