1/*
2 * Copyright (C) 2014 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9/dts-v1/;
10
11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/input/input.h>
13#include "imx6sx.dtsi"
14
15/ {
16	model = "Freescale i.MX6 SoloX SDB Board";
17	compatible = "fsl,imx6sx-sdb", "fsl,imx6sx";
18
19	chosen {
20		stdout-path = &uart1;
21	};
22
23	memory@80000000 {
24		reg = <0x80000000 0x40000000>;
25	};
26
27	backlight_display: backlight-display {
28		compatible = "pwm-backlight";
29		pwms = <&pwm3 0 5000000>;
30		brightness-levels = <0 4 8 16 32 64 128 255>;
31		default-brightness-level = <6>;
32	};
33
34	gpio-keys {
35		compatible = "gpio-keys";
36		pinctrl-names = "default";
37		pinctrl-0 = <&pinctrl_gpio_keys>;
38
39		volume-up {
40			label = "Volume Up";
41			gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
42			linux,code = <KEY_VOLUMEUP>;
43		};
44
45		volume-down {
46			label = "Volume Down";
47			gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
48			linux,code = <KEY_VOLUMEDOWN>;
49		};
50	};
51
52	vcc_sd3: regulator-vcc-sd3 {
53		compatible = "regulator-fixed";
54		pinctrl-names = "default";
55		pinctrl-0 = <&pinctrl_vcc_sd3>;
56		regulator-name = "VCC_SD3";
57		regulator-min-microvolt = <3000000>;
58		regulator-max-microvolt = <3000000>;
59		gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
60		enable-active-high;
61	};
62
63	reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
64		compatible = "regulator-fixed";
65		pinctrl-names = "default";
66		pinctrl-0 = <&pinctrl_usb_otg1>;
67		regulator-name = "usb_otg1_vbus";
68		regulator-min-microvolt = <5000000>;
69		regulator-max-microvolt = <5000000>;
70		gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
71		enable-active-high;
72	};
73
74	reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
75		compatible = "regulator-fixed";
76		pinctrl-names = "default";
77		pinctrl-0 = <&pinctrl_usb_otg2>;
78		regulator-name = "usb_otg2_vbus";
79		regulator-min-microvolt = <5000000>;
80		regulator-max-microvolt = <5000000>;
81		gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
82		enable-active-high;
83	};
84
85	reg_psu_5v: regulator-psu-5v {
86		compatible = "regulator-fixed";
87		regulator-name = "PSU-5V0";
88		regulator-min-microvolt = <5000000>;
89		regulator-max-microvolt = <5000000>;
90	};
91
92	reg_lcd_3v3: regulator-lcd-3v3 {
93		compatible = "regulator-fixed";
94		regulator-name = "lcd-3v3";
95		gpio = <&gpio3 27 0>;
96		enable-active-high;
97	};
98
99	reg_peri_3v3: regulator-peri-3v3 {
100		compatible = "regulator-fixed";
101		pinctrl-names = "default";
102		pinctrl-0 = <&pinctrl_peri_3v3>;
103		regulator-name = "peri_3v3";
104		regulator-min-microvolt = <3300000>;
105		regulator-max-microvolt = <3300000>;
106		gpio = <&gpio4 16 GPIO_ACTIVE_HIGH>;
107		enable-active-high;
108		regulator-always-on;
109	};
110
111	reg_enet_3v3: regulator-enet-3v3 {
112		compatible = "regulator-fixed";
113		pinctrl-names = "default";
114		pinctrl-0 = <&pinctrl_enet_3v3>;
115		regulator-name = "enet_3v3";
116		regulator-min-microvolt = <3300000>;
117		regulator-max-microvolt = <3300000>;
118		gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
119	};
120
121	reg_pcie_gpio: regulator-pcie-gpio {
122		compatible = "regulator-fixed";
123		pinctrl-names = "default";
124		pinctrl-0 = <&pinctrl_pcie_reg>;
125		regulator-name = "MPCIE_3V3";
126		regulator-min-microvolt = <3300000>;
127		regulator-max-microvolt = <3300000>;
128		gpio = <&gpio2 1 GPIO_ACTIVE_HIGH>;
129		enable-active-high;
130	};
131
132	reg_lcd_5v: regulator-lcd-5v {
133		compatible = "regulator-fixed";
134		regulator-name = "lcd-5v0";
135		regulator-min-microvolt = <5000000>;
136		regulator-max-microvolt = <5000000>;
137	};
138
139	sound {
140		compatible = "fsl,imx6sx-sdb-wm8962", "fsl,imx-audio-wm8962";
141		model = "wm8962-audio";
142		ssi-controller = <&ssi2>;
143		audio-codec = <&codec>;
144		audio-routing =
145			"Headphone Jack", "HPOUTL",
146			"Headphone Jack", "HPOUTR",
147			"Ext Spk", "SPKOUTL",
148			"Ext Spk", "SPKOUTR",
149			"AMIC", "MICBIAS",
150			"IN3R", "AMIC";
151		mux-int-port = <2>;
152		mux-ext-port = <6>;
153	};
154
155	panel {
156		compatible = "sii,43wvf1g";
157		backlight = <&backlight_display>;
158		dvdd-supply = <&reg_lcd_3v3>;
159		avdd-supply = <&reg_lcd_5v>;
160
161		port {
162			panel_in: endpoint {
163				remote-endpoint = <&display_out>;
164			};
165		};
166	};
167};
168
169&audmux {
170	pinctrl-names = "default";
171	pinctrl-0 = <&pinctrl_audmux>;
172	status = "okay";
173};
174
175&fec1 {
176	pinctrl-names = "default";
177	pinctrl-0 = <&pinctrl_enet1>;
178	phy-supply = <&reg_enet_3v3>;
179	phy-mode = "rgmii";
180	phy-handle = <&ethphy1>;
181	status = "okay";
182
183	mdio {
184		#address-cells = <1>;
185		#size-cells = <0>;
186
187		ethphy1: ethernet-phy@1 {
188			reg = <1>;
189		};
190
191		ethphy2: ethernet-phy@2 {
192			reg = <2>;
193		};
194	};
195};
196
197&fec2 {
198	pinctrl-names = "default";
199	pinctrl-0 = <&pinctrl_enet2>;
200	phy-mode = "rgmii";
201	phy-handle = <&ethphy2>;
202	status = "okay";
203};
204
205&i2c3 {
206	clock-frequency = <100000>;
207	pinctrl-names = "default";
208	pinctrl-0 = <&pinctrl_i2c3>;
209	status = "okay";
210};
211
212&i2c4 {
213	clock-frequency = <100000>;
214	pinctrl-names = "default";
215	pinctrl-0 = <&pinctrl_i2c4>;
216	status = "okay";
217
218	codec: wm8962@1a {
219		compatible = "wlf,wm8962";
220		reg = <0x1a>;
221		clocks = <&clks IMX6SX_CLK_AUDIO>;
222		DCVDD-supply = <&vgen4_reg>;
223		DBVDD-supply = <&vgen4_reg>;
224		AVDD-supply = <&vgen4_reg>;
225		CPVDD-supply = <&vgen4_reg>;
226		MICVDD-supply = <&vgen3_reg>;
227		PLLVDD-supply = <&vgen4_reg>;
228		SPKVDD1-supply = <&reg_psu_5v>;
229		SPKVDD2-supply = <&reg_psu_5v>;
230	};
231};
232
233&pcie {
234	pinctrl-names = "default";
235	pinctrl-0 = <&pinctrl_pcie>;
236	reset-gpio = <&gpio2 0 GPIO_ACTIVE_LOW>;
237	vpcie-supply = <&reg_pcie_gpio>;
238	status = "okay";
239};
240
241&lcdif1 {
242	pinctrl-names = "default";
243	pinctrl-0 = <&pinctrl_lcd>;
244	status = "okay";
245
246	port {
247		display_out: endpoint {
248			remote-endpoint = <&panel_in>;
249		};
250	};
251};
252
253&pwm3 {
254	pinctrl-names = "default";
255	pinctrl-0 = <&pinctrl_pwm3>;
256	status = "okay";
257};
258
259&snvs_poweroff {
260	status = "okay";
261};
262
263&sai1 {
264	pinctrl-names = "default";
265	pinctrl-0 = <&pinctrl_sai1>;
266	status = "disabled";
267};
268
269&ssi2 {
270	status = "okay";
271};
272
273&uart1 {
274	pinctrl-names = "default";
275	pinctrl-0 = <&pinctrl_uart1>;
276	status = "okay";
277};
278
279&uart5 { /* for bluetooth */
280	pinctrl-names = "default";
281	pinctrl-0 = <&pinctrl_uart5>;
282	uart-has-rtscts;
283	status = "okay";
284};
285
286&usbotg1 {
287	vbus-supply = <&reg_usb_otg1_vbus>;
288	pinctrl-names = "default";
289	pinctrl-0 = <&pinctrl_usb_otg1_id>;
290	status = "okay";
291};
292
293&usbotg2 {
294	vbus-supply = <&reg_usb_otg2_vbus>;
295	dr_mode = "host";
296	status = "okay";
297};
298
299&usbphy1 {
300	fsl,tx-d-cal = <106>;
301};
302
303&usbphy2 {
304	fsl,tx-d-cal = <106>;
305};
306
307&usdhc2 {
308	pinctrl-names = "default";
309	pinctrl-0 = <&pinctrl_usdhc2>;
310	non-removable;
311	no-1-8-v;
312	keep-power-in-suspend;
313	wakeup-source;
314	status = "okay";
315};
316
317&usdhc3 {
318	pinctrl-names = "default", "state_100mhz", "state_200mhz";
319	pinctrl-0 = <&pinctrl_usdhc3>;
320	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
321	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
322	bus-width = <8>;
323	cd-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
324	wp-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
325	keep-power-in-suspend;
326	wakeup-source;
327	vmmc-supply = <&vcc_sd3>;
328	status = "okay";
329};
330
331&usdhc4 {
332	pinctrl-names = "default";
333	pinctrl-0 = <&pinctrl_usdhc4>;
334	cd-gpios = <&gpio6 21 GPIO_ACTIVE_LOW>;
335	wp-gpios = <&gpio6 20 GPIO_ACTIVE_HIGH>;
336	status = "okay";
337};
338
339&wdog1 {
340	pinctrl-names = "default";
341	pinctrl-0 = <&pinctrl_wdog>;
342	fsl,ext-reset-output;
343};
344
345&iomuxc {
346	imx6x-sdb {
347		pinctrl_audmux: audmuxgrp {
348			fsl,pins = <
349				MX6SX_PAD_CSI_DATA00__AUDMUX_AUD6_TXC	0x130b0
350				MX6SX_PAD_CSI_DATA01__AUDMUX_AUD6_TXFS	0x130b0
351				MX6SX_PAD_CSI_HSYNC__AUDMUX_AUD6_TXD	0x120b0
352				MX6SX_PAD_CSI_VSYNC__AUDMUX_AUD6_RXD	0x130b0
353				MX6SX_PAD_CSI_PIXCLK__AUDMUX_MCLK	0x130b0
354			>;
355		};
356
357		pinctrl_enet1: enet1grp {
358			fsl,pins = <
359				MX6SX_PAD_ENET1_MDIO__ENET1_MDIO	0xa0b1
360				MX6SX_PAD_ENET1_MDC__ENET1_MDC		0xa0b1
361				MX6SX_PAD_RGMII1_TXC__ENET1_RGMII_TXC	0xa0b1
362				MX6SX_PAD_RGMII1_TD0__ENET1_TX_DATA_0	0xa0b1
363				MX6SX_PAD_RGMII1_TD1__ENET1_TX_DATA_1	0xa0b1
364				MX6SX_PAD_RGMII1_TD2__ENET1_TX_DATA_2	0xa0b1
365				MX6SX_PAD_RGMII1_TD3__ENET1_TX_DATA_3	0xa0b1
366				MX6SX_PAD_RGMII1_TX_CTL__ENET1_TX_EN	0xa0b1
367				MX6SX_PAD_RGMII1_RXC__ENET1_RX_CLK	0x3081
368				MX6SX_PAD_RGMII1_RD0__ENET1_RX_DATA_0	0x3081
369				MX6SX_PAD_RGMII1_RD1__ENET1_RX_DATA_1	0x3081
370				MX6SX_PAD_RGMII1_RD2__ENET1_RX_DATA_2	0x3081
371				MX6SX_PAD_RGMII1_RD3__ENET1_RX_DATA_3	0x3081
372				MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN	0x3081
373				MX6SX_PAD_ENET2_RX_CLK__ENET2_REF_CLK_25M	0x91
374			>;
375		};
376
377		pinctrl_enet_3v3: enet3v3grp {
378			fsl,pins = <
379				MX6SX_PAD_ENET2_COL__GPIO2_IO_6		0x80000000
380			>;
381		};
382
383		pinctrl_enet2: enet2grp {
384			fsl,pins = <
385				MX6SX_PAD_RGMII2_TXC__ENET2_RGMII_TXC	0xa0b9
386				MX6SX_PAD_RGMII2_TD0__ENET2_TX_DATA_0	0xa0b1
387				MX6SX_PAD_RGMII2_TD1__ENET2_TX_DATA_1	0xa0b1
388				MX6SX_PAD_RGMII2_TD2__ENET2_TX_DATA_2	0xa0b1
389				MX6SX_PAD_RGMII2_TD3__ENET2_TX_DATA_3	0xa0b1
390				MX6SX_PAD_RGMII2_TX_CTL__ENET2_TX_EN	0xa0b1
391				MX6SX_PAD_RGMII2_RXC__ENET2_RX_CLK	0x3081
392				MX6SX_PAD_RGMII2_RD0__ENET2_RX_DATA_0	0x3081
393				MX6SX_PAD_RGMII2_RD1__ENET2_RX_DATA_1	0x3081
394				MX6SX_PAD_RGMII2_RD2__ENET2_RX_DATA_2	0x3081
395				MX6SX_PAD_RGMII2_RD3__ENET2_RX_DATA_3	0x3081
396				MX6SX_PAD_RGMII2_RX_CTL__ENET2_RX_EN	0x3081
397			>;
398		};
399
400		pinctrl_gpio_keys: gpio_keysgrp {
401			fsl,pins = <
402				MX6SX_PAD_CSI_DATA04__GPIO1_IO_18 0x17059
403				MX6SX_PAD_CSI_DATA05__GPIO1_IO_19 0x17059
404			>;
405		};
406
407		pinctrl_i2c1: i2c1grp {
408			fsl,pins = <
409				MX6SX_PAD_GPIO1_IO01__I2C1_SDA		0x4001b8b1
410				MX6SX_PAD_GPIO1_IO00__I2C1_SCL		0x4001b8b1
411			>;
412		};
413
414		pinctrl_i2c3: i2c3grp {
415			fsl,pins = <
416				MX6SX_PAD_KEY_ROW4__I2C3_SDA		0x4001b8b1
417				MX6SX_PAD_KEY_COL4__I2C3_SCL		0x4001b8b1
418			>;
419		};
420
421		pinctrl_i2c4: i2c4grp {
422			fsl,pins = <
423				MX6SX_PAD_CSI_DATA07__I2C4_SDA		0x4001b8b1
424				MX6SX_PAD_CSI_DATA06__I2C4_SCL		0x4001b8b1
425			>;
426		};
427
428		pinctrl_lcd: lcdgrp {
429			fsl,pins = <
430				MX6SX_PAD_LCD1_DATA00__LCDIF1_DATA_0 0x4001b0b0
431				MX6SX_PAD_LCD1_DATA01__LCDIF1_DATA_1 0x4001b0b0
432				MX6SX_PAD_LCD1_DATA02__LCDIF1_DATA_2 0x4001b0b0
433				MX6SX_PAD_LCD1_DATA03__LCDIF1_DATA_3 0x4001b0b0
434				MX6SX_PAD_LCD1_DATA04__LCDIF1_DATA_4 0x4001b0b0
435				MX6SX_PAD_LCD1_DATA05__LCDIF1_DATA_5 0x4001b0b0
436				MX6SX_PAD_LCD1_DATA06__LCDIF1_DATA_6 0x4001b0b0
437				MX6SX_PAD_LCD1_DATA07__LCDIF1_DATA_7 0x4001b0b0
438				MX6SX_PAD_LCD1_DATA08__LCDIF1_DATA_8 0x4001b0b0
439				MX6SX_PAD_LCD1_DATA09__LCDIF1_DATA_9 0x4001b0b0
440				MX6SX_PAD_LCD1_DATA10__LCDIF1_DATA_10 0x4001b0b0
441				MX6SX_PAD_LCD1_DATA11__LCDIF1_DATA_11 0x4001b0b0
442				MX6SX_PAD_LCD1_DATA12__LCDIF1_DATA_12 0x4001b0b0
443				MX6SX_PAD_LCD1_DATA13__LCDIF1_DATA_13 0x4001b0b0
444				MX6SX_PAD_LCD1_DATA14__LCDIF1_DATA_14 0x4001b0b0
445				MX6SX_PAD_LCD1_DATA15__LCDIF1_DATA_15 0x4001b0b0
446				MX6SX_PAD_LCD1_DATA16__LCDIF1_DATA_16 0x4001b0b0
447				MX6SX_PAD_LCD1_DATA17__LCDIF1_DATA_17 0x4001b0b0
448				MX6SX_PAD_LCD1_DATA18__LCDIF1_DATA_18 0x4001b0b0
449				MX6SX_PAD_LCD1_DATA19__LCDIF1_DATA_19 0x4001b0b0
450				MX6SX_PAD_LCD1_DATA20__LCDIF1_DATA_20 0x4001b0b0
451				MX6SX_PAD_LCD1_DATA21__LCDIF1_DATA_21 0x4001b0b0
452				MX6SX_PAD_LCD1_DATA22__LCDIF1_DATA_22 0x4001b0b0
453				MX6SX_PAD_LCD1_DATA23__LCDIF1_DATA_23 0x4001b0b0
454				MX6SX_PAD_LCD1_CLK__LCDIF1_CLK	0x4001b0b0
455				MX6SX_PAD_LCD1_ENABLE__LCDIF1_ENABLE 0x4001b0b0
456				MX6SX_PAD_LCD1_VSYNC__LCDIF1_VSYNC 0x4001b0b0
457				MX6SX_PAD_LCD1_HSYNC__LCDIF1_HSYNC 0x4001b0b0
458				MX6SX_PAD_LCD1_RESET__GPIO3_IO_27 0x4001b0b0
459			>;
460		};
461
462		pinctrl_pcie: pciegrp {
463			fsl,pins = <
464				MX6SX_PAD_ENET1_COL__GPIO2_IO_0 0x10b0
465			>;
466		};
467
468		pinctrl_pcie_reg: pciereggrp {
469			fsl,pins = <
470				MX6SX_PAD_ENET1_CRS__GPIO2_IO_1	0x10b0
471			>;
472		};
473
474		pinctrl_peri_3v3: peri3v3grp {
475			fsl,pins = <
476				MX6SX_PAD_QSPI1A_DATA0__GPIO4_IO_16	0x80000000
477			>;
478		};
479
480		pinctrl_pwm3: pwm3grp-1 {
481			fsl,pins = <
482				MX6SX_PAD_SD1_DATA2__PWM3_OUT 0x110b0
483			>;
484		};
485
486		pinctrl_qspi2: qspi2grp {
487			fsl,pins = <
488				MX6SX_PAD_NAND_WP_B__QSPI2_A_DATA_0     0x70f1
489				MX6SX_PAD_NAND_READY_B__QSPI2_A_DATA_1  0x70f1
490				MX6SX_PAD_NAND_CE0_B__QSPI2_A_DATA_2    0x70f1
491				MX6SX_PAD_NAND_CE1_B__QSPI2_A_DATA_3    0x70f1
492				MX6SX_PAD_NAND_CLE__QSPI2_A_SCLK        0x70f1
493				MX6SX_PAD_NAND_ALE__QSPI2_A_SS0_B       0x70f1
494				MX6SX_PAD_NAND_DATA01__QSPI2_B_DATA_0   0x70f1
495				MX6SX_PAD_NAND_DATA00__QSPI2_B_DATA_1   0x70f1
496				MX6SX_PAD_NAND_WE_B__QSPI2_B_DATA_2     0x70f1
497				MX6SX_PAD_NAND_RE_B__QSPI2_B_DATA_3     0x70f1
498				MX6SX_PAD_NAND_DATA02__QSPI2_B_SCLK     0x70f1
499				MX6SX_PAD_NAND_DATA03__QSPI2_B_SS0_B    0x70f1
500			>;
501		};
502
503		pinctrl_vcc_sd3: vccsd3grp {
504			fsl,pins = <
505				MX6SX_PAD_KEY_COL1__GPIO2_IO_11		0x17059
506			>;
507		};
508
509		pinctrl_sai1: sai1grp {
510			fsl,pins = <
511				MX6SX_PAD_CSI_DATA00__SAI1_TX_BCLK	0x130b0
512				MX6SX_PAD_CSI_DATA01__SAI1_TX_SYNC	0x130b0
513				MX6SX_PAD_CSI_HSYNC__SAI1_TX_DATA_0	0x120b0
514				MX6SX_PAD_CSI_VSYNC__SAI1_RX_DATA_0	0x130b0
515				MX6SX_PAD_CSI_PIXCLK__AUDMUX_MCLK	0x130b0
516			>;
517		};
518
519		pinctrl_uart1: uart1grp {
520			fsl,pins = <
521				MX6SX_PAD_GPIO1_IO04__UART1_TX		0x1b0b1
522				MX6SX_PAD_GPIO1_IO05__UART1_RX		0x1b0b1
523			>;
524		};
525
526		pinctrl_uart5: uart5grp {
527			fsl,pins = <
528				MX6SX_PAD_KEY_ROW3__UART5_RX		0x1b0b1
529				MX6SX_PAD_KEY_COL3__UART5_TX		0x1b0b1
530				MX6SX_PAD_KEY_ROW2__UART5_CTS_B		0x1b0b1
531				MX6SX_PAD_KEY_COL2__UART5_RTS_B		0x1b0b1
532			>;
533		};
534
535		pinctrl_usb_otg1: usbotg1grp {
536			fsl,pins = <
537				MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9	0x10b0
538			>;
539		};
540
541		pinctrl_usb_otg1_id: usbotg1idgrp {
542			fsl,pins = <
543				MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID	0x17059
544			>;
545		};
546
547		pinctrl_usb_otg2: usbot2ggrp {
548			fsl,pins = <
549				MX6SX_PAD_GPIO1_IO12__GPIO1_IO_12	0x10b0
550			>;
551		};
552
553		pinctrl_usdhc2: usdhc2grp {
554			fsl,pins = <
555				MX6SX_PAD_SD2_CMD__USDHC2_CMD		0x17059
556				MX6SX_PAD_SD2_CLK__USDHC2_CLK		0x10059
557				MX6SX_PAD_SD2_DATA0__USDHC2_DATA0	0x17059
558				MX6SX_PAD_SD2_DATA1__USDHC2_DATA1	0x17059
559				MX6SX_PAD_SD2_DATA2__USDHC2_DATA2	0x17059
560				MX6SX_PAD_SD2_DATA3__USDHC2_DATA3	0x17059
561			>;
562		};
563
564		pinctrl_usdhc3: usdhc3grp {
565			fsl,pins = <
566				MX6SX_PAD_SD3_CMD__USDHC3_CMD		0x17059
567				MX6SX_PAD_SD3_CLK__USDHC3_CLK		0x10059
568				MX6SX_PAD_SD3_DATA0__USDHC3_DATA0	0x17059
569				MX6SX_PAD_SD3_DATA1__USDHC3_DATA1	0x17059
570				MX6SX_PAD_SD3_DATA2__USDHC3_DATA2	0x17059
571				MX6SX_PAD_SD3_DATA3__USDHC3_DATA3	0x17059
572				MX6SX_PAD_SD3_DATA4__USDHC3_DATA4	0x17059
573				MX6SX_PAD_SD3_DATA5__USDHC3_DATA5	0x17059
574				MX6SX_PAD_SD3_DATA6__USDHC3_DATA6	0x17059
575				MX6SX_PAD_SD3_DATA7__USDHC3_DATA7	0x17059
576				MX6SX_PAD_KEY_COL0__GPIO2_IO_10		0x17059 /* CD */
577				MX6SX_PAD_KEY_ROW0__GPIO2_IO_15		0x17059 /* WP */
578			>;
579		};
580
581		pinctrl_usdhc3_100mhz: usdhc3grp-100mhz {
582			fsl,pins = <
583				MX6SX_PAD_SD3_CMD__USDHC3_CMD		0x170b9
584				MX6SX_PAD_SD3_CLK__USDHC3_CLK		0x100b9
585				MX6SX_PAD_SD3_DATA0__USDHC3_DATA0	0x170b9
586				MX6SX_PAD_SD3_DATA1__USDHC3_DATA1	0x170b9
587				MX6SX_PAD_SD3_DATA2__USDHC3_DATA2	0x170b9
588				MX6SX_PAD_SD3_DATA3__USDHC3_DATA3	0x170b9
589				MX6SX_PAD_SD3_DATA4__USDHC3_DATA4	0x170b9
590				MX6SX_PAD_SD3_DATA5__USDHC3_DATA5	0x170b9
591				MX6SX_PAD_SD3_DATA6__USDHC3_DATA6	0x170b9
592				MX6SX_PAD_SD3_DATA7__USDHC3_DATA7	0x170b9
593			>;
594		};
595
596		pinctrl_usdhc3_200mhz: usdhc3grp-200mhz {
597			fsl,pins = <
598				MX6SX_PAD_SD3_CMD__USDHC3_CMD		0x170f9
599				MX6SX_PAD_SD3_CLK__USDHC3_CLK		0x100f9
600				MX6SX_PAD_SD3_DATA0__USDHC3_DATA0	0x170f9
601				MX6SX_PAD_SD3_DATA1__USDHC3_DATA1	0x170f9
602				MX6SX_PAD_SD3_DATA2__USDHC3_DATA2	0x170f9
603				MX6SX_PAD_SD3_DATA3__USDHC3_DATA3	0x170f9
604				MX6SX_PAD_SD3_DATA4__USDHC3_DATA4	0x170f9
605				MX6SX_PAD_SD3_DATA5__USDHC3_DATA5	0x170f9
606				MX6SX_PAD_SD3_DATA6__USDHC3_DATA6	0x170f9
607				MX6SX_PAD_SD3_DATA7__USDHC3_DATA7	0x170f9
608			>;
609		};
610
611		pinctrl_usdhc4: usdhc4grp {
612			fsl,pins = <
613				MX6SX_PAD_SD4_CMD__USDHC4_CMD		0x17059
614				MX6SX_PAD_SD4_CLK__USDHC4_CLK		0x10059
615				MX6SX_PAD_SD4_DATA0__USDHC4_DATA0	0x17059
616				MX6SX_PAD_SD4_DATA1__USDHC4_DATA1	0x17059
617				MX6SX_PAD_SD4_DATA2__USDHC4_DATA2	0x17059
618				MX6SX_PAD_SD4_DATA3__USDHC4_DATA3	0x17059
619				MX6SX_PAD_SD4_DATA7__GPIO6_IO_21	0x17059 /* CD */
620				MX6SX_PAD_SD4_DATA6__GPIO6_IO_20	0x17059 /* WP */
621			>;
622		};
623
624		pinctrl_wdog: wdoggrp {
625			fsl,pins = <
626				MX6SX_PAD_GPIO1_IO13__WDOG1_WDOG_ANY 0x30b0
627			>;
628		};
629	};
630};
631