xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-gw560x.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/input.h>
50f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
51f126890aSEmmanuel Vadot
52f126890aSEmmanuel Vadot/ {
53f126890aSEmmanuel Vadot	/* these are used by bootloader for disabling nodes */
54f126890aSEmmanuel Vadot	aliases {
55f126890aSEmmanuel Vadot		led0 = &led0;
56f126890aSEmmanuel Vadot		led1 = &led1;
57f126890aSEmmanuel Vadot		led2 = &led2;
58f126890aSEmmanuel Vadot		ssi0 = &ssi1;
59f126890aSEmmanuel Vadot		usb0 = &usbh1;
60f126890aSEmmanuel Vadot		usb1 = &usbotg;
61f126890aSEmmanuel Vadot	};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot	chosen {
64f126890aSEmmanuel Vadot		stdout-path = &uart2;
65f126890aSEmmanuel Vadot	};
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot	backlight-display {
68f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
697d0873ebSEmmanuel Vadot		pwms = <&pwm4 0 5000000 0>;
70f126890aSEmmanuel Vadot		brightness-levels = <
71f126890aSEmmanuel Vadot			0  1  2  3  4  5  6  7  8  9
72f126890aSEmmanuel Vadot			10 11 12 13 14 15 16 17 18 19
73f126890aSEmmanuel Vadot			20 21 22 23 24 25 26 27 28 29
74f126890aSEmmanuel Vadot			30 31 32 33 34 35 36 37 38 39
75f126890aSEmmanuel Vadot			40 41 42 43 44 45 46 47 48 49
76f126890aSEmmanuel Vadot			50 51 52 53 54 55 56 57 58 59
77f126890aSEmmanuel Vadot			60 61 62 63 64 65 66 67 68 69
78f126890aSEmmanuel Vadot			70 71 72 73 74 75 76 77 78 79
79f126890aSEmmanuel Vadot			80 81 82 83 84 85 86 87 88 89
80f126890aSEmmanuel Vadot			90 91 92 93 94 95 96 97 98 99
81f126890aSEmmanuel Vadot			100
82f126890aSEmmanuel Vadot			>;
83f126890aSEmmanuel Vadot		default-brightness-level = <100>;
84f126890aSEmmanuel Vadot	};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot	backlight-keypad {
87f126890aSEmmanuel Vadot		compatible = "gpio-backlight";
88f126890aSEmmanuel Vadot		gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
89f126890aSEmmanuel Vadot		default-on;
90f126890aSEmmanuel Vadot	};
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot	gpio-keys {
93f126890aSEmmanuel Vadot		compatible = "gpio-keys";
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot		user-pb {
96f126890aSEmmanuel Vadot			label = "user_pb";
97f126890aSEmmanuel Vadot			gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
98f126890aSEmmanuel Vadot			linux,code = <BTN_0>;
99f126890aSEmmanuel Vadot		};
100f126890aSEmmanuel Vadot
101f126890aSEmmanuel Vadot		user-pb1x {
102f126890aSEmmanuel Vadot			label = "user_pb1x";
103f126890aSEmmanuel Vadot			linux,code = <BTN_1>;
104f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
105f126890aSEmmanuel Vadot			interrupts = <0>;
106f126890aSEmmanuel Vadot		};
107f126890aSEmmanuel Vadot
108f126890aSEmmanuel Vadot		key-erased {
109f126890aSEmmanuel Vadot			label = "key-erased";
110f126890aSEmmanuel Vadot			linux,code = <BTN_2>;
111f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
112f126890aSEmmanuel Vadot			interrupts = <1>;
113f126890aSEmmanuel Vadot		};
114f126890aSEmmanuel Vadot
115f126890aSEmmanuel Vadot		eeprom-wp {
116f126890aSEmmanuel Vadot			label = "eeprom_wp";
117f126890aSEmmanuel Vadot			linux,code = <BTN_3>;
118f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
119f126890aSEmmanuel Vadot			interrupts = <2>;
120f126890aSEmmanuel Vadot		};
121f126890aSEmmanuel Vadot
122f126890aSEmmanuel Vadot		tamper {
123f126890aSEmmanuel Vadot			label = "tamper";
124f126890aSEmmanuel Vadot			linux,code = <BTN_4>;
125f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
126f126890aSEmmanuel Vadot			interrupts = <5>;
127f126890aSEmmanuel Vadot		};
128f126890aSEmmanuel Vadot
129f126890aSEmmanuel Vadot		switch-hold {
130f126890aSEmmanuel Vadot			label = "switch_hold";
131f126890aSEmmanuel Vadot			linux,code = <BTN_5>;
132f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
133f126890aSEmmanuel Vadot			interrupts = <7>;
134f126890aSEmmanuel Vadot		};
135f126890aSEmmanuel Vadot	};
136f126890aSEmmanuel Vadot
137f126890aSEmmanuel Vadot	leds {
138f126890aSEmmanuel Vadot		compatible = "gpio-leds";
139f126890aSEmmanuel Vadot		pinctrl-names = "default";
140f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_leds>;
141f126890aSEmmanuel Vadot
142f126890aSEmmanuel Vadot		led0: led-user1 {
143f126890aSEmmanuel Vadot			label = "user1";
144f126890aSEmmanuel Vadot			gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
145f126890aSEmmanuel Vadot			default-state = "on";
146f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
147f126890aSEmmanuel Vadot		};
148f126890aSEmmanuel Vadot
149f126890aSEmmanuel Vadot		led1: led-user2 {
150f126890aSEmmanuel Vadot			label = "user2";
151f126890aSEmmanuel Vadot			gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
152f126890aSEmmanuel Vadot			default-state = "off";
153f126890aSEmmanuel Vadot		};
154f126890aSEmmanuel Vadot
155f126890aSEmmanuel Vadot		led2: led-user3 {
156f126890aSEmmanuel Vadot			label = "user3";
157f126890aSEmmanuel Vadot			gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
158f126890aSEmmanuel Vadot			default-state = "off";
159f126890aSEmmanuel Vadot		};
160f126890aSEmmanuel Vadot	};
161f126890aSEmmanuel Vadot
162f126890aSEmmanuel Vadot	memory@10000000 {
163f126890aSEmmanuel Vadot		device_type = "memory";
164f126890aSEmmanuel Vadot		reg = <0x10000000 0x40000000>;
165f126890aSEmmanuel Vadot	};
166f126890aSEmmanuel Vadot
167f126890aSEmmanuel Vadot	pps {
168f126890aSEmmanuel Vadot		compatible = "pps-gpio";
169f126890aSEmmanuel Vadot		pinctrl-names = "default";
170f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pps>;
171f126890aSEmmanuel Vadot		gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
172f126890aSEmmanuel Vadot	};
173f126890aSEmmanuel Vadot
174f126890aSEmmanuel Vadot	reg_2p5v: regulator-2p5v {
175f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
176f126890aSEmmanuel Vadot		regulator-name = "2P5V";
177f126890aSEmmanuel Vadot		regulator-min-microvolt = <2500000>;
178f126890aSEmmanuel Vadot		regulator-max-microvolt = <2500000>;
179f126890aSEmmanuel Vadot		regulator-always-on;
180f126890aSEmmanuel Vadot	};
181f126890aSEmmanuel Vadot
182f126890aSEmmanuel Vadot	reg_3p3v: regulator-3p3v {
183f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
184f126890aSEmmanuel Vadot		regulator-name = "3P3V";
185f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
186f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
187f126890aSEmmanuel Vadot		regulator-always-on;
188f126890aSEmmanuel Vadot	};
189f126890aSEmmanuel Vadot
190f126890aSEmmanuel Vadot	reg_5p0v: regulator-5p0v {
191f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
192f126890aSEmmanuel Vadot		regulator-name = "5P0V";
193f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
194f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
195f126890aSEmmanuel Vadot		regulator-always-on;
196f126890aSEmmanuel Vadot	};
197f126890aSEmmanuel Vadot
198f126890aSEmmanuel Vadot	reg_12p0v: regulator-12p0v {
199f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
200f126890aSEmmanuel Vadot		regulator-name = "12P0V";
201f126890aSEmmanuel Vadot		regulator-min-microvolt = <12000000>;
202f126890aSEmmanuel Vadot		regulator-max-microvolt = <12000000>;
203f126890aSEmmanuel Vadot		gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
204f126890aSEmmanuel Vadot		enable-active-high;
205f126890aSEmmanuel Vadot	};
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot	reg_1p4v: regulator-vddsoc {
208f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
209f126890aSEmmanuel Vadot		regulator-name = "vdd_soc";
210f126890aSEmmanuel Vadot		regulator-min-microvolt = <1400000>;
211f126890aSEmmanuel Vadot		regulator-max-microvolt = <1400000>;
212f126890aSEmmanuel Vadot		regulator-always-on;
213f126890aSEmmanuel Vadot	};
214f126890aSEmmanuel Vadot
215f126890aSEmmanuel Vadot	reg_usb_h1_vbus: regulator-usb-h1-vbus {
216f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
217f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
218f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
219f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
220f126890aSEmmanuel Vadot		regulator-always-on;
221f126890aSEmmanuel Vadot	};
222f126890aSEmmanuel Vadot
223f126890aSEmmanuel Vadot	reg_usb_otg_vbus: regulator-usb-otg-vbus {
224f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
225f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
226f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
227f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
228f126890aSEmmanuel Vadot		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
229f126890aSEmmanuel Vadot		enable-active-high;
230f126890aSEmmanuel Vadot	};
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot	sound {
233f126890aSEmmanuel Vadot		compatible = "fsl,imx6q-ventana-sgtl5000",
234f126890aSEmmanuel Vadot			     "fsl,imx-audio-sgtl5000";
235f126890aSEmmanuel Vadot		model = "sgtl5000-audio";
236f126890aSEmmanuel Vadot		ssi-controller = <&ssi1>;
237f126890aSEmmanuel Vadot		audio-codec = <&sgtl5000>;
238f126890aSEmmanuel Vadot		audio-routing =
239f126890aSEmmanuel Vadot			"MIC_IN", "Mic Jack",
240f126890aSEmmanuel Vadot			"Mic Jack", "Mic Bias",
241f126890aSEmmanuel Vadot			"Headphone Jack", "HP_OUT";
242f126890aSEmmanuel Vadot		mux-int-port = <1>;
243f126890aSEmmanuel Vadot		mux-ext-port = <4>;
244f126890aSEmmanuel Vadot	};
245f126890aSEmmanuel Vadot};
246f126890aSEmmanuel Vadot
247f126890aSEmmanuel Vadot&audmux {
248f126890aSEmmanuel Vadot	pinctrl-names = "default";
249f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_audmux>;
250f126890aSEmmanuel Vadot	status = "okay";
251f126890aSEmmanuel Vadot};
252f126890aSEmmanuel Vadot
253f126890aSEmmanuel Vadot&ecspi3 {
254f126890aSEmmanuel Vadot	cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
255f126890aSEmmanuel Vadot	pinctrl-names = "default";
256f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi3>;
257f126890aSEmmanuel Vadot	status = "okay";
258f126890aSEmmanuel Vadot};
259f126890aSEmmanuel Vadot
260f126890aSEmmanuel Vadot&can1 {
261f126890aSEmmanuel Vadot	pinctrl-names = "default";
262f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_flexcan>;
263f126890aSEmmanuel Vadot	status = "okay";
264f126890aSEmmanuel Vadot};
265f126890aSEmmanuel Vadot
266f126890aSEmmanuel Vadot&clks {
267f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
268f126890aSEmmanuel Vadot			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
269f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
270f126890aSEmmanuel Vadot				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
271f126890aSEmmanuel Vadot};
272f126890aSEmmanuel Vadot
273f126890aSEmmanuel Vadot&fec {
274f126890aSEmmanuel Vadot	pinctrl-names = "default";
275f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
276f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
277f126890aSEmmanuel Vadot	phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
278f126890aSEmmanuel Vadot	status = "okay";
279f126890aSEmmanuel Vadot};
280f126890aSEmmanuel Vadot
281f126890aSEmmanuel Vadot&hdmi {
282f126890aSEmmanuel Vadot	ddc-i2c-bus = <&i2c3>;
283f126890aSEmmanuel Vadot	status = "okay";
284f126890aSEmmanuel Vadot};
285f126890aSEmmanuel Vadot
286f126890aSEmmanuel Vadot&i2c1 {
287f126890aSEmmanuel Vadot	clock-frequency = <100000>;
288f126890aSEmmanuel Vadot	pinctrl-names = "default";
289f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
290f126890aSEmmanuel Vadot	status = "okay";
291f126890aSEmmanuel Vadot
292f126890aSEmmanuel Vadot	gsc: gsc@20 {
293f126890aSEmmanuel Vadot		compatible = "gw,gsc";
294f126890aSEmmanuel Vadot		reg = <0x20>;
295f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
296f126890aSEmmanuel Vadot		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
297f126890aSEmmanuel Vadot		interrupt-controller;
298f126890aSEmmanuel Vadot		#interrupt-cells = <1>;
299f126890aSEmmanuel Vadot		#size-cells = <0>;
300f126890aSEmmanuel Vadot
301f126890aSEmmanuel Vadot		adc {
302f126890aSEmmanuel Vadot			compatible = "gw,gsc-adc";
303f126890aSEmmanuel Vadot			#address-cells = <1>;
304f126890aSEmmanuel Vadot			#size-cells = <0>;
305f126890aSEmmanuel Vadot
306f126890aSEmmanuel Vadot			channel@0 {
307f126890aSEmmanuel Vadot				gw,mode = <0>;
308f126890aSEmmanuel Vadot				reg = <0x00>;
309f126890aSEmmanuel Vadot				label = "temp";
310f126890aSEmmanuel Vadot			};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot			channel@2 {
313f126890aSEmmanuel Vadot				gw,mode = <1>;
314f126890aSEmmanuel Vadot				reg = <0x02>;
315f126890aSEmmanuel Vadot				label = "vdd_vin";
316f126890aSEmmanuel Vadot			};
317f126890aSEmmanuel Vadot
318f126890aSEmmanuel Vadot			channel@5 {
319f126890aSEmmanuel Vadot				gw,mode = <1>;
320f126890aSEmmanuel Vadot				reg = <0x05>;
321f126890aSEmmanuel Vadot				label = "vdd_3p3";
322f126890aSEmmanuel Vadot			};
323f126890aSEmmanuel Vadot
324f126890aSEmmanuel Vadot			channel@8 {
325f126890aSEmmanuel Vadot				gw,mode = <1>;
326f126890aSEmmanuel Vadot				reg = <0x08>;
327f126890aSEmmanuel Vadot				label = "vdd_bat";
328f126890aSEmmanuel Vadot			};
329f126890aSEmmanuel Vadot
330f126890aSEmmanuel Vadot			channel@b {
331f126890aSEmmanuel Vadot				gw,mode = <1>;
332f126890aSEmmanuel Vadot				reg = <0x0b>;
333f126890aSEmmanuel Vadot				label = "vdd_5p0";
334f126890aSEmmanuel Vadot			};
335f126890aSEmmanuel Vadot
336f126890aSEmmanuel Vadot			channel@e {
337f126890aSEmmanuel Vadot				gw,mode = <1>;
338f126890aSEmmanuel Vadot				reg = <0xe>;
339f126890aSEmmanuel Vadot				label = "vdd_arm";
340f126890aSEmmanuel Vadot			};
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot			channel@11 {
343f126890aSEmmanuel Vadot				gw,mode = <1>;
344f126890aSEmmanuel Vadot				reg = <0x11>;
345f126890aSEmmanuel Vadot				label = "vdd_soc";
346f126890aSEmmanuel Vadot			};
347f126890aSEmmanuel Vadot
348f126890aSEmmanuel Vadot			channel@14 {
349f126890aSEmmanuel Vadot				gw,mode = <1>;
350f126890aSEmmanuel Vadot				reg = <0x14>;
351f126890aSEmmanuel Vadot				label = "vdd_3p0";
352f126890aSEmmanuel Vadot			};
353f126890aSEmmanuel Vadot
354f126890aSEmmanuel Vadot			channel@17 {
355f126890aSEmmanuel Vadot				gw,mode = <1>;
356f126890aSEmmanuel Vadot				reg = <0x17>;
357f126890aSEmmanuel Vadot				label = "vdd_1p5";
358f126890aSEmmanuel Vadot			};
359f126890aSEmmanuel Vadot
360f126890aSEmmanuel Vadot			channel@1d {
361f126890aSEmmanuel Vadot				gw,mode = <1>;
362f126890aSEmmanuel Vadot				reg = <0x1d>;
363f126890aSEmmanuel Vadot				label = "vdd_1p8";
364f126890aSEmmanuel Vadot			};
365f126890aSEmmanuel Vadot
366f126890aSEmmanuel Vadot			channel@20 {
367f126890aSEmmanuel Vadot				gw,mode = <1>;
368f126890aSEmmanuel Vadot				reg = <0x20>;
369f126890aSEmmanuel Vadot				label = "vdd_an1";
370f126890aSEmmanuel Vadot			};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot			channel@23 {
373f126890aSEmmanuel Vadot				gw,mode = <1>;
374f126890aSEmmanuel Vadot				reg = <0x23>;
375f126890aSEmmanuel Vadot				label = "vdd_2p5";
376f126890aSEmmanuel Vadot			};
377f126890aSEmmanuel Vadot
378f126890aSEmmanuel Vadot			channel@26 {
379f126890aSEmmanuel Vadot				gw,mode = <1>;
380f126890aSEmmanuel Vadot				reg = <0x26>;
381f126890aSEmmanuel Vadot				label = "vdd_gps";
382f126890aSEmmanuel Vadot			};
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot			channel@29 {
385f126890aSEmmanuel Vadot				gw,mode = <1>;
386f126890aSEmmanuel Vadot				reg = <0x29>;
387f126890aSEmmanuel Vadot				label = "vdd_an2";
388f126890aSEmmanuel Vadot			};
389f126890aSEmmanuel Vadot		};
390f126890aSEmmanuel Vadot	};
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot	gsc_gpio: gpio@23 {
393f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
394f126890aSEmmanuel Vadot		reg = <0x23>;
395f126890aSEmmanuel Vadot		gpio-controller;
396f126890aSEmmanuel Vadot		#gpio-cells = <2>;
397f126890aSEmmanuel Vadot		interrupt-parent = <&gsc>;
398f126890aSEmmanuel Vadot		interrupts = <4>;
399f126890aSEmmanuel Vadot	};
400f126890aSEmmanuel Vadot
401f126890aSEmmanuel Vadot	eeprom1: eeprom@50 {
402f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
403f126890aSEmmanuel Vadot		reg = <0x50>;
404f126890aSEmmanuel Vadot		pagesize = <16>;
405f126890aSEmmanuel Vadot	};
406f126890aSEmmanuel Vadot
407f126890aSEmmanuel Vadot	eeprom2: eeprom@51 {
408f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
409f126890aSEmmanuel Vadot		reg = <0x51>;
410f126890aSEmmanuel Vadot		pagesize = <16>;
411f126890aSEmmanuel Vadot	};
412f126890aSEmmanuel Vadot
413f126890aSEmmanuel Vadot	eeprom3: eeprom@52 {
414f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
415f126890aSEmmanuel Vadot		reg = <0x52>;
416f126890aSEmmanuel Vadot		pagesize = <16>;
417f126890aSEmmanuel Vadot	};
418f126890aSEmmanuel Vadot
419f126890aSEmmanuel Vadot	eeprom4: eeprom@53 {
420f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
421f126890aSEmmanuel Vadot		reg = <0x53>;
422f126890aSEmmanuel Vadot		pagesize = <16>;
423f126890aSEmmanuel Vadot	};
424f126890aSEmmanuel Vadot
425f126890aSEmmanuel Vadot	ds1672: rtc@68 {
426f126890aSEmmanuel Vadot		compatible = "dallas,ds1672";
427f126890aSEmmanuel Vadot		reg = <0x68>;
428f126890aSEmmanuel Vadot	};
429f126890aSEmmanuel Vadot};
430f126890aSEmmanuel Vadot
431f126890aSEmmanuel Vadot&i2c2 {
432f126890aSEmmanuel Vadot	clock-frequency = <100000>;
433f126890aSEmmanuel Vadot	pinctrl-names = "default";
434f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
435f126890aSEmmanuel Vadot	status = "okay";
436f126890aSEmmanuel Vadot
437f126890aSEmmanuel Vadot	sgtl5000: codec@a {
438f126890aSEmmanuel Vadot		compatible = "fsl,sgtl5000";
439f126890aSEmmanuel Vadot		reg = <0x0a>;
440f126890aSEmmanuel Vadot		#sound-dai-cells = <0>;
441f126890aSEmmanuel Vadot		clocks = <&clks IMX6QDL_CLK_CKO>;
442f126890aSEmmanuel Vadot		VDDA-supply = <&reg_1p8v>;
443f126890aSEmmanuel Vadot		VDDIO-supply = <&reg_3p3v>;
444f126890aSEmmanuel Vadot	};
445f126890aSEmmanuel Vadot
446f126890aSEmmanuel Vadot	magn@1c {
447f126890aSEmmanuel Vadot		compatible = "st,lsm9ds1-magn";
448f126890aSEmmanuel Vadot		reg = <0x1c>;
449f126890aSEmmanuel Vadot		pinctrl-names = "default";
450f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_mag>;
451f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
452f126890aSEmmanuel Vadot		interrupts = <9 IRQ_TYPE_EDGE_RISING>;
453f126890aSEmmanuel Vadot	};
454f126890aSEmmanuel Vadot
455f126890aSEmmanuel Vadot	tca8418: keypad@34 {
456f126890aSEmmanuel Vadot		compatible = "ti,tca8418";
457f126890aSEmmanuel Vadot		pinctrl-names = "default";
458f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_keypad>;
459f126890aSEmmanuel Vadot		reg = <0x34>;
460f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
461f126890aSEmmanuel Vadot		interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
462f126890aSEmmanuel Vadot		linux,keymap = < MATRIX_KEY(0x00, 0x01, BTN_0)
463f126890aSEmmanuel Vadot			         MATRIX_KEY(0x00, 0x00, BTN_1)
464f126890aSEmmanuel Vadot			         MATRIX_KEY(0x01, 0x01, BTN_2)
465f126890aSEmmanuel Vadot			         MATRIX_KEY(0x01, 0x00, BTN_3)
466f126890aSEmmanuel Vadot			         MATRIX_KEY(0x02, 0x00, BTN_4)
467f126890aSEmmanuel Vadot			         MATRIX_KEY(0x00, 0x03, BTN_5)
468f126890aSEmmanuel Vadot			         MATRIX_KEY(0x00, 0x02, BTN_6)
469f126890aSEmmanuel Vadot			         MATRIX_KEY(0x01, 0x03, BTN_7)
470f126890aSEmmanuel Vadot			         MATRIX_KEY(0x01, 0x02, BTN_8)
471f126890aSEmmanuel Vadot			         MATRIX_KEY(0x02, 0x02, BTN_9)
472f126890aSEmmanuel Vadot		>;
473f126890aSEmmanuel Vadot		keypad,num-rows = <4>;
474f126890aSEmmanuel Vadot		keypad,num-columns = <4>;
475f126890aSEmmanuel Vadot	};
476f126890aSEmmanuel Vadot
477f126890aSEmmanuel Vadot	ltc3676: pmic@3c {
478f126890aSEmmanuel Vadot		compatible = "lltc,ltc3676";
479f126890aSEmmanuel Vadot		pinctrl-names = "default";
480f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pmic>;
481f126890aSEmmanuel Vadot		reg = <0x3c>;
482f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
483f126890aSEmmanuel Vadot		interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
484f126890aSEmmanuel Vadot
485f126890aSEmmanuel Vadot		regulators {
486f126890aSEmmanuel Vadot			/* VDD_DDR (1+R1/R2 = 2.105) */
487f126890aSEmmanuel Vadot			reg_vdd_ddr: sw2 {
488f126890aSEmmanuel Vadot				regulator-name = "vddddr";
489f126890aSEmmanuel Vadot				regulator-min-microvolt = <868310>;
490f126890aSEmmanuel Vadot				regulator-max-microvolt = <1684000>;
491f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <221000 200000>;
492f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
493f126890aSEmmanuel Vadot				regulator-boot-on;
494f126890aSEmmanuel Vadot				regulator-always-on;
495f126890aSEmmanuel Vadot			};
496f126890aSEmmanuel Vadot
497f126890aSEmmanuel Vadot			/* VDD_ARM (1+R1/R2 = 1.931) */
498f126890aSEmmanuel Vadot			reg_vdd_arm: sw3 {
499f126890aSEmmanuel Vadot				regulator-name = "vddarm";
500f126890aSEmmanuel Vadot				regulator-min-microvolt = <796551>;
501f126890aSEmmanuel Vadot				regulator-max-microvolt = <1544827>;
502f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <243000 261000>;
503f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
504f126890aSEmmanuel Vadot				regulator-boot-on;
505f126890aSEmmanuel Vadot				regulator-always-on;
506f126890aSEmmanuel Vadot				linux,phandle = <&reg_vdd_arm>;
507f126890aSEmmanuel Vadot			};
508f126890aSEmmanuel Vadot
509f126890aSEmmanuel Vadot			/* VDD_1P8 (1+R1/R2 = 2.505): GPS/VideoIn/ENET-PHY */
510f126890aSEmmanuel Vadot			reg_1p8v: sw4 {
511f126890aSEmmanuel Vadot				regulator-name = "vdd1p8";
512f126890aSEmmanuel Vadot				regulator-min-microvolt = <1033310>;
513f126890aSEmmanuel Vadot				regulator-max-microvolt = <2004000>;
514f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <301000 200000>;
515f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
516f126890aSEmmanuel Vadot				regulator-boot-on;
517f126890aSEmmanuel Vadot				regulator-always-on;
518f126890aSEmmanuel Vadot			};
519f126890aSEmmanuel Vadot
520f126890aSEmmanuel Vadot			/* VDD_1P0 (1+R1/R2 = 1.39): PCIe/ENET-PHY */
521f126890aSEmmanuel Vadot			reg_1p0v: ldo2 {
522f126890aSEmmanuel Vadot				regulator-name = "vdd1p0";
523f126890aSEmmanuel Vadot				regulator-min-microvolt = <950000>;
524f126890aSEmmanuel Vadot				regulator-max-microvolt = <1050000>;
525f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <78700 200000>;
526f126890aSEmmanuel Vadot				regulator-boot-on;
527f126890aSEmmanuel Vadot				regulator-always-on;
528f126890aSEmmanuel Vadot			};
529f126890aSEmmanuel Vadot
530f126890aSEmmanuel Vadot			/* VDD_AUD_1P8: Audio codec */
531f126890aSEmmanuel Vadot			reg_aud_1p8v: ldo3 {
532f126890aSEmmanuel Vadot				regulator-name = "vdd1p8a";
533f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
534f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
535f126890aSEmmanuel Vadot				regulator-boot-on;
536f126890aSEmmanuel Vadot			};
537f126890aSEmmanuel Vadot
538f126890aSEmmanuel Vadot			/* VDD_HIGH (1+R1/R2 = 4.17) */
539f126890aSEmmanuel Vadot			reg_3p0v: ldo4 {
540f126890aSEmmanuel Vadot				regulator-name = "vdd3p0";
541f126890aSEmmanuel Vadot				regulator-min-microvolt = <3023250>;
542f126890aSEmmanuel Vadot				regulator-max-microvolt = <3023250>;
543f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <634000 200000>;
544f126890aSEmmanuel Vadot				regulator-boot-on;
545f126890aSEmmanuel Vadot				regulator-always-on;
546f126890aSEmmanuel Vadot			};
547f126890aSEmmanuel Vadot		};
548f126890aSEmmanuel Vadot	};
549f126890aSEmmanuel Vadot
550f126890aSEmmanuel Vadot	imu@6a {
551f126890aSEmmanuel Vadot		compatible = "st,lsm9ds1-imu";
552f126890aSEmmanuel Vadot		reg = <0x6a>;
553f126890aSEmmanuel Vadot		st,drdy-int-pin = <1>;
554f126890aSEmmanuel Vadot		pinctrl-names = "default";
555f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_imu>;
556f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
557f126890aSEmmanuel Vadot		interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
558f126890aSEmmanuel Vadot	};
559f126890aSEmmanuel Vadot};
560f126890aSEmmanuel Vadot
561f126890aSEmmanuel Vadot&i2c3 {
562f126890aSEmmanuel Vadot	clock-frequency = <100000>;
563f126890aSEmmanuel Vadot	pinctrl-names = "default";
564f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
565f126890aSEmmanuel Vadot	status = "okay";
566f126890aSEmmanuel Vadot
567f126890aSEmmanuel Vadot	egalax_ts: touchscreen@4 {
568f126890aSEmmanuel Vadot		compatible = "eeti,egalax_ts";
569f126890aSEmmanuel Vadot		reg = <0x04>;
570f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
571f126890aSEmmanuel Vadot		interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
572f126890aSEmmanuel Vadot		wakeup-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
573f126890aSEmmanuel Vadot	};
574f126890aSEmmanuel Vadot};
575f126890aSEmmanuel Vadot
576f126890aSEmmanuel Vadot&ldb {
577f126890aSEmmanuel Vadot	fsl,dual-channel;
578f126890aSEmmanuel Vadot	status = "okay";
579f126890aSEmmanuel Vadot
580f126890aSEmmanuel Vadot	lvds-channel@0 {
581f126890aSEmmanuel Vadot		fsl,data-mapping = "spwg";
582f126890aSEmmanuel Vadot		fsl,data-width = <18>;
583f126890aSEmmanuel Vadot		status = "okay";
584f126890aSEmmanuel Vadot
585f126890aSEmmanuel Vadot		display-timings {
586f126890aSEmmanuel Vadot			native-mode = <&timing0>;
5870e8011faSEmmanuel Vadot			timing0: timing-hsd100pxn1 {
588f126890aSEmmanuel Vadot				clock-frequency = <65000000>;
589f126890aSEmmanuel Vadot				hactive = <1024>;
590f126890aSEmmanuel Vadot				vactive = <768>;
591f126890aSEmmanuel Vadot				hback-porch = <220>;
592f126890aSEmmanuel Vadot				hfront-porch = <40>;
593f126890aSEmmanuel Vadot				vback-porch = <21>;
594f126890aSEmmanuel Vadot				vfront-porch = <7>;
595f126890aSEmmanuel Vadot				hsync-len = <60>;
596f126890aSEmmanuel Vadot				vsync-len = <10>;
597f126890aSEmmanuel Vadot			};
598f126890aSEmmanuel Vadot		};
599f126890aSEmmanuel Vadot	};
600f126890aSEmmanuel Vadot};
601f126890aSEmmanuel Vadot
602f126890aSEmmanuel Vadot&pcie {
603f126890aSEmmanuel Vadot	pinctrl-names = "default";
604f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie>;
605f126890aSEmmanuel Vadot	reset-gpio = <&gpio4 31 GPIO_ACTIVE_LOW>;
606f126890aSEmmanuel Vadot	status = "okay";
607f126890aSEmmanuel Vadot};
608f126890aSEmmanuel Vadot
609f126890aSEmmanuel Vadot&pwm2 {
610f126890aSEmmanuel Vadot	pinctrl-names = "default";
611f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
612f126890aSEmmanuel Vadot	status = "disabled";
613f126890aSEmmanuel Vadot};
614f126890aSEmmanuel Vadot
615f126890aSEmmanuel Vadot&pwm3 {
616f126890aSEmmanuel Vadot	pinctrl-names = "default";
617f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
618f126890aSEmmanuel Vadot	status = "disabled";
619f126890aSEmmanuel Vadot};
620f126890aSEmmanuel Vadot
621f126890aSEmmanuel Vadot&pwm4 {
622f126890aSEmmanuel Vadot	pinctrl-names = "default";
623f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm4>;
624f126890aSEmmanuel Vadot	status = "okay";
625f126890aSEmmanuel Vadot};
626f126890aSEmmanuel Vadot
627f126890aSEmmanuel Vadot&ssi1 {
628f126890aSEmmanuel Vadot	status = "okay";
629f126890aSEmmanuel Vadot};
630f126890aSEmmanuel Vadot
631f126890aSEmmanuel Vadot&uart1 {
632f126890aSEmmanuel Vadot	pinctrl-names = "default";
633f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
634f126890aSEmmanuel Vadot	rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
635f126890aSEmmanuel Vadot	status = "okay";
636f126890aSEmmanuel Vadot};
637f126890aSEmmanuel Vadot
638f126890aSEmmanuel Vadot&uart2 {
639f126890aSEmmanuel Vadot	pinctrl-names = "default";
640f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
641f126890aSEmmanuel Vadot	status = "okay";
642f126890aSEmmanuel Vadot};
643f126890aSEmmanuel Vadot
644f126890aSEmmanuel Vadot&uart5 {
645f126890aSEmmanuel Vadot	pinctrl-names = "default";
646f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart5>;
647f126890aSEmmanuel Vadot	status = "okay";
648f126890aSEmmanuel Vadot};
649f126890aSEmmanuel Vadot
650f126890aSEmmanuel Vadot&usbotg {
651f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
652f126890aSEmmanuel Vadot	pinctrl-names = "default";
653f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
654f126890aSEmmanuel Vadot	disable-over-current;
655f126890aSEmmanuel Vadot	status = "okay";
656f126890aSEmmanuel Vadot};
657f126890aSEmmanuel Vadot
658f126890aSEmmanuel Vadot&usbh1 {
659f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
660f126890aSEmmanuel Vadot	pinctrl-names = "default";
661f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbh1>;
662f126890aSEmmanuel Vadot	status = "okay";
663f126890aSEmmanuel Vadot};
664f126890aSEmmanuel Vadot
665f126890aSEmmanuel Vadot&usdhc2 {
666f126890aSEmmanuel Vadot	pinctrl-names = "default";
667f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
668f126890aSEmmanuel Vadot	bus-width = <8>;
669f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
670f126890aSEmmanuel Vadot	non-removable;
671f126890aSEmmanuel Vadot	status = "okay";
672f126890aSEmmanuel Vadot};
673f126890aSEmmanuel Vadot
674f126890aSEmmanuel Vadot&usdhc3 {
675f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
676f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
677f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
678f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
679f126890aSEmmanuel Vadot	cd-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
680f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
681f126890aSEmmanuel Vadot	status = "okay";
682f126890aSEmmanuel Vadot};
683f126890aSEmmanuel Vadot
684f126890aSEmmanuel Vadot&wdog1 {
685f126890aSEmmanuel Vadot	pinctrl-names = "default";
686f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
687f126890aSEmmanuel Vadot	fsl,ext-reset-output;
688f126890aSEmmanuel Vadot};
689f126890aSEmmanuel Vadot
690f126890aSEmmanuel Vadot&iomuxc {
691f126890aSEmmanuel Vadot	pinctrl_audmux: audmuxgrp {
692f126890aSEmmanuel Vadot		fsl,pins = <
693f126890aSEmmanuel Vadot			/* AUD4 */
694f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT20__AUD4_TXC	0x130b0
695f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT21__AUD4_TXD	0x110b0
696f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS	0x130b0
697f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT23__AUD4_RXD	0x130b0
698f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_0__CCM_CLKO1		0x130b0 /* AUD4_MCK */
699f126890aSEmmanuel Vadot			/* AUD6 */
700f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN2__AUD6_TXD		0x130b0
701f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN3__AUD6_TXFS		0x130b0
702f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN4__AUD6_RXD		0x130b0
703f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN15__AUD6_TXC		0x130b0
704f126890aSEmmanuel Vadot		>;
705f126890aSEmmanuel Vadot	};
706f126890aSEmmanuel Vadot
707f126890aSEmmanuel Vadot	pinctrl_ecspi3: escpi3grp {
708f126890aSEmmanuel Vadot		fsl,pins = <
709f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK	0x100b1
710f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI	0x100b1
711f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO	0x100b1
712f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24	0x100b1
713f126890aSEmmanuel Vadot		>;
714f126890aSEmmanuel Vadot	};
715f126890aSEmmanuel Vadot
716f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
717f126890aSEmmanuel Vadot		fsl,pins = <
718f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
719f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
720f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
721f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
722f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
723f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
724f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
725f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
726f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
727f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
728f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
729f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
730f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
731f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
732f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
733f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x4001b0a8
734f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD0__GPIO1_IO30	0x4001b0b0 /* PHY_RST# */
735f126890aSEmmanuel Vadot		>;
736f126890aSEmmanuel Vadot	};
737f126890aSEmmanuel Vadot
738f126890aSEmmanuel Vadot	pinctrl_flexcan: flexcangrp {
739f126890aSEmmanuel Vadot		fsl,pins = <
740f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX	0x1b0b1
741f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX	0x1b0b1
742f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_2__GPIO1_IO02		0x4001b0b0 /* CAN_STBY */
743f126890aSEmmanuel Vadot		>;
744f126890aSEmmanuel Vadot	};
745f126890aSEmmanuel Vadot
746f126890aSEmmanuel Vadot	pinctrl_gpio_leds: gpioledsgrp {
747f126890aSEmmanuel Vadot		fsl,pins = <
748f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL0__GPIO4_IO06		0x1b0b0
749f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW0__GPIO4_IO07		0x1b0b0
750f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15		0x1b0b0
751f126890aSEmmanuel Vadot		>;
752f126890aSEmmanuel Vadot	};
753f126890aSEmmanuel Vadot
754f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
755f126890aSEmmanuel Vadot		fsl,pins = <
756f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
757f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
758f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_4__GPIO1_IO04		0xb0b1
759f126890aSEmmanuel Vadot		>;
760f126890aSEmmanuel Vadot	};
761f126890aSEmmanuel Vadot
762f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
763f126890aSEmmanuel Vadot		fsl,pins = <
764f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
765f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
766f126890aSEmmanuel Vadot		>;
767f126890aSEmmanuel Vadot	};
768f126890aSEmmanuel Vadot
769f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
770f126890aSEmmanuel Vadot		fsl,pins = <
771f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL		0x4001b8b1
772f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
773f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_19__GPIO4_IO05		0x4001b0b0 /* DIOI2C_DIS# */
774f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT18__GPIO5_IO12	0x0001b0b0 /* LVDS_TOUCH_IRQ# */
775f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT19__GPIO5_IO13	0x0001b0b0 /* LVDS_BACKEN */
776f126890aSEmmanuel Vadot		>;
777f126890aSEmmanuel Vadot	};
778f126890aSEmmanuel Vadot
779f126890aSEmmanuel Vadot	pinctrl_imu: imugrp {
780f126890aSEmmanuel Vadot		fsl,pins = <
781f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT12__GPIO5_IO06	0x1b0b0
782f126890aSEmmanuel Vadot		>;
783f126890aSEmmanuel Vadot	};
784f126890aSEmmanuel Vadot
785f126890aSEmmanuel Vadot	pinctrl_keypad: keypadgrp {
786f126890aSEmmanuel Vadot		fsl,pins = <
787f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11	0x0001b0b0 /* KEYPAD_IRQ# */
788f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30	0x0001b0b0 /* KEYPAD_LED_EN */
789f126890aSEmmanuel Vadot		>;
790f126890aSEmmanuel Vadot	};
791f126890aSEmmanuel Vadot
792f126890aSEmmanuel Vadot	pinctrl_mag: maggrp {
793f126890aSEmmanuel Vadot		fsl,pins = <
794f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT15__GPIO5_IO09	0x1b0b0
795f126890aSEmmanuel Vadot		>;
796f126890aSEmmanuel Vadot	};
797f126890aSEmmanuel Vadot
798f126890aSEmmanuel Vadot	pinctrl_pcie: pciegrp {
799f126890aSEmmanuel Vadot		fsl,pins = <
800f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT10__GPIO4_IO31	0x1b0b0    /* PCI_RST# */
801f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x4001b0b0 /* PCIESKT_WDIS# */
802f126890aSEmmanuel Vadot		>;
803f126890aSEmmanuel Vadot	};
804f126890aSEmmanuel Vadot
805f126890aSEmmanuel Vadot	pinctrl_pmic: pmicgrp {
806f126890aSEmmanuel Vadot		fsl,pins = <
807f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_8__GPIO1_IO08		0x0001b0b0 /* PMIC_IRQ# */
808f126890aSEmmanuel Vadot		>;
809f126890aSEmmanuel Vadot	};
810f126890aSEmmanuel Vadot
811f126890aSEmmanuel Vadot	pinctrl_pps: ppsgrp {
812f126890aSEmmanuel Vadot		fsl,pins = <
813f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD1__GPIO1_IO26	0x1b0b1
814f126890aSEmmanuel Vadot		>;
815f126890aSEmmanuel Vadot	};
816f126890aSEmmanuel Vadot
817f126890aSEmmanuel Vadot	pinctrl_pwm2: pwm2grp {
818f126890aSEmmanuel Vadot		fsl,pins = <
819f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT2__PWM2_OUT		0x1b0b1
820f126890aSEmmanuel Vadot		>;
821f126890aSEmmanuel Vadot	};
822f126890aSEmmanuel Vadot
823f126890aSEmmanuel Vadot	pinctrl_pwm3: pwm3grp {
824f126890aSEmmanuel Vadot		fsl,pins = <
825f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT1__PWM3_OUT		0x1b0b1
826f126890aSEmmanuel Vadot		>;
827f126890aSEmmanuel Vadot	};
828f126890aSEmmanuel Vadot
829f126890aSEmmanuel Vadot	pinctrl_pwm4: pwm4grp {
830f126890aSEmmanuel Vadot		fsl,pins = <
831f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CMD__PWM4_OUT		0x1b0b1
832f126890aSEmmanuel Vadot		>;
833f126890aSEmmanuel Vadot	};
834f126890aSEmmanuel Vadot
835f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
836f126890aSEmmanuel Vadot		fsl,pins = <
837f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA	0x1b0b1
838f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA	0x1b0b1
839f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT4__GPIO7_IO01		0x4001b0b1 /* TEN */
840f126890aSEmmanuel Vadot		>;
841f126890aSEmmanuel Vadot	};
842f126890aSEmmanuel Vadot
843f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
844f126890aSEmmanuel Vadot		fsl,pins = <
845f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA	0x1b0b1
846f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA	0x1b0b1
847f126890aSEmmanuel Vadot		>;
848f126890aSEmmanuel Vadot	};
849f126890aSEmmanuel Vadot
850f126890aSEmmanuel Vadot	pinctrl_uart5: uart5grp {
851f126890aSEmmanuel Vadot		fsl,pins = <
852f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL1__UART5_TX_DATA	0x1b0b1
853f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA	0x1b0b1
854f126890aSEmmanuel Vadot		>;
855f126890aSEmmanuel Vadot	};
856f126890aSEmmanuel Vadot
857f126890aSEmmanuel Vadot	pinctrl_usbh1: usbh1grp {
858f126890aSEmmanuel Vadot		fsl,pins = <
859f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_9__GPIO1_IO09		0x4001b0b0 /* USBHUB_RST# */
860f126890aSEmmanuel Vadot		>;
861f126890aSEmmanuel Vadot	};
862f126890aSEmmanuel Vadot
863f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
864f126890aSEmmanuel Vadot		fsl,pins = <
865f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__USB_OTG_ID		0x17059
866f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D22__GPIO3_IO22		0x1b0b0 /* PWR_EN */
867f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL4__GPIO4_IO14		0x1b0b0 /* OC */
868f126890aSEmmanuel Vadot		>;
869f126890aSEmmanuel Vadot	};
870f126890aSEmmanuel Vadot
871f126890aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
872f126890aSEmmanuel Vadot		fsl,pins = <
873f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x170f9
874f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x100f9
875f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x170f9
876f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x170f9
877f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x170f9
878f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x170f9
879f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D4__SD2_DATA4		0x170f9
880f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D5__SD2_DATA5		0x170f9
881f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D6__SD2_DATA6		0x170f9
882f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D7__SD2_DATA7		0x170f9
883f126890aSEmmanuel Vadot		>;
884f126890aSEmmanuel Vadot	};
885f126890aSEmmanuel Vadot
886f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
887f126890aSEmmanuel Vadot		fsl,pins = <
888f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
889f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
890f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
891f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
892f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
893f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
894f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x17059 /* CD */
895f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x17059
896f126890aSEmmanuel Vadot		>;
897f126890aSEmmanuel Vadot	};
898f126890aSEmmanuel Vadot
899*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc3_100mhz: usdhc3-100mhz-grp {
900f126890aSEmmanuel Vadot		fsl,pins = <
901f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170b9
902f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100b9
903f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170b9
904f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170b9
905f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170b9
906f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170b9
907f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x170b9 /* CD */
908f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x170b9
909f126890aSEmmanuel Vadot		>;
910f126890aSEmmanuel Vadot	};
911f126890aSEmmanuel Vadot
912*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc3_200mhz: usdhc3-200mhz-grp {
913f126890aSEmmanuel Vadot		fsl,pins = <
914f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170f9
915f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100f9
916f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170f9
917f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170f9
918f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170f9
919f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170f9
920f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x170f9 /* CD */
921f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x170f9
922f126890aSEmmanuel Vadot		>;
923f126890aSEmmanuel Vadot	};
924f126890aSEmmanuel Vadot
925f126890aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
926f126890aSEmmanuel Vadot		fsl,pins = <
927f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT8__WDOG1_B		0x1b0b0
928f126890aSEmmanuel Vadot		>;
929f126890aSEmmanuel Vadot	};
930f126890aSEmmanuel Vadot};
931