xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6q-gw5400-a.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2013 Gateworks Corporation
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
8f126890aSEmmanuel Vadot#include "imx6q.dtsi"
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot/ {
11f126890aSEmmanuel Vadot	model = "Gateworks Ventana GW5400-A";
12f126890aSEmmanuel Vadot	compatible = "gw,imx6q-gw5400-a", "gw,ventana", "fsl,imx6q";
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	/* these are used by bootloader for disabling nodes */
15f126890aSEmmanuel Vadot	aliases {
16f126890aSEmmanuel Vadot		i2c0 = &i2c1;
17f126890aSEmmanuel Vadot		i2c1 = &i2c2;
18f126890aSEmmanuel Vadot		i2c2 = &i2c3;
19f126890aSEmmanuel Vadot		led0 = &led0;
20f126890aSEmmanuel Vadot		led1 = &led1;
21f126890aSEmmanuel Vadot		led2 = &led2;
22f126890aSEmmanuel Vadot		ssi0 = &ssi1;
23f126890aSEmmanuel Vadot		spi0 = &ecspi1;
24f126890aSEmmanuel Vadot		usb0 = &usbh1;
25f126890aSEmmanuel Vadot		usb1 = &usbotg;
26f126890aSEmmanuel Vadot	};
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot	chosen {
29f126890aSEmmanuel Vadot		bootargs = "console=ttymxc1,115200";
30f126890aSEmmanuel Vadot	};
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot	leds {
33f126890aSEmmanuel Vadot		compatible = "gpio-leds";
34f126890aSEmmanuel Vadot		pinctrl-names = "default";
35f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_leds>;
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot		led0: led-user1 {
38f126890aSEmmanuel Vadot			label = "user1";
39f126890aSEmmanuel Vadot			gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 -> MX6_PANLEDG */
40f126890aSEmmanuel Vadot			default-state = "on";
41f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
42f126890aSEmmanuel Vadot		};
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot		led1: led-user2 {
45f126890aSEmmanuel Vadot			label = "user2";
46f126890aSEmmanuel Vadot			gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; /* 106 -> MX6_PANLEDR */
47f126890aSEmmanuel Vadot			default-state = "off";
48f126890aSEmmanuel Vadot		};
49f126890aSEmmanuel Vadot
50f126890aSEmmanuel Vadot		led2: led-user3 {
51f126890aSEmmanuel Vadot			label = "user3";
52f126890aSEmmanuel Vadot			gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* 111 -> MX6_LOCLED# */
53f126890aSEmmanuel Vadot			default-state = "off";
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot	};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot	memory@10000000 {
58f126890aSEmmanuel Vadot		device_type = "memory";
59f126890aSEmmanuel Vadot		reg = <0x10000000 0x40000000>;
60f126890aSEmmanuel Vadot	};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot	pps {
63f126890aSEmmanuel Vadot		compatible = "pps-gpio";
64f126890aSEmmanuel Vadot		pinctrl-names = "default";
65f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_leds>;
66f126890aSEmmanuel Vadot		gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
67f126890aSEmmanuel Vadot		status = "okay";
68f126890aSEmmanuel Vadot	};
69f126890aSEmmanuel Vadot
70*aa1a8ff2SEmmanuel Vadot	reg_1p0v: regulator-1p0v {
71f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
72f126890aSEmmanuel Vadot		regulator-name = "1P0V";
73f126890aSEmmanuel Vadot		regulator-min-microvolt = <1000000>;
74f126890aSEmmanuel Vadot		regulator-max-microvolt = <1000000>;
75f126890aSEmmanuel Vadot		regulator-always-on;
76f126890aSEmmanuel Vadot	};
77f126890aSEmmanuel Vadot
78*aa1a8ff2SEmmanuel Vadot	reg_3p3v: regulator-3p3v {
79f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
80f126890aSEmmanuel Vadot		regulator-name = "3P3V";
81f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
82f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
83f126890aSEmmanuel Vadot		regulator-always-on;
84f126890aSEmmanuel Vadot	};
85f126890aSEmmanuel Vadot
86*aa1a8ff2SEmmanuel Vadot	reg_usb_h1_vbus: regulator-usb-h1-vbus {
87f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
88f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
89f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
90f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
91f126890aSEmmanuel Vadot		regulator-always-on;
92f126890aSEmmanuel Vadot	};
93f126890aSEmmanuel Vadot
94*aa1a8ff2SEmmanuel Vadot	reg_usb_otg_vbus: regulator-usb-otg-vbus {
95f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
96f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
97f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
98f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
99f126890aSEmmanuel Vadot		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
100f126890aSEmmanuel Vadot		enable-active-high;
101f126890aSEmmanuel Vadot	};
102f126890aSEmmanuel Vadot
103f126890aSEmmanuel Vadot	sound {
104f126890aSEmmanuel Vadot		compatible = "fsl,imx6q-ventana-sgtl5000",
105f126890aSEmmanuel Vadot			     "fsl,imx-audio-sgtl5000";
106f126890aSEmmanuel Vadot		model = "sgtl5000-audio";
107f126890aSEmmanuel Vadot		ssi-controller = <&ssi1>;
108f126890aSEmmanuel Vadot		audio-codec = <&codec>;
109f126890aSEmmanuel Vadot		audio-routing =
110f126890aSEmmanuel Vadot			"MIC_IN", "Mic Jack",
111f126890aSEmmanuel Vadot			"Mic Jack", "Mic Bias",
112f126890aSEmmanuel Vadot			"Headphone Jack", "HP_OUT";
113f126890aSEmmanuel Vadot		mux-int-port = <1>;
114f126890aSEmmanuel Vadot		mux-ext-port = <4>;
115f126890aSEmmanuel Vadot	};
116f126890aSEmmanuel Vadot};
117f126890aSEmmanuel Vadot
118f126890aSEmmanuel Vadot&audmux {
119f126890aSEmmanuel Vadot	pinctrl-names = "default";
120f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_audmux>;
121f126890aSEmmanuel Vadot	status = "okay";
122f126890aSEmmanuel Vadot};
123f126890aSEmmanuel Vadot
124f126890aSEmmanuel Vadot&ecspi1 {
125f126890aSEmmanuel Vadot	cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
126f126890aSEmmanuel Vadot	pinctrl-names = "default";
127f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
128f126890aSEmmanuel Vadot	status = "okay";
129f126890aSEmmanuel Vadot
130f126890aSEmmanuel Vadot	flash: flash@0 {
131f126890aSEmmanuel Vadot		compatible = "sst,w25q256", "jedec,spi-nor";
132f126890aSEmmanuel Vadot		spi-max-frequency = <30000000>;
133f126890aSEmmanuel Vadot		reg = <0>;
134f126890aSEmmanuel Vadot	};
135f126890aSEmmanuel Vadot};
136f126890aSEmmanuel Vadot
137f126890aSEmmanuel Vadot&fec {
138f126890aSEmmanuel Vadot	pinctrl-names = "default";
139f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
140f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
141f126890aSEmmanuel Vadot	phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
142f126890aSEmmanuel Vadot	status = "okay";
143f126890aSEmmanuel Vadot};
144f126890aSEmmanuel Vadot
145f126890aSEmmanuel Vadot&hdmi {
146f126890aSEmmanuel Vadot	ddc-i2c-bus = <&i2c3>;
147f126890aSEmmanuel Vadot	status = "okay";
148f126890aSEmmanuel Vadot};
149f126890aSEmmanuel Vadot
150f126890aSEmmanuel Vadot&i2c1 {
151f126890aSEmmanuel Vadot	clock-frequency = <100000>;
152f126890aSEmmanuel Vadot	pinctrl-names = "default";
153f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
154f126890aSEmmanuel Vadot	status = "okay";
155f126890aSEmmanuel Vadot
156f126890aSEmmanuel Vadot	eeprom1: eeprom@50 {
157f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
158f126890aSEmmanuel Vadot		reg = <0x50>;
159f126890aSEmmanuel Vadot		pagesize = <16>;
160f126890aSEmmanuel Vadot	};
161f126890aSEmmanuel Vadot
162f126890aSEmmanuel Vadot	eeprom2: eeprom@51 {
163f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
164f126890aSEmmanuel Vadot		reg = <0x51>;
165f126890aSEmmanuel Vadot		pagesize = <16>;
166f126890aSEmmanuel Vadot	};
167f126890aSEmmanuel Vadot
168f126890aSEmmanuel Vadot	eeprom3: eeprom@52 {
169f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
170f126890aSEmmanuel Vadot		reg = <0x52>;
171f126890aSEmmanuel Vadot		pagesize = <16>;
172f126890aSEmmanuel Vadot	};
173f126890aSEmmanuel Vadot
174f126890aSEmmanuel Vadot	eeprom4: eeprom@53 {
175f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
176f126890aSEmmanuel Vadot		reg = <0x53>;
177f126890aSEmmanuel Vadot		pagesize = <16>;
178f126890aSEmmanuel Vadot	};
179f126890aSEmmanuel Vadot
180f126890aSEmmanuel Vadot	gpio: pca9555@23 {
181f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
182f126890aSEmmanuel Vadot		reg = <0x23>;
183f126890aSEmmanuel Vadot		gpio-controller;
184f126890aSEmmanuel Vadot		#gpio-cells = <2>;
185f126890aSEmmanuel Vadot	};
186f126890aSEmmanuel Vadot
187f126890aSEmmanuel Vadot	rtc: ds1672@68 {
188f126890aSEmmanuel Vadot		compatible = "dallas,ds1672";
189f126890aSEmmanuel Vadot		reg = <0x68>;
190f126890aSEmmanuel Vadot	};
191f126890aSEmmanuel Vadot};
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot&i2c2 {
194f126890aSEmmanuel Vadot	clock-frequency = <100000>;
195f126890aSEmmanuel Vadot	pinctrl-names = "default";
196f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
197f126890aSEmmanuel Vadot	status = "okay";
198f126890aSEmmanuel Vadot
199f126890aSEmmanuel Vadot	pmic: pmic@8 {
200f126890aSEmmanuel Vadot		compatible = "fsl,pfuze100";
201f126890aSEmmanuel Vadot		reg = <0x08>;
202f126890aSEmmanuel Vadot
203f126890aSEmmanuel Vadot		regulators {
204f126890aSEmmanuel Vadot			sw1a_reg: sw1ab {
205f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
206f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
207f126890aSEmmanuel Vadot				regulator-boot-on;
208f126890aSEmmanuel Vadot				regulator-always-on;
209f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
210f126890aSEmmanuel Vadot			};
211f126890aSEmmanuel Vadot
212f126890aSEmmanuel Vadot			sw1c_reg: sw1c {
213f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
214f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
215f126890aSEmmanuel Vadot				regulator-boot-on;
216f126890aSEmmanuel Vadot				regulator-always-on;
217f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
218f126890aSEmmanuel Vadot			};
219f126890aSEmmanuel Vadot
220f126890aSEmmanuel Vadot			sw2_reg: sw2 {
221f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
222f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
223f126890aSEmmanuel Vadot				regulator-boot-on;
224f126890aSEmmanuel Vadot				regulator-always-on;
225f126890aSEmmanuel Vadot			};
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot			sw3a_reg: sw3a {
228f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
229f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
230f126890aSEmmanuel Vadot				regulator-boot-on;
231f126890aSEmmanuel Vadot				regulator-always-on;
232f126890aSEmmanuel Vadot			};
233f126890aSEmmanuel Vadot
234f126890aSEmmanuel Vadot			sw3b_reg: sw3b {
235f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
236f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
237f126890aSEmmanuel Vadot				regulator-boot-on;
238f126890aSEmmanuel Vadot				regulator-always-on;
239f126890aSEmmanuel Vadot			};
240f126890aSEmmanuel Vadot
241f126890aSEmmanuel Vadot			sw4_reg: sw4 {
242f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
243f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
244f126890aSEmmanuel Vadot			};
245f126890aSEmmanuel Vadot
246f126890aSEmmanuel Vadot			swbst_reg: swbst {
247f126890aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
248f126890aSEmmanuel Vadot				regulator-max-microvolt = <5150000>;
249f126890aSEmmanuel Vadot			};
250f126890aSEmmanuel Vadot
251f126890aSEmmanuel Vadot			snvs_reg: vsnvs {
252f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
253f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
254f126890aSEmmanuel Vadot				regulator-boot-on;
255f126890aSEmmanuel Vadot				regulator-always-on;
256f126890aSEmmanuel Vadot			};
257f126890aSEmmanuel Vadot
258f126890aSEmmanuel Vadot			vref_reg: vrefddr {
259f126890aSEmmanuel Vadot				regulator-boot-on;
260f126890aSEmmanuel Vadot				regulator-always-on;
261f126890aSEmmanuel Vadot			};
262f126890aSEmmanuel Vadot
263f126890aSEmmanuel Vadot			vgen1_reg: vgen1 {
264f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
265f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
266f126890aSEmmanuel Vadot			};
267f126890aSEmmanuel Vadot
268f126890aSEmmanuel Vadot			vgen2_reg: vgen2 {
269f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
270f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
271f126890aSEmmanuel Vadot			};
272f126890aSEmmanuel Vadot
273f126890aSEmmanuel Vadot			vgen3_reg: vgen3 {
274f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
275f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
276f126890aSEmmanuel Vadot			};
277f126890aSEmmanuel Vadot
278f126890aSEmmanuel Vadot			vgen4_reg: vgen4 {
279f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
280f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
281f126890aSEmmanuel Vadot				regulator-always-on;
282f126890aSEmmanuel Vadot			};
283f126890aSEmmanuel Vadot
284f126890aSEmmanuel Vadot			vgen5_reg: vgen5 {
285f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
286f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
287f126890aSEmmanuel Vadot				regulator-always-on;
288f126890aSEmmanuel Vadot			};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot			vgen6_reg: vgen6 {
291f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
292f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
293f126890aSEmmanuel Vadot				regulator-always-on;
294f126890aSEmmanuel Vadot			};
295f126890aSEmmanuel Vadot		};
296f126890aSEmmanuel Vadot	};
297f126890aSEmmanuel Vadot};
298f126890aSEmmanuel Vadot
299f126890aSEmmanuel Vadot&i2c3 {
300f126890aSEmmanuel Vadot	clock-frequency = <100000>;
301f126890aSEmmanuel Vadot	pinctrl-names = "default";
302f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
303f126890aSEmmanuel Vadot	status = "okay";
304f126890aSEmmanuel Vadot
305f126890aSEmmanuel Vadot	accelerometer: mma8450@1c {
306f126890aSEmmanuel Vadot		compatible = "fsl,mma8450";
307f126890aSEmmanuel Vadot		reg = <0x1c>;
308f126890aSEmmanuel Vadot	};
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot	codec: sgtl5000@a {
311f126890aSEmmanuel Vadot		compatible = "fsl,sgtl5000";
312f126890aSEmmanuel Vadot		reg = <0x0a>;
313*aa1a8ff2SEmmanuel Vadot		#sound-dai-cells = <0>;
314f126890aSEmmanuel Vadot		clocks = <&clks IMX6QDL_CLK_CKO>;
315f126890aSEmmanuel Vadot		VDDA-supply = <&sw4_reg>;
316f126890aSEmmanuel Vadot		VDDIO-supply = <&reg_3p3v>;
317f126890aSEmmanuel Vadot	};
318f126890aSEmmanuel Vadot
319f126890aSEmmanuel Vadot	touchscreen: egalax_ts@4 {
320f126890aSEmmanuel Vadot		compatible = "eeti,egalax_ts";
321f126890aSEmmanuel Vadot		reg = <0x04>;
322f126890aSEmmanuel Vadot		interrupt-parent = <&gpio7>;
323f126890aSEmmanuel Vadot		interrupts = <12 2>;
324f126890aSEmmanuel Vadot		wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
325f126890aSEmmanuel Vadot	};
326f126890aSEmmanuel Vadot};
327f126890aSEmmanuel Vadot
328f126890aSEmmanuel Vadot&ldb {
329f126890aSEmmanuel Vadot	status = "okay";
330f126890aSEmmanuel Vadot};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot&pcie {
333f126890aSEmmanuel Vadot	reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>;
334f126890aSEmmanuel Vadot	status = "okay";
335f126890aSEmmanuel Vadot};
336f126890aSEmmanuel Vadot
337f126890aSEmmanuel Vadot&ssi1 {
338f126890aSEmmanuel Vadot	status = "okay";
339f126890aSEmmanuel Vadot};
340f126890aSEmmanuel Vadot
341f126890aSEmmanuel Vadot&uart1 {
342f126890aSEmmanuel Vadot	pinctrl-names = "default";
343f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
344f126890aSEmmanuel Vadot	status = "okay";
345f126890aSEmmanuel Vadot};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot&uart2 {
348f126890aSEmmanuel Vadot	pinctrl-names = "default";
349f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
350f126890aSEmmanuel Vadot	status = "okay";
351f126890aSEmmanuel Vadot};
352f126890aSEmmanuel Vadot
353f126890aSEmmanuel Vadot&uart5 {
354f126890aSEmmanuel Vadot	pinctrl-names = "default";
355f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart5>;
356f126890aSEmmanuel Vadot	status = "okay";
357f126890aSEmmanuel Vadot};
358f126890aSEmmanuel Vadot
359f126890aSEmmanuel Vadot&usbotg {
360f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
361f126890aSEmmanuel Vadot	pinctrl-names = "default";
362f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
363f126890aSEmmanuel Vadot	disable-over-current;
364f126890aSEmmanuel Vadot	status = "okay";
365f126890aSEmmanuel Vadot};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot&usbh1 {
368f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
369f126890aSEmmanuel Vadot	status = "okay";
370f126890aSEmmanuel Vadot};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot&usdhc3 {
373f126890aSEmmanuel Vadot	pinctrl-names = "default";
374f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
375f126890aSEmmanuel Vadot	cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
376f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
377f126890aSEmmanuel Vadot	status = "okay";
378f126890aSEmmanuel Vadot};
379f126890aSEmmanuel Vadot
380f126890aSEmmanuel Vadot&iomuxc {
381f126890aSEmmanuel Vadot	pinctrl_audmux: audmuxgrp {
382f126890aSEmmanuel Vadot		fsl,pins = <
383f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__AUD4_RXD		0x130b0
384f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__AUD4_TXC		0x130b0
385f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__AUD4_TXD		0x110b0
386f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__AUD4_TXFS		0x130b0
387f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_0__CCM_CLKO1		0x130b0 /* AUD4_MCK */
388f126890aSEmmanuel Vadot		>;
389f126890aSEmmanuel Vadot	};
390f126890aSEmmanuel Vadot
391f126890aSEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
392f126890aSEmmanuel Vadot		fsl,pins = <
393f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D17__ECSPI1_MISO		0x100b1
394f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D18__ECSPI1_MOSI		0x100b1
395f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D16__ECSPI1_SCLK		0x100b1
396f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D19__GPIO3_IO19		0x1b0b0 /* SPINOR_CS0# */
397f126890aSEmmanuel Vadot		>;
398f126890aSEmmanuel Vadot	};
399f126890aSEmmanuel Vadot
400f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
401f126890aSEmmanuel Vadot		fsl,pins = <
402f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
403f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
404f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
405f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
406f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
407f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
408f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
409f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
410f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
411f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
412f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
413f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
414f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
415f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
416f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
417f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x4001b0a8
418f126890aSEmmanuel Vadot		>;
419f126890aSEmmanuel Vadot	};
420f126890aSEmmanuel Vadot
421f126890aSEmmanuel Vadot	pinctrl_gpio_leds: gpioledsgrp {
422f126890aSEmmanuel Vadot		fsl,pins = <
423f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL0__GPIO4_IO06		0x1b0b0 /* user1 led */
424f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL2__GPIO4_IO10		0x1b0b0 /* user2 led */
425f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15		0x1b0b0 /* user3 led */
426f126890aSEmmanuel Vadot		>;
427f126890aSEmmanuel Vadot	};
428f126890aSEmmanuel Vadot
429f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
430f126890aSEmmanuel Vadot		fsl,pins = <
431f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
432f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
433f126890aSEmmanuel Vadot		>;
434f126890aSEmmanuel Vadot	};
435f126890aSEmmanuel Vadot
436f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
437f126890aSEmmanuel Vadot		fsl,pins = <
438f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
439f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
440f126890aSEmmanuel Vadot		>;
441f126890aSEmmanuel Vadot	};
442f126890aSEmmanuel Vadot
443f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
444f126890aSEmmanuel Vadot		fsl,pins = <
445f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL		0x4001b8b1
446f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
447f126890aSEmmanuel Vadot		>;
448f126890aSEmmanuel Vadot	};
449f126890aSEmmanuel Vadot
450f126890aSEmmanuel Vadot	pinctrl_pcie: pciegrp {
451f126890aSEmmanuel Vadot		fsl,pins = <
452f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28	0x1b0b0 /* PCIE IRQ */
453f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__GPIO1_IO29	0x1b0b0 /* PCIE RST */
454f126890aSEmmanuel Vadot		>;
455f126890aSEmmanuel Vadot	};
456f126890aSEmmanuel Vadot
457f126890aSEmmanuel Vadot	pinctrl_pps: ppsgrp {
458f126890aSEmmanuel Vadot		fsl,pins = <
459f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_5__GPIO1_IO05		0x1b0b0 /* GPS_PPS */
460f126890aSEmmanuel Vadot		>;
461f126890aSEmmanuel Vadot	};
462f126890aSEmmanuel Vadot
463f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
464f126890aSEmmanuel Vadot		fsl,pins = <
465f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA	0x1b0b1
466f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA	0x1b0b1
467f126890aSEmmanuel Vadot		>;
468f126890aSEmmanuel Vadot	};
469f126890aSEmmanuel Vadot
470f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
471f126890aSEmmanuel Vadot		fsl,pins = <
472f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA	0x1b0b1
473f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA	0x1b0b1
474f126890aSEmmanuel Vadot		>;
475f126890aSEmmanuel Vadot	};
476f126890aSEmmanuel Vadot
477f126890aSEmmanuel Vadot	pinctrl_uart5: uart5grp {
478f126890aSEmmanuel Vadot		fsl,pins = <
479f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL1__UART5_TX_DATA	0x1b0b1
480f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA	0x1b0b1
481f126890aSEmmanuel Vadot		>;
482f126890aSEmmanuel Vadot	};
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
485f126890aSEmmanuel Vadot		fsl,pins = <
486f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__USB_OTG_ID		0x17059
487f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D22__GPIO3_IO22		0x1b0b0 /* OTG_PWR_EN */
488f126890aSEmmanuel Vadot		>;
489f126890aSEmmanuel Vadot	};
490f126890aSEmmanuel Vadot
491f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
492f126890aSEmmanuel Vadot		fsl,pins = <
493f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
494f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
495f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
496f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
497f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
498f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
499f126890aSEmmanuel Vadot		>;
500f126890aSEmmanuel Vadot	};
501f126890aSEmmanuel Vadot};
502