xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6ull-colibri.dtsi (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2018-2022 Toradex
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include "imx6ull.dtsi"
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	/* Ethernet aliases to ensure correct MAC addresses */
10*f126890aSEmmanuel Vadot	aliases {
11*f126890aSEmmanuel Vadot		ethernet0 = &fec2;
12*f126890aSEmmanuel Vadot		ethernet1 = &fec1;
13*f126890aSEmmanuel Vadot	};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	backlight: backlight {
16*f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
17*f126890aSEmmanuel Vadot		brightness-levels = <0 4 8 16 32 64 128 255>;
18*f126890aSEmmanuel Vadot		default-brightness-level = <6>;
19*f126890aSEmmanuel Vadot		enable-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
20*f126890aSEmmanuel Vadot		pinctrl-names = "default";
21*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_bl_on>;
22*f126890aSEmmanuel Vadot		power-supply = <&reg_3v3>;
23*f126890aSEmmanuel Vadot		pwms = <&pwm4 0 5000000 1>;
24*f126890aSEmmanuel Vadot		status = "disabled";
25*f126890aSEmmanuel Vadot	};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot	connector {
28*f126890aSEmmanuel Vadot		compatible = "gpio-usb-b-connector", "usb-b-connector";
29*f126890aSEmmanuel Vadot		pinctrl-names = "default";
30*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_snvs_usbc_det>;
31*f126890aSEmmanuel Vadot		id-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; /* SODIMM 137 / USBC_DET */
32*f126890aSEmmanuel Vadot		label = "USBC";
33*f126890aSEmmanuel Vadot		self-powered;
34*f126890aSEmmanuel Vadot		type = "micro";
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot		port {
37*f126890aSEmmanuel Vadot			usb_dr_connector: endpoint {
38*f126890aSEmmanuel Vadot				remote-endpoint = <&usb1_drd_sw>;
39*f126890aSEmmanuel Vadot			};
40*f126890aSEmmanuel Vadot		};
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	gpio-keys {
44*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
45*f126890aSEmmanuel Vadot		pinctrl-names = "default";
46*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_snvs_gpiokeys>;
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot		key-wakeup {
49*f126890aSEmmanuel Vadot			debounce-interval = <10>;
50*f126890aSEmmanuel Vadot			gpios = <&gpio5 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* SODIMM 45 */
51*f126890aSEmmanuel Vadot			label = "Wake-Up";
52*f126890aSEmmanuel Vadot			linux,code = <KEY_WAKEUP>;
53*f126890aSEmmanuel Vadot			wakeup-source;
54*f126890aSEmmanuel Vadot		};
55*f126890aSEmmanuel Vadot	};
56*f126890aSEmmanuel Vadot
57*f126890aSEmmanuel Vadot	panel_dpi: panel-dpi {
58*f126890aSEmmanuel Vadot		compatible = "edt,et057090dhu";
59*f126890aSEmmanuel Vadot		backlight = <&backlight>;
60*f126890aSEmmanuel Vadot		power-supply = <&reg_3v3>;
61*f126890aSEmmanuel Vadot		status = "disabled";
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot		port {
64*f126890aSEmmanuel Vadot			lcd_panel_in: endpoint {
65*f126890aSEmmanuel Vadot				remote-endpoint = <&lcdif_out>;
66*f126890aSEmmanuel Vadot			};
67*f126890aSEmmanuel Vadot		};
68*f126890aSEmmanuel Vadot	};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot	reg_module_3v3: regulator-module-3v3 {
71*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
72*f126890aSEmmanuel Vadot		regulator-always-on;
73*f126890aSEmmanuel Vadot		regulator-name = "+V3.3";
74*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
75*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
76*f126890aSEmmanuel Vadot	};
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot	reg_module_3v3_avdd: regulator-module-3v3-avdd {
79*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
80*f126890aSEmmanuel Vadot		regulator-always-on;
81*f126890aSEmmanuel Vadot		regulator-name = "+V3.3_AVDD_AUDIO";
82*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
83*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
84*f126890aSEmmanuel Vadot	};
85*f126890aSEmmanuel Vadot
86*f126890aSEmmanuel Vadot	reg_sd1_vqmmc: regulator-sd1-vqmmc {
87*f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
88*f126890aSEmmanuel Vadot		gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
89*f126890aSEmmanuel Vadot		pinctrl-names = "default";
90*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_snvs_reg_sd>;
91*f126890aSEmmanuel Vadot		regulator-always-on;
92*f126890aSEmmanuel Vadot		regulator-name = "+V3.3_1.8_SD";
93*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
94*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
95*f126890aSEmmanuel Vadot		states = <1800000 0x1 3300000 0x0>;
96*f126890aSEmmanuel Vadot		vin-supply = <&reg_module_3v3>;
97*f126890aSEmmanuel Vadot	};
98*f126890aSEmmanuel Vadot
99*f126890aSEmmanuel Vadot	reg_eth_phy: regulator-eth-phy {
100*f126890aSEmmanuel Vadot		compatible = "regulator-fixed-clock";
101*f126890aSEmmanuel Vadot		regulator-boot-on;
102*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
103*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
104*f126890aSEmmanuel Vadot		regulator-name = "+V3.3_ETH";
105*f126890aSEmmanuel Vadot		vin-supply = <&reg_module_3v3>;
106*f126890aSEmmanuel Vadot		clocks = <&clks IMX6UL_CLK_ENET2_REF_125M>;
107*f126890aSEmmanuel Vadot		startup-delay-us = <150000>;
108*f126890aSEmmanuel Vadot	};
109*f126890aSEmmanuel Vadot};
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot&adc1 {
112*f126890aSEmmanuel Vadot	vref-supply = <&reg_module_3v3_avdd>;
113*f126890aSEmmanuel Vadot	pinctrl-names = "default";
114*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc1>;
115*f126890aSEmmanuel Vadot};
116*f126890aSEmmanuel Vadot
117*f126890aSEmmanuel Vadot&can1 {
118*f126890aSEmmanuel Vadot	pinctrl-names = "default";
119*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_flexcan1>;
120*f126890aSEmmanuel Vadot	status = "disabled";
121*f126890aSEmmanuel Vadot};
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot&can2 {
124*f126890aSEmmanuel Vadot	pinctrl-names = "default";
125*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_flexcan2>;
126*f126890aSEmmanuel Vadot	status = "disabled";
127*f126890aSEmmanuel Vadot};
128*f126890aSEmmanuel Vadot
129*f126890aSEmmanuel Vadot/* Colibri SPI */
130*f126890aSEmmanuel Vadot&ecspi1 {
131*f126890aSEmmanuel Vadot	cs-gpios = <&gpio3 26 GPIO_ACTIVE_LOW>;
132*f126890aSEmmanuel Vadot	pinctrl-names = "default";
133*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
134*f126890aSEmmanuel Vadot};
135*f126890aSEmmanuel Vadot
136*f126890aSEmmanuel Vadot/* Ethernet */
137*f126890aSEmmanuel Vadot&fec2 {
138*f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
139*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet2>;
140*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_enet2_sleep>;
141*f126890aSEmmanuel Vadot	phy-mode = "rmii";
142*f126890aSEmmanuel Vadot	phy-handle = <&ethphy1>;
143*f126890aSEmmanuel Vadot	phy-supply = <&reg_eth_phy>;
144*f126890aSEmmanuel Vadot	status = "okay";
145*f126890aSEmmanuel Vadot
146*f126890aSEmmanuel Vadot	mdio {
147*f126890aSEmmanuel Vadot		#address-cells = <1>;
148*f126890aSEmmanuel Vadot		#size-cells = <0>;
149*f126890aSEmmanuel Vadot
150*f126890aSEmmanuel Vadot		ethphy1: ethernet-phy@2 {
151*f126890aSEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c22";
152*f126890aSEmmanuel Vadot			max-speed = <100>;
153*f126890aSEmmanuel Vadot			reg = <2>;
154*f126890aSEmmanuel Vadot		};
155*f126890aSEmmanuel Vadot	};
156*f126890aSEmmanuel Vadot};
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot/* NAND */
159*f126890aSEmmanuel Vadot&gpmi {
160*f126890aSEmmanuel Vadot	pinctrl-names = "default";
161*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpmi_nand>;
162*f126890aSEmmanuel Vadot	fsl,use-minimum-ecc;
163*f126890aSEmmanuel Vadot	nand-on-flash-bbt;
164*f126890aSEmmanuel Vadot	nand-ecc-mode = "hw";
165*f126890aSEmmanuel Vadot	nand-ecc-strength = <8>;
166*f126890aSEmmanuel Vadot	nand-ecc-step-size = <512>;
167*f126890aSEmmanuel Vadot	status = "okay";
168*f126890aSEmmanuel Vadot};
169*f126890aSEmmanuel Vadot
170*f126890aSEmmanuel Vadot/* I2C3_SDA/SCL on SODIMM 194/196 (e.g. RTC on carrier board) */
171*f126890aSEmmanuel Vadot&i2c1 {
172*f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
173*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
174*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c1_gpio>;
175*f126890aSEmmanuel Vadot	sda-gpios = <&gpio1 29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
176*f126890aSEmmanuel Vadot	scl-gpios = <&gpio1 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
177*f126890aSEmmanuel Vadot	status = "disabled";
178*f126890aSEmmanuel Vadot
179*f126890aSEmmanuel Vadot	/* Atmel maxtouch controller */
180*f126890aSEmmanuel Vadot	atmel_mxt_ts: touchscreen@4a {
181*f126890aSEmmanuel Vadot		compatible = "atmel,maxtouch";
182*f126890aSEmmanuel Vadot		pinctrl-names = "default";
183*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_atmel_conn &pinctrl_atmel_snvs_conn>;
184*f126890aSEmmanuel Vadot		reg = <0x4a>;
185*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
186*f126890aSEmmanuel Vadot		interrupts = <4 IRQ_TYPE_EDGE_FALLING>;       /* SODIMM 107 / INT */
187*f126890aSEmmanuel Vadot		reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;    /* SODIMM 106 / RST */
188*f126890aSEmmanuel Vadot		status = "disabled";
189*f126890aSEmmanuel Vadot	};
190*f126890aSEmmanuel Vadot};
191*f126890aSEmmanuel Vadot
192*f126890aSEmmanuel Vadot/*
193*f126890aSEmmanuel Vadot * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
194*f126890aSEmmanuel Vadot * touch screen controller
195*f126890aSEmmanuel Vadot */
196*f126890aSEmmanuel Vadot&i2c2 {
197*f126890aSEmmanuel Vadot	/* Use low frequency to compensate for the high pull-up values. */
198*f126890aSEmmanuel Vadot	clock-frequency = <40000>;
199*f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
200*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
201*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c2_gpio>;
202*f126890aSEmmanuel Vadot	sda-gpios = <&gpio1 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
203*f126890aSEmmanuel Vadot	scl-gpios = <&gpio1 30 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
204*f126890aSEmmanuel Vadot	status = "okay";
205*f126890aSEmmanuel Vadot
206*f126890aSEmmanuel Vadot	ad7879_ts: touchscreen@2c {
207*f126890aSEmmanuel Vadot		compatible = "adi,ad7879-1";
208*f126890aSEmmanuel Vadot		pinctrl-names = "default";
209*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_snvs_ad7879_int>;
210*f126890aSEmmanuel Vadot		reg = <0x2c>;
211*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
212*f126890aSEmmanuel Vadot		interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
213*f126890aSEmmanuel Vadot		touchscreen-max-pressure = <4096>;
214*f126890aSEmmanuel Vadot		adi,resistance-plate-x = <120>;
215*f126890aSEmmanuel Vadot		adi,first-conversion-delay = /bits/ 8 <3>;
216*f126890aSEmmanuel Vadot		adi,acquisition-time = /bits/ 8 <1>;
217*f126890aSEmmanuel Vadot		adi,median-filter-size = /bits/ 8 <2>;
218*f126890aSEmmanuel Vadot		adi,averaging = /bits/ 8 <1>;
219*f126890aSEmmanuel Vadot		adi,conversion-interval = /bits/ 8 <255>;
220*f126890aSEmmanuel Vadot		status = "disabled";
221*f126890aSEmmanuel Vadot	};
222*f126890aSEmmanuel Vadot};
223*f126890aSEmmanuel Vadot
224*f126890aSEmmanuel Vadot&lcdif {
225*f126890aSEmmanuel Vadot	pinctrl-names = "default";
226*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_lcdif_dat
227*f126890aSEmmanuel Vadot		     &pinctrl_lcdif_ctrl>;
228*f126890aSEmmanuel Vadot	status = "disabled";
229*f126890aSEmmanuel Vadot
230*f126890aSEmmanuel Vadot	port {
231*f126890aSEmmanuel Vadot		lcdif_out: endpoint {
232*f126890aSEmmanuel Vadot			remote-endpoint = <&lcd_panel_in>;
233*f126890aSEmmanuel Vadot		};
234*f126890aSEmmanuel Vadot	};
235*f126890aSEmmanuel Vadot};
236*f126890aSEmmanuel Vadot
237*f126890aSEmmanuel Vadot/* PWM <A> */
238*f126890aSEmmanuel Vadot&pwm4 {
239*f126890aSEmmanuel Vadot	pinctrl-names = "default";
240*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm4>;
241*f126890aSEmmanuel Vadot};
242*f126890aSEmmanuel Vadot
243*f126890aSEmmanuel Vadot/* PWM <B> */
244*f126890aSEmmanuel Vadot&pwm5 {
245*f126890aSEmmanuel Vadot	pinctrl-names = "default";
246*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm5>;
247*f126890aSEmmanuel Vadot};
248*f126890aSEmmanuel Vadot
249*f126890aSEmmanuel Vadot/* PWM <C> */
250*f126890aSEmmanuel Vadot&pwm6 {
251*f126890aSEmmanuel Vadot	pinctrl-names = "default";
252*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm6>;
253*f126890aSEmmanuel Vadot};
254*f126890aSEmmanuel Vadot
255*f126890aSEmmanuel Vadot/* PWM <D> */
256*f126890aSEmmanuel Vadot&pwm7 {
257*f126890aSEmmanuel Vadot	pinctrl-names = "default";
258*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm7>;
259*f126890aSEmmanuel Vadot};
260*f126890aSEmmanuel Vadot
261*f126890aSEmmanuel Vadot&sdma {
262*f126890aSEmmanuel Vadot	status = "okay";
263*f126890aSEmmanuel Vadot};
264*f126890aSEmmanuel Vadot
265*f126890aSEmmanuel Vadot&snvs_pwrkey {
266*f126890aSEmmanuel Vadot	status = "disabled";
267*f126890aSEmmanuel Vadot};
268*f126890aSEmmanuel Vadot
269*f126890aSEmmanuel Vadot/* Colibri UART_A */
270*f126890aSEmmanuel Vadot&uart1 {
271*f126890aSEmmanuel Vadot	pinctrl-names = "default";
272*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1 &pinctrl_uart1_ctrl1>;
273*f126890aSEmmanuel Vadot	uart-has-rtscts;
274*f126890aSEmmanuel Vadot	fsl,dte-mode;
275*f126890aSEmmanuel Vadot};
276*f126890aSEmmanuel Vadot
277*f126890aSEmmanuel Vadot/* Colibri UART_B */
278*f126890aSEmmanuel Vadot&uart2 {
279*f126890aSEmmanuel Vadot	pinctrl-names = "default";
280*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
281*f126890aSEmmanuel Vadot	uart-has-rtscts;
282*f126890aSEmmanuel Vadot	fsl,dte-mode;
283*f126890aSEmmanuel Vadot};
284*f126890aSEmmanuel Vadot
285*f126890aSEmmanuel Vadot/* Colibri UART_C */
286*f126890aSEmmanuel Vadot&uart5 {
287*f126890aSEmmanuel Vadot	pinctrl-names = "default";
288*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart5>;
289*f126890aSEmmanuel Vadot	fsl,dte-mode;
290*f126890aSEmmanuel Vadot};
291*f126890aSEmmanuel Vadot
292*f126890aSEmmanuel Vadot/* Colibri USBC */
293*f126890aSEmmanuel Vadot&usbotg1 {
294*f126890aSEmmanuel Vadot	dr_mode = "otg";
295*f126890aSEmmanuel Vadot	srp-disable;
296*f126890aSEmmanuel Vadot	hnp-disable;
297*f126890aSEmmanuel Vadot	adp-disable;
298*f126890aSEmmanuel Vadot	usb-role-switch;
299*f126890aSEmmanuel Vadot
300*f126890aSEmmanuel Vadot	port {
301*f126890aSEmmanuel Vadot		usb1_drd_sw: endpoint {
302*f126890aSEmmanuel Vadot			remote-endpoint = <&usb_dr_connector>;
303*f126890aSEmmanuel Vadot		};
304*f126890aSEmmanuel Vadot	};
305*f126890aSEmmanuel Vadot};
306*f126890aSEmmanuel Vadot
307*f126890aSEmmanuel Vadot/* Colibri USBH */
308*f126890aSEmmanuel Vadot&usbotg2 {
309*f126890aSEmmanuel Vadot	dr_mode = "host";
310*f126890aSEmmanuel Vadot};
311*f126890aSEmmanuel Vadot
312*f126890aSEmmanuel Vadot/* Colibri MMC/SD */
313*f126890aSEmmanuel Vadot&usdhc1 {
314*f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
315*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_snvs_usdhc1_cd>;
316*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc1_100mhz &pinctrl_snvs_usdhc1_cd>;
317*f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc1_200mhz &pinctrl_snvs_usdhc1_cd>;
318*f126890aSEmmanuel Vadot	pinctrl-3 = <&pinctrl_usdhc1 &pinctrl_snvs_usdhc1_cd_sleep>;
319*f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX6UL_CLK_USDHC1_SEL>, <&clks IMX6UL_CLK_USDHC1>;
320*f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>;
321*f126890aSEmmanuel Vadot	assigned-clock-rates = <0>, <198000000>;
322*f126890aSEmmanuel Vadot	bus-width = <4>;
323*f126890aSEmmanuel Vadot	cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; /* MMC_CD */
324*f126890aSEmmanuel Vadot	disable-wp;
325*f126890aSEmmanuel Vadot	keep-power-in-suspend;
326*f126890aSEmmanuel Vadot	no-1-8-v;
327*f126890aSEmmanuel Vadot	vqmmc-supply = <&reg_sd1_vqmmc>;
328*f126890aSEmmanuel Vadot	wakeup-source;
329*f126890aSEmmanuel Vadot};
330*f126890aSEmmanuel Vadot
331*f126890aSEmmanuel Vadot&wdog1 {
332*f126890aSEmmanuel Vadot	pinctrl-names = "default";
333*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
334*f126890aSEmmanuel Vadot	fsl,ext-reset-output;
335*f126890aSEmmanuel Vadot};
336*f126890aSEmmanuel Vadot
337*f126890aSEmmanuel Vadot&iomuxc {
338*f126890aSEmmanuel Vadot	pinctrl_adc1: adc1grp {
339*f126890aSEmmanuel Vadot		fsl,pins = <
340*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO00__GPIO1_IO00        0x3000 /* SODIMM 8 */
341*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO01__GPIO1_IO01        0x3000 /* SODIMM 6 */
342*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO08__GPIO1_IO08        0x3000 /* SODIMM 4 */
343*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO09__GPIO1_IO09        0x3000 /* SODIMM 2 */
344*f126890aSEmmanuel Vadot		>;
345*f126890aSEmmanuel Vadot	};
346*f126890aSEmmanuel Vadot
347*f126890aSEmmanuel Vadot	pinctrl_atmel_adap: atmeladapgrp {
348*f126890aSEmmanuel Vadot		fsl,pins = <
349*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DQS__GPIO4_IO16          0xb0a0  /* SODIMM 28 */
350*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_EN__GPIO2_IO05       0xb0a0  /* SODIMM 30 */
351*f126890aSEmmanuel Vadot		>;
352*f126890aSEmmanuel Vadot	};
353*f126890aSEmmanuel Vadot
354*f126890aSEmmanuel Vadot	pinctrl_atmel_conn: atmelconngrp {
355*f126890aSEmmanuel Vadot		fsl,pins = <
356*f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_MOD__GPIO1_IO10          0xb0a0  /* SODIMM 106 */
357*f126890aSEmmanuel Vadot		>;
358*f126890aSEmmanuel Vadot	};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot	pinctrl_can_int: canintgrp {
361*f126890aSEmmanuel Vadot		fsl,pins = <
362*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_DATA1__GPIO2_IO04	0x13010	/* SODIMM 73 */
363*f126890aSEmmanuel Vadot		>;
364*f126890aSEmmanuel Vadot	};
365*f126890aSEmmanuel Vadot
366*f126890aSEmmanuel Vadot	pinctrl_enet2: enet2grp {
367*f126890aSEmmanuel Vadot		fsl,pins = <
368*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO06__ENET2_MDIO	0x1b0b0
369*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO07__ENET2_MDC		0x1b0b0
370*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00	0x1b0b0
371*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01	0x1b0b0
372*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN	0x1b0b0
373*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER	0x1b0b0
374*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2	0x4001b031
375*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00	0x1b0b0
376*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01	0x1b0b0
377*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN	0x1b0b0
378*f126890aSEmmanuel Vadot		>;
379*f126890aSEmmanuel Vadot	};
380*f126890aSEmmanuel Vadot
381*f126890aSEmmanuel Vadot	pinctrl_enet2_sleep: enet2-sleepgrp {
382*f126890aSEmmanuel Vadot		fsl,pins = <
383*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO06__GPIO1_IO06	0x0
384*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO07__GPIO1_IO07	0x0
385*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_DATA0__GPIO2_IO08	0x0
386*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_DATA1__GPIO2_IO09	0x0
387*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_EN__GPIO2_IO10	0x0
388*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_ER__GPIO2_IO15	0x0
389*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2	0x4001b031
390*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_DATA0__GPIO2_IO11	0x0
391*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_DATA1__GPIO2_IO12	0x0
392*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_EN__GPIO2_IO13	0x0
393*f126890aSEmmanuel Vadot		>;
394*f126890aSEmmanuel Vadot	};
395*f126890aSEmmanuel Vadot
396*f126890aSEmmanuel Vadot	pinctrl_ecspi1_cs: ecspi1csgrp {
397*f126890aSEmmanuel Vadot		fsl,pins = <
398*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA21__GPIO3_IO26	0x70a0	/* SODIMM 86 */
399*f126890aSEmmanuel Vadot		>;
400*f126890aSEmmanuel Vadot	};
401*f126890aSEmmanuel Vadot
402*f126890aSEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
403*f126890aSEmmanuel Vadot		fsl,pins = <
404*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA20__ECSPI1_SCLK	0x000a0	/* SODIMM 88 */
405*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA22__ECSPI1_MOSI	0x000a0 /* SODIMM 92 */
406*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA23__ECSPI1_MISO	0x100a0 /* SODIMM 90 */
407*f126890aSEmmanuel Vadot		>;
408*f126890aSEmmanuel Vadot	};
409*f126890aSEmmanuel Vadot
410*f126890aSEmmanuel Vadot	pinctrl_flexcan1: flexcan1grp {
411*f126890aSEmmanuel Vadot		fsl,pins = <
412*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_DATA0__FLEXCAN1_TX	0x1b020
413*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_DATA1__FLEXCAN1_RX	0x1b020
414*f126890aSEmmanuel Vadot		>;
415*f126890aSEmmanuel Vadot	};
416*f126890aSEmmanuel Vadot
417*f126890aSEmmanuel Vadot	pinctrl_flexcan2: flexcan2grp {
418*f126890aSEmmanuel Vadot		fsl,pins = <
419*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_DATA0__FLEXCAN2_RX	0x1b020
420*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_EN__FLEXCAN2_TX	0x1b020
421*f126890aSEmmanuel Vadot		>;
422*f126890aSEmmanuel Vadot	};
423*f126890aSEmmanuel Vadot
424*f126890aSEmmanuel Vadot	pinctrl_gpio_bl_on: gpioblongrp {
425*f126890aSEmmanuel Vadot		fsl,pins = <
426*f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_TMS__GPIO1_IO11		0x30a0	/* SODIMM 71 */
427*f126890aSEmmanuel Vadot		>;
428*f126890aSEmmanuel Vadot	};
429*f126890aSEmmanuel Vadot
430*f126890aSEmmanuel Vadot	pinctrl_gpio1: gpio1grp {
431*f126890aSEmmanuel Vadot		fsl,pins = <
432*f126890aSEmmanuel Vadot			MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25	0x10b0 /* SODIMM 77 */
433*f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_TCK__GPIO1_IO14		0x70a0 /* SODIMM 99 */
434*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_CE1_B__GPIO4_IO14	0x10b0 /* SODIMM 133 */
435*f126890aSEmmanuel Vadot			MX6UL_PAD_UART3_TX_DATA__GPIO1_IO24	0x10b0 /* SODIMM 135 */
436*f126890aSEmmanuel Vadot			MX6UL_PAD_UART3_CTS_B__GPIO1_IO26	0x10b0 /* SODIMM 100 */
437*f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_TRST_B__GPIO1_IO15	0x70a0 /* SODIMM 102 */
438*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_ER__GPIO2_IO07	0x10b0 /* SODIMM 104 */
439*f126890aSEmmanuel Vadot			MX6UL_PAD_UART3_RTS_B__GPIO1_IO27	0x10b0 /* SODIMM 186 */
440*f126890aSEmmanuel Vadot		>;
441*f126890aSEmmanuel Vadot	};
442*f126890aSEmmanuel Vadot
443*f126890aSEmmanuel Vadot	pinctrl_gpio2: gpio2grp { /* Camera */
444*f126890aSEmmanuel Vadot		fsl,pins = <
445*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA04__GPIO4_IO25	0x10b0 /* SODIMM 69 */
446*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_MCLK__GPIO4_IO17		0x10b0 /* SODIMM 75 */
447*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA06__GPIO4_IO27	0x10b0 /* SODIMM 85 */
448*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_PIXCLK__GPIO4_IO18	0x10b0 /* SODIMM 96 */
449*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA05__GPIO4_IO26	0x10b0 /* SODIMM 98 */
450*f126890aSEmmanuel Vadot		>;
451*f126890aSEmmanuel Vadot	};
452*f126890aSEmmanuel Vadot
453*f126890aSEmmanuel Vadot	pinctrl_gpio3: gpio3grp { /* CAN2 */
454*f126890aSEmmanuel Vadot		fsl,pins = <
455*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_EN__GPIO2_IO02	0x10b0 /* SODIMM 178 */
456*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_DATA0__GPIO2_IO03	0x10b0 /* SODIMM 188 */
457*f126890aSEmmanuel Vadot		>;
458*f126890aSEmmanuel Vadot	};
459*f126890aSEmmanuel Vadot
460*f126890aSEmmanuel Vadot	pinctrl_gpio4: gpio4grp {
461*f126890aSEmmanuel Vadot		fsl,pins = <
462*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA07__GPIO4_IO28	0x10b0 /* SODIMM 65 */
463*f126890aSEmmanuel Vadot		>;
464*f126890aSEmmanuel Vadot	};
465*f126890aSEmmanuel Vadot
466*f126890aSEmmanuel Vadot	pinctrl_gpio6: gpio6grp { /* Wifi pins */
467*f126890aSEmmanuel Vadot		fsl,pins = <
468*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO03__GPIO1_IO03	0x10b0 /* SODIMM 89 */
469*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA02__GPIO4_IO23	0x10b0 /* SODIMM 79 */
470*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_VSYNC__GPIO4_IO19		0x10b0 /* SODIMM 81 */
471*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA03__GPIO4_IO24	0x10b0 /* SODIMM 97 */
472*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA00__GPIO4_IO21	0x10b0 /* SODIMM 101 */
473*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA01__GPIO4_IO22	0x10b0 /* SODIMM 103 */
474*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_HSYNC__GPIO4_IO20		0x10b0 /* SODIMM 94 */
475*f126890aSEmmanuel Vadot		>;
476*f126890aSEmmanuel Vadot	};
477*f126890aSEmmanuel Vadot
478*f126890aSEmmanuel Vadot	pinctrl_gpio7: gpio7grp { /* CAN1 */
479*f126890aSEmmanuel Vadot		fsl,pins = <
480*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_DATA0__GPIO2_IO00	0xb0b0/* SODIMM 55 */
481*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_DATA1__GPIO2_IO01	0xb0b0 /* SODIMM 63 */
482*f126890aSEmmanuel Vadot		>;
483*f126890aSEmmanuel Vadot	};
484*f126890aSEmmanuel Vadot
485*f126890aSEmmanuel Vadot	/*
486*f126890aSEmmanuel Vadot	 * With an eMMC instead of a raw NAND device the following pins
487*f126890aSEmmanuel Vadot	 * are available at SODIMM pins.
488*f126890aSEmmanuel Vadot	 */
489*f126890aSEmmanuel Vadot	pinctrl_gpmi_gpio: gpmigpiogrp {
490*f126890aSEmmanuel Vadot		fsl,pins = <
491*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_ALE__GPIO4_IO10		0x10b0 /* SODIMM 140 */
492*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_CE0_B__GPIO4_IO13	0x10b0 /* SODIMM 144 */
493*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_CLE__GPIO4_IO15		0x10b0 /* SODIMM 146 */
494*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_READY_B__GPIO4_IO12	0x10b0 /* SODIMM 142 */
495*f126890aSEmmanuel Vadot		>;
496*f126890aSEmmanuel Vadot	};
497*f126890aSEmmanuel Vadot
498*f126890aSEmmanuel Vadot	pinctrl_gpmi_nand: gpminandgrp {
499*f126890aSEmmanuel Vadot		fsl,pins = <
500*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00	0x100a9
501*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01	0x100a9
502*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02	0x100a9
503*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03	0x100a9
504*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04	0x100a9
505*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05	0x100a9
506*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06	0x100a9
507*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07	0x100a9
508*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_CLE__RAWNAND_CLE		0x100a9
509*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_ALE__RAWNAND_ALE		0x100a9
510*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B	0x100a9
511*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B	0x100a9
512*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B	0x100a9
513*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B	0x100a9
514*f126890aSEmmanuel Vadot		>;
515*f126890aSEmmanuel Vadot	};
516*f126890aSEmmanuel Vadot
517*f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
518*f126890aSEmmanuel Vadot		fsl,pins = <
519*f126890aSEmmanuel Vadot			MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0	/* SODIMM 196 */
520*f126890aSEmmanuel Vadot			MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0	/* SODIMM 194 */
521*f126890aSEmmanuel Vadot		>;
522*f126890aSEmmanuel Vadot	};
523*f126890aSEmmanuel Vadot
524*f126890aSEmmanuel Vadot	pinctrl_i2c1_gpio: i2c1-gpiogrp {
525*f126890aSEmmanuel Vadot		fsl,pins = <
526*f126890aSEmmanuel Vadot			MX6UL_PAD_UART4_TX_DATA__GPIO1_IO28 0x4001b8b0	/* SODIMM 196 */
527*f126890aSEmmanuel Vadot			MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x4001b8b0	/* SODIMM 194 */
528*f126890aSEmmanuel Vadot		>;
529*f126890aSEmmanuel Vadot	};
530*f126890aSEmmanuel Vadot
531*f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
532*f126890aSEmmanuel Vadot		fsl,pins = <
533*f126890aSEmmanuel Vadot			MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001f8b0
534*f126890aSEmmanuel Vadot			MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001f8b0
535*f126890aSEmmanuel Vadot		>;
536*f126890aSEmmanuel Vadot	};
537*f126890aSEmmanuel Vadot
538*f126890aSEmmanuel Vadot	pinctrl_i2c2_gpio: i2c2-gpiogrp {
539*f126890aSEmmanuel Vadot		fsl,pins = <
540*f126890aSEmmanuel Vadot			MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 0x4001f8b0
541*f126890aSEmmanuel Vadot			MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 0x4001f8b0
542*f126890aSEmmanuel Vadot		>;
543*f126890aSEmmanuel Vadot	};
544*f126890aSEmmanuel Vadot
545*f126890aSEmmanuel Vadot	pinctrl_lcdif_dat: lcdifdatgrp {
546*f126890aSEmmanuel Vadot		fsl,pins = <
547*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x00079	/* SODIMM 76 */
548*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x00079	/* SODIMM 70 */
549*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x00079	/* SODIMM 60 */
550*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x00079	/* SODIMM 58 */
551*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x00079	/* SODIMM 78 */
552*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x00079	/* SODIMM 72 */
553*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x00079	/* SODIMM 80 */
554*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x00079	/* SODIMM 46 */
555*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x00079	/* SODIMM 62 */
556*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x00079	/* SODIMM 48 */
557*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x00079	/* SODIMM 74 */
558*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x00079	/* SODIMM 50 */
559*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x00079	/* SODIMM 52 */
560*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x00079	/* SODIMM 54 */
561*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x00079	/* SODIMM 66 */
562*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x00079	/* SODIMM 64 */
563*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x00079	/* SODIMM 57 */
564*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x00079	/* SODIMM 61 */
565*f126890aSEmmanuel Vadot		>;
566*f126890aSEmmanuel Vadot	};
567*f126890aSEmmanuel Vadot
568*f126890aSEmmanuel Vadot	pinctrl_lcdif_ctrl: lcdifctrlgrp {
569*f126890aSEmmanuel Vadot		fsl,pins = <
570*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_CLK__LCDIF_CLK	    0x00079	/* SODIMM 56 */
571*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE  0x00079	/* SODIMM 44 */
572*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC    0x00079	/* SODIMM 68 */
573*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC    0x00079	/* SODIMM 82 */
574*f126890aSEmmanuel Vadot		>;
575*f126890aSEmmanuel Vadot	};
576*f126890aSEmmanuel Vadot
577*f126890aSEmmanuel Vadot	pinctrl_pwm4: pwm4grp {
578*f126890aSEmmanuel Vadot		fsl,pins = <
579*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_WP_B__PWM4_OUT	0x00079		/* SODIMM 59 */
580*f126890aSEmmanuel Vadot		>;
581*f126890aSEmmanuel Vadot	};
582*f126890aSEmmanuel Vadot
583*f126890aSEmmanuel Vadot	pinctrl_pwm5: pwm5grp {
584*f126890aSEmmanuel Vadot		fsl,pins = <
585*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DQS__PWM5_OUT	0x00079		/* SODIMM 28 */
586*f126890aSEmmanuel Vadot		>;
587*f126890aSEmmanuel Vadot	};
588*f126890aSEmmanuel Vadot
589*f126890aSEmmanuel Vadot	pinctrl_pwm6: pwm6grp {
590*f126890aSEmmanuel Vadot		fsl,pins = <
591*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_EN__PWM6_OUT	0x00079		/* SODIMM 30 */
592*f126890aSEmmanuel Vadot		>;
593*f126890aSEmmanuel Vadot	};
594*f126890aSEmmanuel Vadot
595*f126890aSEmmanuel Vadot	pinctrl_pwm7: pwm7grp {
596*f126890aSEmmanuel Vadot		fsl,pins = <
597*f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_CLK__PWM7_OUT	0x00079	/* SODIMM 67 */
598*f126890aSEmmanuel Vadot		>;
599*f126890aSEmmanuel Vadot	};
600*f126890aSEmmanuel Vadot
601*f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
602*f126890aSEmmanuel Vadot		fsl,pins = <
603*f126890aSEmmanuel Vadot			MX6UL_PAD_UART1_TX_DATA__UART1_DTE_RX	0x1b0b1	/* SODIMM 33 */
604*f126890aSEmmanuel Vadot			MX6UL_PAD_UART1_RX_DATA__UART1_DTE_TX	0x1b0b1	/* SODIMM 35 */
605*f126890aSEmmanuel Vadot			MX6UL_PAD_UART1_RTS_B__UART1_DTE_CTS	0x1b0b1	/* SODIMM 27 */
606*f126890aSEmmanuel Vadot			MX6UL_PAD_UART1_CTS_B__UART1_DTE_RTS	0x1b0b1	/* SODIMM 25 */
607*f126890aSEmmanuel Vadot		>;
608*f126890aSEmmanuel Vadot	};
609*f126890aSEmmanuel Vadot
610*f126890aSEmmanuel Vadot	pinctrl_uart1_ctrl1: uart1ctrl1grp { /* Additional DTR, DCD */
611*f126890aSEmmanuel Vadot		fsl,pins = <
612*f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_TDI__GPIO1_IO13		0x70a0 /* SODIMM 31 / DCD */
613*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA18__GPIO3_IO23	0x10b0 /* SODIMM 29 / DSR */
614*f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_TDO__GPIO1_IO12		0x90b1 /* SODIMM 23 / DTR */
615*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA19__GPIO3_IO24        0x10b0 /* SODIMM 37 / RI */
616*f126890aSEmmanuel Vadot		>;
617*f126890aSEmmanuel Vadot	};
618*f126890aSEmmanuel Vadot
619*f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
620*f126890aSEmmanuel Vadot		fsl,pins = <
621*f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_TX_DATA__UART2_DTE_RX	0x1b0b1 /* SODIMM 36 */
622*f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_RX_DATA__UART2_DTE_TX	0x1b0b1 /* SODIMM 38 */
623*f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_CTS_B__UART2_DTE_RTS	0x1b0b1 /* SODIMM 32 */
624*f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_RTS_B__UART2_DTE_CTS	0x1b0b1 /* SODIMM 34 */
625*f126890aSEmmanuel Vadot		>;
626*f126890aSEmmanuel Vadot	};
627*f126890aSEmmanuel Vadot	pinctrl_uart5: uart5grp {
628*f126890aSEmmanuel Vadot		fsl,pins = <
629*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO04__UART5_DTE_RX	0x1b0b1 /* SODIMM 19 */
630*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO05__UART5_DTE_TX	0x1b0b1 /* SODIMM 21 */
631*f126890aSEmmanuel Vadot		>;
632*f126890aSEmmanuel Vadot	};
633*f126890aSEmmanuel Vadot
634*f126890aSEmmanuel Vadot	pinctrl_usbh_reg: usbhreggrp {
635*f126890aSEmmanuel Vadot		fsl,pins = <
636*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO02__GPIO1_IO02	0x10b0 /* SODIMM 129 / USBH_PEN */
637*f126890aSEmmanuel Vadot		>;
638*f126890aSEmmanuel Vadot	};
639*f126890aSEmmanuel Vadot
640*f126890aSEmmanuel Vadot	pinctrl_usdhc1: usdhc1grp {
641*f126890aSEmmanuel Vadot		fsl,pins = <
642*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_CLK__USDHC1_CLK		0x10059 /* SODIMM 47 */
643*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_CMD__USDHC1_CMD		0x17059 /* SODIMM 190 */
644*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA0__USDHC1_DATA0	0x17059 /* SODIMM 192 */
645*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA1__USDHC1_DATA1	0x17059 /* SODIMM 49 */
646*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA2__USDHC1_DATA2	0x17059 /* SODIMM 51 */
647*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA3__USDHC1_DATA3	0x17059 /* SODIMM 53 */
648*f126890aSEmmanuel Vadot		>;
649*f126890aSEmmanuel Vadot	};
650*f126890aSEmmanuel Vadot
651*f126890aSEmmanuel Vadot	pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
652*f126890aSEmmanuel Vadot		fsl,pins = <
653*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_CLK__USDHC1_CLK		0x100b9
654*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_CMD__USDHC1_CMD		0x170b9
655*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA0__USDHC1_DATA0	0x170b9
656*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA1__USDHC1_DATA1	0x170b9
657*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA2__USDHC1_DATA2	0x170b9
658*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA3__USDHC1_DATA3	0x170b9
659*f126890aSEmmanuel Vadot		>;
660*f126890aSEmmanuel Vadot	};
661*f126890aSEmmanuel Vadot
662*f126890aSEmmanuel Vadot	pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
663*f126890aSEmmanuel Vadot		fsl,pins = <
664*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_CLK__USDHC1_CLK		0x100f9
665*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_CMD__USDHC1_CMD		0x170f9
666*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA0__USDHC1_DATA0	0x170f9
667*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA1__USDHC1_DATA1	0x170f9
668*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA2__USDHC1_DATA2	0x170f9
669*f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA3__USDHC1_DATA3	0x170f9
670*f126890aSEmmanuel Vadot		>;
671*f126890aSEmmanuel Vadot	};
672*f126890aSEmmanuel Vadot
673*f126890aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
674*f126890aSEmmanuel Vadot		fsl,pins = <
675*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA00__USDHC2_DATA0	0x17069
676*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA01__USDHC2_DATA1	0x17069
677*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA02__USDHC2_DATA2	0x17069
678*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA03__USDHC2_DATA3	0x17069
679*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_HSYNC__USDHC2_CMD		0x17069
680*f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_VSYNC__USDHC2_CLK		0x10069
681*f126890aSEmmanuel Vadot
682*f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO03__OSC32K_32K_OUT	0x10
683*f126890aSEmmanuel Vadot		>;
684*f126890aSEmmanuel Vadot	};
685*f126890aSEmmanuel Vadot
686*f126890aSEmmanuel Vadot	pinctrl_usdhc2emmc: usdhc2emmcgrp {
687*f126890aSEmmanuel Vadot		fsl,pins = <
688*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_RE_B__USDHC2_CLK     0x17059
689*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_WE_B__USDHC2_CMD     0x17059
690*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059
691*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059
692*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059
693*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
694*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x17059
695*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x17059
696*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x17059
697*f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x17059
698*f126890aSEmmanuel Vadot		>;
699*f126890aSEmmanuel Vadot	};
700*f126890aSEmmanuel Vadot
701*f126890aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
702*f126890aSEmmanuel Vadot		fsl,pins = <
703*f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY    0x30b0
704*f126890aSEmmanuel Vadot		>;
705*f126890aSEmmanuel Vadot	};
706*f126890aSEmmanuel Vadot};
707*f126890aSEmmanuel Vadot
708*f126890aSEmmanuel Vadot&iomuxc_snvs {
709*f126890aSEmmanuel Vadot	pinctrl_atmel_snvs_conn: atmelsnvsconngrp {
710*f126890aSEmmanuel Vadot		fsl,pins = <
711*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04     0xb0a0	/* SODIMM 107 */
712*f126890aSEmmanuel Vadot		>;
713*f126890aSEmmanuel Vadot	};
714*f126890aSEmmanuel Vadot
715*f126890aSEmmanuel Vadot	pinctrl_snvs_gpio1: snvsgpio1grp {
716*f126890aSEmmanuel Vadot		fsl,pins = <
717*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER6__GPIO5_IO06	0x110a0	/* SODIMM 93 */
718*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03	0x110a0	/* SODIMM 95 */
719*f126890aSEmmanuel Vadot			MX6ULL_PAD_BOOT_MODE0__GPIO5_IO10	0x1b0a0	/* SODIMM 105 */
720*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05	0x0b0a0	/* SODIMM 131 / USBH_OC */
721*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08	0x110a0	/* SODIMM 138 */
722*f126890aSEmmanuel Vadot		>;
723*f126890aSEmmanuel Vadot	};
724*f126890aSEmmanuel Vadot
725*f126890aSEmmanuel Vadot	pinctrl_snvs_gpio3: snvsgpio3grp { /* Wifi pins */
726*f126890aSEmmanuel Vadot		fsl,pins = <
727*f126890aSEmmanuel Vadot			MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11	0x130a0	/* SODIMM 127 */
728*f126890aSEmmanuel Vadot		>;
729*f126890aSEmmanuel Vadot	};
730*f126890aSEmmanuel Vadot
731*f126890aSEmmanuel Vadot	pinctrl_snvs_ad7879_int: snvsad7879intgrp { /* TOUCH Interrupt */
732*f126890aSEmmanuel Vadot		fsl,pins = <
733*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07	0x100b0
734*f126890aSEmmanuel Vadot		>;
735*f126890aSEmmanuel Vadot	};
736*f126890aSEmmanuel Vadot
737*f126890aSEmmanuel Vadot	pinctrl_snvs_reg_sd: snvsregsdgrp {
738*f126890aSEmmanuel Vadot		fsl,pins = <
739*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09	0x400100b0
740*f126890aSEmmanuel Vadot		>;
741*f126890aSEmmanuel Vadot	};
742*f126890aSEmmanuel Vadot
743*f126890aSEmmanuel Vadot	pinctrl_snvs_usbc_det: snvsusbcdetgrp {
744*f126890aSEmmanuel Vadot		fsl,pins = <
745*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02	0x130b0
746*f126890aSEmmanuel Vadot		>;
747*f126890aSEmmanuel Vadot	};
748*f126890aSEmmanuel Vadot
749*f126890aSEmmanuel Vadot	pinctrl_snvs_gpiokeys: snvsgpiokeysgrp {
750*f126890aSEmmanuel Vadot		fsl,pins = <
751*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01	0x130a0	/* SODIMM 45 / WAKE_UP */
752*f126890aSEmmanuel Vadot		>;
753*f126890aSEmmanuel Vadot	};
754*f126890aSEmmanuel Vadot
755*f126890aSEmmanuel Vadot	pinctrl_snvs_usdhc1_cd: snvsusdhc1cdgrp {
756*f126890aSEmmanuel Vadot		fsl,pins = <
757*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00	0x1b0a0 /* SODIMM 43 / MMC_CD */
758*f126890aSEmmanuel Vadot		>;
759*f126890aSEmmanuel Vadot	};
760*f126890aSEmmanuel Vadot
761*f126890aSEmmanuel Vadot	pinctrl_snvs_usdhc1_cd_sleep: snvsusdhc1cd-sleepgrp {
762*f126890aSEmmanuel Vadot		fsl,pins = <
763*f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00	0x0
764*f126890aSEmmanuel Vadot		>;
765*f126890aSEmmanuel Vadot	};
766*f126890aSEmmanuel Vadot
767*f126890aSEmmanuel Vadot	pinctrl_snvs_wifi_pdn: snvswifipdngrp {
768*f126890aSEmmanuel Vadot		fsl,pins = <
769*f126890aSEmmanuel Vadot			MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11	0x130a0
770*f126890aSEmmanuel Vadot		>;
771*f126890aSEmmanuel Vadot	};
772*f126890aSEmmanuel Vadot};
773