xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-gw5903.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot/*
2f126890aSEmmanuel Vadot * Copyright 2017 Gateworks Corporation
3f126890aSEmmanuel Vadot *
4f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms
5f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual
6f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a
7f126890aSEmmanuel Vadot * whole.
8f126890aSEmmanuel Vadot *
9f126890aSEmmanuel Vadot *  a) This file is free software; you can redistribute it and/or
10f126890aSEmmanuel Vadot *     modify it under the terms of the GNU General Public License as
11f126890aSEmmanuel Vadot *     published by the Free Software Foundation; either version 2 of
12f126890aSEmmanuel Vadot *     the License, or (at your option) any later version.
13f126890aSEmmanuel Vadot *
14f126890aSEmmanuel Vadot *     This file is distributed in the hope that it will be useful,
15f126890aSEmmanuel Vadot *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16f126890aSEmmanuel Vadot *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17f126890aSEmmanuel Vadot *     GNU General Public License for more details.
18f126890aSEmmanuel Vadot *
19f126890aSEmmanuel Vadot *     You should have received a copy of the GNU General Public
20f126890aSEmmanuel Vadot *     License along with this file; if not, write to the Free
21f126890aSEmmanuel Vadot *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
22f126890aSEmmanuel Vadot *     MA 02110-1301 USA
23f126890aSEmmanuel Vadot *
24f126890aSEmmanuel Vadot * Or, alternatively,
25f126890aSEmmanuel Vadot *
26f126890aSEmmanuel Vadot *  b) Permission is hereby granted, free of charge, to any person
27f126890aSEmmanuel Vadot *     obtaining a copy of this software and associated documentation
28f126890aSEmmanuel Vadot *     files (the "Software"), to deal in the Software without
29f126890aSEmmanuel Vadot *     restriction, including without limitation the rights to use,
30f126890aSEmmanuel Vadot *     copy, modify, merge, publish, distribute, sublicense, and/or
31f126890aSEmmanuel Vadot *     sell copies of the Software, and to permit persons to whom the
32f126890aSEmmanuel Vadot *     Software is furnished to do so, subject to the following
33f126890aSEmmanuel Vadot *     conditions:
34f126890aSEmmanuel Vadot *
35f126890aSEmmanuel Vadot *     The above copyright notice and this permission notice shall be
36f126890aSEmmanuel Vadot *     included in all copies or substantial portions of the Software.
37f126890aSEmmanuel Vadot *
38f126890aSEmmanuel Vadot *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39f126890aSEmmanuel Vadot *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40f126890aSEmmanuel Vadot *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41f126890aSEmmanuel Vadot *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42f126890aSEmmanuel Vadot *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43f126890aSEmmanuel Vadot *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44f126890aSEmmanuel Vadot *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45f126890aSEmmanuel Vadot *     OTHER DEALINGS IN THE SOFTWARE.
46f126890aSEmmanuel Vadot */
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
49f126890aSEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h>
50f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
51f126890aSEmmanuel Vadot
52f126890aSEmmanuel Vadot/ {
53f126890aSEmmanuel Vadot	chosen {
54f126890aSEmmanuel Vadot		stdout-path = &uart2;
55f126890aSEmmanuel Vadot	};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot	backlight {
58f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
597d0873ebSEmmanuel Vadot		pwms = <&pwm1 0 5000000 0>;
60f126890aSEmmanuel Vadot		brightness-levels = <
61f126890aSEmmanuel Vadot			0  1  2  3  4  5  6  7  8  9
62f126890aSEmmanuel Vadot			10 11 12 13 14 15 16 17 18 19
63f126890aSEmmanuel Vadot			20 21 22 23 24 25 26 27 28 29
64f126890aSEmmanuel Vadot			30 31 32 33 34 35 36 37 38 39
65f126890aSEmmanuel Vadot			40 41 42 43 44 45 46 47 48 49
66f126890aSEmmanuel Vadot			50 51 52 53 54 55 56 57 58 59
67f126890aSEmmanuel Vadot			60 61 62 63 64 65 66 67 68 69
68f126890aSEmmanuel Vadot			70 71 72 73 74 75 76 77 78 79
69f126890aSEmmanuel Vadot			80 81 82 83 84 85 86 87 88 89
70f126890aSEmmanuel Vadot			90 91 92 93 94 95 96 97 98 99
71f126890aSEmmanuel Vadot			100
72f126890aSEmmanuel Vadot			>;
73f126890aSEmmanuel Vadot		default-brightness-level = <100>;
74f126890aSEmmanuel Vadot	};
75f126890aSEmmanuel Vadot
76f126890aSEmmanuel Vadot	gpio-keys {
77f126890aSEmmanuel Vadot		compatible = "gpio-keys";
78f126890aSEmmanuel Vadot
79f126890aSEmmanuel Vadot		user-pb {
80f126890aSEmmanuel Vadot			label = "user_pb";
81f126890aSEmmanuel Vadot			gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
82f126890aSEmmanuel Vadot			linux,code = <BTN_0>;
83f126890aSEmmanuel Vadot		};
84f126890aSEmmanuel Vadot
85f126890aSEmmanuel Vadot		user-pb1x {
86f126890aSEmmanuel Vadot			label = "user_pb1x";
87f126890aSEmmanuel Vadot			linux,code = <BTN_1>;
88f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
89f126890aSEmmanuel Vadot			interrupts = <0>;
90f126890aSEmmanuel Vadot		};
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot		key-erased {
93f126890aSEmmanuel Vadot			label = "key-erased";
94f126890aSEmmanuel Vadot			linux,code = <BTN_2>;
95f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
96f126890aSEmmanuel Vadot			interrupts = <1>;
97f126890aSEmmanuel Vadot		};
98f126890aSEmmanuel Vadot
99f126890aSEmmanuel Vadot		eeprom-wp {
100f126890aSEmmanuel Vadot			label = "eeprom_wp";
101f126890aSEmmanuel Vadot			linux,code = <BTN_3>;
102f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
103f126890aSEmmanuel Vadot			interrupts = <2>;
104f126890aSEmmanuel Vadot		};
105f126890aSEmmanuel Vadot
106f126890aSEmmanuel Vadot		tamper {
107f126890aSEmmanuel Vadot			label = "tamper";
108f126890aSEmmanuel Vadot			linux,code = <BTN_4>;
109f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
110f126890aSEmmanuel Vadot			interrupts = <5>;
111f126890aSEmmanuel Vadot		};
112f126890aSEmmanuel Vadot
113f126890aSEmmanuel Vadot		switch-hold {
114f126890aSEmmanuel Vadot			label = "switch_hold";
115f126890aSEmmanuel Vadot			linux,code = <BTN_5>;
116f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
117f126890aSEmmanuel Vadot			interrupts = <7>;
118f126890aSEmmanuel Vadot		};
119f126890aSEmmanuel Vadot	};
120f126890aSEmmanuel Vadot
121f126890aSEmmanuel Vadot	leds {
122f126890aSEmmanuel Vadot		compatible = "gpio-leds";
123f126890aSEmmanuel Vadot		pinctrl-names = "default";
124f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_leds>;
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot		led0: led-user1 {
127f126890aSEmmanuel Vadot			label = "user1";
128f126890aSEmmanuel Vadot			gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
129f126890aSEmmanuel Vadot			default-state = "off";
130f126890aSEmmanuel Vadot		};
131f126890aSEmmanuel Vadot	};
132f126890aSEmmanuel Vadot
133f126890aSEmmanuel Vadot	memory@10000000 {
134f126890aSEmmanuel Vadot		device_type = "memory";
135f126890aSEmmanuel Vadot		reg = <0x10000000 0x40000000>;
136f126890aSEmmanuel Vadot	};
137f126890aSEmmanuel Vadot
138f126890aSEmmanuel Vadot	reg_5p0v: regulator-5p0v {
139f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
140f126890aSEmmanuel Vadot		regulator-name = "5P0V";
141f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
142f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
143f126890aSEmmanuel Vadot		regulator-always-on;
144f126890aSEmmanuel Vadot	};
145f126890aSEmmanuel Vadot
146f126890aSEmmanuel Vadot	reg_3p3v: regulator-3p3v {
147f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
148f126890aSEmmanuel Vadot		regulator-name = "3P3V";
149f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
150f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
151f126890aSEmmanuel Vadot		regulator-always-on;
152f126890aSEmmanuel Vadot	};
153f126890aSEmmanuel Vadot
154f126890aSEmmanuel Vadot	reg_2p5v: regulator-2p5v {
155f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
156f126890aSEmmanuel Vadot		regulator-name = "2P5V";
157f126890aSEmmanuel Vadot		regulator-min-microvolt = <2500000>;
158f126890aSEmmanuel Vadot		regulator-max-microvolt = <2500000>;
159f126890aSEmmanuel Vadot		regulator-always-on;
160f126890aSEmmanuel Vadot	};
161f126890aSEmmanuel Vadot
162f126890aSEmmanuel Vadot	reg_usb_h1_vbus: regulator-usb-h1-vbus {
163f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
164f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
165f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
166f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
167f126890aSEmmanuel Vadot		gpio = <&gpio3 30 0>;
168f126890aSEmmanuel Vadot		enable-active-high;
169f126890aSEmmanuel Vadot	};
170f126890aSEmmanuel Vadot
171f126890aSEmmanuel Vadot	reg_usb_otg_vbus: regulator-usb-otg-vbus {
172f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
173f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
174f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
175f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
176f126890aSEmmanuel Vadot		gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
177f126890aSEmmanuel Vadot		enable-active-high;
178f126890aSEmmanuel Vadot	};
179f126890aSEmmanuel Vadot
180f126890aSEmmanuel Vadot	reg_12p0: regulator-12p0v {
181f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
182f126890aSEmmanuel Vadot		regulator-name = "12P0V";
183f126890aSEmmanuel Vadot		regulator-min-microvolt = <12000000>;
184f126890aSEmmanuel Vadot		regulator-max-microvolt = <12000000>;
185f126890aSEmmanuel Vadot		gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
186f126890aSEmmanuel Vadot		enable-active-high;
187f126890aSEmmanuel Vadot	};
188f126890aSEmmanuel Vadot
189f126890aSEmmanuel Vadot	sound {
190f126890aSEmmanuel Vadot		compatible = "fsl,imx-audio-tlv320";
191f126890aSEmmanuel Vadot		model = "imx-tlv320";
192f126890aSEmmanuel Vadot		ssi-controller = <&ssi1>;
193f126890aSEmmanuel Vadot		audio-codec = <&tlv320aic3105>;
194f126890aSEmmanuel Vadot		/* routing of sink, source */
195f126890aSEmmanuel Vadot		audio-routing =
196f126890aSEmmanuel Vadot			/* TLV320 LINE1L pin <-> Mic Jack connector */
197f126890aSEmmanuel Vadot			"LINE1L", "Mic Jack",
198f126890aSEmmanuel Vadot			/* board Headphone Jack <-> HPOUT */
199f126890aSEmmanuel Vadot			"Headphone Jack", "HPLOUT",
200f126890aSEmmanuel Vadot			"Headphone Jack", "HPROUT",
201f126890aSEmmanuel Vadot			"Mic Jack", "Mic Bias";
202f126890aSEmmanuel Vadot		mux-int-port = <1>;
203f126890aSEmmanuel Vadot		mux-ext-port = <6>;
204f126890aSEmmanuel Vadot	};
205f126890aSEmmanuel Vadot};
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot&audmux {
208f126890aSEmmanuel Vadot	pinctrl-names = "default";
209f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_audmux>;
210f126890aSEmmanuel Vadot	status = "okay";
211f126890aSEmmanuel Vadot};
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot&clks {
214f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
215f126890aSEmmanuel Vadot			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
216f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
217f126890aSEmmanuel Vadot				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
218f126890aSEmmanuel Vadot};
219f126890aSEmmanuel Vadot
220f126890aSEmmanuel Vadot&fec {
221f126890aSEmmanuel Vadot	pinctrl-names = "default";
222f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
223f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
224f126890aSEmmanuel Vadot	status = "okay";
225f126890aSEmmanuel Vadot};
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot&i2c1 {
228f126890aSEmmanuel Vadot	clock-frequency = <100000>;
229f126890aSEmmanuel Vadot	pinctrl-names = "default";
230f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
231f126890aSEmmanuel Vadot	status = "okay";
232f126890aSEmmanuel Vadot
233f126890aSEmmanuel Vadot	gsc: gsc@20 {
234f126890aSEmmanuel Vadot		compatible = "gw,gsc";
235f126890aSEmmanuel Vadot		reg = <0x20>;
236f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
237f126890aSEmmanuel Vadot		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
238f126890aSEmmanuel Vadot		interrupt-controller;
239f126890aSEmmanuel Vadot		#interrupt-cells = <1>;
240f126890aSEmmanuel Vadot		#size-cells = <0>;
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot		adc {
243f126890aSEmmanuel Vadot			compatible = "gw,gsc-adc";
244f126890aSEmmanuel Vadot			#address-cells = <1>;
245f126890aSEmmanuel Vadot			#size-cells = <0>;
246f126890aSEmmanuel Vadot
247f126890aSEmmanuel Vadot			channel@0 {
248f126890aSEmmanuel Vadot				gw,mode = <0>;
249f126890aSEmmanuel Vadot				reg = <0x00>;
250f126890aSEmmanuel Vadot				label = "temp";
251f126890aSEmmanuel Vadot			};
252f126890aSEmmanuel Vadot
253f126890aSEmmanuel Vadot			channel@2 {
254f126890aSEmmanuel Vadot				gw,mode = <1>;
255f126890aSEmmanuel Vadot				reg = <0x02>;
256f126890aSEmmanuel Vadot				label = "vdd_vin";
257f126890aSEmmanuel Vadot			};
258f126890aSEmmanuel Vadot
259f126890aSEmmanuel Vadot			channel@5 {
260f126890aSEmmanuel Vadot				gw,mode = <1>;
261f126890aSEmmanuel Vadot				reg = <0x05>;
262f126890aSEmmanuel Vadot				label = "vdd_3p3";
263f126890aSEmmanuel Vadot			};
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot			channel@8 {
266f126890aSEmmanuel Vadot				gw,mode = <1>;
267f126890aSEmmanuel Vadot				reg = <0x08>;
268f126890aSEmmanuel Vadot				label = "vdd_bat";
269f126890aSEmmanuel Vadot			};
270f126890aSEmmanuel Vadot
271f126890aSEmmanuel Vadot			channel@b {
272f126890aSEmmanuel Vadot				gw,mode = <1>;
273f126890aSEmmanuel Vadot				reg = <0x0b>;
274f126890aSEmmanuel Vadot				label = "vdd_5p0";
275f126890aSEmmanuel Vadot			};
276f126890aSEmmanuel Vadot
277f126890aSEmmanuel Vadot			channel@e {
278f126890aSEmmanuel Vadot				gw,mode = <1>;
279f126890aSEmmanuel Vadot				reg = <0xe>;
280f126890aSEmmanuel Vadot				label = "vdd_arm";
281f126890aSEmmanuel Vadot			};
282f126890aSEmmanuel Vadot
283f126890aSEmmanuel Vadot			channel@11 {
284f126890aSEmmanuel Vadot				gw,mode = <1>;
285f126890aSEmmanuel Vadot				reg = <0x11>;
286f126890aSEmmanuel Vadot				label = "vdd_soc";
287f126890aSEmmanuel Vadot			};
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot			channel@14 {
290f126890aSEmmanuel Vadot				gw,mode = <1>;
291f126890aSEmmanuel Vadot				reg = <0x14>;
292f126890aSEmmanuel Vadot				label = "vdd_3p0";
293f126890aSEmmanuel Vadot			};
294f126890aSEmmanuel Vadot
295f126890aSEmmanuel Vadot			channel@17 {
296f126890aSEmmanuel Vadot				gw,mode = <1>;
297f126890aSEmmanuel Vadot				reg = <0x17>;
298f126890aSEmmanuel Vadot				label = "vdd_1p5";
299f126890aSEmmanuel Vadot			};
300f126890aSEmmanuel Vadot
301f126890aSEmmanuel Vadot			channel@1d {
302f126890aSEmmanuel Vadot				gw,mode = <1>;
303f126890aSEmmanuel Vadot				reg = <0x1d>;
304f126890aSEmmanuel Vadot				label = "vdd_1p8";
305f126890aSEmmanuel Vadot			};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot			channel@20 {
308f126890aSEmmanuel Vadot				gw,mode = <1>;
309f126890aSEmmanuel Vadot				reg = <0x20>;
310f126890aSEmmanuel Vadot				label = "vdd_an1";
311f126890aSEmmanuel Vadot			};
312f126890aSEmmanuel Vadot
313f126890aSEmmanuel Vadot			channel@23 {
314f126890aSEmmanuel Vadot				gw,mode = <1>;
315f126890aSEmmanuel Vadot				reg = <0x23>;
316f126890aSEmmanuel Vadot				label = "vdd_2p5";
317f126890aSEmmanuel Vadot			};
318f126890aSEmmanuel Vadot		};
319f126890aSEmmanuel Vadot	};
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot	gsc_gpio: gpio@23 {
322f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
323f126890aSEmmanuel Vadot		reg = <0x23>;
324f126890aSEmmanuel Vadot		gpio-controller;
325f126890aSEmmanuel Vadot		#gpio-cells = <2>;
326f126890aSEmmanuel Vadot		interrupt-parent = <&gsc>;
327f126890aSEmmanuel Vadot		interrupts = <4>;
328f126890aSEmmanuel Vadot	};
329f126890aSEmmanuel Vadot
330f126890aSEmmanuel Vadot	eeprom1: eeprom@50 {
331f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
332f126890aSEmmanuel Vadot		reg = <0x50>;
333f126890aSEmmanuel Vadot		pagesize = <16>;
334f126890aSEmmanuel Vadot	};
335f126890aSEmmanuel Vadot
336f126890aSEmmanuel Vadot	eeprom2: eeprom@51 {
337f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
338f126890aSEmmanuel Vadot		reg = <0x51>;
339f126890aSEmmanuel Vadot		pagesize = <16>;
340f126890aSEmmanuel Vadot	};
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot	eeprom3: eeprom@52 {
343f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
344f126890aSEmmanuel Vadot		reg = <0x52>;
345f126890aSEmmanuel Vadot		pagesize = <16>;
346f126890aSEmmanuel Vadot	};
347f126890aSEmmanuel Vadot
348f126890aSEmmanuel Vadot	eeprom4: eeprom@53 {
349f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
350f126890aSEmmanuel Vadot		reg = <0x53>;
351f126890aSEmmanuel Vadot		pagesize = <16>;
352f126890aSEmmanuel Vadot	};
353f126890aSEmmanuel Vadot
354f126890aSEmmanuel Vadot	dts1672: rtc@68 {
355f126890aSEmmanuel Vadot		compatible = "dallas,ds1672";
356f126890aSEmmanuel Vadot		reg = <0x68>;
357f126890aSEmmanuel Vadot	};
358f126890aSEmmanuel Vadot};
359f126890aSEmmanuel Vadot
360f126890aSEmmanuel Vadot&i2c2 {
361f126890aSEmmanuel Vadot	clock-frequency = <400000>;
362f126890aSEmmanuel Vadot	pinctrl-names = "default";
363f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
364f126890aSEmmanuel Vadot	status = "okay";
365f126890aSEmmanuel Vadot
366f126890aSEmmanuel Vadot	ltc3676: pmic@3c {
367f126890aSEmmanuel Vadot		compatible = "lltc,ltc3676";
368f126890aSEmmanuel Vadot		reg = <0x3c>;
369f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
370f126890aSEmmanuel Vadot		interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot		regulators {
373f126890aSEmmanuel Vadot			/* VDD_1P8 (1+R1/R2 = 2.505): Aud/eMMC/microSD/Touch */
374f126890aSEmmanuel Vadot			reg_1p8v: sw1 {
375f126890aSEmmanuel Vadot				regulator-name = "vdd1p8";
376f126890aSEmmanuel Vadot				regulator-min-microvolt = <1033310>;
377f126890aSEmmanuel Vadot				regulator-max-microvolt = <2004000>;
378f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <301000 200000>;
379f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
380f126890aSEmmanuel Vadot				regulator-boot-on;
381f126890aSEmmanuel Vadot				regulator-always-on;
382f126890aSEmmanuel Vadot			};
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot			/* VDD_DDR (1+R1/R2 = 2.105) */
385f126890aSEmmanuel Vadot			reg_vdd_ddr: sw2 {
386f126890aSEmmanuel Vadot				regulator-name = "vddddr";
387f126890aSEmmanuel Vadot				regulator-min-microvolt = <868310>;
388f126890aSEmmanuel Vadot				regulator-max-microvolt = <1684000>;
389f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <221000 200000>;
390f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
391f126890aSEmmanuel Vadot				regulator-boot-on;
392f126890aSEmmanuel Vadot				regulator-always-on;
393f126890aSEmmanuel Vadot			};
394f126890aSEmmanuel Vadot
395f126890aSEmmanuel Vadot			/* VDD_ARM (1+R1/R2 = 1.635) */
396f126890aSEmmanuel Vadot			reg_vdd_arm: sw3 {
397f126890aSEmmanuel Vadot				regulator-name = "vddarm";
398f126890aSEmmanuel Vadot				regulator-min-microvolt = <674400>;
399f126890aSEmmanuel Vadot				regulator-max-microvolt = <1308000>;
400f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <127000 200000>;
401f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
402f126890aSEmmanuel Vadot				regulator-boot-on;
403f126890aSEmmanuel Vadot				regulator-always-on;
404f126890aSEmmanuel Vadot				linux,phandle = <&reg_vdd_arm>;
405f126890aSEmmanuel Vadot			};
406f126890aSEmmanuel Vadot
407f126890aSEmmanuel Vadot			/* VDD_SOC (1+R1/R2 = 1.635) */
408f126890aSEmmanuel Vadot			reg_vdd_soc: sw4 {
409f126890aSEmmanuel Vadot				regulator-name = "vddsoc";
410f126890aSEmmanuel Vadot				regulator-min-microvolt = <674400>;
411f126890aSEmmanuel Vadot				regulator-max-microvolt = <1308000>;
412f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <127000 200000>;
413f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
414f126890aSEmmanuel Vadot				regulator-boot-on;
415f126890aSEmmanuel Vadot				regulator-always-on;
416f126890aSEmmanuel Vadot				linux,phandle = <&reg_vdd_soc>;
417f126890aSEmmanuel Vadot			};
418f126890aSEmmanuel Vadot
419f126890aSEmmanuel Vadot			/* VDD_1P0 (1+R1/R2 = 1.38): */
420f126890aSEmmanuel Vadot			reg_1p0v: ldo2 {
421f126890aSEmmanuel Vadot				regulator-name = "vdd1p0";
422f126890aSEmmanuel Vadot				regulator-min-microvolt = <1002777>;
423f126890aSEmmanuel Vadot				regulator-max-microvolt = <1002777>;
424f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <100000 261000>;
425f126890aSEmmanuel Vadot				regulator-boot-on;
426f126890aSEmmanuel Vadot				regulator-always-on;
427f126890aSEmmanuel Vadot			};
428f126890aSEmmanuel Vadot
429f126890aSEmmanuel Vadot			/* VDD_HIGH (1+R1/R2 = 4.17) */
430f126890aSEmmanuel Vadot			reg_3p0v: ldo4 {
431f126890aSEmmanuel Vadot				regulator-name = "vdd3p0";
432f126890aSEmmanuel Vadot				regulator-min-microvolt = <3023250>;
433f126890aSEmmanuel Vadot				regulator-max-microvolt = <3023250>;
434f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <634000 200000>;
435f126890aSEmmanuel Vadot				regulator-boot-on;
436f126890aSEmmanuel Vadot				regulator-always-on;
437f126890aSEmmanuel Vadot			};
438f126890aSEmmanuel Vadot		};
439f126890aSEmmanuel Vadot	};
440f126890aSEmmanuel Vadot};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot&i2c3 {
443f126890aSEmmanuel Vadot	clock-frequency = <400000>;
444f126890aSEmmanuel Vadot	pinctrl-names = "default";
445f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
446f126890aSEmmanuel Vadot	status = "okay";
447f126890aSEmmanuel Vadot
448f126890aSEmmanuel Vadot	tlv320aic3105: codec@18 {
449f126890aSEmmanuel Vadot		compatible = "ti,tlv320aic3x";
450f126890aSEmmanuel Vadot		reg = <0x18>;
451f126890aSEmmanuel Vadot		reset-gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
452f126890aSEmmanuel Vadot		clocks = <&clks IMX6QDL_CLK_CKO>;
453f126890aSEmmanuel Vadot		ai3x-micbias-vg = <2>; /* MICBIAS_2_5V */
454f126890aSEmmanuel Vadot		/* Regulators */
455f126890aSEmmanuel Vadot		DRVDD-supply = <&reg_3p3v>;
456f126890aSEmmanuel Vadot		AVDD-supply = <&reg_3p3v>;
457f126890aSEmmanuel Vadot		IOVDD-supply = <&reg_3p3v>;
458f126890aSEmmanuel Vadot		DVDD-supply = <&reg_1p8v>;
459f126890aSEmmanuel Vadot	};
460f126890aSEmmanuel Vadot
461f126890aSEmmanuel Vadot	accelerometer@1d {
462f126890aSEmmanuel Vadot		compatible = "fsl,mma8451";
463f126890aSEmmanuel Vadot		reg = <0x1d>;
464f126890aSEmmanuel Vadot		interrupt-parent = <&gpio7>;
465f126890aSEmmanuel Vadot		interrupts = <11 IRQ_TYPE_EDGE_RISING>;
466f126890aSEmmanuel Vadot		interrupt-names = "INT2";
467f126890aSEmmanuel Vadot	};
468f126890aSEmmanuel Vadot
469f126890aSEmmanuel Vadot	/* headphone detect */
470f126890aSEmmanuel Vadot	ts3a227e@3b {
471f126890aSEmmanuel Vadot		compatible = "ti,ts3a227e";
472f126890aSEmmanuel Vadot		reg = <0x3b>;
473f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
474f126890aSEmmanuel Vadot		interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
475f126890aSEmmanuel Vadot		ti,micbias = <4>; /* 2.5V micbias */
476f126890aSEmmanuel Vadot	};
477f126890aSEmmanuel Vadot};
478f126890aSEmmanuel Vadot
479f126890aSEmmanuel Vadot&ldb {
480f126890aSEmmanuel Vadot	status = "okay";
481f126890aSEmmanuel Vadot
482f126890aSEmmanuel Vadot	lvds-channel@0 {
483f126890aSEmmanuel Vadot		fsl,data-mapping = "spwg";
484f126890aSEmmanuel Vadot		fsl,data-width = <18>;
485f126890aSEmmanuel Vadot		status = "okay";
486f126890aSEmmanuel Vadot
487f126890aSEmmanuel Vadot		display-timings {
488f126890aSEmmanuel Vadot			native-mode = <&timing0>;
4890e8011faSEmmanuel Vadot			timing0: timing-g101evn010 {
490f126890aSEmmanuel Vadot				clock-frequency = <68930000>;
491f126890aSEmmanuel Vadot				hactive = <1280>;
492f126890aSEmmanuel Vadot				vactive = <800>;
493f126890aSEmmanuel Vadot				hback-porch = <220>;
494f126890aSEmmanuel Vadot				hfront-porch = <40>;
495f126890aSEmmanuel Vadot				vback-porch = <21>;
496f126890aSEmmanuel Vadot				vfront-porch = <7>;
497f126890aSEmmanuel Vadot				hsync-len = <60>;
498f126890aSEmmanuel Vadot				vsync-len = <10>;
499f126890aSEmmanuel Vadot			};
500f126890aSEmmanuel Vadot		};
501f126890aSEmmanuel Vadot	};
502f126890aSEmmanuel Vadot};
503f126890aSEmmanuel Vadot
504f126890aSEmmanuel Vadot&pwm1 {
505f126890aSEmmanuel Vadot	pinctrl-names = "default";
506f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>;
507f126890aSEmmanuel Vadot	status = "okay";
508f126890aSEmmanuel Vadot};
509f126890aSEmmanuel Vadot
510f126890aSEmmanuel Vadot&ssi1 {
511f126890aSEmmanuel Vadot	status = "okay";
512f126890aSEmmanuel Vadot};
513f126890aSEmmanuel Vadot
514f126890aSEmmanuel Vadot&uart1 {
515f126890aSEmmanuel Vadot	pinctrl-names = "default";
516f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
517f126890aSEmmanuel Vadot	status = "okay";
518f126890aSEmmanuel Vadot};
519f126890aSEmmanuel Vadot
520f126890aSEmmanuel Vadot&uart2 {
521f126890aSEmmanuel Vadot	pinctrl-names = "default";
522f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
523f126890aSEmmanuel Vadot	status = "okay";
524f126890aSEmmanuel Vadot};
525f126890aSEmmanuel Vadot
526f126890aSEmmanuel Vadot&usbotg {
527f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
528f126890aSEmmanuel Vadot	pinctrl-names = "default";
529f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
530f126890aSEmmanuel Vadot	disable-over-current;
531f126890aSEmmanuel Vadot	status = "okay";
532f126890aSEmmanuel Vadot};
533f126890aSEmmanuel Vadot
534f126890aSEmmanuel Vadot&usbh1 {
535f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
536f126890aSEmmanuel Vadot	status = "okay";
537f126890aSEmmanuel Vadot};
538f126890aSEmmanuel Vadot
539f126890aSEmmanuel Vadot&usdhc1 {
540f126890aSEmmanuel Vadot	pinctrl-names = "default";
541f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc1_200mhz>;
542f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
543f126890aSEmmanuel Vadot	non-removable;
544f126890aSEmmanuel Vadot	bus-width = <4>;
545f126890aSEmmanuel Vadot	status = "okay";
546f126890aSEmmanuel Vadot};
547f126890aSEmmanuel Vadot
548f126890aSEmmanuel Vadot&usdhc2 {
549f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
550f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
551f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
552f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
553f126890aSEmmanuel Vadot	cd-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
554f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
555f126890aSEmmanuel Vadot	max-frequency = <100000000>;
556f126890aSEmmanuel Vadot	status = "okay";
557f126890aSEmmanuel Vadot};
558f126890aSEmmanuel Vadot
559f126890aSEmmanuel Vadot&usdhc3 {
560f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
561f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
562f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
563f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
564f126890aSEmmanuel Vadot	non-removable;
565f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
566f126890aSEmmanuel Vadot	keep-power-in-suspend;
567f126890aSEmmanuel Vadot	status = "okay";
568f126890aSEmmanuel Vadot};
569f126890aSEmmanuel Vadot
570f126890aSEmmanuel Vadot&wdog1 {
571f126890aSEmmanuel Vadot	pinctrl-names = "default";
572f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
573f126890aSEmmanuel Vadot	fsl,ext-reset-output;
574f126890aSEmmanuel Vadot};
575f126890aSEmmanuel Vadot
576f126890aSEmmanuel Vadot&iomuxc {
577f126890aSEmmanuel Vadot	pinctrl_audmux: audmuxgrp {
578f126890aSEmmanuel Vadot		fsl,pins = <
579f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN2__AUD6_TXD		0x130b0
580f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN3__AUD6_TXFS		0x130b0
581f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN4__AUD6_RXD		0x130b0
582f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN15__AUD6_TXC		0x130b0
583f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_0__CCM_CLKO1		0x130b0 /* MCK */
584f126890aSEmmanuel Vadot		>;
585f126890aSEmmanuel Vadot	};
586f126890aSEmmanuel Vadot
587f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
588f126890aSEmmanuel Vadot		fsl,pins = <
589f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
590f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
591f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
592f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
593f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
594f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
595f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
596f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
597f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
598f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
599f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
600f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
601f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
602f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
603f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
604f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD0__GPIO1_IO30	0x4001b0b0 /* PHY_RST# */
605f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25	0x4001b0b0 /* PHY_EN */
606f126890aSEmmanuel Vadot		>;
607f126890aSEmmanuel Vadot	};
608f126890aSEmmanuel Vadot
609f126890aSEmmanuel Vadot	pinctrl_gpio_leds: gpioledsgrp {
610f126890aSEmmanuel Vadot		fsl,pins = <
611f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__GPIO6_IO14	0x1b0b0
612f126890aSEmmanuel Vadot		>;
613f126890aSEmmanuel Vadot	};
614f126890aSEmmanuel Vadot
615f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
616f126890aSEmmanuel Vadot		fsl,pins = <
617f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
618f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
619f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_4__GPIO1_IO04		0x0001b0b0 /* GSC_IRQ# */
620f126890aSEmmanuel Vadot		>;
621f126890aSEmmanuel Vadot	};
622f126890aSEmmanuel Vadot
623f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
624f126890aSEmmanuel Vadot		fsl,pins = <
625f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
626f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
627f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_8__GPIO1_IO08		0x0001b0b0 /* PMIC_IRQ# */
628f126890aSEmmanuel Vadot		>;
629f126890aSEmmanuel Vadot	};
630f126890aSEmmanuel Vadot
631f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
632f126890aSEmmanuel Vadot		fsl,pins = <
633f126890aSEmmanuel Vadot			/* I2C3 */
634f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL		0x4001b8b1
635f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
636f126890aSEmmanuel Vadot
637f126890aSEmmanuel Vadot			/* Headphone Detect */
638f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT21__GPIO5_IO15	0x0001b0b0 /* HPDET_IRQ# */
639f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT22__GPIO5_IO16	0x0001b0b0 /* HPDET_MIC# */
640f126890aSEmmanuel Vadot
641f126890aSEmmanuel Vadot			/* Codec */
642f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT23__GPIO5_IO17	0x0001b0b0 /* CODEC_RST# */
643f126890aSEmmanuel Vadot
644f126890aSEmmanuel Vadot			/* Touch Controller */
645f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL0__GPIO4_IO06		0x0001b0b0 /* TOUCH_IRQ# */
646f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL1__GPIO4_IO08		0x0001b0b0 /* TOUCH_RST */
647f126890aSEmmanuel Vadot
648f126890aSEmmanuel Vadot			/* Stow Sensor */
649f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__GPIO7_IO11		0x0001b0b0 /* ACCEL_IRQ2 */
650f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_18__GPIO7_IO13		0x0001b0b0 /* ACCEL_IRQ1 */
651f126890aSEmmanuel Vadot		>;
652f126890aSEmmanuel Vadot	};
653f126890aSEmmanuel Vadot
654f126890aSEmmanuel Vadot	pinctrl_pwm1: pwm1grp {
655f126890aSEmmanuel Vadot		fsl,pins = <
656f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_9__PWM1_OUT		0x1b0b1
657f126890aSEmmanuel Vadot		>;
658f126890aSEmmanuel Vadot	};
659f126890aSEmmanuel Vadot
660f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
661f126890aSEmmanuel Vadot		fsl,pins = <
662f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0b1
663f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA	0x1b0b1
664f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT12__GPIO5_IO30	0x1b0b1 /* TXEN */
665f126890aSEmmanuel Vadot		>;
666f126890aSEmmanuel Vadot	};
667f126890aSEmmanuel Vadot
668f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
669f126890aSEmmanuel Vadot		fsl,pins = <
670f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA	0x1b0b1
671f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA	0x1b0b1
672f126890aSEmmanuel Vadot		>;
673f126890aSEmmanuel Vadot	};
674f126890aSEmmanuel Vadot
675f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
676f126890aSEmmanuel Vadot		fsl,pins = <
677f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__USB_OTG_ID		0x13059
678f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15		0x4001b0b0 /* PWR_EN */
679f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL4__GPIO4_IO14		0x1b0b0 /* OC */
680f126890aSEmmanuel Vadot		>;
681f126890aSEmmanuel Vadot	};
682f126890aSEmmanuel Vadot
683*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc1_200mhz: usdhc1-200mhz-grp {
684f126890aSEmmanuel Vadot		fsl,pins = <
685f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D3__GPIO2_IO03		0x4001b0b0 /* EMMY_EN */
686f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D4__GPIO2_IO04		0x4001b0b0 /* EMMY_CFG1# */
687f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D5__GPIO2_IO05		0x4001b0b0 /* EMMY_CFG2# */
688f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D6__GPIO2_IO06		0x0001b0b0 /* EMMY_BTWAKE# */
689f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D7__GPIO2_IO07		0x0001b0b0 /* EMMY_WFWAKE# */
690f126890aSEmmanuel Vadot
691f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CLK__SD1_CLK		0x100f9
692f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CMD__SD1_CMD		0x100f9
693f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT0__SD1_DATA0		0x170f9
694f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT1__SD1_DATA1		0x170f9
695f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT2__SD1_DATA2		0x170f9
696f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT3__SD1_DATA3		0x170f9
697f126890aSEmmanuel Vadot		>;
698f126890aSEmmanuel Vadot	};
699f126890aSEmmanuel Vadot
700f126890aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
701f126890aSEmmanuel Vadot		fsl,pins = <
702f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17059
703f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10059
704f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17059
705f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17059
706f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17059
707f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17059
708f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS0__GPIO6_IO11	0x17059 /* CD */
709f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW1__SD2_VSELECT	0x17059
710f126890aSEmmanuel Vadot		>;
711f126890aSEmmanuel Vadot	};
712f126890aSEmmanuel Vadot
713*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhz-grp {
714f126890aSEmmanuel Vadot		fsl,pins = <
715f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x170b9
716f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x100b9
717f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x170b9
718f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x170b9
719f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x170b9
720f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x170b9
721f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS0__GPIO6_IO11	0x170b9 /* CD */
722f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW1__SD2_VSELECT	0x170b9
723f126890aSEmmanuel Vadot		>;
724f126890aSEmmanuel Vadot	};
725f126890aSEmmanuel Vadot
726*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhz-grp {
727f126890aSEmmanuel Vadot		fsl,pins = <
728f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x170f9
729f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x100f9
730f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x170f9
731f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x170f9
732f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x170f9
733f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x170f9
734f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS0__GPIO6_IO11	0x170f9 /* CD */
735f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW1__SD2_VSELECT	0x170f9
736f126890aSEmmanuel Vadot		>;
737f126890aSEmmanuel Vadot	};
738f126890aSEmmanuel Vadot
739f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
740f126890aSEmmanuel Vadot		fsl,pins = <
741f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
742f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
743f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__SD3_RESET		0x10059
744f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
745f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
746f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
747f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
748f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT4__SD3_DATA4		0x17059
749f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__SD3_DATA5		0x17059
750f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT6__SD3_DATA6		0x17059
751f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT7__SD3_DATA7		0x17059
752f126890aSEmmanuel Vadot		>;
753f126890aSEmmanuel Vadot	};
754f126890aSEmmanuel Vadot
755*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc3_100mhz: usdhc3-100mhz-grp {
756f126890aSEmmanuel Vadot		fsl,pins = <
757f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170b9
758f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100b9
759f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__SD3_RESET		0x100b9
760f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170b9
761f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170b9
762f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170b9
763f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170b9
764f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT4__SD3_DATA4		0x170b9
765f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__SD3_DATA5		0x170b9
766f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT6__SD3_DATA6		0x170b9
767f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT7__SD3_DATA7		0x170b9
768f126890aSEmmanuel Vadot		>;
769f126890aSEmmanuel Vadot	};
770f126890aSEmmanuel Vadot
771*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc3_200mhz: usdhc3-200mhz-grp {
772f126890aSEmmanuel Vadot		fsl,pins = <
773f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170f9
774f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100f9
775f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__SD3_RESET		0x100f9
776f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170f9
777f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170f9
778f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170f9
779f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170f9
780f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT4__SD3_DATA4		0x170f9
781f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__SD3_DATA5		0x170f9
782f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT6__SD3_DATA6		0x170f9
783f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT7__SD3_DATA7		0x170f9
784f126890aSEmmanuel Vadot		>;
785f126890aSEmmanuel Vadot	};
786f126890aSEmmanuel Vadot
787f126890aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
788f126890aSEmmanuel Vadot		fsl,pins = <
789f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT8__WDOG1_B		0x1b0b0
790f126890aSEmmanuel Vadot		>;
791f126890aSEmmanuel Vadot	};
792f126890aSEmmanuel Vadot};
793