xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-nit6xlite.dtsi (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR X11
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2015 Boundary Devices, Inc.
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
6f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot/ {
9f126890aSEmmanuel Vadot	chosen {
10f126890aSEmmanuel Vadot		stdout-path = &uart2;
11f126890aSEmmanuel Vadot	};
12f126890aSEmmanuel Vadot
13f126890aSEmmanuel Vadot	memory@10000000 {
14f126890aSEmmanuel Vadot		device_type = "memory";
15f126890aSEmmanuel Vadot		reg = <0x10000000 0x20000000>;
16f126890aSEmmanuel Vadot	};
17f126890aSEmmanuel Vadot
18aa1a8ff2SEmmanuel Vadot	reg_2p5v: regulator-2p5v {
19f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
20f126890aSEmmanuel Vadot		regulator-name = "2P5V";
21f126890aSEmmanuel Vadot		regulator-min-microvolt = <2500000>;
22f126890aSEmmanuel Vadot		regulator-max-microvolt = <2500000>;
23f126890aSEmmanuel Vadot		regulator-always-on;
24f126890aSEmmanuel Vadot	};
25f126890aSEmmanuel Vadot
26aa1a8ff2SEmmanuel Vadot	reg_3p3v: regulator-3p3v {
27f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
28f126890aSEmmanuel Vadot		regulator-name = "3P3V";
29f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
30f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
31f126890aSEmmanuel Vadot		regulator-always-on;
32f126890aSEmmanuel Vadot	};
33f126890aSEmmanuel Vadot
34aa1a8ff2SEmmanuel Vadot	reg_usb_otg_vbus: regulator-usb-otg-vbus {
35f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
36f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
37f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
38f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
39f126890aSEmmanuel Vadot		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
40f126890aSEmmanuel Vadot		enable-active-high;
41f126890aSEmmanuel Vadot	};
42f126890aSEmmanuel Vadot
43aa1a8ff2SEmmanuel Vadot	reg_wlan_vmmc: regulator-wlan-vmmc {
44f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
45f126890aSEmmanuel Vadot		pinctrl-names = "default";
46f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_wlan_vmmc>;
47f126890aSEmmanuel Vadot		regulator-name = "reg_wlan_vmmc";
48f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
49f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
50f126890aSEmmanuel Vadot		gpio = <&gpio6 7 GPIO_ACTIVE_HIGH>;
51f126890aSEmmanuel Vadot		startup-delay-us = <70000>;
52f126890aSEmmanuel Vadot		enable-active-high;
53f126890aSEmmanuel Vadot	};
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot	gpio-keys {
56f126890aSEmmanuel Vadot		compatible = "gpio-keys";
57f126890aSEmmanuel Vadot		pinctrl-names = "default";
58f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_keys>;
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot		home {
61f126890aSEmmanuel Vadot			label = "Home";
62f126890aSEmmanuel Vadot			gpios = <&gpio7 13 IRQ_TYPE_LEVEL_LOW>;
63f126890aSEmmanuel Vadot			linux,code = <102>;
64f126890aSEmmanuel Vadot		};
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot		back {
67f126890aSEmmanuel Vadot			label = "Back";
68f126890aSEmmanuel Vadot			gpios = <&gpio4 5 IRQ_TYPE_LEVEL_LOW>;
69f126890aSEmmanuel Vadot			linux,code = <158>;
70f126890aSEmmanuel Vadot		};
71f126890aSEmmanuel Vadot	};
72f126890aSEmmanuel Vadot
73f126890aSEmmanuel Vadot	leds {
74f126890aSEmmanuel Vadot		compatible = "gpio-leds";
75f126890aSEmmanuel Vadot		pinctrl-names = "default";
76f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_leds>;
77f126890aSEmmanuel Vadot
78f126890aSEmmanuel Vadot		led-j14-pin1 {
79f126890aSEmmanuel Vadot			gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
80f126890aSEmmanuel Vadot			retain-state-suspended;
81f126890aSEmmanuel Vadot			default-state = "off";
82f126890aSEmmanuel Vadot		};
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot		led-j14-pin3 {
85f126890aSEmmanuel Vadot			gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
86f126890aSEmmanuel Vadot			retain-state-suspended;
87f126890aSEmmanuel Vadot			default-state = "off";
88f126890aSEmmanuel Vadot		};
89f126890aSEmmanuel Vadot
90f126890aSEmmanuel Vadot		led-j14-pins8-9 {
91f126890aSEmmanuel Vadot			gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
92f126890aSEmmanuel Vadot			retain-state-suspended;
93f126890aSEmmanuel Vadot			default-state = "off";
94f126890aSEmmanuel Vadot		};
95f126890aSEmmanuel Vadot
96f126890aSEmmanuel Vadot		led-j46-pin2 {
97f126890aSEmmanuel Vadot			gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
98f126890aSEmmanuel Vadot			retain-state-suspended;
99f126890aSEmmanuel Vadot			default-state = "off";
100f126890aSEmmanuel Vadot		};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot		led-j46-pin3 {
103f126890aSEmmanuel Vadot			gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
104f126890aSEmmanuel Vadot			retain-state-suspended;
105f126890aSEmmanuel Vadot			default-state = "off";
106f126890aSEmmanuel Vadot		};
107f126890aSEmmanuel Vadot	};
108f126890aSEmmanuel Vadot
109f126890aSEmmanuel Vadot	backlight-lcd {
110f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
111*7d0873ebSEmmanuel Vadot		pwms = <&pwm1 0 5000000 0>;
112f126890aSEmmanuel Vadot		brightness-levels = <0 4 8 16 32 64 128 255>;
113f126890aSEmmanuel Vadot		default-brightness-level = <7>;
114f126890aSEmmanuel Vadot		power-supply = <&reg_3p3v>;
115f126890aSEmmanuel Vadot		status = "okay";
116f126890aSEmmanuel Vadot	};
117f126890aSEmmanuel Vadot
118f126890aSEmmanuel Vadot	backlight_lvds0: backlight-lvds0 {
119f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
120*7d0873ebSEmmanuel Vadot		pwms = <&pwm4 0 5000000 0>;
121f126890aSEmmanuel Vadot		brightness-levels = <0 4 8 16 32 64 128 255>;
122f126890aSEmmanuel Vadot		default-brightness-level = <7>;
123f126890aSEmmanuel Vadot		power-supply = <&reg_3p3v>;
124f126890aSEmmanuel Vadot		status = "okay";
125f126890aSEmmanuel Vadot	};
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot	panel-lvds0 {
128f126890aSEmmanuel Vadot		compatible = "hannstar,hsd100pxn1";
129f126890aSEmmanuel Vadot		backlight = <&backlight_lvds0>;
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot		port {
132f126890aSEmmanuel Vadot			panel_in_lvds0: endpoint {
133f126890aSEmmanuel Vadot				remote-endpoint = <&lvds0_out>;
134f126890aSEmmanuel Vadot			};
135f126890aSEmmanuel Vadot		};
136f126890aSEmmanuel Vadot	};
137f126890aSEmmanuel Vadot
138f126890aSEmmanuel Vadot	sound {
139f126890aSEmmanuel Vadot		compatible = "fsl,imx6dl-nit6xlite-sgtl5000",
140f126890aSEmmanuel Vadot			     "fsl,imx-audio-sgtl5000";
141f126890aSEmmanuel Vadot		model = "imx6dl-nit6xlite-sgtl5000";
142f126890aSEmmanuel Vadot		ssi-controller = <&ssi1>;
143f126890aSEmmanuel Vadot		audio-codec = <&codec>;
144f126890aSEmmanuel Vadot		audio-routing =
145f126890aSEmmanuel Vadot			"MIC_IN", "Mic Jack",
146f126890aSEmmanuel Vadot			"Mic Jack", "Mic Bias",
147f126890aSEmmanuel Vadot			"Headphone Jack", "HP_OUT";
148f126890aSEmmanuel Vadot		mux-int-port = <1>;
149f126890aSEmmanuel Vadot		mux-ext-port = <3>;
150f126890aSEmmanuel Vadot	};
151f126890aSEmmanuel Vadot};
152f126890aSEmmanuel Vadot
153f126890aSEmmanuel Vadot&audmux {
154f126890aSEmmanuel Vadot	pinctrl-names = "default";
155f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_audmux>;
156f126890aSEmmanuel Vadot	status = "okay";
157f126890aSEmmanuel Vadot};
158f126890aSEmmanuel Vadot
159f126890aSEmmanuel Vadot&clks {
160f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
161f126890aSEmmanuel Vadot			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
162f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
163f126890aSEmmanuel Vadot				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
164f126890aSEmmanuel Vadot};
165f126890aSEmmanuel Vadot
166f126890aSEmmanuel Vadot&ecspi1 {
167f126890aSEmmanuel Vadot	cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
168f126890aSEmmanuel Vadot	pinctrl-names = "default";
169f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
170f126890aSEmmanuel Vadot	status = "okay";
171f126890aSEmmanuel Vadot
172f126890aSEmmanuel Vadot	flash: flash@0 {
173f126890aSEmmanuel Vadot		compatible = "microchip,sst25vf016b";
174f126890aSEmmanuel Vadot		spi-max-frequency = <20000000>;
175f126890aSEmmanuel Vadot		reg = <0>;
176f126890aSEmmanuel Vadot	};
177f126890aSEmmanuel Vadot};
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot&fec {
180f126890aSEmmanuel Vadot	pinctrl-names = "default";
181f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
182f126890aSEmmanuel Vadot	phy-mode = "rgmii";
183f126890aSEmmanuel Vadot	phy-handle = <&ethphy>;
184f126890aSEmmanuel Vadot	phy-reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
185f126890aSEmmanuel Vadot	/delete-property/ interrupts;
186f126890aSEmmanuel Vadot	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
187f126890aSEmmanuel Vadot			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
188f126890aSEmmanuel Vadot	fsl,err006687-workaround-present;
189f126890aSEmmanuel Vadot	status = "okay";
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot	mdio {
192f126890aSEmmanuel Vadot		#address-cells = <1>;
193f126890aSEmmanuel Vadot		#size-cells = <0>;
194f126890aSEmmanuel Vadot
195f126890aSEmmanuel Vadot		ethphy: ethernet-phy {
196f126890aSEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c22";
197f126890aSEmmanuel Vadot			txen-skew-ps = <0>;
198f126890aSEmmanuel Vadot			txc-skew-ps = <3000>;
199f126890aSEmmanuel Vadot			rxdv-skew-ps = <0>;
200f126890aSEmmanuel Vadot			rxc-skew-ps = <3000>;
201f126890aSEmmanuel Vadot			rxd0-skew-ps = <0>;
202f126890aSEmmanuel Vadot			rxd1-skew-ps = <0>;
203f126890aSEmmanuel Vadot			rxd2-skew-ps = <0>;
204f126890aSEmmanuel Vadot			rxd3-skew-ps = <0>;
205f126890aSEmmanuel Vadot			txd0-skew-ps = <0>;
206f126890aSEmmanuel Vadot			txd1-skew-ps = <0>;
207f126890aSEmmanuel Vadot			txd2-skew-ps = <0>;
208f126890aSEmmanuel Vadot			txd3-skew-ps = <0>;
209f126890aSEmmanuel Vadot		};
210f126890aSEmmanuel Vadot	};
211f126890aSEmmanuel Vadot};
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot&hdmi {
214f126890aSEmmanuel Vadot	ddc-i2c-bus = <&i2c2>;
215f126890aSEmmanuel Vadot	status = "okay";
216f126890aSEmmanuel Vadot};
217f126890aSEmmanuel Vadot
218f126890aSEmmanuel Vadot&i2c1 {
219f126890aSEmmanuel Vadot	clock-frequency = <100000>;
220f126890aSEmmanuel Vadot	pinctrl-names = "default";
221f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
222f126890aSEmmanuel Vadot	status = "okay";
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot	codec: sgtl5000@a {
225f126890aSEmmanuel Vadot		compatible = "fsl,sgtl5000";
226f126890aSEmmanuel Vadot		pinctrl-names = "default";
227f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_sgtl5000>;
228f126890aSEmmanuel Vadot		reg = <0x0a>;
229aa1a8ff2SEmmanuel Vadot		#sound-dai-cells = <0>;
230f126890aSEmmanuel Vadot		clocks = <&clks IMX6QDL_CLK_CKO>;
231f126890aSEmmanuel Vadot		VDDA-supply = <&reg_2p5v>;
232f126890aSEmmanuel Vadot		VDDIO-supply = <&reg_3p3v>;
233f126890aSEmmanuel Vadot	};
234f126890aSEmmanuel Vadot};
235f126890aSEmmanuel Vadot
236f126890aSEmmanuel Vadot&i2c2 {
237f126890aSEmmanuel Vadot	clock-frequency = <100000>;
238f126890aSEmmanuel Vadot	pinctrl-names = "default";
239f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
240f126890aSEmmanuel Vadot	status = "okay";
241f126890aSEmmanuel Vadot};
242f126890aSEmmanuel Vadot
243f126890aSEmmanuel Vadot&i2c3 {
244f126890aSEmmanuel Vadot	clock-frequency = <100000>;
245f126890aSEmmanuel Vadot	pinctrl-names = "default";
246f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
247f126890aSEmmanuel Vadot	status = "okay";
248f126890aSEmmanuel Vadot
249f126890aSEmmanuel Vadot	touchscreen@4 {
250f126890aSEmmanuel Vadot		compatible = "eeti,egalax_ts";
251f126890aSEmmanuel Vadot		reg = <0x04>;
252f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
253f126890aSEmmanuel Vadot		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
254f126890aSEmmanuel Vadot		wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
255f126890aSEmmanuel Vadot	};
256f126890aSEmmanuel Vadot
257f126890aSEmmanuel Vadot	touchscreen@38 {
258f126890aSEmmanuel Vadot		compatible = "edt,edt-ft5x06";
259f126890aSEmmanuel Vadot		reg = <0x38>;
260f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
261f126890aSEmmanuel Vadot		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
262f126890aSEmmanuel Vadot		wakeup-source;
263f126890aSEmmanuel Vadot	};
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot	rtc@6f {
266f126890aSEmmanuel Vadot		compatible = "isil,isl1208";
267f126890aSEmmanuel Vadot		pinctrl-names = "default";
268f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_rtc>;
269f126890aSEmmanuel Vadot		reg = <0x6f>;
270f126890aSEmmanuel Vadot		interrupts-extended = <&gpio2 26 IRQ_TYPE_LEVEL_LOW>;
271f126890aSEmmanuel Vadot	};
272f126890aSEmmanuel Vadot};
273f126890aSEmmanuel Vadot
274f126890aSEmmanuel Vadot&iomuxc {
275f126890aSEmmanuel Vadot	pinctrl-names = "default";
276f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_j10>;
277f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_j28>;
278f126890aSEmmanuel Vadot
279f126890aSEmmanuel Vadot	imx6dl-nit6xlite {
280f126890aSEmmanuel Vadot		pinctrl_audmux: audmuxgrp {
281f126890aSEmmanuel Vadot			fsl,pins = <
282f126890aSEmmanuel Vadot				MX6QDL_PAD_CSI0_DAT7__AUD3_RXD		0x130b0
283f126890aSEmmanuel Vadot				MX6QDL_PAD_CSI0_DAT4__AUD3_TXC		0x130b0
284f126890aSEmmanuel Vadot				MX6QDL_PAD_CSI0_DAT5__AUD3_TXD		0x110b0
285f126890aSEmmanuel Vadot				MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS		0x130b0
286f126890aSEmmanuel Vadot			>;
287f126890aSEmmanuel Vadot		};
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot		pinctrl_ecspi1: ecspi1grp {
290f126890aSEmmanuel Vadot			fsl,pins = <
291f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D17__ECSPI1_MISO		0x100b1
292f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D18__ECSPI1_MOSI		0x100b1
293f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D16__ECSPI1_SCLK		0x100b1
294f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D19__GPIO3_IO19		0x000b1
295f126890aSEmmanuel Vadot			>;
296f126890aSEmmanuel Vadot		};
297f126890aSEmmanuel Vadot
298f126890aSEmmanuel Vadot		pinctrl_enet: enetgrp {
299f126890aSEmmanuel Vadot			fsl,pins = <
300f126890aSEmmanuel Vadot				MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x100b0
301f126890aSEmmanuel Vadot				MX6QDL_PAD_ENET_MDC__ENET_MDC		0x100b0
302f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x100b0
303f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x100b0
304f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x100b0
305f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x100b0
306f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x100b0
307f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x100b0
308f126890aSEmmanuel Vadot				MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x100b0
309f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
310f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
311f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
312f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
313f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
314f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
315f126890aSEmmanuel Vadot				/* Phy reset */
316f126890aSEmmanuel Vadot				MX6QDL_PAD_ENET_RXD0__GPIO1_IO27	0x0f0b0
317f126890aSEmmanuel Vadot				MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28	0x1b0b0
318f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_6__ENET_IRQ		0x000b1
319f126890aSEmmanuel Vadot			>;
320f126890aSEmmanuel Vadot		};
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot		pinctrl_gpio_keys: gpio-keysgrp {
323f126890aSEmmanuel Vadot			fsl,pins = <
324f126890aSEmmanuel Vadot				/* Home Button: J14 pin 5 */
325f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_18__GPIO7_IO13		0x1b0b0
326f126890aSEmmanuel Vadot				/* Back Button: J14 pin 7 */
327f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_19__GPIO4_IO05		0x1b0b0
328f126890aSEmmanuel Vadot			>;
329f126890aSEmmanuel Vadot		};
330f126890aSEmmanuel Vadot
331f126890aSEmmanuel Vadot		pinctrl_i2c1: i2c1grp {
332f126890aSEmmanuel Vadot			fsl,pins = <
333f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D21__I2C1_SCL	0x4001b8b1
334f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D28__I2C1_SDA	0x4001b8b1
335f126890aSEmmanuel Vadot			>;
336f126890aSEmmanuel Vadot		};
337f126890aSEmmanuel Vadot
338f126890aSEmmanuel Vadot		pinctrl_i2c2: i2c2grp {
339f126890aSEmmanuel Vadot			fsl,pins = <
340f126890aSEmmanuel Vadot				MX6QDL_PAD_KEY_COL3__I2C2_SCL	0x4001b8b1
341f126890aSEmmanuel Vadot				MX6QDL_PAD_KEY_ROW3__I2C2_SDA	0x4001b8b1
342f126890aSEmmanuel Vadot			>;
343f126890aSEmmanuel Vadot		};
344f126890aSEmmanuel Vadot
345f126890aSEmmanuel Vadot		pinctrl_i2c3: i2c3grp {
346f126890aSEmmanuel Vadot			fsl,pins = <
347f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_5__I2C3_SCL	0x4001b8b1
348f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_16__I2C3_SDA	0x4001b8b1
349f126890aSEmmanuel Vadot				/* Touch IRQ: J7 pin 4 */
350f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_9__GPIO1_IO09	0x1b0b0
351f126890aSEmmanuel Vadot				/* tcs2004 IRQ */
352f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_LBA__GPIO2_IO27	0x1b0b0
353f126890aSEmmanuel Vadot				/* tsc2004 reset */
354f126890aSEmmanuel Vadot				MX6QDL_PAD_KEY_COL2__GPIO4_IO10	0x0b0b0
355f126890aSEmmanuel Vadot			>;
356f126890aSEmmanuel Vadot		};
357f126890aSEmmanuel Vadot
358f126890aSEmmanuel Vadot		pinctrl_j10: j10grp {
359f126890aSEmmanuel Vadot			fsl,pins = <
360f126890aSEmmanuel Vadot				/* Broadcom WiFi module pins */
361f126890aSEmmanuel Vadot				MX6QDL_PAD_NANDF_D0__GPIO2_IO00		0x1b0b0
362f126890aSEmmanuel Vadot				MX6QDL_PAD_NANDF_D1__GPIO2_IO01		0x1b0b0
363f126890aSEmmanuel Vadot				MX6QDL_PAD_NANDF_D3__GPIO2_IO03		0x1b0b0
364f126890aSEmmanuel Vadot				MX6QDL_PAD_NANDF_D4__GPIO2_IO04		0x1b0b0
365f126890aSEmmanuel Vadot				MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09	0x0b0b0
366f126890aSEmmanuel Vadot				MX6QDL_PAD_NANDF_CS1__GPIO6_IO14	0x1b0b0
367f126890aSEmmanuel Vadot				MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT	0x000b0
368f126890aSEmmanuel Vadot			>;
369f126890aSEmmanuel Vadot		};
370f126890aSEmmanuel Vadot
371f126890aSEmmanuel Vadot		pinctrl_j28: j28grp {
372f126890aSEmmanuel Vadot			fsl,pins = <
373f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_4__GPIO1_IO04		0x1b0b0
374f126890aSEmmanuel Vadot			>;
375f126890aSEmmanuel Vadot		};
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot		pinctrl_leds: ledsgrp {
378f126890aSEmmanuel Vadot			fsl,pins = <
379f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_2__GPIO1_IO02		0x0b0b0
380f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_3__GPIO1_IO03		0x0b0b0
381f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D29__GPIO3_IO29		0x030b0
382f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_7__GPIO1_IO07		0x0b0b0
383f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_8__GPIO1_IO08		0x0b0b0
384f126890aSEmmanuel Vadot			>;
385f126890aSEmmanuel Vadot		};
386f126890aSEmmanuel Vadot
387f126890aSEmmanuel Vadot		pinctrl_pwm1: pwm1grp {
388f126890aSEmmanuel Vadot			fsl,pins = <
389f126890aSEmmanuel Vadot				MX6QDL_PAD_SD1_DAT3__PWM1_OUT		0x1b0b1
390f126890aSEmmanuel Vadot			>;
391f126890aSEmmanuel Vadot		};
392f126890aSEmmanuel Vadot
393f126890aSEmmanuel Vadot		pinctrl_pwm3: pwm3grp {
394f126890aSEmmanuel Vadot			fsl,pins = <
395f126890aSEmmanuel Vadot				MX6QDL_PAD_SD1_DAT1__PWM3_OUT		0x1b0b1
396f126890aSEmmanuel Vadot			>;
397f126890aSEmmanuel Vadot		};
398f126890aSEmmanuel Vadot
399f126890aSEmmanuel Vadot		pinctrl_pwm4: pwm4grp {
400f126890aSEmmanuel Vadot			fsl,pins = <
401f126890aSEmmanuel Vadot				MX6QDL_PAD_SD1_CMD__PWM4_OUT		0x1b0b1
402f126890aSEmmanuel Vadot			>;
403f126890aSEmmanuel Vadot		};
404f126890aSEmmanuel Vadot
405f126890aSEmmanuel Vadot		pinctrl_wlan_vmmc: wlan-vmmcgrp {
406f126890aSEmmanuel Vadot			fsl,pins = <
407f126890aSEmmanuel Vadot				MX6QDL_PAD_NANDF_CLE__GPIO6_IO07	0x030b0
408f126890aSEmmanuel Vadot			>;
409f126890aSEmmanuel Vadot		};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot		pinctrl_rtc: rtcgrp {
412f126890aSEmmanuel Vadot			fsl,pins = <
413f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_RW__GPIO2_IO26		0x1b0b0
414f126890aSEmmanuel Vadot			>;
415f126890aSEmmanuel Vadot		};
416f126890aSEmmanuel Vadot
417f126890aSEmmanuel Vadot		pinctrl_sgtl5000: sgtl5000grp {
418f126890aSEmmanuel Vadot			fsl,pins = <
419f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_0__CCM_CLKO1		0x000b0
420f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_A25__GPIO5_IO02		0x1b0b0
421f126890aSEmmanuel Vadot			>;
422f126890aSEmmanuel Vadot		};
423f126890aSEmmanuel Vadot
424f126890aSEmmanuel Vadot		pinctrl_uart1: uart1grp {
425f126890aSEmmanuel Vadot			fsl,pins = <
426f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA	0x1b0b1
427f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA	0x1b0b1
428f126890aSEmmanuel Vadot			>;
429f126890aSEmmanuel Vadot		};
430f126890aSEmmanuel Vadot
431f126890aSEmmanuel Vadot		pinctrl_uart2: uart2grp {
432f126890aSEmmanuel Vadot			fsl,pins = <
433f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D26__UART2_TX_DATA	0x1b0b1
434f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D27__UART2_RX_DATA	0x1b0b1
435f126890aSEmmanuel Vadot			>;
436f126890aSEmmanuel Vadot		};
437f126890aSEmmanuel Vadot
438f126890aSEmmanuel Vadot		pinctrl_uart3: uart3grp {
439f126890aSEmmanuel Vadot			fsl,pins = <
440f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D24__UART3_TX_DATA	0x1b0b1
441f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D25__UART3_RX_DATA	0x1b0b1
442f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D23__UART3_CTS_B		0x1b0b1
443f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D31__UART3_RTS_B		0x1b0b1
444f126890aSEmmanuel Vadot			>;
445f126890aSEmmanuel Vadot		};
446f126890aSEmmanuel Vadot
447f126890aSEmmanuel Vadot		pinctrl_usbotg: usbotggrp {
448f126890aSEmmanuel Vadot			fsl,pins = <
449f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_1__USB_OTG_ID		0x17059
450f126890aSEmmanuel Vadot				MX6QDL_PAD_KEY_COL4__USB_OTG_OC		0x1b0b0
451f126890aSEmmanuel Vadot				/* power enable, high active */
452f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D22__GPIO3_IO22		0x000b0
453f126890aSEmmanuel Vadot			>;
454f126890aSEmmanuel Vadot		};
455f126890aSEmmanuel Vadot
456f126890aSEmmanuel Vadot		pinctrl_usdhc2: usdhc2grp {
457f126890aSEmmanuel Vadot			fsl,pins = <
458f126890aSEmmanuel Vadot				MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17059
459f126890aSEmmanuel Vadot				MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10059
460f126890aSEmmanuel Vadot				MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17059
461f126890aSEmmanuel Vadot				MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17059
462f126890aSEmmanuel Vadot				MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17059
463f126890aSEmmanuel Vadot				MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17059
464f126890aSEmmanuel Vadot			>;
465f126890aSEmmanuel Vadot		};
466f126890aSEmmanuel Vadot
467f126890aSEmmanuel Vadot		pinctrl_usdhc3: usdhc3grp {
468f126890aSEmmanuel Vadot			fsl,pins = <
469f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
470f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
471f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
472f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
473f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
474f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
475f126890aSEmmanuel Vadot				MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x1b0b0
476f126890aSEmmanuel Vadot			>;
477f126890aSEmmanuel Vadot		};
478f126890aSEmmanuel Vadot	};
479f126890aSEmmanuel Vadot};
480f126890aSEmmanuel Vadot
481f126890aSEmmanuel Vadot&ldb {
482f126890aSEmmanuel Vadot	status = "okay";
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot	lvds-channel@0 {
485f126890aSEmmanuel Vadot		status = "okay";
486f126890aSEmmanuel Vadot
487f126890aSEmmanuel Vadot		port@4 {
488f126890aSEmmanuel Vadot			reg = <4>;
489f126890aSEmmanuel Vadot
490f126890aSEmmanuel Vadot			lvds0_out: endpoint {
491f126890aSEmmanuel Vadot				remote-endpoint = <&panel_in_lvds0>;
492f126890aSEmmanuel Vadot			};
493f126890aSEmmanuel Vadot		};
494f126890aSEmmanuel Vadot	};
495f126890aSEmmanuel Vadot};
496f126890aSEmmanuel Vadot
497f126890aSEmmanuel Vadot&pcie {
498f126890aSEmmanuel Vadot	status = "okay";
499f126890aSEmmanuel Vadot};
500f126890aSEmmanuel Vadot
501f126890aSEmmanuel Vadot&pwm1 {
502f126890aSEmmanuel Vadot	pinctrl-names = "default";
503f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>;
504f126890aSEmmanuel Vadot	status = "okay";
505f126890aSEmmanuel Vadot};
506f126890aSEmmanuel Vadot
507f126890aSEmmanuel Vadot&pwm3 {
508f126890aSEmmanuel Vadot	pinctrl-names = "default";
509f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm3>;
510f126890aSEmmanuel Vadot	status = "okay";
511f126890aSEmmanuel Vadot};
512f126890aSEmmanuel Vadot
513f126890aSEmmanuel Vadot&pwm4 {
514f126890aSEmmanuel Vadot	pinctrl-names = "default";
515f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm4>;
516f126890aSEmmanuel Vadot	status = "okay";
517f126890aSEmmanuel Vadot};
518f126890aSEmmanuel Vadot
519f126890aSEmmanuel Vadot&ssi1 {
520f126890aSEmmanuel Vadot	status = "okay";
521f126890aSEmmanuel Vadot};
522f126890aSEmmanuel Vadot
523f126890aSEmmanuel Vadot&uart1 {
524f126890aSEmmanuel Vadot	pinctrl-names = "default";
525f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
526f126890aSEmmanuel Vadot	status = "okay";
527f126890aSEmmanuel Vadot};
528f126890aSEmmanuel Vadot
529f126890aSEmmanuel Vadot&uart2 {
530f126890aSEmmanuel Vadot	pinctrl-names = "default";
531f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
532f126890aSEmmanuel Vadot	status = "okay";
533f126890aSEmmanuel Vadot};
534f126890aSEmmanuel Vadot
535f126890aSEmmanuel Vadot&uart3 {
536f126890aSEmmanuel Vadot	pinctrl-names = "default";
537f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
538f126890aSEmmanuel Vadot	uart-has-rtscts;
539f126890aSEmmanuel Vadot	status = "okay";
540f126890aSEmmanuel Vadot};
541f126890aSEmmanuel Vadot
542f126890aSEmmanuel Vadot&usbh1 {
543f126890aSEmmanuel Vadot	status = "okay";
544f126890aSEmmanuel Vadot};
545f126890aSEmmanuel Vadot
546f126890aSEmmanuel Vadot&usbotg {
547f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
548f126890aSEmmanuel Vadot	pinctrl-names = "default";
549f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
550f126890aSEmmanuel Vadot	disable-over-current;
551f126890aSEmmanuel Vadot	status = "okay";
552f126890aSEmmanuel Vadot};
553f126890aSEmmanuel Vadot
554f126890aSEmmanuel Vadot&usdhc2 {
555f126890aSEmmanuel Vadot	pinctrl-names = "default";
556f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
557f126890aSEmmanuel Vadot	bus-width = <4>;
558f126890aSEmmanuel Vadot	non-removable;
559f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
560f126890aSEmmanuel Vadot	vqmmc-supply = <&reg_wlan_vmmc>;
561f126890aSEmmanuel Vadot	cap-power-off-card;
562f126890aSEmmanuel Vadot	keep-power-in-suspend;
563f126890aSEmmanuel Vadot	status = "okay";
564f126890aSEmmanuel Vadot};
565f126890aSEmmanuel Vadot
566f126890aSEmmanuel Vadot&usdhc3 {
567f126890aSEmmanuel Vadot	pinctrl-names = "default";
568f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
569f126890aSEmmanuel Vadot	cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
570f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
571f126890aSEmmanuel Vadot	status = "okay";
572f126890aSEmmanuel Vadot};
573