xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-dhcom-som.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) 2015-2021 DH electronics GmbH
4*f126890aSEmmanuel Vadot * Copyright (C) 2018 Marek Vasut <marex@denx.de>
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
8*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/clock/imx6qdl-clock.h>
10*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/ {
13*f126890aSEmmanuel Vadot	aliases {
14*f126890aSEmmanuel Vadot		i2c0 = &i2c2;
15*f126890aSEmmanuel Vadot		i2c1 = &i2c1;
16*f126890aSEmmanuel Vadot		i2c2 = &i2c3;
17*f126890aSEmmanuel Vadot		mmc0 = &usdhc2;
18*f126890aSEmmanuel Vadot		mmc1 = &usdhc3;
19*f126890aSEmmanuel Vadot		mmc2 = &usdhc4;
20*f126890aSEmmanuel Vadot		mmc3 = &usdhc1;
21*f126890aSEmmanuel Vadot		rtc0 = &rtc_i2c;
22*f126890aSEmmanuel Vadot		rtc1 = &snvs_rtc;
23*f126890aSEmmanuel Vadot		serial0 = &uart1;
24*f126890aSEmmanuel Vadot		serial1 = &uart5;
25*f126890aSEmmanuel Vadot		serial2 = &uart4;
26*f126890aSEmmanuel Vadot		serial3 = &uart2;
27*f126890aSEmmanuel Vadot		serial4 = &uart3;
28*f126890aSEmmanuel Vadot	};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot	memory@10000000 { /* Appropriate memory size will be filled by U-Boot */
31*f126890aSEmmanuel Vadot		device_type = "memory";
32*f126890aSEmmanuel Vadot		reg = <0x10000000 0x20000000>;
33*f126890aSEmmanuel Vadot	};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot	reg_3p3v: regulator-3P3V {
36*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
37*f126890aSEmmanuel Vadot		regulator-always-on;
38*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
39*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
40*f126890aSEmmanuel Vadot		regulator-name = "3P3V";
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	reg_eth_vio: regulator-eth-vio {
44*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
45*f126890aSEmmanuel Vadot		gpio = <&gpio1 7 0>;
46*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_enet_vio>;
47*f126890aSEmmanuel Vadot		pinctrl-names = "default";
48*f126890aSEmmanuel Vadot		regulator-always-on;
49*f126890aSEmmanuel Vadot		regulator-boot-on;
50*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
51*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
52*f126890aSEmmanuel Vadot		regulator-name = "eth_vio";
53*f126890aSEmmanuel Vadot		vin-supply = <&sw2_reg>;
54*f126890aSEmmanuel Vadot	};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot	/* OE pin of the latch is low active */
57*f126890aSEmmanuel Vadot	reg_latch_oe_on: regulator-latch-oe-on {
58*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
59*f126890aSEmmanuel Vadot		gpio = <&gpio3 22 0>;
60*f126890aSEmmanuel Vadot		regulator-always-on;
61*f126890aSEmmanuel Vadot		regulator-name = "latch_oe_on";
62*f126890aSEmmanuel Vadot	};
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot	reg_usb_h1_vbus: regulator-usb-h1-vbus {
65*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
66*f126890aSEmmanuel Vadot		enable-active-high;
67*f126890aSEmmanuel Vadot		gpio = <&gpio3 31 0>;
68*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
69*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
70*f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
71*f126890aSEmmanuel Vadot	};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot	reg_usb_otg_vbus: regulator-usb-otg-vbus {
74*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
75*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
76*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
77*f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
78*f126890aSEmmanuel Vadot	};
79*f126890aSEmmanuel Vadot};
80*f126890aSEmmanuel Vadot
81*f126890aSEmmanuel Vadot&can1 {
82*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_flexcan1>;
83*f126890aSEmmanuel Vadot	pinctrl-names = "default";
84*f126890aSEmmanuel Vadot	status = "okay";
85*f126890aSEmmanuel Vadot};
86*f126890aSEmmanuel Vadot
87*f126890aSEmmanuel Vadot/*
88*f126890aSEmmanuel Vadot * Special SoM hardware required which uses the pins from micro SD card. The
89*f126890aSEmmanuel Vadot * pins SD3_DAT0 and SD3_DAT1 are muxed as can2 Tx and Rx. The signals for can2
90*f126890aSEmmanuel Vadot * Tx and Rx are routed to the DHCOM UART1 rts/cts pins. So to enable can2 on
91*f126890aSEmmanuel Vadot * the board device tree file, the micro SD card must be disabled and the uart1
92*f126890aSEmmanuel Vadot * rts/cts must be disabled or output on other DHCOM pins.
93*f126890aSEmmanuel Vadot */
94*f126890aSEmmanuel Vadot&can2 {
95*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_flexcan2>;
96*f126890aSEmmanuel Vadot	pinctrl-names = "default";
97*f126890aSEmmanuel Vadot	status = "disabled";
98*f126890aSEmmanuel Vadot};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot&ecspi1 {
101*f126890aSEmmanuel Vadot	cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio4 11 GPIO_ACTIVE_LOW>;
102*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
103*f126890aSEmmanuel Vadot	pinctrl-names = "default";
104*f126890aSEmmanuel Vadot	status = "okay";
105*f126890aSEmmanuel Vadot
106*f126890aSEmmanuel Vadot	flash@0 { /* S25FL116K */
107*f126890aSEmmanuel Vadot		#address-cells = <1>;
108*f126890aSEmmanuel Vadot		#size-cells = <1>;
109*f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
110*f126890aSEmmanuel Vadot		m25p,fast-read;
111*f126890aSEmmanuel Vadot		reg = <0>;
112*f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
113*f126890aSEmmanuel Vadot	};
114*f126890aSEmmanuel Vadot};
115*f126890aSEmmanuel Vadot
116*f126890aSEmmanuel Vadot&ecspi2 {
117*f126890aSEmmanuel Vadot	cs-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
118*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi2>;
119*f126890aSEmmanuel Vadot	pinctrl-names = "default";
120*f126890aSEmmanuel Vadot	status = "disabled";
121*f126890aSEmmanuel Vadot};
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot&fec {
124*f126890aSEmmanuel Vadot	phy-mode = "rmii";
125*f126890aSEmmanuel Vadot	phy-handle = <&ethphy0>;
126*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet_100M>;
127*f126890aSEmmanuel Vadot	pinctrl-names = "default";
128*f126890aSEmmanuel Vadot	status = "okay";
129*f126890aSEmmanuel Vadot
130*f126890aSEmmanuel Vadot	mdio {
131*f126890aSEmmanuel Vadot		#address-cells = <1>;
132*f126890aSEmmanuel Vadot		#size-cells = <0>;
133*f126890aSEmmanuel Vadot
134*f126890aSEmmanuel Vadot		ethphy0: ethernet-phy@0 { /* SMSC LAN8710Ai */
135*f126890aSEmmanuel Vadot			compatible = "ethernet-phy-id0007.c0f0",
136*f126890aSEmmanuel Vadot				     "ethernet-phy-ieee802.3-c22";
137*f126890aSEmmanuel Vadot			interrupt-parent = <&gpio4>;
138*f126890aSEmmanuel Vadot			interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
139*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_ethphy0>;
140*f126890aSEmmanuel Vadot			pinctrl-names = "default";
141*f126890aSEmmanuel Vadot			reg = <0>;
142*f126890aSEmmanuel Vadot			reset-assert-us = <500>;
143*f126890aSEmmanuel Vadot			reset-deassert-us = <500>;
144*f126890aSEmmanuel Vadot			reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
145*f126890aSEmmanuel Vadot			smsc,disable-energy-detect; /* Make plugin detection reliable */
146*f126890aSEmmanuel Vadot		};
147*f126890aSEmmanuel Vadot	};
148*f126890aSEmmanuel Vadot};
149*f126890aSEmmanuel Vadot
150*f126890aSEmmanuel Vadot&gpio1 {
151*f126890aSEmmanuel Vadot	gpio-line-names =
152*f126890aSEmmanuel Vadot		"", "", "DHCOM-A", "", "DHCOM-B", "DHCOM-C", "", "",
153*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
154*f126890aSEmmanuel Vadot		"DHCOM-R", "DHCOM-S", "DHCOM-Q", "DHCOM-T", "DHCOM-U", "", "", "",
155*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "";
156*f126890aSEmmanuel Vadot};
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot&gpio2 {
159*f126890aSEmmanuel Vadot	gpio-line-names =
160*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
161*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
162*f126890aSEmmanuel Vadot		"SOM-HW2", "", "", "SOM-HW0", "", "SOM-MEM1", "SOM-MEM0", "",
163*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "";
164*f126890aSEmmanuel Vadot};
165*f126890aSEmmanuel Vadot
166*f126890aSEmmanuel Vadot&gpio3 {
167*f126890aSEmmanuel Vadot	gpio-line-names =
168*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
169*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
170*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
171*f126890aSEmmanuel Vadot		"", "", "", "DHCOM-G", "", "", "", "";
172*f126890aSEmmanuel Vadot};
173*f126890aSEmmanuel Vadot
174*f126890aSEmmanuel Vadot&gpio4 {
175*f126890aSEmmanuel Vadot	gpio-line-names =
176*f126890aSEmmanuel Vadot		"", "", "", "", "", "DHCOM-E", "DHCOM-INT", "DHCOM-H",
177*f126890aSEmmanuel Vadot		"DHCOM-I", "DHCOM-L", "", "", "", "", "", "",
178*f126890aSEmmanuel Vadot		"", "", "", "", "DHCOM-F", "", "", "",
179*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "";
180*f126890aSEmmanuel Vadot};
181*f126890aSEmmanuel Vadot
182*f126890aSEmmanuel Vadot&gpio5 {
183*f126890aSEmmanuel Vadot	gpio-line-names =
184*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
185*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
186*f126890aSEmmanuel Vadot		"", "", "DHCOM-V", "DHCOM-W", "", "DHCOM-O", "", "",
187*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "";
188*f126890aSEmmanuel Vadot};
189*f126890aSEmmanuel Vadot
190*f126890aSEmmanuel Vadot&gpio6 {
191*f126890aSEmmanuel Vadot	gpio-line-names =
192*f126890aSEmmanuel Vadot		"", "", "", "DHCOM-D", "", "", "SOM-HW1", "",
193*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "DHCOM-J", "DHCOM-K",
194*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
195*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "";
196*f126890aSEmmanuel Vadot};
197*f126890aSEmmanuel Vadot
198*f126890aSEmmanuel Vadot&gpio7 {
199*f126890aSEmmanuel Vadot	gpio-line-names =
200*f126890aSEmmanuel Vadot		"DHCOM-M", "DHCOM-N", "", "", "", "", "", "",
201*f126890aSEmmanuel Vadot		"", "", "", "", "", "DHCOM-P", "", "",
202*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
203*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "";
204*f126890aSEmmanuel Vadot};
205*f126890aSEmmanuel Vadot
206*f126890aSEmmanuel Vadot&i2c1 {
207*f126890aSEmmanuel Vadot	/*
208*f126890aSEmmanuel Vadot	 * Info: According to erratum ERR007805 clock frequency limit is 375000.
209*f126890aSEmmanuel Vadot	 * The erratum for i.MX6S/DL is here [1] and for i.MX6Q/D is here [2].
210*f126890aSEmmanuel Vadot	 * [1] https://www.nxp.com/docs/en/errata/IMX6SDLCE.pdf
211*f126890aSEmmanuel Vadot	 * [2] https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf
212*f126890aSEmmanuel Vadot	 */
213*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
214*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
215*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c1_gpio>;
216*f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
217*f126890aSEmmanuel Vadot	scl-gpios = <&gpio3 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
218*f126890aSEmmanuel Vadot	sda-gpios = <&gpio3 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
219*f126890aSEmmanuel Vadot	status = "okay";
220*f126890aSEmmanuel Vadot};
221*f126890aSEmmanuel Vadot
222*f126890aSEmmanuel Vadot&i2c2 {
223*f126890aSEmmanuel Vadot	/* Info: Clock frequency limit is 375000 (for details see i2c1) */
224*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
225*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
226*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c2_gpio>;
227*f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
228*f126890aSEmmanuel Vadot	scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
229*f126890aSEmmanuel Vadot	sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
230*f126890aSEmmanuel Vadot	status = "okay";
231*f126890aSEmmanuel Vadot};
232*f126890aSEmmanuel Vadot
233*f126890aSEmmanuel Vadot&i2c3 {
234*f126890aSEmmanuel Vadot	/* Info: Clock frequency limit is 375000 (for details see i2c1) */
235*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
236*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
237*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c3_gpio>;
238*f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
239*f126890aSEmmanuel Vadot	scl-gpios = <&gpio1 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
240*f126890aSEmmanuel Vadot	sda-gpios = <&gpio1 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
241*f126890aSEmmanuel Vadot	status = "okay";
242*f126890aSEmmanuel Vadot
243*f126890aSEmmanuel Vadot	ltc3676: pmic@3c {
244*f126890aSEmmanuel Vadot		compatible = "lltc,ltc3676";
245*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
246*f126890aSEmmanuel Vadot		interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
247*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pmic>;
248*f126890aSEmmanuel Vadot		pinctrl-names = "default";
249*f126890aSEmmanuel Vadot		reg = <0x3c>;
250*f126890aSEmmanuel Vadot
251*f126890aSEmmanuel Vadot		regulators {
252*f126890aSEmmanuel Vadot			sw1_reg: sw1 {
253*f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <100000 110000>;
254*f126890aSEmmanuel Vadot				regulator-always-on;
255*f126890aSEmmanuel Vadot				regulator-boot-on;
256*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1527272>;
257*f126890aSEmmanuel Vadot				regulator-min-microvolt = <787500>;
258*f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
259*f126890aSEmmanuel Vadot				regulator-suspend-mem-microvolt = <1040000>;
260*f126890aSEmmanuel Vadot			};
261*f126890aSEmmanuel Vadot
262*f126890aSEmmanuel Vadot			sw2_reg: sw2 {
263*f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <100000 28000>;
264*f126890aSEmmanuel Vadot				regulator-always-on;
265*f126890aSEmmanuel Vadot				regulator-boot-on;
266*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3657142>;
267*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1885714>;
268*f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
269*f126890aSEmmanuel Vadot			};
270*f126890aSEmmanuel Vadot
271*f126890aSEmmanuel Vadot			sw3_reg: sw3 {
272*f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <100000 110000>;
273*f126890aSEmmanuel Vadot				regulator-always-on;
274*f126890aSEmmanuel Vadot				regulator-boot-on;
275*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1527272>;
276*f126890aSEmmanuel Vadot				regulator-min-microvolt = <787500>;
277*f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
278*f126890aSEmmanuel Vadot				regulator-suspend-mem-microvolt = <980000>;
279*f126890aSEmmanuel Vadot			};
280*f126890aSEmmanuel Vadot
281*f126890aSEmmanuel Vadot			sw4_reg: sw4 {
282*f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <100000 93100>;
283*f126890aSEmmanuel Vadot				regulator-always-on;
284*f126890aSEmmanuel Vadot				regulator-boot-on;
285*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1659291>;
286*f126890aSEmmanuel Vadot				regulator-min-microvolt = <855571>;
287*f126890aSEmmanuel Vadot				regulator-ramp-delay = <7000>;
288*f126890aSEmmanuel Vadot			};
289*f126890aSEmmanuel Vadot
290*f126890aSEmmanuel Vadot			ldo1_reg: ldo1 {
291*f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <102000 29400>;
292*f126890aSEmmanuel Vadot				regulator-always-on;
293*f126890aSEmmanuel Vadot				regulator-boot-on;
294*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3240306>;
295*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3240306>;
296*f126890aSEmmanuel Vadot			};
297*f126890aSEmmanuel Vadot
298*f126890aSEmmanuel Vadot			ldo2_reg: ldo2 {
299*f126890aSEmmanuel Vadot				lltc,fb-voltage-divider = <100000 41200>;
300*f126890aSEmmanuel Vadot				regulator-always-on;
301*f126890aSEmmanuel Vadot				regulator-boot-on;
302*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2484708>;
303*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2484708>;
304*f126890aSEmmanuel Vadot			};
305*f126890aSEmmanuel Vadot		};
306*f126890aSEmmanuel Vadot	};
307*f126890aSEmmanuel Vadot
308*f126890aSEmmanuel Vadot	touchscreen@49 { /* TSC2004 */
309*f126890aSEmmanuel Vadot		compatible = "ti,tsc2004";
310*f126890aSEmmanuel Vadot		interrupts-extended = <&gpio4 14 IRQ_TYPE_EDGE_FALLING>;
311*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_tsc2004>;
312*f126890aSEmmanuel Vadot		pinctrl-names = "default";
313*f126890aSEmmanuel Vadot		reg = <0x49>;
314*f126890aSEmmanuel Vadot		vio-supply = <&reg_3p3v>;
315*f126890aSEmmanuel Vadot		status = "disabled";
316*f126890aSEmmanuel Vadot	};
317*f126890aSEmmanuel Vadot
318*f126890aSEmmanuel Vadot	eeprom@50 {
319*f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
320*f126890aSEmmanuel Vadot		pagesize = <16>;
321*f126890aSEmmanuel Vadot		reg = <0x50>;
322*f126890aSEmmanuel Vadot	};
323*f126890aSEmmanuel Vadot
324*f126890aSEmmanuel Vadot	rtc_i2c: rtc@56 {
325*f126890aSEmmanuel Vadot		compatible = "microcrystal,rv3029";
326*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio7>;
327*f126890aSEmmanuel Vadot		interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
328*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_rtc>;
329*f126890aSEmmanuel Vadot		pinctrl-names = "default";
330*f126890aSEmmanuel Vadot		reg = <0x56>;
331*f126890aSEmmanuel Vadot	};
332*f126890aSEmmanuel Vadot};
333*f126890aSEmmanuel Vadot
334*f126890aSEmmanuel Vadot&pcie {
335*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie>;
336*f126890aSEmmanuel Vadot	pinctrl-names = "default";
337*f126890aSEmmanuel Vadot};
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot&pwm1 {
340*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>;
341*f126890aSEmmanuel Vadot	pinctrl-names = "default";
342*f126890aSEmmanuel Vadot};
343*f126890aSEmmanuel Vadot
344*f126890aSEmmanuel Vadot&reg_arm {
345*f126890aSEmmanuel Vadot	vin-supply = <&sw3_reg>;
346*f126890aSEmmanuel Vadot};
347*f126890aSEmmanuel Vadot
348*f126890aSEmmanuel Vadot&reg_pu {
349*f126890aSEmmanuel Vadot	vin-supply = <&sw1_reg>;
350*f126890aSEmmanuel Vadot};
351*f126890aSEmmanuel Vadot
352*f126890aSEmmanuel Vadot&reg_soc {
353*f126890aSEmmanuel Vadot	vin-supply = <&sw1_reg>;
354*f126890aSEmmanuel Vadot};
355*f126890aSEmmanuel Vadot
356*f126890aSEmmanuel Vadot&reg_vdd1p1 {
357*f126890aSEmmanuel Vadot	vin-supply = <&sw2_reg>;
358*f126890aSEmmanuel Vadot};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot&reg_vdd2p5 {
361*f126890aSEmmanuel Vadot	vin-supply = <&sw2_reg>;
362*f126890aSEmmanuel Vadot};
363*f126890aSEmmanuel Vadot
364*f126890aSEmmanuel Vadot&uart1 { /* DHCOM UART1 */
365*f126890aSEmmanuel Vadot	dcd-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
366*f126890aSEmmanuel Vadot	dsr-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
367*f126890aSEmmanuel Vadot	dtr-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
368*f126890aSEmmanuel Vadot	rng-gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
369*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
370*f126890aSEmmanuel Vadot	pinctrl-names = "default";
371*f126890aSEmmanuel Vadot	uart-has-rtscts;
372*f126890aSEmmanuel Vadot	status = "okay";
373*f126890aSEmmanuel Vadot};
374*f126890aSEmmanuel Vadot
375*f126890aSEmmanuel Vadot&uart4 { /* DHCOM UART3 */
376*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4>;
377*f126890aSEmmanuel Vadot	pinctrl-names = "default";
378*f126890aSEmmanuel Vadot	status = "okay";
379*f126890aSEmmanuel Vadot};
380*f126890aSEmmanuel Vadot
381*f126890aSEmmanuel Vadot&uart5 { /* DHCOM UART2 */
382*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart5>;
383*f126890aSEmmanuel Vadot	pinctrl-names = "default";
384*f126890aSEmmanuel Vadot	uart-has-rtscts;
385*f126890aSEmmanuel Vadot	status = "okay";
386*f126890aSEmmanuel Vadot};
387*f126890aSEmmanuel Vadot
388*f126890aSEmmanuel Vadot&usbh1 {
389*f126890aSEmmanuel Vadot	dr_mode = "host";
390*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbh1>;
391*f126890aSEmmanuel Vadot	pinctrl-names = "default";
392*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
393*f126890aSEmmanuel Vadot	status = "okay";
394*f126890aSEmmanuel Vadot};
395*f126890aSEmmanuel Vadot
396*f126890aSEmmanuel Vadot&usbotg {
397*f126890aSEmmanuel Vadot	disable-over-current;
398*f126890aSEmmanuel Vadot	dr_mode = "otg";
399*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
400*f126890aSEmmanuel Vadot	pinctrl-names = "default";
401*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
402*f126890aSEmmanuel Vadot	status = "okay";
403*f126890aSEmmanuel Vadot};
404*f126890aSEmmanuel Vadot
405*f126890aSEmmanuel Vadot&usdhc2 { /* External SD card via DHCOM */
406*f126890aSEmmanuel Vadot	cd-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>;
407*f126890aSEmmanuel Vadot	keep-power-in-suspend;
408*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
409*f126890aSEmmanuel Vadot	pinctrl-names = "default";
410*f126890aSEmmanuel Vadot	status = "disabled";
411*f126890aSEmmanuel Vadot};
412*f126890aSEmmanuel Vadot
413*f126890aSEmmanuel Vadot&usdhc3 { /* Micro SD card on module */
414*f126890aSEmmanuel Vadot	cd-gpios = <&gpio7 8 GPIO_ACTIVE_LOW>;
415*f126890aSEmmanuel Vadot	fsl,wp-controller;
416*f126890aSEmmanuel Vadot	keep-power-in-suspend;
417*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
418*f126890aSEmmanuel Vadot	pinctrl-names = "default";
419*f126890aSEmmanuel Vadot	status = "okay";
420*f126890aSEmmanuel Vadot};
421*f126890aSEmmanuel Vadot
422*f126890aSEmmanuel Vadot&usdhc4 { /* eMMC on module */
423*f126890aSEmmanuel Vadot	bus-width = <8>;
424*f126890aSEmmanuel Vadot	keep-power-in-suspend;
425*f126890aSEmmanuel Vadot	no-1-8-v;
426*f126890aSEmmanuel Vadot	non-removable;
427*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc4>;
428*f126890aSEmmanuel Vadot	pinctrl-names = "default";
429*f126890aSEmmanuel Vadot	status = "okay";
430*f126890aSEmmanuel Vadot};
431*f126890aSEmmanuel Vadot
432*f126890aSEmmanuel Vadot&weim {
433*f126890aSEmmanuel Vadot	#address-cells = <2>;
434*f126890aSEmmanuel Vadot	#size-cells = <1>;
435*f126890aSEmmanuel Vadot	fsl,weim-cs-gpr = <&gpr>;
436*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_weim &pinctrl_weim_cs0 &pinctrl_weim_cs1>;
437*f126890aSEmmanuel Vadot	pinctrl-names = "default";
438*f126890aSEmmanuel Vadot	/* It is necessary to setup 2x 64MB otherwise setting gpr fails */
439*f126890aSEmmanuel Vadot	ranges = <0 0 0x08000000 0x04000000>, /* CS0 */
440*f126890aSEmmanuel Vadot		 <1 0 0x0c000000 0x04000000>; /* CS1 */
441*f126890aSEmmanuel Vadot	status = "disabled";
442*f126890aSEmmanuel Vadot};
443*f126890aSEmmanuel Vadot
444*f126890aSEmmanuel Vadot&iomuxc {
445*f126890aSEmmanuel Vadot	pinctrl-0 = <
446*f126890aSEmmanuel Vadot			&pinctrl_hog_base
447*f126890aSEmmanuel Vadot			&pinctrl_dhcom_a &pinctrl_dhcom_b &pinctrl_dhcom_c
448*f126890aSEmmanuel Vadot			&pinctrl_dhcom_d &pinctrl_dhcom_e &pinctrl_dhcom_f
449*f126890aSEmmanuel Vadot			&pinctrl_dhcom_g &pinctrl_dhcom_h &pinctrl_dhcom_i
450*f126890aSEmmanuel Vadot			&pinctrl_dhcom_j &pinctrl_dhcom_k &pinctrl_dhcom_l
451*f126890aSEmmanuel Vadot			&pinctrl_dhcom_m &pinctrl_dhcom_n &pinctrl_dhcom_o
452*f126890aSEmmanuel Vadot			&pinctrl_dhcom_p &pinctrl_dhcom_q &pinctrl_dhcom_r
453*f126890aSEmmanuel Vadot			&pinctrl_dhcom_s &pinctrl_dhcom_t &pinctrl_dhcom_u
454*f126890aSEmmanuel Vadot			&pinctrl_dhcom_v &pinctrl_dhcom_w &pinctrl_dhcom_int
455*f126890aSEmmanuel Vadot		>;
456*f126890aSEmmanuel Vadot	pinctrl-names = "default";
457*f126890aSEmmanuel Vadot
458*f126890aSEmmanuel Vadot	pinctrl_hog_base: hog-base-grp {
459*f126890aSEmmanuel Vadot		fsl,pins = <
460*f126890aSEmmanuel Vadot			/* GPIOs for memory coding */
461*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A16__GPIO2_IO22		0x120b0
462*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A17__GPIO2_IO21		0x120b0
463*f126890aSEmmanuel Vadot			/* GPIOs for hardware coding */
464*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A19__GPIO2_IO19		0x120b0
465*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A22__GPIO2_IO16		0x120b0
466*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A23__GPIO6_IO06		0x120b0
467*f126890aSEmmanuel Vadot		>;
468*f126890aSEmmanuel Vadot	};
469*f126890aSEmmanuel Vadot
470*f126890aSEmmanuel Vadot	/* DHCOM GPIOs */
471*f126890aSEmmanuel Vadot	pinctrl_dhcom_a: dhcom-a-grp {
472*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_GPIO_2__GPIO1_IO02	0x400120b0>;
473*f126890aSEmmanuel Vadot	};
474*f126890aSEmmanuel Vadot
475*f126890aSEmmanuel Vadot	pinctrl_dhcom_b: dhcom-b-grp {
476*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_GPIO_4__GPIO1_IO04	0x400120b0>;
477*f126890aSEmmanuel Vadot	};
478*f126890aSEmmanuel Vadot
479*f126890aSEmmanuel Vadot	pinctrl_dhcom_c: dhcom-c-grp {
480*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_GPIO_5__GPIO1_IO05	0x400120b0>;
481*f126890aSEmmanuel Vadot	};
482*f126890aSEmmanuel Vadot
483*f126890aSEmmanuel Vadot	pinctrl_dhcom_d: dhcom-d-grp {
484*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_CSI0_DAT17__GPIO6_IO03	0x400120b0>;
485*f126890aSEmmanuel Vadot	};
486*f126890aSEmmanuel Vadot
487*f126890aSEmmanuel Vadot	pinctrl_dhcom_e: dhcom-e-grp {
488*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_GPIO_19__GPIO4_IO05	0x400120b0>;
489*f126890aSEmmanuel Vadot	};
490*f126890aSEmmanuel Vadot
491*f126890aSEmmanuel Vadot	pinctrl_dhcom_f: dhcom-f-grp {
492*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_DI0_PIN4__GPIO4_IO20	0x400120b0>;
493*f126890aSEmmanuel Vadot	};
494*f126890aSEmmanuel Vadot
495*f126890aSEmmanuel Vadot	pinctrl_dhcom_g: dhcom-g-grp {
496*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_EIM_D27__GPIO3_IO27	0x400120b0>;
497*f126890aSEmmanuel Vadot	};
498*f126890aSEmmanuel Vadot
499*f126890aSEmmanuel Vadot	pinctrl_dhcom_h: dhcom-h-grp {
500*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_KEY_ROW0__GPIO4_IO07	0x400120b0>;
501*f126890aSEmmanuel Vadot	};
502*f126890aSEmmanuel Vadot
503*f126890aSEmmanuel Vadot	pinctrl_dhcom_i: dhcom-i-grp {
504*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_KEY_COL1__GPIO4_IO08	0x400120b0>;
505*f126890aSEmmanuel Vadot	};
506*f126890aSEmmanuel Vadot
507*f126890aSEmmanuel Vadot	pinctrl_dhcom_j: dhcom-j-grp {
508*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_NANDF_CS1__GPIO6_IO14	0x400120b0>;
509*f126890aSEmmanuel Vadot	};
510*f126890aSEmmanuel Vadot
511*f126890aSEmmanuel Vadot	pinctrl_dhcom_k: dhcom-k-grp {
512*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_NANDF_CS2__GPIO6_IO15	0x400120b0>;
513*f126890aSEmmanuel Vadot	};
514*f126890aSEmmanuel Vadot
515*f126890aSEmmanuel Vadot	pinctrl_dhcom_l: dhcom-l-grp {
516*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_KEY_ROW1__GPIO4_IO09	0x400120b0>;
517*f126890aSEmmanuel Vadot	};
518*f126890aSEmmanuel Vadot
519*f126890aSEmmanuel Vadot	pinctrl_dhcom_m: dhcom-m-grp {
520*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_SD3_DAT5__GPIO7_IO00	0x400120b0>;
521*f126890aSEmmanuel Vadot	};
522*f126890aSEmmanuel Vadot
523*f126890aSEmmanuel Vadot	pinctrl_dhcom_n: dhcom-n-grp {
524*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_SD3_DAT4__GPIO7_IO01	0x400120b0>;
525*f126890aSEmmanuel Vadot	};
526*f126890aSEmmanuel Vadot
527*f126890aSEmmanuel Vadot	pinctrl_dhcom_o: dhcom-o-grp {
528*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_CSI0_VSYNC__GPIO5_IO21	0x400120b0>;
529*f126890aSEmmanuel Vadot	};
530*f126890aSEmmanuel Vadot
531*f126890aSEmmanuel Vadot	pinctrl_dhcom_p: dhcom-p-grp {
532*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_GPIO_18__GPIO7_IO13	0x400120b0>;
533*f126890aSEmmanuel Vadot	};
534*f126890aSEmmanuel Vadot
535*f126890aSEmmanuel Vadot	pinctrl_dhcom_q: dhcom-q-grp {
536*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_SD1_CMD__GPIO1_IO18	0x400120b0>;
537*f126890aSEmmanuel Vadot	};
538*f126890aSEmmanuel Vadot
539*f126890aSEmmanuel Vadot	pinctrl_dhcom_r: dhcom-r-grp {
540*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_SD1_DAT0__GPIO1_IO16	0x400120b0>;
541*f126890aSEmmanuel Vadot	};
542*f126890aSEmmanuel Vadot
543*f126890aSEmmanuel Vadot	pinctrl_dhcom_s: dhcom-s-grp {
544*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_SD1_DAT1__GPIO1_IO17	0x400120b0>;
545*f126890aSEmmanuel Vadot	};
546*f126890aSEmmanuel Vadot
547*f126890aSEmmanuel Vadot	pinctrl_dhcom_t: dhcom-t-grp {
548*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_SD1_DAT2__GPIO1_IO19	0x400120b0>;
549*f126890aSEmmanuel Vadot	};
550*f126890aSEmmanuel Vadot
551*f126890aSEmmanuel Vadot	pinctrl_dhcom_u: dhcom-u-grp {
552*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_SD1_CLK__GPIO1_IO20	0x400120b0>;
553*f126890aSEmmanuel Vadot	};
554*f126890aSEmmanuel Vadot
555*f126890aSEmmanuel Vadot	pinctrl_dhcom_v: dhcom-v-grp {
556*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_CSI0_PIXCLK__GPIO5_IO18	0x400120b0>;
557*f126890aSEmmanuel Vadot	};
558*f126890aSEmmanuel Vadot
559*f126890aSEmmanuel Vadot	pinctrl_dhcom_w: dhcom-w-grp {
560*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_CSI0_MCLK__GPIO5_IO19	0x400120b0>;
561*f126890aSEmmanuel Vadot	};
562*f126890aSEmmanuel Vadot
563*f126890aSEmmanuel Vadot	pinctrl_dhcom_int: dhcom-int-grp {
564*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_KEY_COL0__GPIO4_IO06	0x400120b0>;
565*f126890aSEmmanuel Vadot	};
566*f126890aSEmmanuel Vadot
567*f126890aSEmmanuel Vadot	pinctrl_ecspi1: ecspi1-grp {
568*f126890aSEmmanuel Vadot		fsl,pins = <
569*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D16__ECSPI1_SCLK		0x100b1
570*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D17__ECSPI1_MISO		0x100b1
571*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D18__ECSPI1_MOSI		0x100b1
572*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_EB2__GPIO2_IO30		0x1b0b0
573*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW2__GPIO4_IO11		0x1b0b0
574*f126890aSEmmanuel Vadot		>;
575*f126890aSEmmanuel Vadot	};
576*f126890aSEmmanuel Vadot
577*f126890aSEmmanuel Vadot	pinctrl_ecspi2: ecspi2-grp {
578*f126890aSEmmanuel Vadot		fsl,pins = <
579*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT8__ECSPI2_SCLK	0x100b1
580*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT9__ECSPI2_MOSI	0x100b1
581*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT10__ECSPI2_MISO	0x100b1
582*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT11__GPIO5_IO29	0x1b0b0
583*f126890aSEmmanuel Vadot		>;
584*f126890aSEmmanuel Vadot	};
585*f126890aSEmmanuel Vadot
586*f126890aSEmmanuel Vadot	pinctrl_enet_100M: enet-100M-grp {
587*f126890aSEmmanuel Vadot		fsl,pins = <
588*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN	0x1b0b0
589*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
590*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
591*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER	0x1b0b0
592*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0	0x1b0b0
593*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1	0x1b0b0
594*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN	0x1b0b0
595*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0	0x1b0b0
596*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1	0x1b0b0
597*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x4001b0a8
598*f126890aSEmmanuel Vadot		>;
599*f126890aSEmmanuel Vadot	};
600*f126890aSEmmanuel Vadot
601*f126890aSEmmanuel Vadot	pinctrl_enet_vio: enet-vio-grp {
602*f126890aSEmmanuel Vadot		fsl,pins = <
603*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_7__GPIO1_IO07		0x120b0
604*f126890aSEmmanuel Vadot		>;
605*f126890aSEmmanuel Vadot	};
606*f126890aSEmmanuel Vadot
607*f126890aSEmmanuel Vadot	pinctrl_ethphy0: ethphy0-grp {
608*f126890aSEmmanuel Vadot		fsl,pins = <
609*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_WAIT__GPIO5_IO00		0xb0 /* Reset */
610*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15		0xb1 /* Int */
611*f126890aSEmmanuel Vadot		>;
612*f126890aSEmmanuel Vadot	};
613*f126890aSEmmanuel Vadot
614*f126890aSEmmanuel Vadot	pinctrl_flexcan1: flexcan1-grp {
615*f126890aSEmmanuel Vadot		fsl,pins = <
616*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_8__FLEXCAN1_RX		0x1b0b0
617*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX	0x1b0b0
618*f126890aSEmmanuel Vadot		>;
619*f126890aSEmmanuel Vadot	};
620*f126890aSEmmanuel Vadot
621*f126890aSEmmanuel Vadot	pinctrl_flexcan2: flexcan2-grp {
622*f126890aSEmmanuel Vadot		fsl,pins = <
623*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__FLEXCAN2_TX	0x1b0b0
624*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__FLEXCAN2_RX	0x1b0b0
625*f126890aSEmmanuel Vadot		>;
626*f126890aSEmmanuel Vadot	};
627*f126890aSEmmanuel Vadot
628*f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1-grp {
629*f126890aSEmmanuel Vadot		fsl,pins = <
630*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
631*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
632*f126890aSEmmanuel Vadot		>;
633*f126890aSEmmanuel Vadot	};
634*f126890aSEmmanuel Vadot
635*f126890aSEmmanuel Vadot	pinctrl_i2c1_gpio: i2c1-gpio-grp {
636*f126890aSEmmanuel Vadot		fsl,pins = <
637*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__GPIO3_IO21		0x4001b8b1
638*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D28__GPIO3_IO28		0x4001b8b1
639*f126890aSEmmanuel Vadot		>;
640*f126890aSEmmanuel Vadot	};
641*f126890aSEmmanuel Vadot
642*f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2-grp {
643*f126890aSEmmanuel Vadot		fsl,pins = <
644*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
645*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
646*f126890aSEmmanuel Vadot		>;
647*f126890aSEmmanuel Vadot	};
648*f126890aSEmmanuel Vadot
649*f126890aSEmmanuel Vadot	pinctrl_i2c2_gpio: i2c2-gpio-grp {
650*f126890aSEmmanuel Vadot		fsl,pins = <
651*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__GPIO4_IO12		0x4001b8b1
652*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__GPIO4_IO13		0x4001b8b1
653*f126890aSEmmanuel Vadot		>;
654*f126890aSEmmanuel Vadot	};
655*f126890aSEmmanuel Vadot
656*f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3-grp {
657*f126890aSEmmanuel Vadot		fsl,pins = <
658*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL		0x4001b8b1
659*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
660*f126890aSEmmanuel Vadot		>;
661*f126890aSEmmanuel Vadot	};
662*f126890aSEmmanuel Vadot
663*f126890aSEmmanuel Vadot	pinctrl_i2c3_gpio: i2c3-gpio-grp {
664*f126890aSEmmanuel Vadot		fsl,pins = <
665*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__GPIO1_IO03		0x4001b8b1
666*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__GPIO1_IO06		0x4001b8b1
667*f126890aSEmmanuel Vadot		>;
668*f126890aSEmmanuel Vadot	};
669*f126890aSEmmanuel Vadot
670*f126890aSEmmanuel Vadot	pinctrl_ipu1_lcdif: ipu1-lcdif-grp {
671*f126890aSEmmanuel Vadot		fsl,pins = <
672*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK	0x38
673*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02		0x38
674*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03		0x38
675*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15		0x38
676*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00	0x38
677*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01	0x38
678*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02	0x38
679*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03	0x38
680*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04	0x38
681*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05	0x38
682*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06	0x38
683*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07	0x38
684*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08	0x38
685*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09	0x38
686*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10	0x38
687*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11	0x38
688*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12	0x38
689*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13	0x38
690*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14	0x38
691*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15	0x38
692*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16	0x38
693*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17	0x38
694*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18	0x38
695*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19	0x38
696*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20	0x38
697*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21	0x38
698*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22	0x38
699*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23	0x38
700*f126890aSEmmanuel Vadot		>;
701*f126890aSEmmanuel Vadot	};
702*f126890aSEmmanuel Vadot
703*f126890aSEmmanuel Vadot	pinctrl_pcie: pcie-grp {
704*f126890aSEmmanuel Vadot		fsl,pins = <
705*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20	0x1b0b1 /* Wake */
706*f126890aSEmmanuel Vadot		>;
707*f126890aSEmmanuel Vadot	};
708*f126890aSEmmanuel Vadot
709*f126890aSEmmanuel Vadot	pinctrl_pmic: pmic-grp {
710*f126890aSEmmanuel Vadot		fsl,pins = <
711*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A25__GPIO5_IO02		0x1b0b0
712*f126890aSEmmanuel Vadot		>;
713*f126890aSEmmanuel Vadot	};
714*f126890aSEmmanuel Vadot
715*f126890aSEmmanuel Vadot	pinctrl_pwm1: pwm1-grp {
716*f126890aSEmmanuel Vadot		fsl,pins = <
717*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT3__PWM1_OUT		0x1b0b1
718*f126890aSEmmanuel Vadot		>;
719*f126890aSEmmanuel Vadot	};
720*f126890aSEmmanuel Vadot
721*f126890aSEmmanuel Vadot	pinctrl_rtc: rtc-grp {
722*f126890aSEmmanuel Vadot		fsl,pins = <
723*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x120b0
724*f126890aSEmmanuel Vadot		>;
725*f126890aSEmmanuel Vadot	};
726*f126890aSEmmanuel Vadot
727*f126890aSEmmanuel Vadot	pinctrl_tsc2004: tsc2004-grp {
728*f126890aSEmmanuel Vadot		fsl,pins = <
729*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL4__GPIO4_IO14		0x120b0
730*f126890aSEmmanuel Vadot		>;
731*f126890aSEmmanuel Vadot	};
732*f126890aSEmmanuel Vadot
733*f126890aSEmmanuel Vadot	pinctrl_uart1: uart1-grp {
734*f126890aSEmmanuel Vadot		fsl,pins = <
735*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D19__UART1_CTS_B		0x4001b0b1
736*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D20__UART1_RTS_B		0x1b0b1
737*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D23__GPIO3_IO23		0x4001b0b1
738*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D24__GPIO3_IO24		0x4001b0b1
739*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D25__GPIO3_IO25		0x4001b0b1
740*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_EB3__GPIO2_IO31		0x4001b0b1
741*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA	0x1b0b1
742*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA	0x1b0b1
743*f126890aSEmmanuel Vadot		>;
744*f126890aSEmmanuel Vadot	};
745*f126890aSEmmanuel Vadot
746*f126890aSEmmanuel Vadot	pinctrl_uart4: uart4-grp {
747*f126890aSEmmanuel Vadot		fsl,pins = <
748*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT12__UART4_TX_DATA	0x1b0b1
749*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT13__UART4_RX_DATA	0x1b0b1
750*f126890aSEmmanuel Vadot		>;
751*f126890aSEmmanuel Vadot	};
752*f126890aSEmmanuel Vadot
753*f126890aSEmmanuel Vadot	pinctrl_uart5: uart5-grp {
754*f126890aSEmmanuel Vadot		fsl,pins = <
755*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT14__UART5_TX_DATA	0x1b0b1
756*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT15__UART5_RX_DATA	0x1b0b1
757*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT18__UART5_RTS_B	0x1b0b1
758*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT19__UART5_CTS_B	0x4001b0b1
759*f126890aSEmmanuel Vadot		>;
760*f126890aSEmmanuel Vadot	};
761*f126890aSEmmanuel Vadot
762*f126890aSEmmanuel Vadot	pinctrl_usbh1: usbh1-grp {
763*f126890aSEmmanuel Vadot		fsl,pins = <
764*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D31__GPIO3_IO31		0x120b0
765*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D30__USB_H1_OC		0x1b0b1
766*f126890aSEmmanuel Vadot		>;
767*f126890aSEmmanuel Vadot	};
768*f126890aSEmmanuel Vadot
769*f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotg-grp {
770*f126890aSEmmanuel Vadot		fsl,pins = <
771*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__USB_OTG_ID		0x17059
772*f126890aSEmmanuel Vadot		>;
773*f126890aSEmmanuel Vadot	};
774*f126890aSEmmanuel Vadot
775*f126890aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2-grp {
776*f126890aSEmmanuel Vadot		fsl,pins = <
777*f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS3__GPIO6_IO16	0x120b0
778*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10059
779*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17059
780*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17059
781*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17059
782*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17059
783*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17059
784*f126890aSEmmanuel Vadot		>;
785*f126890aSEmmanuel Vadot	};
786*f126890aSEmmanuel Vadot
787*f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3-grp {
788*f126890aSEmmanuel Vadot		fsl,pins = <
789*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
790*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
791*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
792*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
793*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
794*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
795*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__GPIO7_IO08		0x120b0
796*f126890aSEmmanuel Vadot		>;
797*f126890aSEmmanuel Vadot	};
798*f126890aSEmmanuel Vadot
799*f126890aSEmmanuel Vadot	pinctrl_usdhc4: usdhc4-grp {
800*f126890aSEmmanuel Vadot		fsl,pins = <
801*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CLK__SD4_CLK		0x10059
802*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CMD__SD4_CMD		0x17059
803*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
804*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
805*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
806*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
807*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__SD4_DATA4		0x17059
808*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT5__SD4_DATA5		0x17059
809*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT6__SD4_DATA6		0x17059
810*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__SD4_DATA7		0x17059
811*f126890aSEmmanuel Vadot		>;
812*f126890aSEmmanuel Vadot	};
813*f126890aSEmmanuel Vadot
814*f126890aSEmmanuel Vadot	pinctrl_weim: weim-grp {
815*f126890aSEmmanuel Vadot		fsl,pins = <
816*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA0__EIM_AD00		0xb0a6
817*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA1__EIM_AD01		0xb0a6
818*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA2__EIM_AD02		0xb0a6
819*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA3__EIM_AD03		0xb0a6
820*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA4__EIM_AD04		0xb0a6
821*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA5__EIM_AD05		0xb0a6
822*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA6__EIM_AD06		0xb0a6
823*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA7__EIM_AD07		0xb0a6
824*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA8__EIM_AD08		0xb0a6
825*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA9__EIM_AD09		0xb0a6
826*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA10__EIM_AD10		0xb0a6
827*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA11__EIM_AD11		0xb0a6
828*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA12__EIM_AD12		0xb0a6
829*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA13__EIM_AD13		0xb0a6
830*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA14__EIM_AD14		0xb0a6
831*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_DA15__EIM_AD15		0xb0a6
832*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D22__GPIO3_IO22		0x130b0
833*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_LBA__EIM_LBA_B		0xb060 /* LE */
834*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_OE__EIM_OE_B		0xb0a6
835*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_RW__EIM_RW		0xb0a6 /* WE */
836*f126890aSEmmanuel Vadot		>;
837*f126890aSEmmanuel Vadot	};
838*f126890aSEmmanuel Vadot
839*f126890aSEmmanuel Vadot	pinctrl_weim_cs0: weim-cs0-grp {
840*f126890aSEmmanuel Vadot		fsl,pins = <
841*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS0__EIM_CS0_B		0xb0b1
842*f126890aSEmmanuel Vadot		>;
843*f126890aSEmmanuel Vadot	};
844*f126890aSEmmanuel Vadot
845*f126890aSEmmanuel Vadot	pinctrl_weim_cs1: weim-cs1-grp {
846*f126890aSEmmanuel Vadot		fsl,pins = <
847*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS1__EIM_CS1_B		0xb0b1
848*f126890aSEmmanuel Vadot		>;
849*f126890aSEmmanuel Vadot	};
850*f126890aSEmmanuel Vadot};
851