xref: /linux/arch/arm/boot/dts/nxp/imx/imx6dl-riotboard.dts (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2014 Iain Paton <ipaton0@gmail.com>
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring#include "imx6dl.dtsi"
8724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
9724ba675SRob Herring
10724ba675SRob Herring/ {
11724ba675SRob Herring	model = "RIoTboard i.MX6S";
12724ba675SRob Herring	compatible = "riot,imx6s-riotboard", "fsl,imx6dl";
13724ba675SRob Herring
14724ba675SRob Herring	memory@10000000 {
15724ba675SRob Herring		device_type = "memory";
16724ba675SRob Herring		reg = <0x10000000 0x40000000>;
17724ba675SRob Herring	};
18724ba675SRob Herring
19724ba675SRob Herring	chosen {
20724ba675SRob Herring		stdout-path = "serial1:115200n8";
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	leds {
24724ba675SRob Herring		compatible = "gpio-leds";
25724ba675SRob Herring		pinctrl-names = "default";
26724ba675SRob Herring		pinctrl-0 = <&pinctrl_led>;
27724ba675SRob Herring
28724ba675SRob Herring		led0: led-user1 {
29724ba675SRob Herring			label = "user1";
30724ba675SRob Herring			gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
31724ba675SRob Herring			default-state = "on";
32724ba675SRob Herring			linux,default-trigger = "heartbeat";
33724ba675SRob Herring		};
34724ba675SRob Herring
35724ba675SRob Herring		led1: led-user2 {
36724ba675SRob Herring			label = "user2";
37724ba675SRob Herring			gpios = <&gpio3 28 GPIO_ACTIVE_LOW>;
38724ba675SRob Herring			default-state = "off";
39724ba675SRob Herring		};
40724ba675SRob Herring	};
41724ba675SRob Herring
42724ba675SRob Herring	sound {
43724ba675SRob Herring		compatible = "fsl,imx-audio-sgtl5000";
44724ba675SRob Herring		model = "imx6-riotboard-sgtl5000";
45724ba675SRob Herring		ssi-controller = <&ssi1>;
46724ba675SRob Herring		audio-codec = <&codec>;
47724ba675SRob Herring		audio-routing =
48724ba675SRob Herring			"MIC_IN", "Mic Jack",
49724ba675SRob Herring			"Mic Jack", "Mic Bias",
50724ba675SRob Herring			"Headphone Jack", "HP_OUT";
51724ba675SRob Herring			mux-int-port = <1>;
52724ba675SRob Herring			mux-ext-port = <3>;
53724ba675SRob Herring	};
54724ba675SRob Herring
55724ba675SRob Herring	reg_2p5v: regulator-2p5v {
56724ba675SRob Herring		compatible = "regulator-fixed";
57724ba675SRob Herring		regulator-name = "2P5V";
58724ba675SRob Herring		regulator-min-microvolt = <2500000>;
59724ba675SRob Herring		regulator-max-microvolt = <2500000>;
60724ba675SRob Herring	};
61724ba675SRob Herring
62724ba675SRob Herring	reg_3p3v: regulator-3p3v {
63724ba675SRob Herring		compatible = "regulator-fixed";
64724ba675SRob Herring		regulator-name = "3P3V";
65724ba675SRob Herring		regulator-min-microvolt = <3300000>;
66724ba675SRob Herring		regulator-max-microvolt = <3300000>;
67724ba675SRob Herring	};
68724ba675SRob Herring
69724ba675SRob Herring	reg_usb_otg_vbus: regulator-usbotgvbus {
70724ba675SRob Herring		compatible = "regulator-fixed";
71724ba675SRob Herring		regulator-name = "usb_otg_vbus";
72724ba675SRob Herring		regulator-min-microvolt = <5000000>;
73724ba675SRob Herring		regulator-max-microvolt = <5000000>;
74724ba675SRob Herring		gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;
75724ba675SRob Herring	};
76724ba675SRob Herring};
77724ba675SRob Herring
78724ba675SRob Herring&audmux {
79724ba675SRob Herring	pinctrl-names = "default";
80724ba675SRob Herring	pinctrl-0 = <&pinctrl_audmux>;
81724ba675SRob Herring	status = "okay";
82724ba675SRob Herring};
83724ba675SRob Herring
84724ba675SRob Herring&clks {
85724ba675SRob Herring	fsl,pmic-stby-poweroff;
86724ba675SRob Herring};
87724ba675SRob Herring
88724ba675SRob Herring&fec {
89724ba675SRob Herring	pinctrl-names = "default";
90724ba675SRob Herring	pinctrl-0 = <&pinctrl_enet>;
91724ba675SRob Herring	phy-mode = "rgmii-id";
92724ba675SRob Herring	phy-handle = <&rgmii_phy>;
93724ba675SRob Herring	/delete-property/ interrupts;
94724ba675SRob Herring	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
95724ba675SRob Herring			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
96724ba675SRob Herring	fsl,err006687-workaround-present;
97724ba675SRob Herring	status = "okay";
98724ba675SRob Herring
99724ba675SRob Herring	mdio {
100724ba675SRob Herring		#address-cells = <1>;
101724ba675SRob Herring		#size-cells = <0>;
102724ba675SRob Herring
103724ba675SRob Herring		/* Atheros AR8035 PHY */
104724ba675SRob Herring		rgmii_phy: ethernet-phy@4 {
105724ba675SRob Herring			reg = <4>;
106724ba675SRob Herring			interrupts-extended = <&gpio1 28 IRQ_TYPE_LEVEL_LOW>;
107724ba675SRob Herring			reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
108724ba675SRob Herring			reset-assert-us = <10000>;
109724ba675SRob Herring			reset-deassert-us = <1000>;
110724ba675SRob Herring			qca,smarteee-tw-us-1g = <24>;
111724ba675SRob Herring			qca,clk-out-frequency = <125000000>;
112724ba675SRob Herring		};
113724ba675SRob Herring	};
114724ba675SRob Herring};
115724ba675SRob Herring
116724ba675SRob Herring&gpio1 {
117724ba675SRob Herring	gpio-line-names =
118724ba675SRob Herring		"", "", "SD2_WP", "", "SD2_CD", "I2C3_SCL",
119724ba675SRob Herring			"I2C3_SDA", "I2C4_SCL",
120724ba675SRob Herring		"I2C4_SDA", "", "", "", "", "", "", "",
121724ba675SRob Herring		"", "PWM3", "", "", "", "", "", "",
122724ba675SRob Herring		"", "", "", "", "", "", "", "";
123724ba675SRob Herring};
124724ba675SRob Herring
125724ba675SRob Herring&gpio3 {
126724ba675SRob Herring	gpio-line-names =
127724ba675SRob Herring		"", "", "", "", "", "", "", "",
128724ba675SRob Herring		"", "", "", "", "", "", "", "",
129724ba675SRob Herring		"", "", "", "", "", "", "USB_OTG_VBUS", "",
130724ba675SRob Herring		"UART3_TXD", "UART3_RXD", "", "", "EIM_D28", "", "", "";
131724ba675SRob Herring};
132724ba675SRob Herring
133724ba675SRob Herring&gpio4 {
134724ba675SRob Herring	gpio-line-names =
135724ba675SRob Herring		"", "", "", "", "", "", "UART4_TXD", "UART4_RXD",
136724ba675SRob Herring		"UART5_TXD", "UART5_RXD", "", "", "", "", "", "",
137724ba675SRob Herring		"GPIO4_16", "GPIO4_17", "GPIO4_18", "GPIO4_19", "",
138724ba675SRob Herring			"CSPI3_CLK", "CSPI3_MOSI", "CSPI3_MISO",
139724ba675SRob Herring		"CSPI3_CS0", "CSPI3_CS1", "GPIO4_26", "GPIO4_27",
140724ba675SRob Herring			"CSPI3_RDY", "PWM1", "PWM2", "GPIO4_31";
141724ba675SRob Herring};
142724ba675SRob Herring
143724ba675SRob Herring&gpio5 {
144724ba675SRob Herring	gpio-line-names =
145724ba675SRob Herring		"", "", "EIM_A25", "", "", "GPIO5_05", "GPIO5_06",
146724ba675SRob Herring			"GPIO5_07",
147724ba675SRob Herring		"GPIO5_08", "CSPI2_CS1", "CSPI2_MOSI", "CSPI2_MISO",
148724ba675SRob Herring			"CSPI2_CS0", "CSPI2_CLK", "", "",
149724ba675SRob Herring		"", "", "", "", "", "", "", "",
150724ba675SRob Herring		"", "", "", "", "", "", "", "";
151724ba675SRob Herring};
152724ba675SRob Herring
153724ba675SRob Herring&gpio7 {
154724ba675SRob Herring	gpio-line-names =
155724ba675SRob Herring		"SD3_CD", "SD3_WP", "", "", "", "", "", "",
156724ba675SRob Herring		"", "", "", "", "", "", "", "",
157724ba675SRob Herring		"", "", "", "", "", "", "", "",
158724ba675SRob Herring		"", "", "", "", "", "", "", "";
159724ba675SRob Herring};
160724ba675SRob Herring
161724ba675SRob Herring&hdmi {
162724ba675SRob Herring	ddc-i2c-bus = <&i2c2>;
163724ba675SRob Herring	status = "okay";
164724ba675SRob Herring};
165724ba675SRob Herring
166724ba675SRob Herring&i2c1 {
167724ba675SRob Herring	clock-frequency = <100000>;
168724ba675SRob Herring	pinctrl-names = "default";
169724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
170724ba675SRob Herring	status = "okay";
171724ba675SRob Herring
172724ba675SRob Herring	codec: sgtl5000@a {
173724ba675SRob Herring		compatible = "fsl,sgtl5000";
174724ba675SRob Herring		reg = <0x0a>;
175*d54bcc3aSFabio Estevam		#sound-dai-cells = <0>;
176724ba675SRob Herring		clocks = <&clks IMX6QDL_CLK_CKO>;
177724ba675SRob Herring		VDDA-supply = <&reg_2p5v>;
178724ba675SRob Herring		VDDIO-supply = <&reg_3p3v>;
179724ba675SRob Herring	};
180724ba675SRob Herring
181724ba675SRob Herring	pmic: pmic@8 {
182724ba675SRob Herring		compatible = "fsl,pfuze100";
183724ba675SRob Herring		reg = <0x08>;
184724ba675SRob Herring		interrupt-parent = <&gpio5>;
185724ba675SRob Herring		interrupts = <16 8>;
186724ba675SRob Herring		fsl,pmic-stby-poweroff;
187724ba675SRob Herring
188724ba675SRob Herring		regulators {
189724ba675SRob Herring			reg_vddcore: sw1ab {				/* VDDARM_IN */
190724ba675SRob Herring				regulator-min-microvolt = <300000>;
191724ba675SRob Herring				regulator-max-microvolt = <1875000>;
192724ba675SRob Herring				regulator-always-on;
193724ba675SRob Herring			};
194724ba675SRob Herring
195724ba675SRob Herring			reg_vddsoc: sw1c {				/* VDDSOC_IN */
196724ba675SRob Herring				regulator-min-microvolt = <300000>;
197724ba675SRob Herring				regulator-max-microvolt = <1875000>;
198724ba675SRob Herring				regulator-always-on;
199724ba675SRob Herring			};
200724ba675SRob Herring
201724ba675SRob Herring			reg_gen_3v3: sw2 {				/* VDDHIGH_IN */
202724ba675SRob Herring				regulator-min-microvolt = <800000>;
203724ba675SRob Herring				regulator-max-microvolt = <3300000>;
204724ba675SRob Herring				regulator-always-on;
205724ba675SRob Herring			};
206724ba675SRob Herring
207724ba675SRob Herring			reg_ddr_1v5a: sw3a {				/* NVCC_DRAM, NVCC_RGMII */
208724ba675SRob Herring				regulator-min-microvolt = <400000>;
209724ba675SRob Herring				regulator-max-microvolt = <1975000>;
210724ba675SRob Herring				regulator-always-on;
211724ba675SRob Herring			};
212724ba675SRob Herring
213724ba675SRob Herring			reg_ddr_1v5b: sw3b {				/* NVCC_DRAM, NVCC_RGMII */
214724ba675SRob Herring				regulator-min-microvolt = <400000>;
215724ba675SRob Herring				regulator-max-microvolt = <1975000>;
216724ba675SRob Herring				regulator-always-on;
217724ba675SRob Herring			};
218724ba675SRob Herring
219724ba675SRob Herring			reg_ddr_vtt: sw4 {				/* MIPI conn */
220724ba675SRob Herring				regulator-min-microvolt = <400000>;
221724ba675SRob Herring				regulator-max-microvolt = <1975000>;
222724ba675SRob Herring				regulator-always-on;
223724ba675SRob Herring			};
224724ba675SRob Herring
225724ba675SRob Herring			reg_5v_600mA: swbst {				/* not used */
226724ba675SRob Herring				regulator-min-microvolt = <5000000>;
227724ba675SRob Herring				regulator-max-microvolt = <5150000>;
228724ba675SRob Herring			};
229724ba675SRob Herring
230724ba675SRob Herring			reg_snvs_3v: vsnvs {				/* VDD_SNVS_IN */
231724ba675SRob Herring				regulator-min-microvolt = <1500000>;
232724ba675SRob Herring				regulator-max-microvolt = <3000000>;
233724ba675SRob Herring				regulator-always-on;
234724ba675SRob Herring			};
235724ba675SRob Herring
236724ba675SRob Herring			vref_reg: vrefddr {				/* VREF_DDR */
237724ba675SRob Herring				regulator-boot-on;
238724ba675SRob Herring				regulator-always-on;
239724ba675SRob Herring			};
240724ba675SRob Herring
241724ba675SRob Herring			reg_vgen1_1v5: vgen1 {				/* not used */
242724ba675SRob Herring				regulator-min-microvolt = <800000>;
243724ba675SRob Herring				regulator-max-microvolt = <1550000>;
244724ba675SRob Herring			};
245724ba675SRob Herring
246724ba675SRob Herring			reg_vgen2_1v2_eth: vgen2 {			/* pcie ? */
247724ba675SRob Herring				regulator-min-microvolt = <800000>;
248724ba675SRob Herring				regulator-max-microvolt = <1550000>;
249724ba675SRob Herring				regulator-always-on;
250724ba675SRob Herring			};
251724ba675SRob Herring
252724ba675SRob Herring			reg_vgen3_2v8: vgen3 {				/* not used */
253724ba675SRob Herring				regulator-min-microvolt = <1800000>;
254724ba675SRob Herring				regulator-max-microvolt = <3300000>;
255724ba675SRob Herring			};
256724ba675SRob Herring			reg_vgen4_1v8: vgen4 {				/* NVCC_SD3 */
257724ba675SRob Herring				regulator-min-microvolt = <1800000>;
258724ba675SRob Herring				regulator-max-microvolt = <3300000>;
259724ba675SRob Herring				regulator-always-on;
260724ba675SRob Herring			};
261724ba675SRob Herring
262724ba675SRob Herring			reg_vgen5_2v5_sgtl: vgen5 {			/* Pwr LED & 5V0_delayed enable */
263724ba675SRob Herring				regulator-min-microvolt = <1800000>;
264724ba675SRob Herring				regulator-max-microvolt = <3300000>;
265724ba675SRob Herring				regulator-always-on;
266724ba675SRob Herring			};
267724ba675SRob Herring
268724ba675SRob Herring			reg_vgen6_3v3: vgen6 {				/* #V#_DELAYED enable, MIPI */
269724ba675SRob Herring				regulator-min-microvolt = <1800000>;
270724ba675SRob Herring				regulator-max-microvolt = <3300000>;
271724ba675SRob Herring				regulator-always-on;
272724ba675SRob Herring			};
273724ba675SRob Herring		};
274724ba675SRob Herring	};
275724ba675SRob Herring};
276724ba675SRob Herring
277724ba675SRob Herring&i2c2 {
278724ba675SRob Herring	clock-frequency = <100000>;
279724ba675SRob Herring	pinctrl-names = "default";
280724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
281724ba675SRob Herring	status = "okay";
282724ba675SRob Herring};
283724ba675SRob Herring
284724ba675SRob Herring&i2c4 {
285724ba675SRob Herring	clock-frequency = <100000>;
286724ba675SRob Herring	pinctrl-names = "default";
287724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c4>;
288724ba675SRob Herring	clocks = <&clks 116>;
289724ba675SRob Herring	status = "okay";
290724ba675SRob Herring};
291724ba675SRob Herring
292724ba675SRob Herring&pwm1 {
293724ba675SRob Herring	pinctrl-names = "default";
294724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm1>;
295724ba675SRob Herring	status = "okay";
296724ba675SRob Herring};
297724ba675SRob Herring
298724ba675SRob Herring&pwm2 {
299724ba675SRob Herring	pinctrl-names = "default";
300724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm2>;
301724ba675SRob Herring	status = "okay";
302724ba675SRob Herring};
303724ba675SRob Herring
304724ba675SRob Herring&pwm3 {
305724ba675SRob Herring	pinctrl-names = "default";
306724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm3>;
307724ba675SRob Herring	status = "okay";
308724ba675SRob Herring};
309724ba675SRob Herring
310724ba675SRob Herring&pwm4 {
311724ba675SRob Herring	pinctrl-names = "default";
312724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm4>;
313724ba675SRob Herring	status = "okay";
314724ba675SRob Herring};
315724ba675SRob Herring
316724ba675SRob Herring&ssi1 {
317724ba675SRob Herring	status = "okay";
318724ba675SRob Herring};
319724ba675SRob Herring
320724ba675SRob Herring&uart1 {
321724ba675SRob Herring	pinctrl-names = "default";
322724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
323724ba675SRob Herring	status = "okay";
324724ba675SRob Herring};
325724ba675SRob Herring
326724ba675SRob Herring&uart2 {
327724ba675SRob Herring	pinctrl-names = "default";
328724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2>;
329724ba675SRob Herring	status = "okay";
330724ba675SRob Herring};
331724ba675SRob Herring
332724ba675SRob Herring&uart3 {
333724ba675SRob Herring	pinctrl-names = "default";
334724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart3>;
335724ba675SRob Herring	status = "okay";
336724ba675SRob Herring};
337724ba675SRob Herring
338724ba675SRob Herring&uart4 {
339724ba675SRob Herring	pinctrl-names = "default";
340724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart4>;
341724ba675SRob Herring	status = "okay";
342724ba675SRob Herring};
343724ba675SRob Herring
344724ba675SRob Herring&uart5 {
345724ba675SRob Herring	pinctrl-names = "default";
346724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart5>;
347724ba675SRob Herring	status = "okay";
348724ba675SRob Herring};
349724ba675SRob Herring
350724ba675SRob Herring&usbh1 {
351724ba675SRob Herring	dr_mode = "host";
352724ba675SRob Herring	disable-over-current;
353724ba675SRob Herring	status = "okay";
354724ba675SRob Herring};
355724ba675SRob Herring
356724ba675SRob Herring&usbotg {
357724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
358724ba675SRob Herring	pinctrl-names = "default";
359724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
360724ba675SRob Herring	disable-over-current;
361724ba675SRob Herring	dr_mode = "otg";
362724ba675SRob Herring	status = "okay";
363724ba675SRob Herring};
364724ba675SRob Herring
365724ba675SRob Herring&usdhc2 {
366724ba675SRob Herring	pinctrl-names = "default";
367724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc2>;
368724ba675SRob Herring	cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
369724ba675SRob Herring	wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
370724ba675SRob Herring	vmmc-supply = <&reg_3p3v>;
371724ba675SRob Herring	status = "okay";
372724ba675SRob Herring};
373724ba675SRob Herring
374724ba675SRob Herring&usdhc3 {
375724ba675SRob Herring	pinctrl-names = "default";
376724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc3>;
377724ba675SRob Herring	cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
378724ba675SRob Herring	wp-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
379724ba675SRob Herring	vmmc-supply = <&reg_3p3v>;
380724ba675SRob Herring	status = "okay";
381724ba675SRob Herring};
382724ba675SRob Herring
383724ba675SRob Herring&usdhc4 {
384724ba675SRob Herring	pinctrl-names = "default";
385724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc4>;
386724ba675SRob Herring	vmmc-supply = <&reg_3p3v>;
387724ba675SRob Herring	non-removable;
388724ba675SRob Herring	status = "okay";
389724ba675SRob Herring};
390724ba675SRob Herring
391724ba675SRob Herring&iomuxc {
392724ba675SRob Herring	pinctrl-names = "default";
393724ba675SRob Herring
394724ba675SRob Herring	imx6-riotboard {
395724ba675SRob Herring		pinctrl_audmux: audmuxgrp {
396724ba675SRob Herring			fsl,pins = <
397724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT7__AUD3_RXD		0x130b0
398724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT4__AUD3_TXC		0x130b0
399724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT5__AUD3_TXD		0x110b0
400724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS		0x130b0
401724ba675SRob Herring				MX6QDL_PAD_GPIO_0__CCM_CLKO1		0x130b0		/* CAM_MCLK */
402724ba675SRob Herring			>;
403724ba675SRob Herring		};
404724ba675SRob Herring
405724ba675SRob Herring		pinctrl_ecspi1: ecspi1grp {
406724ba675SRob Herring			fsl,pins = <
407724ba675SRob Herring				MX6QDL_PAD_EIM_D16__ECSPI1_SCLK		0x100b1
408724ba675SRob Herring				MX6QDL_PAD_EIM_D17__ECSPI1_MISO		0x100b1
409724ba675SRob Herring				MX6QDL_PAD_EIM_D18__ECSPI1_MOSI		0x100b1
410724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT23__GPIO5_IO17	0x000b1		/* CS0 */
411724ba675SRob Herring			>;
412724ba675SRob Herring		};
413724ba675SRob Herring
414724ba675SRob Herring		pinctrl_ecspi2: ecspi2grp {
415724ba675SRob Herring			fsl,pins = <
416724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT15__GPIO5_IO09	0x000b1		/* CS1 */
417724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT16__ECSPI2_MOSI	0x100b1
418724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT17__ECSPI2_MISO	0x100b1
419724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT18__GPIO5_IO12	0x000b1		/* CS0 */
420724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT19__ECSPI2_SCLK	0x100b1
421724ba675SRob Herring			>;
422724ba675SRob Herring		};
423724ba675SRob Herring
424724ba675SRob Herring		pinctrl_ecspi3: ecspi3grp {
425724ba675SRob Herring			fsl,pins = <
426724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK	0x100b1
427724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI	0x100b1
428724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO	0x100b1
429724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24	0x000b1		/* CS0 */
430724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT4__GPIO4_IO25	0x000b1		/* CS1 */
431724ba675SRob Herring			>;
432724ba675SRob Herring		};
433724ba675SRob Herring
434724ba675SRob Herring		pinctrl_enet: enetgrp {
435724ba675SRob Herring			fsl,pins = <
436724ba675SRob Herring				MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
437724ba675SRob Herring				MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
438724ba675SRob Herring				MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
439724ba675SRob Herring				MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
440724ba675SRob Herring				MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
441724ba675SRob Herring				MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
442724ba675SRob Herring				MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
443724ba675SRob Herring				MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
444724ba675SRob Herring				MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x0a0b1		/* AR8035 CLK_25M --> ENET_REF_CLK (V22) */
445724ba675SRob Herring				MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030		/* AR8035 pin strapping: IO voltage: pull up */
446724ba675SRob Herring				MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x13030		/* AR8035 pin strapping: PHYADDR#0: pull down */
447724ba675SRob Herring				MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x13030		/* AR8035 pin strapping: PHYADDR#1: pull down */
448724ba675SRob Herring				MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030		/* AR8035 pin strapping: MODE#1: pull up */
449724ba675SRob Herring				MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030		/* AR8035 pin strapping: MODE#3: pull up */
450724ba675SRob Herring				MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x130b0		/* AR8035 pin strapping: MODE#0: pull down */
451724ba675SRob Herring				MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x4001b0a8	/* GPIO16 -> AR8035 25MHz */
452724ba675SRob Herring				MX6QDL_PAD_EIM_D31__GPIO3_IO31		0x130b0		/* RGMII_nRST */
453724ba675SRob Herring				MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28	0x180b0		/* AR8035 interrupt */
454724ba675SRob Herring				MX6QDL_PAD_GPIO_6__ENET_IRQ		0x000b1
455724ba675SRob Herring			>;
456724ba675SRob Herring		};
457724ba675SRob Herring
458724ba675SRob Herring		pinctrl_i2c1: i2c1grp {
459724ba675SRob Herring			fsl,pins = <
460724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT8__I2C1_SDA		0x4001b8b1
461724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT9__I2C1_SCL		0x4001b8b1
462724ba675SRob Herring			>;
463724ba675SRob Herring		};
464724ba675SRob Herring
465724ba675SRob Herring		pinctrl_i2c2: i2c2grp {
466724ba675SRob Herring			fsl,pins = <
467724ba675SRob Herring				MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
468724ba675SRob Herring				MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
469724ba675SRob Herring			>;
470724ba675SRob Herring		};
471724ba675SRob Herring
472724ba675SRob Herring		pinctrl_i2c3: i2c3grp {
473724ba675SRob Herring			fsl,pins = <
474724ba675SRob Herring				MX6QDL_PAD_GPIO_5__I2C3_SCL		0x4001b8b1
475724ba675SRob Herring				MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
476724ba675SRob Herring			>;
477724ba675SRob Herring		};
478724ba675SRob Herring
479724ba675SRob Herring		pinctrl_i2c4: i2c4grp {
480724ba675SRob Herring			fsl,pins = <
481724ba675SRob Herring				MX6QDL_PAD_GPIO_7__I2C4_SCL             0x4001b8b1
482724ba675SRob Herring				MX6QDL_PAD_GPIO_8__I2C4_SDA             0x4001b8b1
483724ba675SRob Herring			>;
484724ba675SRob Herring		};
485724ba675SRob Herring
486724ba675SRob Herring		pinctrl_led: ledgrp {
487724ba675SRob Herring			fsl,pins = <
488724ba675SRob Herring				MX6QDL_PAD_EIM_A25__GPIO5_IO02		0x1b0b1	/* user led0 */
489724ba675SRob Herring				MX6QDL_PAD_EIM_D28__GPIO3_IO28		0x1b0b1	/* user led1 */
490724ba675SRob Herring			>;
491724ba675SRob Herring		};
492724ba675SRob Herring
493724ba675SRob Herring		pinctrl_pwm1: pwm1grp {
494724ba675SRob Herring			fsl,pins = <
495724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT8__PWM1_OUT		0x1b0b1
496724ba675SRob Herring			>;
497724ba675SRob Herring		};
498724ba675SRob Herring
499724ba675SRob Herring		pinctrl_pwm2: pwm2grp {
500724ba675SRob Herring			fsl,pins = <
501724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT9__PWM2_OUT		0x1b0b1
502724ba675SRob Herring			>;
503724ba675SRob Herring		};
504724ba675SRob Herring
505724ba675SRob Herring		pinctrl_pwm3: pwm3grp {
506724ba675SRob Herring			fsl,pins = <
507724ba675SRob Herring				MX6QDL_PAD_SD1_DAT1__PWM3_OUT		0x1b0b1
508724ba675SRob Herring			>;
509724ba675SRob Herring		};
510724ba675SRob Herring
511724ba675SRob Herring		pinctrl_pwm4: pwm4grp {
512724ba675SRob Herring			fsl,pins = <
513724ba675SRob Herring				MX6QDL_PAD_SD1_CMD__PWM4_OUT		0x1b0b1
514724ba675SRob Herring			>;
515724ba675SRob Herring		};
516724ba675SRob Herring
517724ba675SRob Herring		pinctrl_uart1: uart1grp {
518724ba675SRob Herring			fsl,pins = <
519724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0b1
520724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA	0x1b0b1
521724ba675SRob Herring			>;
522724ba675SRob Herring		};
523724ba675SRob Herring
524724ba675SRob Herring		pinctrl_uart2: uart2grp {
525724ba675SRob Herring			fsl,pins = <
526724ba675SRob Herring				MX6QDL_PAD_EIM_D26__UART2_TX_DATA	0x1b0b1
527724ba675SRob Herring				MX6QDL_PAD_EIM_D27__UART2_RX_DATA	0x1b0b1
528724ba675SRob Herring			>;
529724ba675SRob Herring		};
530724ba675SRob Herring
531724ba675SRob Herring		pinctrl_uart3: uart3grp {
532724ba675SRob Herring			fsl,pins = <
533724ba675SRob Herring				MX6QDL_PAD_EIM_D24__UART3_TX_DATA	0x1b0b1
534724ba675SRob Herring				MX6QDL_PAD_EIM_D25__UART3_RX_DATA	0x1b0b1
535724ba675SRob Herring			>;
536724ba675SRob Herring		};
537724ba675SRob Herring
538724ba675SRob Herring		pinctrl_uart4: uart4grp {
539724ba675SRob Herring			fsl,pins = <
540724ba675SRob Herring				MX6QDL_PAD_KEY_COL0__UART4_TX_DATA	0x1b0b1
541724ba675SRob Herring				MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA	0x1b0b1
542724ba675SRob Herring			>;
543724ba675SRob Herring		};
544724ba675SRob Herring
545724ba675SRob Herring		pinctrl_uart5: uart5grp {
546724ba675SRob Herring			fsl,pins = <
547724ba675SRob Herring				MX6QDL_PAD_KEY_COL1__UART5_TX_DATA	0x1b0b1
548724ba675SRob Herring				MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA	0x1b0b1
549724ba675SRob Herring			>;
550724ba675SRob Herring		};
551724ba675SRob Herring
552724ba675SRob Herring		pinctrl_usbotg: usbotggrp {
553724ba675SRob Herring			fsl,pins = <
554724ba675SRob Herring				MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID	0x17059
555724ba675SRob Herring				MX6QDL_PAD_EIM_D22__GPIO3_IO22		0x000b0	/* MX6QDL_PAD_EIM_D22__USB_OTG_PWR */
556724ba675SRob Herring				MX6QDL_PAD_EIM_D21__USB_OTG_OC		0x1b0b0
557724ba675SRob Herring			>;
558724ba675SRob Herring		};
559724ba675SRob Herring
560724ba675SRob Herring		pinctrl_usdhc2: usdhc2grp {
561724ba675SRob Herring			fsl,pins = <
562724ba675SRob Herring				MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17059
563724ba675SRob Herring				MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10059
564724ba675SRob Herring				MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17059
565724ba675SRob Herring				MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17059
566724ba675SRob Herring				MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17059
567724ba675SRob Herring				MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17059
568724ba675SRob Herring				MX6QDL_PAD_GPIO_4__GPIO1_IO04		0x1b0b0	/* SD2 CD */
569724ba675SRob Herring				MX6QDL_PAD_GPIO_2__GPIO1_IO02		0x1f0b0	/* SD2 WP */
570724ba675SRob Herring			>;
571724ba675SRob Herring		};
572724ba675SRob Herring
573724ba675SRob Herring		pinctrl_usdhc3: usdhc3grp {
574724ba675SRob Herring			fsl,pins = <
575724ba675SRob Herring				MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
576724ba675SRob Herring				MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
577724ba675SRob Herring				MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
578724ba675SRob Herring				MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
579724ba675SRob Herring				MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
580724ba675SRob Herring				MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
581724ba675SRob Herring				MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x1b0b0	/* SD3 CD */
582724ba675SRob Herring				MX6QDL_PAD_SD3_DAT4__GPIO7_IO01		0x1f0b0	/* SD3 WP */
583724ba675SRob Herring			>;
584724ba675SRob Herring		};
585724ba675SRob Herring
586724ba675SRob Herring		pinctrl_usdhc4: usdhc4grp {
587724ba675SRob Herring			fsl,pins = <
588724ba675SRob Herring				MX6QDL_PAD_SD4_CMD__SD4_CMD		0x17059
589724ba675SRob Herring				MX6QDL_PAD_SD4_CLK__SD4_CLK		0x10059
590724ba675SRob Herring				MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
591724ba675SRob Herring				MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
592724ba675SRob Herring				MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
593724ba675SRob Herring				MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
594724ba675SRob Herring				MX6QDL_PAD_NANDF_ALE__GPIO6_IO08	0x17059	/* SD4 RST (eMMC) */
595724ba675SRob Herring			>;
596724ba675SRob Herring		};
597724ba675SRob Herring	};
598724ba675SRob Herring};
599