xref: /linux/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (C) 2013 Marek Vasut <marex@denx.de>
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring#include "imx53-m53.dtsi"
8724ba675SRob Herring
9724ba675SRob Herring/ {
10724ba675SRob Herring	model = "Aries/DENX M53EVK";
11724ba675SRob Herring	compatible = "aries,imx53-m53evk", "denx,imx53-m53evk", "fsl,imx53";
12724ba675SRob Herring
13724ba675SRob Herring	display1: disp1 {
14724ba675SRob Herring		compatible = "fsl,imx-parallel-display";
15724ba675SRob Herring		interface-pix-fmt = "bgr666";
16724ba675SRob Herring		pinctrl-names = "default";
17724ba675SRob Herring		pinctrl-0 = <&pinctrl_ipu_disp1>;
18724ba675SRob Herring
19724ba675SRob Herring		display-timings {
20*069e81eaSKrzysztof Kozlowski			native-mode = <&timing0>;
2124583888SKrzysztof Kozlowski			timing0: timing-800x480p60 {
22724ba675SRob Herring				clock-frequency = <31500000>;
23724ba675SRob Herring				hactive = <800>;
24724ba675SRob Herring				vactive = <480>;
25724ba675SRob Herring				hfront-porch = <40>;
26724ba675SRob Herring				hback-porch = <88>;
27724ba675SRob Herring				hsync-len = <128>;
28724ba675SRob Herring				vback-porch = <33>;
29724ba675SRob Herring				vfront-porch = <9>;
30724ba675SRob Herring				vsync-len = <3>;
31724ba675SRob Herring				vsync-active = <1>;
32724ba675SRob Herring			};
33724ba675SRob Herring		};
34724ba675SRob Herring
35724ba675SRob Herring		port {
36724ba675SRob Herring			display1_in: endpoint {
37724ba675SRob Herring				remote-endpoint = <&ipu_di1_disp1>;
38724ba675SRob Herring			};
39724ba675SRob Herring		};
40724ba675SRob Herring	};
41724ba675SRob Herring
42724ba675SRob Herring	backlight {
43724ba675SRob Herring		compatible = "pwm-backlight";
4444f46de2SUwe Kleine-König		pwms = <&pwm1 0 3000 0>;
45724ba675SRob Herring		brightness-levels = <0 4 8 16 32 64 128 255>;
46724ba675SRob Herring		default-brightness-level = <6>;
47724ba675SRob Herring		power-supply = <&reg_backlight>;
48724ba675SRob Herring	};
49724ba675SRob Herring
50724ba675SRob Herring	leds {
51724ba675SRob Herring		compatible = "gpio-leds";
52724ba675SRob Herring		pinctrl-names = "default";
53724ba675SRob Herring		pinctrl-0 = <&led_pin_gpio>;
54724ba675SRob Herring
55724ba675SRob Herring		led-user1 {
56724ba675SRob Herring			label = "user1";
57724ba675SRob Herring			gpios = <&gpio2 8 0>;
58724ba675SRob Herring			linux,default-trigger = "heartbeat";
59724ba675SRob Herring		};
60724ba675SRob Herring
61724ba675SRob Herring		led-user2 {
62724ba675SRob Herring			label = "user2";
63724ba675SRob Herring			gpios = <&gpio2 9 0>;
64724ba675SRob Herring			linux,default-trigger = "heartbeat";
65724ba675SRob Herring		};
66724ba675SRob Herring	};
67724ba675SRob Herring
68ec20d468SFabio Estevam	reg_usbh1_vbus: regulator-usbh1-vbus {
69724ba675SRob Herring		compatible = "regulator-fixed";
70724ba675SRob Herring		regulator-name = "vbus";
71724ba675SRob Herring		regulator-min-microvolt = <5000000>;
72724ba675SRob Herring		regulator-max-microvolt = <5000000>;
73724ba675SRob Herring		gpio = <&gpio1 2 0>;
74724ba675SRob Herring	};
75724ba675SRob Herring
76ec20d468SFabio Estevam	reg_usb_otg_vbus: regulator-usb-otg-vbus {
77724ba675SRob Herring		compatible = "regulator-fixed";
78724ba675SRob Herring		regulator-name = "usb_otg_vbus";
79724ba675SRob Herring		regulator-min-microvolt = <5000000>;
80724ba675SRob Herring		regulator-max-microvolt = <5000000>;
81724ba675SRob Herring		gpio = <&gpio1 4 0>;
82724ba675SRob Herring	};
83724ba675SRob Herring
84724ba675SRob Herring	sound {
85724ba675SRob Herring		compatible = "fsl,imx53-m53evk-sgtl5000",
86724ba675SRob Herring			     "fsl,imx-audio-sgtl5000";
87724ba675SRob Herring		model = "imx53-m53evk-sgtl5000";
88724ba675SRob Herring		ssi-controller = <&ssi2>;
89724ba675SRob Herring		audio-codec = <&sgtl5000>;
90724ba675SRob Herring		audio-routing =
91724ba675SRob Herring			"MIC_IN", "Mic Jack",
92724ba675SRob Herring			"Mic Jack", "Mic Bias",
93724ba675SRob Herring			"LINE_IN", "Line In Jack",
94724ba675SRob Herring			"Headphone Jack", "HP_OUT",
95724ba675SRob Herring			"Ext Spk", "LINE_OUT";
96724ba675SRob Herring		mux-int-port = <2>;
97724ba675SRob Herring		mux-ext-port = <4>;
98724ba675SRob Herring	};
99724ba675SRob Herring};
100724ba675SRob Herring
101724ba675SRob Herring&audmux {
102724ba675SRob Herring	pinctrl-names = "default";
103724ba675SRob Herring	pinctrl-0 = <&pinctrl_audmux>;
104724ba675SRob Herring	status = "okay";
105724ba675SRob Herring};
106724ba675SRob Herring
107724ba675SRob Herring&can1 {
108724ba675SRob Herring	pinctrl-names = "default";
109724ba675SRob Herring	pinctrl-0 = <&pinctrl_can1>;
110724ba675SRob Herring	status = "okay";
111724ba675SRob Herring};
112724ba675SRob Herring
113724ba675SRob Herring&can2 {
114724ba675SRob Herring	pinctrl-names = "default";
115724ba675SRob Herring	pinctrl-0 = <&pinctrl_can2>;
116724ba675SRob Herring	status = "okay";
117724ba675SRob Herring};
118724ba675SRob Herring
119724ba675SRob Herring&esdhc1 {
120724ba675SRob Herring	pinctrl-names = "default";
121724ba675SRob Herring	pinctrl-0 = <&pinctrl_esdhc1>;
122724ba675SRob Herring	cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
123724ba675SRob Herring	wp-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
124724ba675SRob Herring	status = "okay";
125724ba675SRob Herring};
126724ba675SRob Herring
127724ba675SRob Herring&fec {
128724ba675SRob Herring	pinctrl-names = "default";
129724ba675SRob Herring	pinctrl-0 = <&pinctrl_fec>;
130724ba675SRob Herring	phy-mode = "rmii";
131724ba675SRob Herring	status = "okay";
132724ba675SRob Herring};
133724ba675SRob Herring
134724ba675SRob Herring&i2c1 {
135724ba675SRob Herring	pinctrl-names = "default";
136724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
137724ba675SRob Herring	status = "okay";
138724ba675SRob Herring
139724ba675SRob Herring	sgtl5000: codec@a {
140724ba675SRob Herring		compatible = "fsl,sgtl5000";
141724ba675SRob Herring		reg = <0x0a>;
142724ba675SRob Herring		#sound-dai-cells = <0>;
143724ba675SRob Herring		VDDA-supply = <&reg_3p2v>;
144724ba675SRob Herring		VDDIO-supply = <&reg_3p2v>;
145724ba675SRob Herring		clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>;
146724ba675SRob Herring	};
147724ba675SRob Herring};
148724ba675SRob Herring
149724ba675SRob Herring&i2c3 {
150724ba675SRob Herring	pinctrl-names = "default";
151724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
152724ba675SRob Herring	status = "okay";
153724ba675SRob Herring};
154724ba675SRob Herring
155724ba675SRob Herring&iomuxc {
156724ba675SRob Herring	pinctrl-names = "default";
157724ba675SRob Herring	pinctrl-0 = <&pinctrl_hog>;
158724ba675SRob Herring
159724ba675SRob Herring	imx53-m53evk {
160724ba675SRob Herring		pinctrl_usb: usbgrp {
161724ba675SRob Herring			fsl,pins = <
162724ba675SRob Herring				MX53_PAD_GPIO_2__GPIO1_2		0x80000000
163724ba675SRob Herring				MX53_PAD_GPIO_3__USBOH3_USBH1_OC	0x80000000
164724ba675SRob Herring			>;
165724ba675SRob Herring		};
166724ba675SRob Herring
167724ba675SRob Herring		pinctrl_usbotg: usbotggrp {
168724ba675SRob Herring			fsl,pins = <
169724ba675SRob Herring				MX53_PAD_GPIO_4__GPIO1_4		0x000b0
170724ba675SRob Herring			>;
171724ba675SRob Herring		};
172724ba675SRob Herring
173724ba675SRob Herring		led_pin_gpio: led_gpio {
174724ba675SRob Herring			fsl,pins = <
175724ba675SRob Herring				MX53_PAD_PATA_DATA8__GPIO2_8		0x80000000
176724ba675SRob Herring				MX53_PAD_PATA_DATA9__GPIO2_9		0x80000000
177724ba675SRob Herring			>;
178724ba675SRob Herring		};
179724ba675SRob Herring
180724ba675SRob Herring		pinctrl_audmux: audmuxgrp {
181724ba675SRob Herring			fsl,pins = <
182724ba675SRob Herring				MX53_PAD_SD2_DATA3__AUDMUX_AUD4_TXC	0x80000000
183724ba675SRob Herring				MX53_PAD_SD2_DATA2__AUDMUX_AUD4_TXD	0x80000000
184724ba675SRob Herring				MX53_PAD_SD2_DATA1__AUDMUX_AUD4_TXFS	0x80000000
185724ba675SRob Herring				MX53_PAD_SD2_DATA0__AUDMUX_AUD4_RXD	0x80000000
186724ba675SRob Herring			>;
187724ba675SRob Herring		};
188724ba675SRob Herring
189724ba675SRob Herring		pinctrl_can1: can1grp {
190724ba675SRob Herring			fsl,pins = <
191724ba675SRob Herring				MX53_PAD_GPIO_7__CAN1_TXCAN		0x80000000
192724ba675SRob Herring				MX53_PAD_GPIO_8__CAN1_RXCAN		0x80000000
193724ba675SRob Herring			>;
194724ba675SRob Herring		};
195724ba675SRob Herring
196724ba675SRob Herring		pinctrl_can2: can2grp {
197724ba675SRob Herring			fsl,pins = <
198724ba675SRob Herring				MX53_PAD_KEY_COL4__CAN2_TXCAN		0x80000000
199724ba675SRob Herring				MX53_PAD_KEY_ROW4__CAN2_RXCAN		0x80000000
200724ba675SRob Herring			>;
201724ba675SRob Herring		};
202724ba675SRob Herring
203724ba675SRob Herring		pinctrl_esdhc1: esdhc1grp {
204724ba675SRob Herring			fsl,pins = <
205724ba675SRob Herring				MX53_PAD_SD1_DATA0__ESDHC1_DAT0		0x1d5
206724ba675SRob Herring				MX53_PAD_SD1_DATA1__ESDHC1_DAT1		0x1d5
207724ba675SRob Herring				MX53_PAD_SD1_DATA2__ESDHC1_DAT2		0x1d5
208724ba675SRob Herring				MX53_PAD_SD1_DATA3__ESDHC1_DAT3		0x1d5
209724ba675SRob Herring				MX53_PAD_SD1_CMD__ESDHC1_CMD		0x1d5
210724ba675SRob Herring				MX53_PAD_SD1_CLK__ESDHC1_CLK		0x1d5
211724ba675SRob Herring			>;
212724ba675SRob Herring		};
213724ba675SRob Herring
214724ba675SRob Herring		pinctrl_fec: fecgrp {
215724ba675SRob Herring			fsl,pins = <
216724ba675SRob Herring				MX53_PAD_FEC_MDC__FEC_MDC		0x80000000
217724ba675SRob Herring				MX53_PAD_FEC_MDIO__FEC_MDIO		0x80000000
218724ba675SRob Herring				MX53_PAD_FEC_REF_CLK__FEC_TX_CLK	0x80000000
219724ba675SRob Herring				MX53_PAD_FEC_RX_ER__FEC_RX_ER		0x80000000
220724ba675SRob Herring				MX53_PAD_FEC_CRS_DV__FEC_RX_DV		0x80000000
221724ba675SRob Herring				MX53_PAD_FEC_RXD1__FEC_RDATA_1		0x80000000
222724ba675SRob Herring				MX53_PAD_FEC_RXD0__FEC_RDATA_0		0x80000000
223724ba675SRob Herring				MX53_PAD_FEC_TX_EN__FEC_TX_EN		0x80000000
224724ba675SRob Herring				MX53_PAD_FEC_TXD1__FEC_TDATA_1		0x80000000
225724ba675SRob Herring				MX53_PAD_FEC_TXD0__FEC_TDATA_0		0x80000000
226724ba675SRob Herring			>;
227724ba675SRob Herring		};
228724ba675SRob Herring
229724ba675SRob Herring		pinctrl_i2c1: i2c1grp {
230724ba675SRob Herring			fsl,pins = <
231724ba675SRob Herring				MX53_PAD_EIM_D21__I2C1_SCL		0xc0000000
232724ba675SRob Herring				MX53_PAD_EIM_D28__I2C1_SDA		0xc0000000
233724ba675SRob Herring			>;
234724ba675SRob Herring		};
235724ba675SRob Herring
236724ba675SRob Herring		pinctrl_i2c3: i2c3grp {
237724ba675SRob Herring			fsl,pins = <
238724ba675SRob Herring				MX53_PAD_GPIO_6__I2C3_SDA		0xc0000000
239724ba675SRob Herring				MX53_PAD_GPIO_5__I2C3_SCL		0xc0000000
240724ba675SRob Herring			>;
241724ba675SRob Herring		};
242724ba675SRob Herring
243724ba675SRob Herring		pinctrl_ipu_disp1: ipudisp1grp {
244724ba675SRob Herring			fsl,pins = <
245724ba675SRob Herring				MX53_PAD_EIM_DA9__IPU_DISP1_DAT_0	0x5
246724ba675SRob Herring				MX53_PAD_EIM_DA8__IPU_DISP1_DAT_1	0x5
247724ba675SRob Herring				MX53_PAD_EIM_DA7__IPU_DISP1_DAT_2	0x5
248724ba675SRob Herring				MX53_PAD_EIM_DA6__IPU_DISP1_DAT_3	0x5
249724ba675SRob Herring				MX53_PAD_EIM_DA5__IPU_DISP1_DAT_4	0x5
250724ba675SRob Herring				MX53_PAD_EIM_DA4__IPU_DISP1_DAT_5	0x5
251724ba675SRob Herring				MX53_PAD_EIM_DA3__IPU_DISP1_DAT_6	0x5
252724ba675SRob Herring				MX53_PAD_EIM_DA2__IPU_DISP1_DAT_7	0x5
253724ba675SRob Herring				MX53_PAD_EIM_DA1__IPU_DISP1_DAT_8	0x5
254724ba675SRob Herring				MX53_PAD_EIM_DA0__IPU_DISP1_DAT_9	0x5
255724ba675SRob Herring				MX53_PAD_EIM_EB1__IPU_DISP1_DAT_10	0x5
256724ba675SRob Herring				MX53_PAD_EIM_EB0__IPU_DISP1_DAT_11	0x5
257724ba675SRob Herring				MX53_PAD_EIM_A17__IPU_DISP1_DAT_12	0x5
258724ba675SRob Herring				MX53_PAD_EIM_A18__IPU_DISP1_DAT_13	0x5
259724ba675SRob Herring				MX53_PAD_EIM_A19__IPU_DISP1_DAT_14	0x5
260724ba675SRob Herring				MX53_PAD_EIM_A20__IPU_DISP1_DAT_15	0x5
261724ba675SRob Herring				MX53_PAD_EIM_A21__IPU_DISP1_DAT_16	0x5
262724ba675SRob Herring				MX53_PAD_EIM_A22__IPU_DISP1_DAT_17	0x5
263724ba675SRob Herring				MX53_PAD_EIM_A23__IPU_DISP1_DAT_18	0x5
264724ba675SRob Herring				MX53_PAD_EIM_A24__IPU_DISP1_DAT_19	0x5
265724ba675SRob Herring				MX53_PAD_EIM_D31__IPU_DISP1_DAT_20	0x5
266724ba675SRob Herring				MX53_PAD_EIM_D30__IPU_DISP1_DAT_21	0x5
267724ba675SRob Herring				MX53_PAD_EIM_D26__IPU_DISP1_DAT_22	0x5
268724ba675SRob Herring				MX53_PAD_EIM_D27__IPU_DISP1_DAT_23	0x5
269724ba675SRob Herring				MX53_PAD_EIM_A16__IPU_DI1_DISP_CLK	0x5
270724ba675SRob Herring				MX53_PAD_EIM_DA13__IPU_DI1_D0_CS	0x5
271724ba675SRob Herring				MX53_PAD_EIM_DA14__IPU_DI1_D1_CS	0x5
272724ba675SRob Herring				MX53_PAD_EIM_DA15__IPU_DI1_PIN1		0x5
273724ba675SRob Herring				MX53_PAD_EIM_DA11__IPU_DI1_PIN2		0x5
274724ba675SRob Herring				MX53_PAD_EIM_DA12__IPU_DI1_PIN3		0x5
275724ba675SRob Herring				MX53_PAD_EIM_A25__IPU_DI1_PIN12		0x5
276724ba675SRob Herring				MX53_PAD_EIM_DA10__IPU_DI1_PIN15	0x5
277724ba675SRob Herring			>;
278724ba675SRob Herring		};
279724ba675SRob Herring
280724ba675SRob Herring		pinctrl_pwm1: pwm1grp {
281724ba675SRob Herring			fsl,pins = <
282724ba675SRob Herring				MX53_PAD_DISP0_DAT8__PWM1_PWMO		0x5
283724ba675SRob Herring			>;
284724ba675SRob Herring		};
285724ba675SRob Herring
286724ba675SRob Herring		pinctrl_uart1: uart1grp {
287724ba675SRob Herring			fsl,pins = <
288724ba675SRob Herring				MX53_PAD_PATA_DIOW__UART1_TXD_MUX	0x1e4
289724ba675SRob Herring				MX53_PAD_PATA_DMACK__UART1_RXD_MUX	0x1e4
290724ba675SRob Herring			>;
291724ba675SRob Herring		};
292724ba675SRob Herring
293724ba675SRob Herring		pinctrl_uart2: uart2grp {
294724ba675SRob Herring			fsl,pins = <
295724ba675SRob Herring				MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX	0x1e4
296724ba675SRob Herring				MX53_PAD_PATA_DMARQ__UART2_TXD_MUX	0x1e4
297724ba675SRob Herring			>;
298724ba675SRob Herring		};
299724ba675SRob Herring
300724ba675SRob Herring		pinctrl_uart3: uart3grp {
301724ba675SRob Herring			fsl,pins = <
302724ba675SRob Herring				MX53_PAD_PATA_CS_0__UART3_TXD_MUX	0x1e4
303724ba675SRob Herring				MX53_PAD_PATA_CS_1__UART3_RXD_MUX	0x1e4
304724ba675SRob Herring				MX53_PAD_PATA_DA_1__UART3_CTS		0x1e4
305724ba675SRob Herring				MX53_PAD_PATA_DA_2__UART3_RTS		0x1e4
306724ba675SRob Herring			>;
307724ba675SRob Herring		};
308724ba675SRob Herring	};
309724ba675SRob Herring};
310724ba675SRob Herring
311724ba675SRob Herring&ipu_di1_disp1 {
312724ba675SRob Herring	remote-endpoint = <&display1_in>;
313724ba675SRob Herring};
314724ba675SRob Herring
315724ba675SRob Herring&pwm1 {
316724ba675SRob Herring	pinctrl-names = "default";
317724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm1>;
318724ba675SRob Herring	status = "okay";
319724ba675SRob Herring};
320724ba675SRob Herring
321724ba675SRob Herring&sata {
322724ba675SRob Herring	status = "okay";
323724ba675SRob Herring};
324724ba675SRob Herring
325724ba675SRob Herring&ssi2 {
326724ba675SRob Herring	status = "okay";
327724ba675SRob Herring};
328724ba675SRob Herring
329724ba675SRob Herring&uart1 {
330724ba675SRob Herring	pinctrl-names = "default";
331724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
332724ba675SRob Herring	status = "okay";
333724ba675SRob Herring};
334724ba675SRob Herring
335724ba675SRob Herring&uart2 {
336724ba675SRob Herring	pinctrl-names = "default";
337724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2>;
338724ba675SRob Herring	status = "okay";
339724ba675SRob Herring};
340724ba675SRob Herring
341724ba675SRob Herring&uart3 {
342724ba675SRob Herring	pinctrl-names = "default";
343724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart3>;
344724ba675SRob Herring	status = "okay";
345724ba675SRob Herring};
346724ba675SRob Herring
347724ba675SRob Herring&usbh1 {
348724ba675SRob Herring	pinctrl-names = "default";
349724ba675SRob Herring	pinctrl-0 = <&pinctrl_usb>;
350724ba675SRob Herring	vbus-supply = <&reg_usbh1_vbus>;
351724ba675SRob Herring	phy_type = "utmi";
352724ba675SRob Herring	status = "okay";
353724ba675SRob Herring};
354724ba675SRob Herring
355724ba675SRob Herring&usbotg {
356724ba675SRob Herring	pinctrl-names = "default";
357724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
358724ba675SRob Herring	dr_mode = "otg";
359724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
360724ba675SRob Herring	disable-over-current;
361724ba675SRob Herring	status = "okay";
362724ba675SRob Herring};
363