xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-skov-cpu.dtsi (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2f126890aSEmmanuel Vadot//
3f126890aSEmmanuel Vadot// Copyright (C) 2020 Pengutronix, Ulrich Oelmann <kernel@pengutronix.de>
4f126890aSEmmanuel Vadot
5f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
6f126890aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot/ {
9f126890aSEmmanuel Vadot	chosen {
10f126890aSEmmanuel Vadot		stdout-path = &uart2;
11f126890aSEmmanuel Vadot	};
12f126890aSEmmanuel Vadot
13f126890aSEmmanuel Vadot	aliases {
14f126890aSEmmanuel Vadot		can0 = &can1;
15f126890aSEmmanuel Vadot		can1 = &can2;
16*01950c46SEmmanuel Vadot		ethernet0 = &fec;
17*01950c46SEmmanuel Vadot		ethernet1 = &lan1;
18*01950c46SEmmanuel Vadot		ethernet2 = &lan2;
19f126890aSEmmanuel Vadot		mdio-gpio0 = &mdio;
20f126890aSEmmanuel Vadot		nand = &gpmi;
21f126890aSEmmanuel Vadot		rtc0 = &i2c_rtc;
22f126890aSEmmanuel Vadot		rtc1 = &snvs;
23*01950c46SEmmanuel Vadot		switch0 = &switch;
24f126890aSEmmanuel Vadot		usb0 = &usbh1;
25f126890aSEmmanuel Vadot		usb1 = &usbotg;
26f126890aSEmmanuel Vadot	};
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot	iio-hwmon {
29f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
30f126890aSEmmanuel Vadot		io-channels = <&adc 0>, /* 24V */
31f126890aSEmmanuel Vadot		              <&adc 1>; /* temperature */
32f126890aSEmmanuel Vadot	};
33f126890aSEmmanuel Vadot
34f126890aSEmmanuel Vadot	leds {
35f126890aSEmmanuel Vadot		compatible = "gpio-leds";
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot		led-0 {
38f126890aSEmmanuel Vadot			label = "D1";
39f126890aSEmmanuel Vadot			gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
40f126890aSEmmanuel Vadot			function = LED_FUNCTION_STATUS;
41f126890aSEmmanuel Vadot			default-state = "on";
42f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
43f126890aSEmmanuel Vadot		};
44f126890aSEmmanuel Vadot
45f126890aSEmmanuel Vadot		led-1 {
46f126890aSEmmanuel Vadot			label = "D2";
47f126890aSEmmanuel Vadot			gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
48f126890aSEmmanuel Vadot			default-state = "off";
49f126890aSEmmanuel Vadot		};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		led-2 {
52f126890aSEmmanuel Vadot			label = "D3";
53f126890aSEmmanuel Vadot			gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
54f126890aSEmmanuel Vadot			default-state = "on";
55f126890aSEmmanuel Vadot		};
56f126890aSEmmanuel Vadot	};
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot	mdio: mdio {
59f126890aSEmmanuel Vadot		compatible = "microchip,mdio-smi0";
60f126890aSEmmanuel Vadot		pinctrl-names = "default";
61f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_mdio>;
62f126890aSEmmanuel Vadot		#address-cells = <1>;
63f126890aSEmmanuel Vadot		#size-cells = <0>;
64f126890aSEmmanuel Vadot		gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>,
65f126890aSEmmanuel Vadot			<&gpio1 22 GPIO_ACTIVE_HIGH>;
66f126890aSEmmanuel Vadot
67*01950c46SEmmanuel Vadot		switch: switch@0 {
68f126890aSEmmanuel Vadot			compatible = "microchip,ksz8873";
69f126890aSEmmanuel Vadot			pinctrl-names = "default";
70f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_switch>;
71f126890aSEmmanuel Vadot			interrupt-parent = <&gpio3>;
72f126890aSEmmanuel Vadot			interrupt = <30 IRQ_TYPE_LEVEL_HIGH>;
73f126890aSEmmanuel Vadot			reset-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
74f126890aSEmmanuel Vadot			reg = <0>;
75f126890aSEmmanuel Vadot
76f126890aSEmmanuel Vadot			ports {
77f126890aSEmmanuel Vadot				#address-cells = <1>;
78f126890aSEmmanuel Vadot				#size-cells = <0>;
79f126890aSEmmanuel Vadot
80*01950c46SEmmanuel Vadot				lan1: ports@0 {
81f126890aSEmmanuel Vadot					reg = <0>;
82f126890aSEmmanuel Vadot					phy-mode = "internal";
83f126890aSEmmanuel Vadot					label = "lan1";
84f126890aSEmmanuel Vadot				};
85f126890aSEmmanuel Vadot
86*01950c46SEmmanuel Vadot				lan2: ports@1 {
87f126890aSEmmanuel Vadot					reg = <1>;
88f126890aSEmmanuel Vadot					phy-mode = "internal";
89f126890aSEmmanuel Vadot					label = "lan2";
90f126890aSEmmanuel Vadot				};
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot				ports@2 {
93f126890aSEmmanuel Vadot					reg = <2>;
94f126890aSEmmanuel Vadot					label = "cpu";
95f126890aSEmmanuel Vadot					ethernet = <&fec>;
96f126890aSEmmanuel Vadot					phy-mode = "rmii";
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot					fixed-link {
99f126890aSEmmanuel Vadot						speed = <100>;
100f126890aSEmmanuel Vadot						full-duplex;
101f126890aSEmmanuel Vadot					};
102f126890aSEmmanuel Vadot				};
103f126890aSEmmanuel Vadot			};
104f126890aSEmmanuel Vadot		};
105f126890aSEmmanuel Vadot
106f126890aSEmmanuel Vadot	};
107f126890aSEmmanuel Vadot
108f126890aSEmmanuel Vadot	clk50m_phy: phy-clock {
109f126890aSEmmanuel Vadot		compatible = "fixed-clock";
110f126890aSEmmanuel Vadot		#clock-cells = <0>;
111f126890aSEmmanuel Vadot		clock-frequency = <50000000>;
112f126890aSEmmanuel Vadot		clock-output-names = "enet_ref_pad";
113f126890aSEmmanuel Vadot	};
114f126890aSEmmanuel Vadot
115f126890aSEmmanuel Vadot	reg_3v3: regulator-3v3 {
116f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
117f126890aSEmmanuel Vadot		vin-supply = <&reg_5v0>;
118f126890aSEmmanuel Vadot		regulator-name = "3v3";
119f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
120f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
121f126890aSEmmanuel Vadot	};
122f126890aSEmmanuel Vadot
123f126890aSEmmanuel Vadot	reg_5v0: regulator-5v0 {
124f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
125f126890aSEmmanuel Vadot		regulator-name = "5v0";
126f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
127f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
128f126890aSEmmanuel Vadot	};
129f126890aSEmmanuel Vadot
130f126890aSEmmanuel Vadot	reg_24v0: regulator-24v0 {
131f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
132f126890aSEmmanuel Vadot		regulator-name = "24v0";
133f126890aSEmmanuel Vadot		regulator-min-microvolt = <24000000>;
134f126890aSEmmanuel Vadot		regulator-max-microvolt = <24000000>;
135f126890aSEmmanuel Vadot	};
136f126890aSEmmanuel Vadot
137f126890aSEmmanuel Vadot	reg_can1_stby: regulator-can1-stby {
138f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
139f126890aSEmmanuel Vadot		pinctrl-names = "default";
140f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_can1_stby>;
141f126890aSEmmanuel Vadot		regulator-name = "can1-3v3";
142f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
143f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
144f126890aSEmmanuel Vadot		gpio = <&gpio3 31 GPIO_ACTIVE_LOW>;
145f126890aSEmmanuel Vadot	};
146f126890aSEmmanuel Vadot
147f126890aSEmmanuel Vadot	reg_can2_stby: regulator-can2-stby {
148f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
149f126890aSEmmanuel Vadot		pinctrl-names = "default";
150f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_can2_stby>;
151f126890aSEmmanuel Vadot		regulator-name = "can2-3v3";
152f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
153f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
154f126890aSEmmanuel Vadot		gpio = <&gpio4 11 GPIO_ACTIVE_LOW>;
155f126890aSEmmanuel Vadot	};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot	reg_tft_vcom: regulator-tft-vcom {
158f126890aSEmmanuel Vadot		compatible = "pwm-regulator";
159f126890aSEmmanuel Vadot		pwms = <&pwm3 0 20000 0>;
160f126890aSEmmanuel Vadot		regulator-name = "tft_vcom";
161f126890aSEmmanuel Vadot		regulator-min-microvolt = <3600000>;
162f126890aSEmmanuel Vadot		regulator-max-microvolt = <3600000>;
163f126890aSEmmanuel Vadot		regulator-always-on;
164f126890aSEmmanuel Vadot		voltage-table = <3600000 26>;
165f126890aSEmmanuel Vadot	};
166f126890aSEmmanuel Vadot
167f126890aSEmmanuel Vadot	reg_vcc_mmc: regulator-vcc-mmc {
168f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
169f126890aSEmmanuel Vadot		pinctrl-names = "default";
170f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_vcc_mmc>;
171f126890aSEmmanuel Vadot		vin-supply = <&reg_3v3>;
172f126890aSEmmanuel Vadot		regulator-name = "mmc_vcc_supply";
173f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
174f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
175f126890aSEmmanuel Vadot		regulator-always-on;
176f126890aSEmmanuel Vadot		regulator-boot-on;
177f126890aSEmmanuel Vadot		gpio = <&gpio7 8 GPIO_ACTIVE_HIGH>;
178f126890aSEmmanuel Vadot		enable-active-high;
179f126890aSEmmanuel Vadot		startup-delay-us = <100>;
180f126890aSEmmanuel Vadot	};
181f126890aSEmmanuel Vadot
182f126890aSEmmanuel Vadot	reg_vcc_mmc_io: regulator-vcc-mmc-io {
183f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
184f126890aSEmmanuel Vadot		pinctrl-names = "default";
185f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_vcc_mmc_io>;
186f126890aSEmmanuel Vadot		vin-supply = <&reg_5v0>;
187f126890aSEmmanuel Vadot		regulator-name = "mmc_io_supply";
188f126890aSEmmanuel Vadot		regulator-type = "voltage";
189f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
190f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
191f126890aSEmmanuel Vadot		gpios = <&gpio7 13 GPIO_ACTIVE_HIGH>;
192f126890aSEmmanuel Vadot		enable-active-high;
193f126890aSEmmanuel Vadot		states = <1800000 0x1>, <3300000 0x0>;
194f126890aSEmmanuel Vadot		startup-delay-us = <100>;
195f126890aSEmmanuel Vadot	};
196f126890aSEmmanuel Vadot};
197f126890aSEmmanuel Vadot
198f126890aSEmmanuel Vadot&can1 {
199f126890aSEmmanuel Vadot	pinctrl-names = "default";
200f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_can1>;
201f126890aSEmmanuel Vadot	xceiver-supply = <&reg_can1_stby>;
202f126890aSEmmanuel Vadot	status = "okay";
203f126890aSEmmanuel Vadot};
204f126890aSEmmanuel Vadot
205f126890aSEmmanuel Vadot&can2 {
206f126890aSEmmanuel Vadot	pinctrl-names = "default";
207f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_can2>;
208f126890aSEmmanuel Vadot	xceiver-supply = <&reg_can2_stby>;
209f126890aSEmmanuel Vadot	status = "okay";
210f126890aSEmmanuel Vadot};
211f126890aSEmmanuel Vadot
212f126890aSEmmanuel Vadot&ecspi1 {
213f126890aSEmmanuel Vadot	pinctrl-names = "default";
214f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
215f126890aSEmmanuel Vadot	cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
216f126890aSEmmanuel Vadot	status = "okay";
217f126890aSEmmanuel Vadot
218f126890aSEmmanuel Vadot	flash@0 {
219f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
220f126890aSEmmanuel Vadot		spi-max-frequency = <54000000>;
221f126890aSEmmanuel Vadot		reg = <0>;
222f126890aSEmmanuel Vadot	};
223f126890aSEmmanuel Vadot};
224f126890aSEmmanuel Vadot
225f126890aSEmmanuel Vadot&ecspi2 {
226f126890aSEmmanuel Vadot	pinctrl-names = "default";
227f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi2>;
228f126890aSEmmanuel Vadot	cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
229f126890aSEmmanuel Vadot	status = "okay";
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot	adc: adc@0 {
232f126890aSEmmanuel Vadot		compatible = "microchip,mcp3002";
233f126890aSEmmanuel Vadot		reg = <0>;
234f126890aSEmmanuel Vadot		vref-supply = <&reg_3v3>;
235f126890aSEmmanuel Vadot		spi-max-frequency = <1000000>;
236f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
237f126890aSEmmanuel Vadot	};
238f126890aSEmmanuel Vadot};
239f126890aSEmmanuel Vadot
240f126890aSEmmanuel Vadot&clks {
241f126890aSEmmanuel Vadot	clocks = <&clk50m_phy>;
242f126890aSEmmanuel Vadot	clock-names = "enet_ref_pad";
243f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX6QDL_CLK_ENET_REF_SEL>;
244f126890aSEmmanuel Vadot	assigned-clock-parents = <&clk50m_phy>;
245f126890aSEmmanuel Vadot};
246f126890aSEmmanuel Vadot
247f126890aSEmmanuel Vadot&fec {
248f126890aSEmmanuel Vadot	pinctrl-names = "default";
249f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
250f126890aSEmmanuel Vadot	phy-mode = "rmii";
251f126890aSEmmanuel Vadot	phy-supply = <&reg_3v3>;
252f126890aSEmmanuel Vadot	status = "okay";
253f126890aSEmmanuel Vadot
254f126890aSEmmanuel Vadot	fixed-link {
255f126890aSEmmanuel Vadot		speed = <100>;
256f126890aSEmmanuel Vadot		full-duplex;
257f126890aSEmmanuel Vadot	};
258f126890aSEmmanuel Vadot};
259f126890aSEmmanuel Vadot
260f126890aSEmmanuel Vadot&gpmi {
261f126890aSEmmanuel Vadot	pinctrl-names = "default";
262f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpmi_nand>;
263f126890aSEmmanuel Vadot	nand-on-flash-bbt;
264f126890aSEmmanuel Vadot	#address-cells = <1>;
265f126890aSEmmanuel Vadot	#size-cells = <0>;
266f126890aSEmmanuel Vadot	status = "okay";
267f126890aSEmmanuel Vadot};
268f126890aSEmmanuel Vadot
269f126890aSEmmanuel Vadot&i2c3 {
270f126890aSEmmanuel Vadot	pinctrl-names = "default";
271f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
272f126890aSEmmanuel Vadot	clock-frequency = <400000>;
273f126890aSEmmanuel Vadot	status = "okay";
274f126890aSEmmanuel Vadot
275f126890aSEmmanuel Vadot	i2c_rtc: rtc@51 {
276f126890aSEmmanuel Vadot		compatible = "nxp,pcf85063";
277f126890aSEmmanuel Vadot		reg = <0x51>;
278f126890aSEmmanuel Vadot		quartz-load-femtofarads = <12500>;
279f126890aSEmmanuel Vadot	};
280f126890aSEmmanuel Vadot};
281f126890aSEmmanuel Vadot
282f126890aSEmmanuel Vadot&pwm2 {
283f126890aSEmmanuel Vadot	pinctrl-names = "default";
284f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm2>;
285f126890aSEmmanuel Vadot	status = "okay";
286f126890aSEmmanuel Vadot};
287f126890aSEmmanuel Vadot
288f126890aSEmmanuel Vadot&pwm3 {
289f126890aSEmmanuel Vadot	/* used for LCD contrast control */
290f126890aSEmmanuel Vadot	pinctrl-names = "default";
291f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm3>;
292f126890aSEmmanuel Vadot	status = "okay";
293f126890aSEmmanuel Vadot};
294f126890aSEmmanuel Vadot
295f126890aSEmmanuel Vadot&uart2 {
296f126890aSEmmanuel Vadot	pinctrl-names = "default";
297f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
298f126890aSEmmanuel Vadot	status = "okay";
299f126890aSEmmanuel Vadot};
300f126890aSEmmanuel Vadot
301f126890aSEmmanuel Vadot&usbh1 {
302f126890aSEmmanuel Vadot	vbus-supply = <&reg_5v0>;
303f126890aSEmmanuel Vadot	disable-over-current;
304f126890aSEmmanuel Vadot	status = "okay";
305f126890aSEmmanuel Vadot};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot/* no usbh2 */
308f126890aSEmmanuel Vadot&usbphynop1 {
309f126890aSEmmanuel Vadot	status = "disabled";
310f126890aSEmmanuel Vadot};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot/* no usbh3 */
313f126890aSEmmanuel Vadot&usbphynop2 {
314f126890aSEmmanuel Vadot	status = "disabled";
315f126890aSEmmanuel Vadot};
316f126890aSEmmanuel Vadot
317f126890aSEmmanuel Vadot&usbotg {
318f126890aSEmmanuel Vadot	vbus-supply = <&reg_5v0>;
319f126890aSEmmanuel Vadot	disable-over-current;
320f126890aSEmmanuel Vadot	status = "okay";
321f126890aSEmmanuel Vadot};
322f126890aSEmmanuel Vadot
323f126890aSEmmanuel Vadot&usdhc3 {
324f126890aSEmmanuel Vadot	pinctrl-names = "default";
325f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
326f126890aSEmmanuel Vadot	wp-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
327f126890aSEmmanuel Vadot	cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
328f126890aSEmmanuel Vadot	cap-power-off-card;
329f126890aSEmmanuel Vadot	full-pwr-cycle;
330f126890aSEmmanuel Vadot	bus-width = <4>;
331f126890aSEmmanuel Vadot	max-frequency = <50000000>;
332f126890aSEmmanuel Vadot	cap-sd-highspeed;
333f126890aSEmmanuel Vadot	sd-uhs-sdr12;
334f126890aSEmmanuel Vadot	sd-uhs-sdr25;
335f126890aSEmmanuel Vadot	sd-uhs-sdr50;
336f126890aSEmmanuel Vadot	sd-uhs-ddr50;
337f126890aSEmmanuel Vadot	mmc-ddr-1_8v;
338f126890aSEmmanuel Vadot	vmmc-supply = <&reg_vcc_mmc>;
339f126890aSEmmanuel Vadot	vqmmc-supply = <&reg_vcc_mmc_io>;
340f126890aSEmmanuel Vadot	status = "okay";
341f126890aSEmmanuel Vadot};
342f126890aSEmmanuel Vadot
343f126890aSEmmanuel Vadot&iomuxc {
344f126890aSEmmanuel Vadot	pinctrl_can1: can1grp {
345f126890aSEmmanuel Vadot		fsl,pins = <
346f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_7__FLEXCAN1_TX			0x3008
347f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_8__FLEXCAN1_RX			0x1b000
348f126890aSEmmanuel Vadot		>;
349f126890aSEmmanuel Vadot	};
350f126890aSEmmanuel Vadot
351f126890aSEmmanuel Vadot	pinctrl_can1_stby: can1stbygrp {
352f126890aSEmmanuel Vadot		fsl,pins = <
353f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D31__GPIO3_IO31			0x13008
354f126890aSEmmanuel Vadot		>;
355f126890aSEmmanuel Vadot	};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot	pinctrl_can2: can2grp {
358f126890aSEmmanuel Vadot		fsl,pins = <
359f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX		0x3008
360f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX		0x1b000
361f126890aSEmmanuel Vadot		>;
362f126890aSEmmanuel Vadot	};
363f126890aSEmmanuel Vadot
364f126890aSEmmanuel Vadot	pinctrl_can2_stby: can2stbygrp {
365f126890aSEmmanuel Vadot		fsl,pins = <
366f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW2__GPIO4_IO11			0x13008
367f126890aSEmmanuel Vadot		>;
368f126890aSEmmanuel Vadot	};
369f126890aSEmmanuel Vadot
370f126890aSEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
371f126890aSEmmanuel Vadot		fsl,pins = <
372f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D17__ECSPI1_MISO			0x100b1
373f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D18__ECSPI1_MOSI			0xb1
374f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D16__ECSPI1_SCLK			0xb1
375f126890aSEmmanuel Vadot			/* *no* external pull up */
376f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D24__GPIO3_IO24			0x58
377f126890aSEmmanuel Vadot		>;
378f126890aSEmmanuel Vadot	};
379f126890aSEmmanuel Vadot
380f126890aSEmmanuel Vadot	pinctrl_ecspi2: ecspi2grp {
381f126890aSEmmanuel Vadot		fsl,pins = <
382f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_OE__ECSPI2_MISO			0x100b1
383f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI			0xb1
384f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK			0xb1
385f126890aSEmmanuel Vadot			/* external pull up */
386f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_RW__GPIO2_IO26			0x58
387f126890aSEmmanuel Vadot		>;
388f126890aSEmmanuel Vadot	};
389f126890aSEmmanuel Vadot
390f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
391f126890aSEmmanuel Vadot		fsl,pins = <
392f126890aSEmmanuel Vadot			/* RMII 50 MHz */
393f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN		0x100f5
394f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN		0x100f5
395f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0		0x100c0
396f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1		0x100c0
397f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0		0x100f5
398f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1		0x100f5
399f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK		0x1b0b0
400f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_5__GPIO1_IO05			0x58
401f126890aSEmmanuel Vadot			/* GPIO for "link active" */
402f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RX_ER__GPIO1_IO24		0x3038
403f126890aSEmmanuel Vadot		>;
404f126890aSEmmanuel Vadot	};
405f126890aSEmmanuel Vadot
406f126890aSEmmanuel Vadot	pinctrl_gpmi_nand: gpminandgrp {
407f126890aSEmmanuel Vadot		fsl,pins = <
408f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CLE__NAND_CLE			0xb0b1
409f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_ALE__NAND_ALE			0xb0b1
410f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_RB0__NAND_READY_B		0xb000
411f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS0__NAND_CE0_B		0xb0b1
412f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__NAND_CE1_B		0xb0b1
413f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CMD__NAND_RE_B			0xb0b1
414f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CLK__NAND_WE_B			0xb0b1
415f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D0__NAND_DATA00		0xb0b1
416f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D1__NAND_DATA01		0xb0b1
417f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D2__NAND_DATA02		0xb0b1
418f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D3__NAND_DATA03		0xb0b1
419f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D4__NAND_DATA04		0xb0b1
420f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D5__NAND_DATA05		0xb0b1
421f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D6__NAND_DATA06		0xb0b1
422f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D7__NAND_DATA07		0xb0b1
423f126890aSEmmanuel Vadot		>;
424f126890aSEmmanuel Vadot	};
425f126890aSEmmanuel Vadot
426f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
427f126890aSEmmanuel Vadot		fsl,pins = <
428f126890aSEmmanuel Vadot			/* external 10 k pull up */
429f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL		0x40010878
430f126890aSEmmanuel Vadot			/* external 10 k pull up */
431f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x40010878
432f126890aSEmmanuel Vadot		>;
433f126890aSEmmanuel Vadot	};
434f126890aSEmmanuel Vadot
435f126890aSEmmanuel Vadot	pinctrl_mdio: mdiogrp {
436f126890aSEmmanuel Vadot		fsl,pins = <
437f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__GPIO1_IO22		0x100b1
438f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__GPIO1_IO31			0xb1
439f126890aSEmmanuel Vadot		>;
440f126890aSEmmanuel Vadot	};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot	pinctrl_pwm2: pwm2grp {
443f126890aSEmmanuel Vadot		fsl,pins = <
444f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__PWM2_OUT			0x58
445f126890aSEmmanuel Vadot		>;
446f126890aSEmmanuel Vadot	};
447f126890aSEmmanuel Vadot
448f126890aSEmmanuel Vadot	pinctrl_pwm3: pwm3grp {
449f126890aSEmmanuel Vadot		fsl,pins = <
450f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT1__PWM3_OUT			0x58
451f126890aSEmmanuel Vadot		>;
452f126890aSEmmanuel Vadot	};
453f126890aSEmmanuel Vadot
454f126890aSEmmanuel Vadot	pinctrl_switch: switchgrp {
455f126890aSEmmanuel Vadot		fsl,pins = <
456f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D30__GPIO3_IO30			0xb0
457f126890aSEmmanuel Vadot		>;
458f126890aSEmmanuel Vadot	};
459f126890aSEmmanuel Vadot
460f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
461f126890aSEmmanuel Vadot		fsl,pins = <
462f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D26__UART2_TX_DATA		0x1b0b1
463f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D27__UART2_RX_DATA		0x1b0b1
464f126890aSEmmanuel Vadot		>;
465f126890aSEmmanuel Vadot	};
466f126890aSEmmanuel Vadot
467f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
468f126890aSEmmanuel Vadot		fsl,pins = <
469f126890aSEmmanuel Vadot			/* SoC internal pull up required */
470f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD			0x17059
471f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK			0x10059
472f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0			0x17059
473f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1			0x17059
474f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2			0x17059
475f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3			0x17059
476f126890aSEmmanuel Vadot			/* SoC internal pull up required */
477f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT4__GPIO7_IO01			0x1b040
478f126890aSEmmanuel Vadot			/* SoC internal pull up required */
479f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00			0x1b040
480f126890aSEmmanuel Vadot		>;
481f126890aSEmmanuel Vadot	};
482f126890aSEmmanuel Vadot
483f126890aSEmmanuel Vadot	pinctrl_vcc_mmc: vccmmcgrp {
484f126890aSEmmanuel Vadot		fsl,pins = <
485f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__GPIO7_IO08			0x58
486f126890aSEmmanuel Vadot		>;
487f126890aSEmmanuel Vadot	};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot	pinctrl_vcc_mmc_io: vccmmciogrp {
490f126890aSEmmanuel Vadot		fsl,pins = <
491f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_18__GPIO7_IO13			0x58
492f126890aSEmmanuel Vadot		>;
493f126890aSEmmanuel Vadot	};
494f126890aSEmmanuel Vadot};
495