xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6ull-tarragon-common.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT
2f126890aSEmmanuel Vadot//
3f126890aSEmmanuel Vadot// Copyright (C) 2023 chargebyte GmbH
4f126890aSEmmanuel Vadot
5f126890aSEmmanuel Vadot/dts-v1/;
6f126890aSEmmanuel Vadot
7f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
10f126890aSEmmanuel Vadot#include "imx6ull.dtsi"
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot/ {
13f126890aSEmmanuel Vadot	aliases {
14f126890aSEmmanuel Vadot		mmc0 = &usdhc2; /* eMMC */
15f126890aSEmmanuel Vadot	};
16f126890aSEmmanuel Vadot
17f126890aSEmmanuel Vadot	chosen {
18f126890aSEmmanuel Vadot		stdout-path = &uart4;
19f126890aSEmmanuel Vadot	};
20f126890aSEmmanuel Vadot
21f126890aSEmmanuel Vadot	memory@80000000 {
22f126890aSEmmanuel Vadot		device_type = "memory";
23f126890aSEmmanuel Vadot		reg = <0x80000000 0x20000000>;
24f126890aSEmmanuel Vadot	};
25f126890aSEmmanuel Vadot
26f126890aSEmmanuel Vadot	emmc_pwrseq: emmc-pwrseq {
27f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-emmc";
28f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_emmc_rst>;
29f126890aSEmmanuel Vadot		pinctrl-names = "default";
30f126890aSEmmanuel Vadot		reset-gpios = <&gpio4 10 GPIO_ACTIVE_LOW>;
31f126890aSEmmanuel Vadot	};
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot	reg_dcdc_3v3: regulator-dcdc-3v3 {
34f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
35f126890aSEmmanuel Vadot		regulator-name = "dcdc-3v3";
36f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
37f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
38f126890aSEmmanuel Vadot		regulator-boot-on;
39f126890aSEmmanuel Vadot		regulator-always-on;
40f126890aSEmmanuel Vadot	};
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot	reg_1v8: regulator-1v8 {
43f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
44f126890aSEmmanuel Vadot		regulator-name = "ldo-1v8";
45f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
46f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
47f126890aSEmmanuel Vadot		regulator-boot-on;
48f126890aSEmmanuel Vadot		regulator-always-on;
49f126890aSEmmanuel Vadot	};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot	leds {
52f126890aSEmmanuel Vadot		compatible = "gpio-leds";
53f126890aSEmmanuel Vadot		pinctrl-names = "default";
54f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_status_leds>;
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot		led-1 {
57f126890aSEmmanuel Vadot			function = LED_FUNCTION_BOOT;
58f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
59f126890aSEmmanuel Vadot			gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
60f126890aSEmmanuel Vadot			linux,default-trigger = "timer";
61f126890aSEmmanuel Vadot		};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot		led-2 {
64f126890aSEmmanuel Vadot			function = LED_FUNCTION_PROGRAMMING;
65f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_YELLOW>;
66f126890aSEmmanuel Vadot			gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
67f126890aSEmmanuel Vadot		};
68f126890aSEmmanuel Vadot
69f126890aSEmmanuel Vadot		led-3 {
70f126890aSEmmanuel Vadot			function = LED_FUNCTION_HEARTBEAT;
71f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
72f126890aSEmmanuel Vadot			gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
73f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
74f126890aSEmmanuel Vadot		};
75f126890aSEmmanuel Vadot	};
76f126890aSEmmanuel Vadot};
77f126890aSEmmanuel Vadot
78f126890aSEmmanuel Vadot&adc1 {
79f126890aSEmmanuel Vadot	pinctrl-names = "default";
80f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc_motor
81f126890aSEmmanuel Vadot		     &pinctrl_adc_cp
82f126890aSEmmanuel Vadot		     &pinctrl_adc_pp>;
83f126890aSEmmanuel Vadot	vref-supply = <&vgen1_reg>;
84f126890aSEmmanuel Vadot	status = "okay";
85f126890aSEmmanuel Vadot};
86f126890aSEmmanuel Vadot
87f126890aSEmmanuel Vadot&cpu0 {
88f126890aSEmmanuel Vadot	clock-frequency = <792000000>;
89f126890aSEmmanuel Vadot};
90f126890aSEmmanuel Vadot
91f126890aSEmmanuel Vadot&ecspi2 {
92f126890aSEmmanuel Vadot	#address-cells = <1>;
93f126890aSEmmanuel Vadot	#size-cells = <0>;
94f126890aSEmmanuel Vadot	pinctrl-names = "default";
95f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi2>;
96f126890aSEmmanuel Vadot	num-cs = <3>;
97f126890aSEmmanuel Vadot	cs-gpios = <&gpio1 29 GPIO_ACTIVE_HIGH
98f126890aSEmmanuel Vadot		    &gpio3 2  GPIO_ACTIVE_HIGH
99f126890aSEmmanuel Vadot		    &gpio3 4  GPIO_ACTIVE_HIGH>;
100f126890aSEmmanuel Vadot};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot&ecspi4 {
103f126890aSEmmanuel Vadot	#address-cells = <1>;
104f126890aSEmmanuel Vadot	#size-cells = <0>;
105f126890aSEmmanuel Vadot	pinctrl-names = "default";
106f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi4>;
107f126890aSEmmanuel Vadot	num-cs = <1>;
108f126890aSEmmanuel Vadot	cs-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
109f126890aSEmmanuel Vadot};
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot&fec1 {
112f126890aSEmmanuel Vadot	pinctrl-names = "default";
113f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet1
114f126890aSEmmanuel Vadot		     &pinctrl_enet1_phy_rst
115f126890aSEmmanuel Vadot		     &pinctrl_enet_mdio>;
116f126890aSEmmanuel Vadot	phy-supply = <&reg_dcdc_3v3>;
117f126890aSEmmanuel Vadot	phy-mode = "rmii";
118f126890aSEmmanuel Vadot	phy-reset-gpios = <&gpio5 6 GPIO_ACTIVE_LOW>;
119f126890aSEmmanuel Vadot	phy-reset-duration = <25>;
120f126890aSEmmanuel Vadot	phy-handle = <&ethphy0>;
121f126890aSEmmanuel Vadot
122f126890aSEmmanuel Vadot	mdio {
123f126890aSEmmanuel Vadot		#address-cells = <1>;
124f126890aSEmmanuel Vadot		#size-cells = <0>;
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot		ethphy0: ethernet-phy@0 {
127f126890aSEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c22";
128f126890aSEmmanuel Vadot			reg = <0>;
129f126890aSEmmanuel Vadot			pinctrl-names = "default";
130f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_enet1_phy_int>;
131f126890aSEmmanuel Vadot			interrupt-parent = <&gpio2>;
132f126890aSEmmanuel Vadot			interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
133f126890aSEmmanuel Vadot			interrupts-extended = <&gpio2 7 IRQ_TYPE_EDGE_FALLING>;
134f126890aSEmmanuel Vadot			clocks = <&clks IMX6UL_CLK_ENET_REF>;
135f126890aSEmmanuel Vadot			clock-names = "rmii-ref";
136f126890aSEmmanuel Vadot			max-speed = <100>;
137f126890aSEmmanuel Vadot			smsc,disable-energy-detect;
138f126890aSEmmanuel Vadot		};
139f126890aSEmmanuel Vadot	};
140f126890aSEmmanuel Vadot};
141f126890aSEmmanuel Vadot
142f126890aSEmmanuel Vadot&gpio1 {
143f126890aSEmmanuel Vadot	gpio-line-names = "",				/* 0 */
144f126890aSEmmanuel Vadot			  "",
145f126890aSEmmanuel Vadot			  "",
146f126890aSEmmanuel Vadot			  "",
147f126890aSEmmanuel Vadot			  "",
148f126890aSEmmanuel Vadot			  "",				/* 5 */
149f126890aSEmmanuel Vadot			  "",
150f126890aSEmmanuel Vadot			  "",
151f126890aSEmmanuel Vadot			  "",
152f126890aSEmmanuel Vadot			  "",
153f126890aSEmmanuel Vadot			  "",				/* 10 */
154f126890aSEmmanuel Vadot			  "",
155f126890aSEmmanuel Vadot			  "",
156f126890aSEmmanuel Vadot			  "CP_INVERT",
157f126890aSEmmanuel Vadot			  "",
158f126890aSEmmanuel Vadot			  "",				/* 15 */
159f126890aSEmmanuel Vadot			  "",
160f126890aSEmmanuel Vadot			  "",
161f126890aSEmmanuel Vadot			  "",
162f126890aSEmmanuel Vadot			  "MOTOR_1_FAULT_N",
163f126890aSEmmanuel Vadot			  "",				/* 20 */
164f126890aSEmmanuel Vadot			  "",
165f126890aSEmmanuel Vadot			  "ROTARY_SWITCH_1_2_N",
166f126890aSEmmanuel Vadot			  "ROTARY_SWITCH_1_4_N",
167f126890aSEmmanuel Vadot			  "ROTARY_SWITCH_1_8_N",
168f126890aSEmmanuel Vadot			  "MOTOR_2_FAULT_N";		/* 25 */
169f126890aSEmmanuel Vadot};
170f126890aSEmmanuel Vadot
171f126890aSEmmanuel Vadot&gpio3 {
172f126890aSEmmanuel Vadot	gpio-line-names = "",				/* 0 */
173f126890aSEmmanuel Vadot			  "",
174f126890aSEmmanuel Vadot			  "",
175f126890aSEmmanuel Vadot			  "",
176f126890aSEmmanuel Vadot			  "",
177f126890aSEmmanuel Vadot			  "",				/* 5 */
178f126890aSEmmanuel Vadot			  "EXT_GPIO",
179f126890aSEmmanuel Vadot			  "MOTOR_1_DRIVER_IN1_N",
180f126890aSEmmanuel Vadot			  "MOTOR_1_DRIVER_IN2",
181f126890aSEmmanuel Vadot			  "MOTOR_2_DRIVER_IN1",
182f126890aSEmmanuel Vadot			  "STM32_BOOT0",		/* 10 */
183f126890aSEmmanuel Vadot			  "STM32_RST_N",
184f126890aSEmmanuel Vadot			  "RELAY_1_ENABLE",
185f126890aSEmmanuel Vadot			  "RELAY_2_ENABLE",
186f126890aSEmmanuel Vadot			  "",
187f126890aSEmmanuel Vadot			  "",				/* 15 */
188f126890aSEmmanuel Vadot			  "QCA700X_MAINS_BOOTLOADER_N",
189f126890aSEmmanuel Vadot			  "QCA700X_CP_RST_N",
190f126890aSEmmanuel Vadot			  "QCA700X_CP_BOOTLOADER_N",
191f126890aSEmmanuel Vadot			  "",
192f126890aSEmmanuel Vadot			  "DIGITAL_OUT_1",		/* 20 */
193f126890aSEmmanuel Vadot			  "DIGITAL_OUT_2",
194f126890aSEmmanuel Vadot			  "DIGITAL_OUT_3",
195f126890aSEmmanuel Vadot			  "DIGITAL_OUT_4",
196f126890aSEmmanuel Vadot			  "DIGITAL_OUT_5",
197f126890aSEmmanuel Vadot			  "DIGITAL_OUT_6",		/* 25 */
198f126890aSEmmanuel Vadot			  "ROTARY_SWITCH_2_8_N",
199f126890aSEmmanuel Vadot			  "ROTARY_SWITCH_2_4_N",
200f126890aSEmmanuel Vadot			  "ROTARY_SWITCH_2_2_N";
201f126890aSEmmanuel Vadot};
202f126890aSEmmanuel Vadot
203f126890aSEmmanuel Vadot&gpio4 {
204f126890aSEmmanuel Vadot	pinctrl-names = "default";
205f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pmic>;
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot	gpio-line-names = "",				/* 0 */
208f126890aSEmmanuel Vadot			  "",
209f126890aSEmmanuel Vadot			  "",
210f126890aSEmmanuel Vadot			  "",
211f126890aSEmmanuel Vadot			  "",
212f126890aSEmmanuel Vadot			  "",				/* 5 */
213f126890aSEmmanuel Vadot			  "",
214f126890aSEmmanuel Vadot			  "",
215f126890aSEmmanuel Vadot			  "",
216f126890aSEmmanuel Vadot			  "",
217f126890aSEmmanuel Vadot			  "",				/* 10 */
218f126890aSEmmanuel Vadot			  "",
219f126890aSEmmanuel Vadot			  "",
220f126890aSEmmanuel Vadot			  "BOARD_VARIANT_1",
221f126890aSEmmanuel Vadot			  "BOARD_VARIANT_2",
222f126890aSEmmanuel Vadot			  "BOARD_VARIANT_0",		/* 15 */
223f126890aSEmmanuel Vadot			  "BOARD_VARIANT_3",
224f126890aSEmmanuel Vadot			  "",
225f126890aSEmmanuel Vadot			  "ROTARY_SWITCH_2_1_N",
226f126890aSEmmanuel Vadot			  "",
227f126890aSEmmanuel Vadot			  "DIGITAL_IN_5",		/* 20 */
228f126890aSEmmanuel Vadot			  "",
229f126890aSEmmanuel Vadot			  "",
230f126890aSEmmanuel Vadot			  "DIGITAL_IN_6",
231f126890aSEmmanuel Vadot			  "",
232f126890aSEmmanuel Vadot			  "DIGITAL_IN_1",		/* 25 */
233f126890aSEmmanuel Vadot			  "DIGITAL_IN_2",
234f126890aSEmmanuel Vadot			  "DIGITAL_IN_4",
235f126890aSEmmanuel Vadot			  "DIGITAL_IN_3";
236f126890aSEmmanuel Vadot
237f126890aSEmmanuel Vadot	pmic-int-hog {
238f126890aSEmmanuel Vadot		gpio-hog;
239f126890aSEmmanuel Vadot		gpios = <19 0>;
240f126890aSEmmanuel Vadot		input;
241f126890aSEmmanuel Vadot	};
242f126890aSEmmanuel Vadot};
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot&gpio5 {
245f126890aSEmmanuel Vadot	gpio-line-names = "ROTARY_SWITCH_1_1_N",	/* 0 */
246f126890aSEmmanuel Vadot			  "",
247f126890aSEmmanuel Vadot			  "RELAY_2_SENSE",
248f126890aSEmmanuel Vadot			  "RELAY_1_SENSE",
249f126890aSEmmanuel Vadot			  "",
250f126890aSEmmanuel Vadot			  "",				/* 5 */
251f126890aSEmmanuel Vadot			  "",
252f126890aSEmmanuel Vadot			  "QCA700X_MAINS_RST_N",
253f126890aSEmmanuel Vadot			  "MOTOR_2_DRIVER_IN2",
254f126890aSEmmanuel Vadot			  "",
255f126890aSEmmanuel Vadot			  "CP_POSITIVE_PEAK_RST",	/* 10 */
256f126890aSEmmanuel Vadot			  "CP_NEGATIVE_PEAK_RST";
257f126890aSEmmanuel Vadot};
258f126890aSEmmanuel Vadot
259f126890aSEmmanuel Vadot&i2c4 {
260f126890aSEmmanuel Vadot	clock-frequency = <100000>;
261f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
262f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c4>;
263f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c4_gpio>;
264f126890aSEmmanuel Vadot	scl-gpios = <&gpio1 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
265f126890aSEmmanuel Vadot	sda-gpios = <&gpio1 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
266f126890aSEmmanuel Vadot	status = "okay";
267f126890aSEmmanuel Vadot
268f126890aSEmmanuel Vadot	pfuze3001: pmic@8 {
269f126890aSEmmanuel Vadot		compatible = "fsl,pfuze3001";
270f126890aSEmmanuel Vadot		reg = <0x08>;
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot		regulators {
273f126890aSEmmanuel Vadot			sw1_reg: sw1 {
274f126890aSEmmanuel Vadot				regulator-name = "SW1";
275f126890aSEmmanuel Vadot				regulator-min-microvolt = <700000>;
276f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
277f126890aSEmmanuel Vadot				regulator-boot-on;
278f126890aSEmmanuel Vadot				regulator-always-on;
279f126890aSEmmanuel Vadot			};
280f126890aSEmmanuel Vadot
281f126890aSEmmanuel Vadot			sw2_reg: sw2 {
282f126890aSEmmanuel Vadot				regulator-name = "SW2";
283f126890aSEmmanuel Vadot				regulator-min-microvolt = <1500000>;
284f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
285f126890aSEmmanuel Vadot				regulator-boot-on;
286f126890aSEmmanuel Vadot				regulator-always-on;
287f126890aSEmmanuel Vadot			};
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot			sw3_reg: sw3 {
290f126890aSEmmanuel Vadot				regulator-name = "SW3";
291f126890aSEmmanuel Vadot				regulator-min-microvolt = <900000>;
292f126890aSEmmanuel Vadot				regulator-max-microvolt = <1650000>;
293f126890aSEmmanuel Vadot				regulator-boot-on;
294f126890aSEmmanuel Vadot				regulator-always-on;
295f126890aSEmmanuel Vadot			};
296f126890aSEmmanuel Vadot
297f126890aSEmmanuel Vadot			snvs_reg: vsnvs {
298f126890aSEmmanuel Vadot				regulator-name = "VSNVS";
299f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
300f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
301f126890aSEmmanuel Vadot				regulator-boot-on;
302f126890aSEmmanuel Vadot				regulator-always-on;
303f126890aSEmmanuel Vadot			};
304f126890aSEmmanuel Vadot
305f126890aSEmmanuel Vadot			vgen1_reg: vldo1 {
306f126890aSEmmanuel Vadot				regulator-name = "VLDO1";
307f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
308f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
309f126890aSEmmanuel Vadot				regulator-always-on;
310f126890aSEmmanuel Vadot			};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot			vgen2_reg: vldo2 {
313f126890aSEmmanuel Vadot				regulator-name = "VLDO2";
314f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
315f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
316f126890aSEmmanuel Vadot				regulator-always-on;
317f126890aSEmmanuel Vadot			};
318f126890aSEmmanuel Vadot
319f126890aSEmmanuel Vadot			vgen3_reg: vccsd {
320f126890aSEmmanuel Vadot				regulator-name = "VCCSD";
321f126890aSEmmanuel Vadot				regulator-min-microvolt = <2850000>;
322f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
323f126890aSEmmanuel Vadot				regulator-always-on;
324f126890aSEmmanuel Vadot			};
325f126890aSEmmanuel Vadot
326f126890aSEmmanuel Vadot			vgen4_reg: v33 {
327f126890aSEmmanuel Vadot				regulator-name = "V33";
328f126890aSEmmanuel Vadot				regulator-min-microvolt = <2850000>;
329f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
330f126890aSEmmanuel Vadot				regulator-always-on;
331f126890aSEmmanuel Vadot			};
332f126890aSEmmanuel Vadot
333f126890aSEmmanuel Vadot			vgen5_reg: vldo3 {
334f126890aSEmmanuel Vadot				regulator-name = "VLDO3";
335f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
336f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
337f126890aSEmmanuel Vadot				regulator-always-on;
338f126890aSEmmanuel Vadot			};
339f126890aSEmmanuel Vadot
340f126890aSEmmanuel Vadot			vgen6_reg: vldo4 {
341f126890aSEmmanuel Vadot				regulator-name = "VLDO4";
342f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
343f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
344f126890aSEmmanuel Vadot				regulator-always-on;
345f126890aSEmmanuel Vadot			};
346f126890aSEmmanuel Vadot		};
347f126890aSEmmanuel Vadot	};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot	onewire@18 {
350f126890aSEmmanuel Vadot		compatible = "maxim,ds2484";
351f126890aSEmmanuel Vadot		reg = <0x18>;
352f126890aSEmmanuel Vadot	};
353f126890aSEmmanuel Vadot
354f126890aSEmmanuel Vadot	accelerometer@19 {
355f126890aSEmmanuel Vadot		compatible = "st,iis328dq", "st,h3lis331dl-accel";
356f126890aSEmmanuel Vadot		reg = <0x19>;
357f126890aSEmmanuel Vadot		pinctrl-names = "default";
358f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_accelerometer_int1_snvs>;
359f126890aSEmmanuel Vadot		vdd-supply = <&reg_dcdc_3v3>;
360f126890aSEmmanuel Vadot		vddio-supply = <&reg_dcdc_3v3>;
361f126890aSEmmanuel Vadot		st,drdy-int-pin = <1>;
362f126890aSEmmanuel Vadot		interrupt-parent = <&gpio5>;
363f126890aSEmmanuel Vadot		interrupts = <5 IRQ_TYPE_EDGE_RISING>;
364f126890aSEmmanuel Vadot	};
365f126890aSEmmanuel Vadot};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot&iomuxc {
368f126890aSEmmanuel Vadot	pinctrl-names = "default";
369f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_board_var
370f126890aSEmmanuel Vadot		     &pinctrl_digital_input
371f126890aSEmmanuel Vadot		     &pinctrl_digital_output
372f126890aSEmmanuel Vadot		     &pinctrl_gpio_motor
373f126890aSEmmanuel Vadot		     &pinctrl_hog_pins
374f126890aSEmmanuel Vadot		     &pinctrl_rotary_switch1
375f126890aSEmmanuel Vadot		     &pinctrl_rotary_switch2>;
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot	pinctrl_adc_cp: adc-cpgrp {
378f126890aSEmmanuel Vadot		fsl,pins = <
379f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO02__GPIO1_IO02            0xb0
380f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO03__GPIO1_IO03            0xb0
381f126890aSEmmanuel Vadot		>;
382f126890aSEmmanuel Vadot	};
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot	pinctrl_adc_motor: adc-motorgrp {
385f126890aSEmmanuel Vadot		fsl,pins = <
386f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO00__GPIO1_IO00            0xb0
387f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO01__GPIO1_IO01            0xb0
388f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO04__GPIO1_IO04            0xb0
389f126890aSEmmanuel Vadot		>;
390f126890aSEmmanuel Vadot	};
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot	pinctrl_adc_pp: adc-ppgrp {
393f126890aSEmmanuel Vadot		fsl,pins = <
394f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO05__GPIO1_IO05            0xb0
395f126890aSEmmanuel Vadot		>;
396f126890aSEmmanuel Vadot	};
397f126890aSEmmanuel Vadot
398f126890aSEmmanuel Vadot	pinctrl_board_var: board-vargrp {
399f126890aSEmmanuel Vadot		fsl,pins = <
400f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_CLE__GPIO4_IO15              0xb0
401f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_CE0_B__GPIO4_IO13            0xb0
402f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_CE1_B__GPIO4_IO14            0xb0
403f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DQS__GPIO4_IO16              0xb0
404f126890aSEmmanuel Vadot		>;
405f126890aSEmmanuel Vadot	};
406f126890aSEmmanuel Vadot
407f126890aSEmmanuel Vadot	pinctrl_digital_input: digital-inputgrp {
408f126890aSEmmanuel Vadot		fsl,pins = <
409f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA04__GPIO4_IO25            0xb0
410f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA05__GPIO4_IO26            0xb0
411f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA07__GPIO4_IO28            0xb0
412f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA06__GPIO4_IO27            0xb0
413f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_HSYNC__GPIO4_IO20             0xb0
414f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA02__GPIO4_IO23            0xb0
415f126890aSEmmanuel Vadot		>;
416f126890aSEmmanuel Vadot	};
417f126890aSEmmanuel Vadot
418f126890aSEmmanuel Vadot	pinctrl_digital_output: digital-outputgrp {
419f126890aSEmmanuel Vadot		fsl,pins = <
420f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA15__GPIO3_IO20            0x400000b0
421f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA16__GPIO3_IO21            0x400000b0
422f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA17__GPIO3_IO22            0x400000b0
423f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA18__GPIO3_IO23            0x400000b0
424f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA19__GPIO3_IO24            0x400000b0
425f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA20__GPIO3_IO25            0x400000b0
426f126890aSEmmanuel Vadot		>;
427f126890aSEmmanuel Vadot	};
428f126890aSEmmanuel Vadot
429f126890aSEmmanuel Vadot	pinctrl_ecspi2: ecspi2grp {
430f126890aSEmmanuel Vadot		fsl,pins = <
431f126890aSEmmanuel Vadot			MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29         0x10b0
432f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_HSYNC__GPIO3_IO02             0xb0
433f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_RESET__GPIO3_IO04             0xb0
434f126890aSEmmanuel Vadot			MX6UL_PAD_UART4_TX_DATA__ECSPI2_SCLK        0x10b0
435f126890aSEmmanuel Vadot			MX6UL_PAD_UART5_RX_DATA__ECSPI2_MISO        0x10b0
436f126890aSEmmanuel Vadot			MX6UL_PAD_UART5_TX_DATA__ECSPI2_MOSI        0x10b0
437f126890aSEmmanuel Vadot		>;
438f126890aSEmmanuel Vadot	};
439f126890aSEmmanuel Vadot
440f126890aSEmmanuel Vadot	pinctrl_ecspi4: ecspi4grp {
441f126890aSEmmanuel Vadot		fsl,pins = <
442f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_ER__GPIO2_IO15           0x10b0
443f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_DATA1__ECSPI4_SCLK       0x10b0
444f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_CLK__ECSPI4_MISO         0x10b0
445f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_EN__ECSPI4_MOSI          0x10b0
446f126890aSEmmanuel Vadot		>;
447f126890aSEmmanuel Vadot	};
448f126890aSEmmanuel Vadot
449f126890aSEmmanuel Vadot	pinctrl_emmc_rst: emmc-rstgrp {
450f126890aSEmmanuel Vadot		fsl,pins = <
451f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_ALE__GPIO4_IO10              0x400010b0
452f126890aSEmmanuel Vadot		>;
453f126890aSEmmanuel Vadot	};
454f126890aSEmmanuel Vadot
455f126890aSEmmanuel Vadot	pinctrl_enet_mdio: enet-mdiogrp {
456f126890aSEmmanuel Vadot		fsl,pins = <
457f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO06__ENET1_MDIO            0x10b0
458f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO07__ENET1_MDC             0x10b0
459f126890aSEmmanuel Vadot		>;
460f126890aSEmmanuel Vadot	};
461f126890aSEmmanuel Vadot
462f126890aSEmmanuel Vadot	pinctrl_enet1_phy_int: enet1-phy-intgrp {
463f126890aSEmmanuel Vadot		fsl,pins = <
464f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_ER__GPIO2_IO07           0x10b0
465f126890aSEmmanuel Vadot		>;
466f126890aSEmmanuel Vadot	};
467f126890aSEmmanuel Vadot
468f126890aSEmmanuel Vadot	pinctrl_enet1: enet1grp {
469f126890aSEmmanuel Vadot		fsl,pins = <
470f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00     0x100b0
471f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01     0x100b0
472f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN          0x100b0
473f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1      0x400000b1
474f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00     0xb0
475f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01     0xb0
476f126890aSEmmanuel Vadot			MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN          0xb0
477f126890aSEmmanuel Vadot		>;
478f126890aSEmmanuel Vadot	};
479f126890aSEmmanuel Vadot
480f126890aSEmmanuel Vadot	pinctrl_ext_uart: ext-uartgrp {
481f126890aSEmmanuel Vadot		fsl,pins = <
482f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_TX_DATA0__UART7_DCE_RX      0xb0
483f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_EN__UART7_DCE_TX         0xb0
484f126890aSEmmanuel Vadot		>;
485f126890aSEmmanuel Vadot	};
486f126890aSEmmanuel Vadot
487f126890aSEmmanuel Vadot	pinctrl_fan_enable: fan-enablegrp {
488f126890aSEmmanuel Vadot		fsl,pins = <
489f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA00__GPIO3_IO05            0x400000b0
490f126890aSEmmanuel Vadot		>;
491f126890aSEmmanuel Vadot	};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot	pinctrl_gpio_motor: gpio-motorgrp {
494f126890aSEmmanuel Vadot		fsl,pins = <
495f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA02__GPIO3_IO07            0x400000b0
496f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA03__GPIO3_IO08            0x400000b0
497f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA04__GPIO3_IO09            0x400000b0
498f126890aSEmmanuel Vadot			MX6UL_PAD_UART1_RTS_B__GPIO1_IO19           0xb0
499f126890aSEmmanuel Vadot			MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25         0xb0
500f126890aSEmmanuel Vadot		>;
501f126890aSEmmanuel Vadot	};
502f126890aSEmmanuel Vadot
503f126890aSEmmanuel Vadot	pinctrl_hog_pins: hog-pinsgrp {
504f126890aSEmmanuel Vadot		fsl,pins = <
505f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA07__GPIO3_IO12            0x400000b0
506f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA08__GPIO3_IO13            0x400000b0
507f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_TDI__GPIO1_IO13              0x400070a0
508f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA05__GPIO3_IO10            0x400000b0
509f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA06__GPIO3_IO11            0x400000b0
510f126890aSEmmanuel Vadot		>;
511f126890aSEmmanuel Vadot	};
512f126890aSEmmanuel Vadot
513f126890aSEmmanuel Vadot	pinctrl_i2c4: i2c4grp {
514f126890aSEmmanuel Vadot		fsl,pins = <
515f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_RX_DATA__I2C4_SDA           0x400008b0
516f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_TX_DATA__I2C4_SCL           0x400008b0
517f126890aSEmmanuel Vadot		>;
518f126890aSEmmanuel Vadot	};
519f126890aSEmmanuel Vadot
520f126890aSEmmanuel Vadot	pinctrl_i2c4_gpio: i2c4-gpiogrp {
521f126890aSEmmanuel Vadot		fsl,pins = <
522f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_RX_DATA__GPIO1_IO21         0x400008b0
523f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20         0x400008b0
524f126890aSEmmanuel Vadot		>;
525f126890aSEmmanuel Vadot	};
526f126890aSEmmanuel Vadot
527f126890aSEmmanuel Vadot	pinctrl_pmic: pmicgrp {
528f126890aSEmmanuel Vadot		fsl,pins = <
529f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO08__USDHC2_VSELECT        0x70b1
530f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_VSYNC__GPIO4_IO19             0xb0
531f126890aSEmmanuel Vadot		>;
532f126890aSEmmanuel Vadot	};
533f126890aSEmmanuel Vadot
534f126890aSEmmanuel Vadot	pinctrl_pwm_cp: pinctrl-pwm-cpgrp {
535f126890aSEmmanuel Vadot		fsl,pins = <
536f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_TRST_B__PWM8_OUT             0x60a0
537f126890aSEmmanuel Vadot		>;
538f126890aSEmmanuel Vadot	};
539f126890aSEmmanuel Vadot
540f126890aSEmmanuel Vadot	pinctrl_pwm_digital_input_ref: pwm-digital-input-refgrp {
541f126890aSEmmanuel Vadot		fsl,pins = <
542f126890aSEmmanuel Vadot			MX6UL_PAD_GPIO1_IO09__PWM2_OUT              0xb0
543f126890aSEmmanuel Vadot		>;
544f126890aSEmmanuel Vadot	};
545f126890aSEmmanuel Vadot
546f126890aSEmmanuel Vadot	pinctrl_pwm_fan: pwm-fangrp {
547f126890aSEmmanuel Vadot		fsl,pins = <
548f126890aSEmmanuel Vadot			MX6UL_PAD_JTAG_TCK__PWM7_OUT                0x60a0
549f126890aSEmmanuel Vadot		>;
550f126890aSEmmanuel Vadot	};
551f126890aSEmmanuel Vadot
552f126890aSEmmanuel Vadot	pinctrl_qca700x_cp_btld: qca700x-cp-btldgrp {
553f126890aSEmmanuel Vadot		fsl,pins = <
554f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA13__GPIO3_IO18            0x400000b0
555f126890aSEmmanuel Vadot		>;
556f126890aSEmmanuel Vadot	};
557f126890aSEmmanuel Vadot
558f126890aSEmmanuel Vadot	pinctrl_qca700x_cp_int: qca700x-cp-intgrp {
559f126890aSEmmanuel Vadot		fsl,pins = <
560f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA1__GPIO2_IO19             0x10b0
561f126890aSEmmanuel Vadot		>;
562f126890aSEmmanuel Vadot	};
563f126890aSEmmanuel Vadot
564f126890aSEmmanuel Vadot	pinctrl_qca700x_cp_rst: qca700x-cp-rstgrp {
565f126890aSEmmanuel Vadot		fsl,pins = <
566f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA12__GPIO3_IO17            0x400000b0
567f126890aSEmmanuel Vadot		>;
568f126890aSEmmanuel Vadot	};
569f126890aSEmmanuel Vadot
570f126890aSEmmanuel Vadot	pinctrl_qca700x_mains_btld: qca700x-mains-btldgrp {
571f126890aSEmmanuel Vadot		fsl,pins = <
572f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA11__GPIO3_IO16            0x400000b0
573f126890aSEmmanuel Vadot		>;
574f126890aSEmmanuel Vadot	};
575f126890aSEmmanuel Vadot
576f126890aSEmmanuel Vadot	pinctrl_rotary_switch1: rotary-switch1grp {
577f126890aSEmmanuel Vadot		fsl,pins = <
578f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_CTS_B__GPIO1_IO22           0xb0
579f126890aSEmmanuel Vadot			MX6UL_PAD_UART2_RTS_B__GPIO1_IO23           0xb0
580f126890aSEmmanuel Vadot			MX6UL_PAD_UART3_TX_DATA__GPIO1_IO24         0xb0
581f126890aSEmmanuel Vadot		>;
582f126890aSEmmanuel Vadot	};
583f126890aSEmmanuel Vadot
584f126890aSEmmanuel Vadot	pinctrl_rotary_switch2: rotary-switch2grp {
585f126890aSEmmanuel Vadot		fsl,pins = <
586f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_PIXCLK__GPIO4_IO18            0xb0
587f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA23__GPIO3_IO28            0xb0
588f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA22__GPIO3_IO27            0xb0
589f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA21__GPIO3_IO26            0xb0
590f126890aSEmmanuel Vadot		>;
591f126890aSEmmanuel Vadot	};
592f126890aSEmmanuel Vadot
593f126890aSEmmanuel Vadot	pinctrl_rs485_1: rs485-1grp {
594f126890aSEmmanuel Vadot		fsl,pins = <
595f126890aSEmmanuel Vadot			MX6UL_PAD_UART1_CTS_B__GPIO1_IO18           0xb0
596f126890aSEmmanuel Vadot			MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX       0xb0
597f126890aSEmmanuel Vadot			MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX       0xb0
598f126890aSEmmanuel Vadot		>;
599f126890aSEmmanuel Vadot	};
600f126890aSEmmanuel Vadot
601f126890aSEmmanuel Vadot	pinctrl_rs485_2: rs485-2grp {
602f126890aSEmmanuel Vadot		fsl,pins = <
603f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA03__GPIO4_IO24            0x10b0
604f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA01__UART5_DCE_RX          0x10b0
605f126890aSEmmanuel Vadot			MX6UL_PAD_CSI_DATA00__UART5_DCE_TX          0x10b0
606f126890aSEmmanuel Vadot		>;
607f126890aSEmmanuel Vadot	};
608f126890aSEmmanuel Vadot
609f126890aSEmmanuel Vadot	pinctrl_status_leds: status-ledsgrp {
610f126890aSEmmanuel Vadot		fsl,pins = <
611f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA09__GPIO3_IO14            0xb0
612f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA10__GPIO3_IO15            0xb0
613f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_DATA14__GPIO3_IO19            0xb0
614f126890aSEmmanuel Vadot		>;
615f126890aSEmmanuel Vadot	};
616f126890aSEmmanuel Vadot
617f126890aSEmmanuel Vadot	pinctrl_stm32: stm32grp {
618f126890aSEmmanuel Vadot		fsl,pins = <
619f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_DATA1__UART6_DCE_RX      0x10b0
620f126890aSEmmanuel Vadot			MX6UL_PAD_ENET2_RX_DATA0__UART6_DCE_TX      0x10b0
621f126890aSEmmanuel Vadot		>;
622f126890aSEmmanuel Vadot	};
623f126890aSEmmanuel Vadot
624f126890aSEmmanuel Vadot	pinctrl_uart4: uart4grp {
625f126890aSEmmanuel Vadot		fsl,pins = <
626f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_CLK__UART4_DTE_RX             0xb0
627f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_ENABLE__UART4_DTE_TX          0xb0
628f126890aSEmmanuel Vadot		>;
629f126890aSEmmanuel Vadot	};
630f126890aSEmmanuel Vadot
631f126890aSEmmanuel Vadot	pinctrl_usb: usbgrp {
632f126890aSEmmanuel Vadot		fsl,pins = <
633f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_CLK__USB_OTG1_OC              0x70b0
634f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_DATA0__ANATOP_OTG1_ID         0x70b0
635f126890aSEmmanuel Vadot		>;
636f126890aSEmmanuel Vadot	};
637f126890aSEmmanuel Vadot
638f126890aSEmmanuel Vadot	pinctrl_usb_pwr: usb-pwrgrp {
639f126890aSEmmanuel Vadot		fsl,pins = <
640f126890aSEmmanuel Vadot			MX6UL_PAD_SD1_CMD__USB_OTG1_PWR             0xb0
641f126890aSEmmanuel Vadot		>;
642f126890aSEmmanuel Vadot	};
643f126890aSEmmanuel Vadot
644f126890aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
645f126890aSEmmanuel Vadot		fsl,pins = <
646f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_RE_B__USDHC2_CLK             0x7071
647f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_WE_B__USDHC2_CMD             0x7071
648f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA00__USDHC2_DATA0         0x7071
649f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA01__USDHC2_DATA1         0x7071
650f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA02__USDHC2_DATA2         0x7071
651f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA03__USDHC2_DATA3         0x7071
652f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA04__USDHC2_DATA4         0x7071
653f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA05__USDHC2_DATA5         0x7071
654f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA06__USDHC2_DATA6         0x7071
655f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA07__USDHC2_DATA7         0x7071
656f126890aSEmmanuel Vadot		>;
657f126890aSEmmanuel Vadot	};
658f126890aSEmmanuel Vadot
659f126890aSEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
660f126890aSEmmanuel Vadot		fsl,pins = <
661f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_RE_B__USDHC2_CLK             0x70b1
662f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_WE_B__USDHC2_CMD             0x70b1
663f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA00__USDHC2_DATA0         0x70b1
664f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA01__USDHC2_DATA1         0x70b1
665f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA02__USDHC2_DATA2         0x70b1
666f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA03__USDHC2_DATA3         0x70b1
667f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA04__USDHC2_DATA4         0x70b1
668f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA05__USDHC2_DATA5         0x70b1
669f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA06__USDHC2_DATA6         0x70b1
670f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA07__USDHC2_DATA7         0x70b1
671f126890aSEmmanuel Vadot		>;
672f126890aSEmmanuel Vadot	};
673f126890aSEmmanuel Vadot
674f126890aSEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
675f126890aSEmmanuel Vadot		fsl,pins = <
676f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_RE_B__USDHC2_CLK             0x70f1
677f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_WE_B__USDHC2_CMD             0x70f1
678f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA00__USDHC2_DATA0         0x70f1
679f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA01__USDHC2_DATA1         0x70f1
680f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA02__USDHC2_DATA2         0x70f1
681f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA03__USDHC2_DATA3         0x70f1
682f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA04__USDHC2_DATA4         0x70f1
683f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA05__USDHC2_DATA5         0x70f1
684f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA06__USDHC2_DATA6         0x70f1
685f126890aSEmmanuel Vadot			MX6UL_PAD_NAND_DATA07__USDHC2_DATA7         0x70f1
686f126890aSEmmanuel Vadot		>;
687f126890aSEmmanuel Vadot	};
688f126890aSEmmanuel Vadot
689f126890aSEmmanuel Vadot	pinctrl_wdog2: wdoggrp {
690f126890aSEmmanuel Vadot		fsl,pins = <
691f126890aSEmmanuel Vadot			MX6UL_PAD_LCD_VSYNC__WDOG2_WDOG_B           0x10b0
692f126890aSEmmanuel Vadot		>;
693f126890aSEmmanuel Vadot	};
694f126890aSEmmanuel Vadot};
695f126890aSEmmanuel Vadot
696f126890aSEmmanuel Vadot&iomuxc_snvs {
697f126890aSEmmanuel Vadot	pinctrl-names = "default_snvs";
698f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_cp_peak_snvs
699f126890aSEmmanuel Vadot		     &pinctrl_gpio_motor_snvs
700f126890aSEmmanuel Vadot		     &pinctrl_relay_sense_snvs
701f126890aSEmmanuel Vadot		     &pinctrl_rotary_switch1_snvs>;
702f126890aSEmmanuel Vadot
703f126890aSEmmanuel Vadot	pinctrl_accelerometer_int1_snvs: accelerometer-int1-snvsgrp {
704f126890aSEmmanuel Vadot		fsl,pins = <
705f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05         0x130a0
706f126890aSEmmanuel Vadot		>;
707f126890aSEmmanuel Vadot	};
708f126890aSEmmanuel Vadot
709f126890aSEmmanuel Vadot	pinctrl_cp_peak_snvs: cp-peak-snvsgrp {
710f126890aSEmmanuel Vadot		fsl,pins = <
711f126890aSEmmanuel Vadot			MX6ULL_PAD_BOOT_MODE0__GPIO5_IO10           0x130a0
712f126890aSEmmanuel Vadot			MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11           0x130a0
713f126890aSEmmanuel Vadot		>;
714f126890aSEmmanuel Vadot	};
715f126890aSEmmanuel Vadot
716f126890aSEmmanuel Vadot	pinctrl_enet1_phy_rst: enet1-phy-rstgrp {
717f126890aSEmmanuel Vadot		fsl,pins = <
718f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER6__GPIO5_IO06         0x100a0
719f126890aSEmmanuel Vadot		>;
720f126890aSEmmanuel Vadot	};
721f126890aSEmmanuel Vadot
722f126890aSEmmanuel Vadot	pinctrl_fan_sense_snvs: fan-sense-snvsgrp {
723f126890aSEmmanuel Vadot		fsl,pins = <
724f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01         0x100a0
725f126890aSEmmanuel Vadot		>;
726f126890aSEmmanuel Vadot	};
727f126890aSEmmanuel Vadot
728f126890aSEmmanuel Vadot	pinctrl_gpio_motor_snvs: gpio-motor-snvsgrp {
729f126890aSEmmanuel Vadot		fsl,pins = <
730f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08         0x110a0
731f126890aSEmmanuel Vadot		>;
732f126890aSEmmanuel Vadot	};
733f126890aSEmmanuel Vadot
734f126890aSEmmanuel Vadot	pinctrl_qca700x_mains_int: qca700x-mains-intgrp {
735f126890aSEmmanuel Vadot		fsl,pins = <
736f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09         0x130a0
737f126890aSEmmanuel Vadot		>;
738f126890aSEmmanuel Vadot	};
739f126890aSEmmanuel Vadot
740f126890aSEmmanuel Vadot	pinctrl_qca700x_mains_rst: qca700x-mains-rstgrp {
741f126890aSEmmanuel Vadot		fsl,pins = <
742f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07         0x400100a0
743f126890aSEmmanuel Vadot		>;
744f126890aSEmmanuel Vadot	};
745f126890aSEmmanuel Vadot
746f126890aSEmmanuel Vadot	pinctrl_relay_sense_snvs: relay-sense-snvsgrp {
747f126890aSEmmanuel Vadot		fsl,pins = <
748f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03         0x100a0
749f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02         0x100a0
750f126890aSEmmanuel Vadot		>;
751f126890aSEmmanuel Vadot	};
752f126890aSEmmanuel Vadot
753f126890aSEmmanuel Vadot	pinctrl_rotary_switch1_snvs: rotary-switch1-snvsgrp {
754f126890aSEmmanuel Vadot		fsl,pins = <
755f126890aSEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00         0x110a0
756f126890aSEmmanuel Vadot		>;
757f126890aSEmmanuel Vadot	};
758f126890aSEmmanuel Vadot};
759f126890aSEmmanuel Vadot
760f126890aSEmmanuel Vadot&pwm2 {
761f126890aSEmmanuel Vadot	pinctrl-names = "default";
762f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm_digital_input_ref>;
763f126890aSEmmanuel Vadot	status = "okay";
764f126890aSEmmanuel Vadot};
765f126890aSEmmanuel Vadot
766f126890aSEmmanuel Vadot&pwm8 {
767f126890aSEmmanuel Vadot	pinctrl-names = "default";
768f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm_cp>;
769f126890aSEmmanuel Vadot	status = "okay";
770f126890aSEmmanuel Vadot};
771f126890aSEmmanuel Vadot
772f126890aSEmmanuel Vadot&uart1 {
773f126890aSEmmanuel Vadot	pinctrl-names = "default";
774f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rs485_1>;
775f126890aSEmmanuel Vadot	status = "okay";
776f126890aSEmmanuel Vadot};
777f126890aSEmmanuel Vadot
778f126890aSEmmanuel Vadot&uart4 {
779f126890aSEmmanuel Vadot	pinctrl-names = "default";
780f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4>;
781f126890aSEmmanuel Vadot	fsl,dte-mode;
782f126890aSEmmanuel Vadot	status = "okay";
783f126890aSEmmanuel Vadot};
784f126890aSEmmanuel Vadot
785f126890aSEmmanuel Vadot&uart5 {
786f126890aSEmmanuel Vadot	pinctrl-names = "default";
787f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rs485_2>;
788f126890aSEmmanuel Vadot};
789f126890aSEmmanuel Vadot
790f126890aSEmmanuel Vadot&uart6 {
791f126890aSEmmanuel Vadot	pinctrl-names = "default";
792f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_stm32>;
793f126890aSEmmanuel Vadot	status = "okay";
794f126890aSEmmanuel Vadot};
795f126890aSEmmanuel Vadot
796f126890aSEmmanuel Vadot&uart7 {
797f126890aSEmmanuel Vadot	pinctrl-names = "default";
798f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ext_uart>;
799f126890aSEmmanuel Vadot	status = "okay";
800f126890aSEmmanuel Vadot};
801f126890aSEmmanuel Vadot
802f126890aSEmmanuel Vadot&usbotg1 {
803f126890aSEmmanuel Vadot	pinctrl-names = "default";
804f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usb
805f126890aSEmmanuel Vadot		     &pinctrl_usb_pwr>;
806f126890aSEmmanuel Vadot	dr_mode = "host";
807f126890aSEmmanuel Vadot	power-active-high;
808*01950c46SEmmanuel Vadot	over-current-active-low;
809f126890aSEmmanuel Vadot	disable-over-current;
810f126890aSEmmanuel Vadot	status = "okay";
811f126890aSEmmanuel Vadot};
812f126890aSEmmanuel Vadot
813f126890aSEmmanuel Vadot&usbotg2 {
814f126890aSEmmanuel Vadot	dr_mode = "host";
815f126890aSEmmanuel Vadot	disable-over-current;
816f126890aSEmmanuel Vadot	status = "okay";
817f126890aSEmmanuel Vadot};
818f126890aSEmmanuel Vadot
819f126890aSEmmanuel Vadot&usbphy1 {
820f126890aSEmmanuel Vadot	fsl,tx-cal-45-dn-ohms = <35>;
821f126890aSEmmanuel Vadot	fsl,tx-cal-45-dp-ohms = <35>;
822f126890aSEmmanuel Vadot};
823f126890aSEmmanuel Vadot
824f126890aSEmmanuel Vadot&usbphy2 {
825f126890aSEmmanuel Vadot	fsl,tx-cal-45-dn-ohms = <35>;
826f126890aSEmmanuel Vadot	fsl,tx-cal-45-dp-ohms = <35>;
827f126890aSEmmanuel Vadot};
828f126890aSEmmanuel Vadot
829f126890aSEmmanuel Vadot&usdhc2 {
830f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
831f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
832f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
833f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
834f126890aSEmmanuel Vadot	vmmc-supply = <&sw2_reg>;
835f126890aSEmmanuel Vadot	vqmmc-supply = <&reg_1v8>;
836f126890aSEmmanuel Vadot	mmc-pwrseq = <&emmc_pwrseq>;
837f126890aSEmmanuel Vadot	bus-width = <8>;
838f126890aSEmmanuel Vadot	non-removable;
839f126890aSEmmanuel Vadot	no-sd;
840f126890aSEmmanuel Vadot	no-sdio;
841f126890aSEmmanuel Vadot	status = "okay";
842f126890aSEmmanuel Vadot};
843f126890aSEmmanuel Vadot
844f126890aSEmmanuel Vadot&wdog1 {
845f126890aSEmmanuel Vadot	status = "disabled";
846f126890aSEmmanuel Vadot};
847f126890aSEmmanuel Vadot
848f126890aSEmmanuel Vadot&wdog2 {
849f126890aSEmmanuel Vadot	pinctrl-names = "default";
850f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog2>;
851f126890aSEmmanuel Vadot	fsl,ext-reset-output;
852f126890aSEmmanuel Vadot	status = "okay";
853f126890aSEmmanuel Vadot};
854