xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx53-m53menlo.dts (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) 2019 Marek Vasut <marex@denx.de>
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot#include "imx53-m53.dtsi"
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot/ {
10f126890aSEmmanuel Vadot	model = "MENLO M53 EMBEDDED DEVICE";
11f126890aSEmmanuel Vadot	compatible = "menlo,m53menlo", "fsl,imx53";
12f126890aSEmmanuel Vadot
13f126890aSEmmanuel Vadot	gpio-keys {
14f126890aSEmmanuel Vadot		compatible = "gpio-keys";
15f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_power_button>;
16f126890aSEmmanuel Vadot		pinctrl-names = "default";
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot		power-button {
19f126890aSEmmanuel Vadot			label = "Power button";
20f126890aSEmmanuel Vadot			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
21f126890aSEmmanuel Vadot			linux,code = <KEY_POWER>;
22f126890aSEmmanuel Vadot		};
23f126890aSEmmanuel Vadot	};
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	gpio-poweroff {
26f126890aSEmmanuel Vadot		compatible = "gpio-poweroff";
27f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_power_out>;
28f126890aSEmmanuel Vadot		pinctrl-names = "default";
29f126890aSEmmanuel Vadot		gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
30f126890aSEmmanuel Vadot	};
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot	leds {
33f126890aSEmmanuel Vadot		compatible = "gpio-leds";
34f126890aSEmmanuel Vadot		pinctrl-names = "default";
35f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_led>;
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot		led-user1 {
38f126890aSEmmanuel Vadot			label = "TestLed601";
39f126890aSEmmanuel Vadot			gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>;
40f126890aSEmmanuel Vadot			linux,default-trigger = "mmc0";
41f126890aSEmmanuel Vadot		};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot		led-user2 {
44f126890aSEmmanuel Vadot			label = "TestLed602";
45f126890aSEmmanuel Vadot			gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;
46f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
47f126890aSEmmanuel Vadot		};
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot		led-eth {
50f126890aSEmmanuel Vadot			label = "EthLedYe";
51f126890aSEmmanuel Vadot			gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
52f126890aSEmmanuel Vadot			linux,default-trigger = "netdev";
53f126890aSEmmanuel Vadot		};
54f126890aSEmmanuel Vadot	};
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot	lvds-decoder {
57f126890aSEmmanuel Vadot		compatible = "ti,ds90cf364a", "lvds-decoder";
58f126890aSEmmanuel Vadot
59f126890aSEmmanuel Vadot		ports {
60f126890aSEmmanuel Vadot			#address-cells = <1>;
61f126890aSEmmanuel Vadot			#size-cells = <0>;
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot			port@0 {
64f126890aSEmmanuel Vadot				reg = <0>;
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot				lvds_decoder_in: endpoint {
67*0e8011faSEmmanuel Vadot					data-mapping = "jeida-18";
68f126890aSEmmanuel Vadot					remote-endpoint = <&lvds0_out>;
69f126890aSEmmanuel Vadot				};
70f126890aSEmmanuel Vadot			};
71f126890aSEmmanuel Vadot
72f126890aSEmmanuel Vadot			port@1 {
73f126890aSEmmanuel Vadot				reg = <1>;
74f126890aSEmmanuel Vadot
75f126890aSEmmanuel Vadot				lvds_decoder_out: endpoint {
76f126890aSEmmanuel Vadot					remote-endpoint = <&panel_in>;
77f126890aSEmmanuel Vadot				};
78f126890aSEmmanuel Vadot			};
79f126890aSEmmanuel Vadot		};
80f126890aSEmmanuel Vadot	};
81f126890aSEmmanuel Vadot
82f126890aSEmmanuel Vadot	panel {
83f126890aSEmmanuel Vadot		compatible = "edt,etm0700g0dh6";
84f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_display_gpio>;
85f126890aSEmmanuel Vadot		pinctrl-names = "default";
86f126890aSEmmanuel Vadot		enable-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>;
87f126890aSEmmanuel Vadot
88f126890aSEmmanuel Vadot		port {
89f126890aSEmmanuel Vadot			panel_in: endpoint {
90f126890aSEmmanuel Vadot				remote-endpoint = <&lvds_decoder_out>;
91f126890aSEmmanuel Vadot			};
92f126890aSEmmanuel Vadot		};
93f126890aSEmmanuel Vadot	};
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot	beeper {
96f126890aSEmmanuel Vadot		compatible = "gpio-beeper";
97f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_beeper>;
98f126890aSEmmanuel Vadot		gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
99f126890aSEmmanuel Vadot	};
100f126890aSEmmanuel Vadot
101f126890aSEmmanuel Vadot	reg_usbh1_vbus: regulator-usbh1-vbus {
102f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
103f126890aSEmmanuel Vadot		regulator-name = "vbus";
104f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
105f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
106f126890aSEmmanuel Vadot		gpio = <&gpio1 2 0>;
107f126890aSEmmanuel Vadot	};
108f126890aSEmmanuel Vadot};
109f126890aSEmmanuel Vadot
110f126890aSEmmanuel Vadot&can1 {
111f126890aSEmmanuel Vadot	pinctrl-names = "default";
112f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_can1>;
113f126890aSEmmanuel Vadot	status = "okay";
114f126890aSEmmanuel Vadot};
115f126890aSEmmanuel Vadot
116f126890aSEmmanuel Vadot&can2 {
117f126890aSEmmanuel Vadot	pinctrl-names = "default";
118f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_can2>;
119f126890aSEmmanuel Vadot	status = "okay";
120f126890aSEmmanuel Vadot};
121f126890aSEmmanuel Vadot
122f126890aSEmmanuel Vadot&clks {
123f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX5_CLK_CKO1_SEL>,
124f126890aSEmmanuel Vadot			  <&clks IMX5_CLK_CKO1_PODF>,
125f126890aSEmmanuel Vadot			  <&clks IMX5_CLK_CKO1>;
126f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX5_CLK_AHB>;
127f126890aSEmmanuel Vadot	assigned-clock-rates = <133333334>, <33333334>, <33333334>;
128f126890aSEmmanuel Vadot};
129f126890aSEmmanuel Vadot
130f126890aSEmmanuel Vadot&ecspi2 {
131f126890aSEmmanuel Vadot	pinctrl-names = "default";
132f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi2>;
133f126890aSEmmanuel Vadot	cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, <&gpio2 27 GPIO_ACTIVE_LOW>;
134f126890aSEmmanuel Vadot	status = "okay";
135f126890aSEmmanuel Vadot
136f126890aSEmmanuel Vadot	spidev@0 {
137f126890aSEmmanuel Vadot		compatible = "menlo,m53cpld";
138f126890aSEmmanuel Vadot		spi-max-frequency = <25000000>;
139f126890aSEmmanuel Vadot		reg = <0>;
140f126890aSEmmanuel Vadot	};
141f126890aSEmmanuel Vadot
142f126890aSEmmanuel Vadot	spidev@1 {
143f126890aSEmmanuel Vadot		compatible = "menlo,m53cpld";
144f126890aSEmmanuel Vadot		spi-max-frequency = <25000000>;
145f126890aSEmmanuel Vadot		reg = <1>;
146f126890aSEmmanuel Vadot	};
147f126890aSEmmanuel Vadot};
148f126890aSEmmanuel Vadot
149f126890aSEmmanuel Vadot&esdhc1 {
150f126890aSEmmanuel Vadot	pinctrl-names = "default";
151f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_esdhc1>;
152f126890aSEmmanuel Vadot	cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
153f126890aSEmmanuel Vadot	wp-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
154f126890aSEmmanuel Vadot	status = "okay";
155f126890aSEmmanuel Vadot};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot&fec {
158f126890aSEmmanuel Vadot	pinctrl-names = "default";
159f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_fec>;
160f126890aSEmmanuel Vadot	phy-mode = "rmii";
161f126890aSEmmanuel Vadot	phy-reset-gpios = <&gpio7 7 GPIO_ACTIVE_LOW>;
162f126890aSEmmanuel Vadot	status = "okay";
163f126890aSEmmanuel Vadot};
164f126890aSEmmanuel Vadot
165f126890aSEmmanuel Vadot&gpio1 {
166f126890aSEmmanuel Vadot	gpio-line-names =
167f126890aSEmmanuel Vadot		"", "", "", "",
168f126890aSEmmanuel Vadot		"", "", "", "",
169f126890aSEmmanuel Vadot		"", "", "", "",
170f126890aSEmmanuel Vadot		"", "", "", "",
171f126890aSEmmanuel Vadot		"", "", "", "",
172f126890aSEmmanuel Vadot		"", "", "", "",
173f126890aSEmmanuel Vadot		"", "", "", "",
174f126890aSEmmanuel Vadot		"", "", "", "";
175f126890aSEmmanuel Vadot};
176f126890aSEmmanuel Vadot
177f126890aSEmmanuel Vadot&gpio2 {
178f126890aSEmmanuel Vadot	gpio-line-names =
179f126890aSEmmanuel Vadot		"", "", "", "",
180f126890aSEmmanuel Vadot		"", "", "", "",
181f126890aSEmmanuel Vadot		"TestPin_SV2_3", "", "", "",
182f126890aSEmmanuel Vadot		"", "", "", "",
183f126890aSEmmanuel Vadot		"", "", "", "",
184f126890aSEmmanuel Vadot		"", "", "", "",
185f126890aSEmmanuel Vadot		"", "", "", "",
186f126890aSEmmanuel Vadot		"", "", "", "";
187f126890aSEmmanuel Vadot};
188f126890aSEmmanuel Vadot
189f126890aSEmmanuel Vadot&gpio3 {
190f126890aSEmmanuel Vadot	gpio-line-names =
191f126890aSEmmanuel Vadot		"", "", "", "",
192f126890aSEmmanuel Vadot		"", "", "", "",
193f126890aSEmmanuel Vadot		"", "", "", "",
194f126890aSEmmanuel Vadot		"", "", "", "",
195f126890aSEmmanuel Vadot		"", "", "", "",
196f126890aSEmmanuel Vadot		"", "", "", "",
197f126890aSEmmanuel Vadot		"CPLD_JTAG_TDI", "CPLD_JTAG_TMS", "", "",
198f126890aSEmmanuel Vadot		"", "CPLD_JTAG_TDO", "", "";
199f126890aSEmmanuel Vadot};
200f126890aSEmmanuel Vadot
201f126890aSEmmanuel Vadot&gpio5 {
202f126890aSEmmanuel Vadot	gpio-line-names =
203f126890aSEmmanuel Vadot		"", "", "", "",
204f126890aSEmmanuel Vadot		"", "", "", "",
205f126890aSEmmanuel Vadot		"", "", "", "",
206f126890aSEmmanuel Vadot		"", "", "", "",
207f126890aSEmmanuel Vadot		"", "", "CPLD_JTAG_TCK", "KBD_intK",
208f126890aSEmmanuel Vadot		"CPLD_int", "CPLD_JTAG_internal", "CPLD_D[0]", "CPLD_D[1]",
209f126890aSEmmanuel Vadot		"CPLD_D[2]", "CPLD_D[3]", "CPLD_D[4]", "CPLD_D[5]",
210f126890aSEmmanuel Vadot		"CPLD_D[6]", "CPLD_D[7]", "DISP_reset", "KBD_intI";
211f126890aSEmmanuel Vadot};
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot&gpio6 {
214f126890aSEmmanuel Vadot	gpio-line-names =
215f126890aSEmmanuel Vadot		"", "", "", "",
216f126890aSEmmanuel Vadot		"CPLD_reset", "", "", "",
217f126890aSEmmanuel Vadot		"", "", "", "",
218f126890aSEmmanuel Vadot		"", "", "", "",
219f126890aSEmmanuel Vadot		"", "", "", "",
220f126890aSEmmanuel Vadot		"", "", "", "",
221f126890aSEmmanuel Vadot		"", "", "", "",
222f126890aSEmmanuel Vadot		"", "", "", "";
223f126890aSEmmanuel Vadot};
224f126890aSEmmanuel Vadot
225f126890aSEmmanuel Vadot&gpio7 {
226f126890aSEmmanuel Vadot	gpio-line-names =
227f126890aSEmmanuel Vadot		"", "", "", "",
228f126890aSEmmanuel Vadot		"", "", "", "",
229f126890aSEmmanuel Vadot		"", "", "", "",
230f126890aSEmmanuel Vadot		"", "USB-OTG_OverCurrent", "", "",
231f126890aSEmmanuel Vadot		"", "", "", "",
232f126890aSEmmanuel Vadot		"", "", "", "",
233f126890aSEmmanuel Vadot		"", "", "", "",
234f126890aSEmmanuel Vadot		"", "", "", "";
235f126890aSEmmanuel Vadot};
236f126890aSEmmanuel Vadot
237f126890aSEmmanuel Vadot&i2c1 {
238f126890aSEmmanuel Vadot	pinctrl-names = "default";
239f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
240f126890aSEmmanuel Vadot	status = "okay";
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot	touchscreen@38 {
243f126890aSEmmanuel Vadot		compatible = "edt,edt-ft5x06";
244f126890aSEmmanuel Vadot		reg = <0x38>;
245f126890aSEmmanuel Vadot		pinctrl-names = "default";
246f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_edt_ft5x06>;
247f126890aSEmmanuel Vadot		interrupt-parent = <&gpio6>;
248f126890aSEmmanuel Vadot		interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
249f126890aSEmmanuel Vadot		reset-gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
250f126890aSEmmanuel Vadot		wake-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
251f126890aSEmmanuel Vadot	};
252f126890aSEmmanuel Vadot
253f126890aSEmmanuel Vadot	eeprom@50 {
254f126890aSEmmanuel Vadot		compatible = "atmel,24c64";
255f126890aSEmmanuel Vadot		reg = <0x50>;
256f126890aSEmmanuel Vadot		pagesize = <32>;
257f126890aSEmmanuel Vadot	};
258f126890aSEmmanuel Vadot
259f126890aSEmmanuel Vadot	dac@60 {
260f126890aSEmmanuel Vadot		compatible = "microchip,mcp4725";
261f126890aSEmmanuel Vadot		reg = <0x60>;
262f126890aSEmmanuel Vadot	};
263f126890aSEmmanuel Vadot};
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot&i2c2 {
266f126890aSEmmanuel Vadot	touchscreen@41 {
267f126890aSEmmanuel Vadot		status = "disabled";
268f126890aSEmmanuel Vadot	};
269f126890aSEmmanuel Vadot};
270f126890aSEmmanuel Vadot
271f126890aSEmmanuel Vadot&i2c3 {
272f126890aSEmmanuel Vadot	pinctrl-names = "default";
273f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
274f126890aSEmmanuel Vadot	status = "okay";
275f126890aSEmmanuel Vadot};
276f126890aSEmmanuel Vadot
277f126890aSEmmanuel Vadot&iomuxc {
278f126890aSEmmanuel Vadot	pinctrl-names = "default";
279f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_hog>;
280f126890aSEmmanuel Vadot
281f126890aSEmmanuel Vadot	imx53-m53evk {
282f126890aSEmmanuel Vadot		hoggrp {
283f126890aSEmmanuel Vadot			fsl,pins = <
284f126890aSEmmanuel Vadot				MX53_PAD_GPIO_19__CCM_CLKO		0x1e4
285f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DATA_EN__GPIO5_20		0x1e4
286f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT4__GPIO5_22		0x1e4
287f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT5__GPIO5_23		0x1c4
288f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT6__GPIO5_24		0x1e4
289f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT7__GPIO5_25		0x1e4
290f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT8__GPIO5_26		0x1e4
291f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT9__GPIO5_27		0x1c4
292f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT10__GPIO5_28		0x1e4
293f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT11__GPIO5_29		0x1e4
294f126890aSEmmanuel Vadot				MX53_PAD_PATA_DATA11__GPIO2_11		0x1e4
295f126890aSEmmanuel Vadot				MX53_PAD_EIM_D24__GPIO3_24		0x1e4
296f126890aSEmmanuel Vadot				MX53_PAD_EIM_D25__GPIO3_25		0x1e4
297f126890aSEmmanuel Vadot				MX53_PAD_EIM_D29__GPIO3_29		0x1e4
298f126890aSEmmanuel Vadot				MX53_PAD_CSI0_PIXCLK__GPIO5_18		0x1e4
299f126890aSEmmanuel Vadot				MX53_PAD_CSI0_VSYNC__GPIO5_21		0x1e4
300f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT18__GPIO6_4		0x1c4
301f126890aSEmmanuel Vadot				MX53_PAD_PATA_DATA8__GPIO2_8		0x1e4
302f126890aSEmmanuel Vadot			>;
303f126890aSEmmanuel Vadot		};
304f126890aSEmmanuel Vadot
305f126890aSEmmanuel Vadot		pinctrl_led: ledgrp {
306f126890aSEmmanuel Vadot			fsl,pins = <
307f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT15__GPIO6_1		0x1c4
308f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT16__GPIO6_2		0x1c4
309f126890aSEmmanuel Vadot			>;
310f126890aSEmmanuel Vadot		};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot		pinctrl_beeper: beepergrp {
313f126890aSEmmanuel Vadot			fsl,pins = <
314f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT17__GPIO6_3		0x1c4
315f126890aSEmmanuel Vadot			>;
316f126890aSEmmanuel Vadot		};
317f126890aSEmmanuel Vadot
318f126890aSEmmanuel Vadot		pinctrl_can1: can1grp {
319f126890aSEmmanuel Vadot			fsl,pins = <
320f126890aSEmmanuel Vadot				MX53_PAD_GPIO_7__CAN1_TXCAN		0x1c4
321f126890aSEmmanuel Vadot				MX53_PAD_GPIO_8__CAN1_RXCAN		0x1c4
322f126890aSEmmanuel Vadot			>;
323f126890aSEmmanuel Vadot		};
324f126890aSEmmanuel Vadot
325f126890aSEmmanuel Vadot		pinctrl_can2: can2grp {
326f126890aSEmmanuel Vadot			fsl,pins = <
327f126890aSEmmanuel Vadot				MX53_PAD_KEY_COL4__CAN2_TXCAN		0x1e4
328f126890aSEmmanuel Vadot				MX53_PAD_KEY_ROW4__CAN2_RXCAN		0x1c4
329f126890aSEmmanuel Vadot			>;
330f126890aSEmmanuel Vadot		};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot		pinctrl_display_gpio: display-gpiogrp {
333f126890aSEmmanuel Vadot			fsl,pins = <
334f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT12__GPIO5_30		0x1c4 /* Reset */
335f126890aSEmmanuel Vadot				MX53_PAD_CSI0_MCLK__GPIO5_19		0x1e4 /* Int-K */
336f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT13__GPIO5_31		0x1c4 /* Int-I */
337f126890aSEmmanuel Vadot
338f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT14__GPIO6_0		0x1c4 /* Power down */
339f126890aSEmmanuel Vadot			>;
340f126890aSEmmanuel Vadot		};
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot		pinctrl_edt_ft5x06: edt-ft5x06grp {
343f126890aSEmmanuel Vadot			fsl,pins = <
344f126890aSEmmanuel Vadot				MX53_PAD_PATA_DATA9__GPIO2_9		0x1e4 /* Reset */
345f126890aSEmmanuel Vadot				MX53_PAD_CSI0_DAT19__GPIO6_5		0x1c4 /* Interrupt */
346f126890aSEmmanuel Vadot				MX53_PAD_PATA_DATA10__GPIO2_10		0x1e4 /* Wake */
347f126890aSEmmanuel Vadot			>;
348f126890aSEmmanuel Vadot		};
349f126890aSEmmanuel Vadot
350f126890aSEmmanuel Vadot		pinctrl_ecspi2: ecspi2grp {
351f126890aSEmmanuel Vadot			fsl,pins = <
352f126890aSEmmanuel Vadot				MX53_PAD_EIM_CS0__ECSPI2_SCLK		0xe4
353f126890aSEmmanuel Vadot				MX53_PAD_EIM_OE__ECSPI2_MISO		0xe4
354f126890aSEmmanuel Vadot				MX53_PAD_EIM_CS1__ECSPI2_MOSI		0xe4
355f126890aSEmmanuel Vadot				MX53_PAD_EIM_RW__GPIO2_26		0xe4
356f126890aSEmmanuel Vadot				MX53_PAD_EIM_LBA__GPIO2_27		0xe4
357f126890aSEmmanuel Vadot			>;
358f126890aSEmmanuel Vadot		};
359f126890aSEmmanuel Vadot
360f126890aSEmmanuel Vadot		pinctrl_esdhc1: esdhc1grp {
361f126890aSEmmanuel Vadot			fsl,pins = <
362f126890aSEmmanuel Vadot				MX53_PAD_SD1_DATA0__ESDHC1_DAT0		0x1e4
363f126890aSEmmanuel Vadot				MX53_PAD_SD1_DATA1__ESDHC1_DAT1		0x1e4
364f126890aSEmmanuel Vadot				MX53_PAD_SD1_DATA2__ESDHC1_DAT2		0x1e4
365f126890aSEmmanuel Vadot				MX53_PAD_SD1_DATA3__ESDHC1_DAT3		0x1e4
366f126890aSEmmanuel Vadot				MX53_PAD_SD1_CMD__ESDHC1_CMD		0x1e4
367f126890aSEmmanuel Vadot				MX53_PAD_SD1_CLK__ESDHC1_CLK		0x1e4
368f126890aSEmmanuel Vadot				MX53_PAD_GPIO_1__GPIO1_1		0x1c4
369f126890aSEmmanuel Vadot				MX53_PAD_GPIO_9__GPIO1_9		0x1e4
370f126890aSEmmanuel Vadot			>;
371f126890aSEmmanuel Vadot		};
372f126890aSEmmanuel Vadot
373f126890aSEmmanuel Vadot		pinctrl_fec: fecgrp {
374f126890aSEmmanuel Vadot			fsl,pins = <
375f126890aSEmmanuel Vadot				MX53_PAD_FEC_MDC__FEC_MDC		0x1e4
376f126890aSEmmanuel Vadot				MX53_PAD_FEC_MDIO__FEC_MDIO		0x1e4
377f126890aSEmmanuel Vadot				MX53_PAD_FEC_REF_CLK__FEC_TX_CLK	0x1e4
378f126890aSEmmanuel Vadot				MX53_PAD_FEC_RX_ER__FEC_RX_ER		0x1e4
379f126890aSEmmanuel Vadot				MX53_PAD_FEC_CRS_DV__FEC_RX_DV		0x1e4
380f126890aSEmmanuel Vadot				MX53_PAD_FEC_RXD1__FEC_RDATA_1		0x1e4
381f126890aSEmmanuel Vadot				MX53_PAD_FEC_RXD0__FEC_RDATA_0		0x1e4
382f126890aSEmmanuel Vadot				MX53_PAD_FEC_TX_EN__FEC_TX_EN		0x1c4
383f126890aSEmmanuel Vadot				MX53_PAD_FEC_TXD1__FEC_TDATA_1		0x1e4
384f126890aSEmmanuel Vadot				MX53_PAD_FEC_TXD0__FEC_TDATA_0		0x1e4
385f126890aSEmmanuel Vadot				MX53_PAD_PATA_DA_1__GPIO7_7		0x1e4
386f126890aSEmmanuel Vadot				MX53_PAD_EIM_EB3__GPIO2_31		0x1e4
387f126890aSEmmanuel Vadot			>;
388f126890aSEmmanuel Vadot		};
389f126890aSEmmanuel Vadot
390f126890aSEmmanuel Vadot		pinctrl_i2c1: i2c1grp {
391f126890aSEmmanuel Vadot			fsl,pins = <
392f126890aSEmmanuel Vadot				MX53_PAD_EIM_D21__I2C1_SCL		0x400001e4
393f126890aSEmmanuel Vadot				MX53_PAD_EIM_D28__I2C1_SDA		0x400001e4
394f126890aSEmmanuel Vadot			>;
395f126890aSEmmanuel Vadot		};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot		pinctrl_i2c3: i2c3grp {
398f126890aSEmmanuel Vadot			fsl,pins = <
399f126890aSEmmanuel Vadot				MX53_PAD_GPIO_6__I2C3_SDA		0x400001e4
400f126890aSEmmanuel Vadot				MX53_PAD_GPIO_5__I2C3_SCL		0x400001e4
401f126890aSEmmanuel Vadot			>;
402f126890aSEmmanuel Vadot		};
403f126890aSEmmanuel Vadot
404f126890aSEmmanuel Vadot		pinctrl_lvds0: lvds0grp {
405f126890aSEmmanuel Vadot			/* LVDS pins only have pin mux configuration */
406f126890aSEmmanuel Vadot			fsl,pins = <
407f126890aSEmmanuel Vadot				MX53_PAD_LVDS0_CLK_P__LDB_LVDS0_CLK	0x80000000
408f126890aSEmmanuel Vadot				MX53_PAD_LVDS0_TX0_P__LDB_LVDS0_TX0	0x80000000
409f126890aSEmmanuel Vadot				MX53_PAD_LVDS0_TX1_P__LDB_LVDS0_TX1	0x80000000
410f126890aSEmmanuel Vadot				MX53_PAD_LVDS0_TX2_P__LDB_LVDS0_TX2	0x80000000
411f126890aSEmmanuel Vadot				MX53_PAD_LVDS0_TX3_P__LDB_LVDS0_TX3	0x80000000
412f126890aSEmmanuel Vadot			>;
413f126890aSEmmanuel Vadot		};
414f126890aSEmmanuel Vadot
415f126890aSEmmanuel Vadot		pinctrl_power_button: powerbutgrp {
416f126890aSEmmanuel Vadot			fsl,pins = <
417f126890aSEmmanuel Vadot				MX53_PAD_SD2_DATA0__GPIO1_15		0x1e4
418f126890aSEmmanuel Vadot			>;
419f126890aSEmmanuel Vadot		};
420f126890aSEmmanuel Vadot
421f126890aSEmmanuel Vadot		pinctrl_power_out: poweroutgrp {
422f126890aSEmmanuel Vadot			fsl,pins = <
423f126890aSEmmanuel Vadot				MX53_PAD_SD2_DATA2__GPIO1_13		0x1e4
424f126890aSEmmanuel Vadot			>;
425f126890aSEmmanuel Vadot		};
426f126890aSEmmanuel Vadot
427f126890aSEmmanuel Vadot		pinctrl_uart1: uart1grp {
428f126890aSEmmanuel Vadot			fsl,pins = <
429f126890aSEmmanuel Vadot				MX53_PAD_PATA_DIOW__UART1_TXD_MUX	0x1e4
430f126890aSEmmanuel Vadot				MX53_PAD_PATA_DMACK__UART1_RXD_MUX	0x1e4
431f126890aSEmmanuel Vadot				MX53_PAD_PATA_IORDY__UART1_RTS		0x1e4
432f126890aSEmmanuel Vadot				MX53_PAD_PATA_RESET_B__UART1_CTS	0x1e4
433f126890aSEmmanuel Vadot			>;
434f126890aSEmmanuel Vadot		};
435f126890aSEmmanuel Vadot
436f126890aSEmmanuel Vadot		pinctrl_uart2: uart2grp {
437f126890aSEmmanuel Vadot			fsl,pins = <
438f126890aSEmmanuel Vadot				MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX	0x1e4
439f126890aSEmmanuel Vadot				MX53_PAD_PATA_DMARQ__UART2_TXD_MUX	0x1e4
440f126890aSEmmanuel Vadot				MX53_PAD_PATA_DIOR__UART2_RTS		0x1e4
441f126890aSEmmanuel Vadot				MX53_PAD_PATA_INTRQ__UART2_CTS		0x1e4
442f126890aSEmmanuel Vadot			>;
443f126890aSEmmanuel Vadot		};
444f126890aSEmmanuel Vadot
445f126890aSEmmanuel Vadot		pinctrl_uart3: uart3grp {
446f126890aSEmmanuel Vadot			fsl,pins = <
447f126890aSEmmanuel Vadot				MX53_PAD_PATA_CS_1__UART3_RXD_MUX	0x1e4
448f126890aSEmmanuel Vadot				MX53_PAD_PATA_CS_0__UART3_TXD_MUX	0x1e4
449f126890aSEmmanuel Vadot				MX53_PAD_PATA_DA_2__UART3_RTS		0x1e4
450f126890aSEmmanuel Vadot			>;
451f126890aSEmmanuel Vadot		};
452f126890aSEmmanuel Vadot
453f126890aSEmmanuel Vadot		pinctrl_usb: usbgrp {
454f126890aSEmmanuel Vadot			fsl,pins = <
455f126890aSEmmanuel Vadot				MX53_PAD_GPIO_2__GPIO1_2		0x1c4
456f126890aSEmmanuel Vadot				MX53_PAD_GPIO_3__USBOH3_USBH1_OC	0x1c4
457f126890aSEmmanuel Vadot				MX53_PAD_GPIO_4__GPIO1_4		0x1c4
458f126890aSEmmanuel Vadot				MX53_PAD_GPIO_18__GPIO7_13		0x1c4
459f126890aSEmmanuel Vadot			>;
460f126890aSEmmanuel Vadot		};
461f126890aSEmmanuel Vadot	};
462f126890aSEmmanuel Vadot};
463f126890aSEmmanuel Vadot
464f126890aSEmmanuel Vadot&ldb {
465f126890aSEmmanuel Vadot	pinctrl-names = "default";
466f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_lvds0>;
467f126890aSEmmanuel Vadot	status = "okay";
468f126890aSEmmanuel Vadot
469f126890aSEmmanuel Vadot	lvds0: lvds-channel@0 {
470f126890aSEmmanuel Vadot		reg = <0>;
471f126890aSEmmanuel Vadot		fsl,data-mapping = "spwg";
472f126890aSEmmanuel Vadot		fsl,data-width = <18>;
473f126890aSEmmanuel Vadot		status = "okay";
474f126890aSEmmanuel Vadot
475f126890aSEmmanuel Vadot		port@2 {
476f126890aSEmmanuel Vadot			reg = <2>;
477f126890aSEmmanuel Vadot
478f126890aSEmmanuel Vadot			lvds0_out: endpoint {
479f126890aSEmmanuel Vadot				remote-endpoint = <&lvds_decoder_in>;
480f126890aSEmmanuel Vadot			};
481f126890aSEmmanuel Vadot		};
482f126890aSEmmanuel Vadot	};
483f126890aSEmmanuel Vadot};
484f126890aSEmmanuel Vadot
485f126890aSEmmanuel Vadot&uart1 {
486f126890aSEmmanuel Vadot	pinctrl-names = "default";
487f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
488f126890aSEmmanuel Vadot	uart-has-rtscts;
489f126890aSEmmanuel Vadot	status = "okay";
490f126890aSEmmanuel Vadot};
491f126890aSEmmanuel Vadot
492f126890aSEmmanuel Vadot&uart2 {
493f126890aSEmmanuel Vadot	pinctrl-names = "default";
494f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
495f126890aSEmmanuel Vadot	uart-has-rtscts;
496f126890aSEmmanuel Vadot	status = "okay";
497f126890aSEmmanuel Vadot};
498f126890aSEmmanuel Vadot
499f126890aSEmmanuel Vadot&uart3 {
500f126890aSEmmanuel Vadot	pinctrl-names = "default";
501f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
502f126890aSEmmanuel Vadot	linux,rs485-enabled-at-boot-time;
503f126890aSEmmanuel Vadot	status = "okay";
504f126890aSEmmanuel Vadot};
505f126890aSEmmanuel Vadot
506f126890aSEmmanuel Vadot&usbh1 {
507f126890aSEmmanuel Vadot	pinctrl-names = "default";
508f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usb>;
509f126890aSEmmanuel Vadot	vbus-supply = <&reg_usbh1_vbus>;
510f126890aSEmmanuel Vadot	phy_type = "utmi";
511f126890aSEmmanuel Vadot	dr_mode = "host";
512f126890aSEmmanuel Vadot	status = "okay";
513f126890aSEmmanuel Vadot};
514f126890aSEmmanuel Vadot
515f126890aSEmmanuel Vadot&usbotg {
516f126890aSEmmanuel Vadot	dr_mode = "peripheral";
517f126890aSEmmanuel Vadot	status = "okay";
518f126890aSEmmanuel Vadot};
519