xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-gw5912.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2019 Gateworks Corporation
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
7f126890aSEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot/ {
11f126890aSEmmanuel Vadot	/* these are used by bootloader for disabling nodes */
12f126890aSEmmanuel Vadot	aliases {
13f126890aSEmmanuel Vadot		led0 = &led0;
14f126890aSEmmanuel Vadot		led1 = &led1;
15f126890aSEmmanuel Vadot		led2 = &led2;
16f126890aSEmmanuel Vadot		nand = &gpmi;
17f126890aSEmmanuel Vadot		usb0 = &usbh1;
18f126890aSEmmanuel Vadot		usb1 = &usbotg;
19f126890aSEmmanuel Vadot	};
20f126890aSEmmanuel Vadot
21f126890aSEmmanuel Vadot	chosen {
22f126890aSEmmanuel Vadot		stdout-path = &uart2;
23f126890aSEmmanuel Vadot	};
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	gpio-keys {
26f126890aSEmmanuel Vadot		compatible = "gpio-keys";
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot		user-pb {
29f126890aSEmmanuel Vadot			label = "user_pb";
30f126890aSEmmanuel Vadot			gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
31f126890aSEmmanuel Vadot			linux,code = <BTN_0>;
32f126890aSEmmanuel Vadot		};
33f126890aSEmmanuel Vadot
34f126890aSEmmanuel Vadot		user-pb1x {
35f126890aSEmmanuel Vadot			label = "user_pb1x";
36f126890aSEmmanuel Vadot			linux,code = <BTN_1>;
37f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
38f126890aSEmmanuel Vadot			interrupts = <0>;
39f126890aSEmmanuel Vadot		};
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot		key-erased {
42f126890aSEmmanuel Vadot			label = "key-erased";
43f126890aSEmmanuel Vadot			linux,code = <BTN_2>;
44f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
45f126890aSEmmanuel Vadot			interrupts = <1>;
46f126890aSEmmanuel Vadot		};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot		eeprom-wp {
49f126890aSEmmanuel Vadot			label = "eeprom_wp";
50f126890aSEmmanuel Vadot			linux,code = <BTN_3>;
51f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
52f126890aSEmmanuel Vadot			interrupts = <2>;
53f126890aSEmmanuel Vadot		};
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot		tamper {
56f126890aSEmmanuel Vadot			label = "tamper";
57f126890aSEmmanuel Vadot			linux,code = <BTN_4>;
58f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
59f126890aSEmmanuel Vadot			interrupts = <5>;
60f126890aSEmmanuel Vadot		};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot		switch-hold {
63f126890aSEmmanuel Vadot			label = "switch_hold";
64f126890aSEmmanuel Vadot			linux,code = <BTN_5>;
65f126890aSEmmanuel Vadot			interrupt-parent = <&gsc>;
66f126890aSEmmanuel Vadot			interrupts = <7>;
67f126890aSEmmanuel Vadot		};
68f126890aSEmmanuel Vadot	};
69f126890aSEmmanuel Vadot
70f126890aSEmmanuel Vadot	leds {
71f126890aSEmmanuel Vadot		compatible = "gpio-leds";
72f126890aSEmmanuel Vadot		pinctrl-names = "default";
73f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_leds>;
74f126890aSEmmanuel Vadot
75f126890aSEmmanuel Vadot		led0: led-user1 {
76f126890aSEmmanuel Vadot			label = "user1";
77f126890aSEmmanuel Vadot			gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
78f126890aSEmmanuel Vadot			default-state = "on";
79f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
80f126890aSEmmanuel Vadot		};
81f126890aSEmmanuel Vadot
82f126890aSEmmanuel Vadot		led1: led-user2 {
83f126890aSEmmanuel Vadot			label = "user2";
84f126890aSEmmanuel Vadot			gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
85f126890aSEmmanuel Vadot			default-state = "off";
86f126890aSEmmanuel Vadot		};
87f126890aSEmmanuel Vadot
88f126890aSEmmanuel Vadot		led2: led-user3 {
89f126890aSEmmanuel Vadot			label = "user3";
90f126890aSEmmanuel Vadot			gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
91f126890aSEmmanuel Vadot			default-state = "off";
92f126890aSEmmanuel Vadot		};
93f126890aSEmmanuel Vadot	};
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot	memory@10000000 {
96f126890aSEmmanuel Vadot		device_type = "memory";
97f126890aSEmmanuel Vadot		reg = <0x10000000 0x40000000>;
98f126890aSEmmanuel Vadot	};
99f126890aSEmmanuel Vadot
100f126890aSEmmanuel Vadot	pps {
101f126890aSEmmanuel Vadot		compatible = "pps-gpio";
102f126890aSEmmanuel Vadot		pinctrl-names = "default";
103f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pps>;
104f126890aSEmmanuel Vadot		gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
105f126890aSEmmanuel Vadot	};
106f126890aSEmmanuel Vadot
107f126890aSEmmanuel Vadot	reg_3p3v: regulator-3p3v {
108f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
109f126890aSEmmanuel Vadot		regulator-name = "3P3V";
110f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
111f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
112f126890aSEmmanuel Vadot		regulator-always-on;
113f126890aSEmmanuel Vadot	};
114f126890aSEmmanuel Vadot
115f126890aSEmmanuel Vadot	reg_usb_vbus: regulator-5p0v {
116f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
117f126890aSEmmanuel Vadot		regulator-name = "usb_vbus";
118f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
119f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
120f126890aSEmmanuel Vadot		regulator-always-on;
121f126890aSEmmanuel Vadot	};
122f126890aSEmmanuel Vadot};
123f126890aSEmmanuel Vadot
124f126890aSEmmanuel Vadot&can1 {
125f126890aSEmmanuel Vadot	pinctrl-names = "default";
126f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_flexcan1>;
127f126890aSEmmanuel Vadot	status = "okay";
128f126890aSEmmanuel Vadot};
129f126890aSEmmanuel Vadot
130f126890aSEmmanuel Vadot&ecspi2 {
131f126890aSEmmanuel Vadot	cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
132f126890aSEmmanuel Vadot	pinctrl-names = "default";
133f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi2>;
134f126890aSEmmanuel Vadot	status = "okay";
135f126890aSEmmanuel Vadot};
136f126890aSEmmanuel Vadot
137f126890aSEmmanuel Vadot&fec {
138f126890aSEmmanuel Vadot	pinctrl-names = "default";
139f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
140f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
141f126890aSEmmanuel Vadot	status = "okay";
142f126890aSEmmanuel Vadot};
143f126890aSEmmanuel Vadot
144f126890aSEmmanuel Vadot&gpmi {
145f126890aSEmmanuel Vadot	pinctrl-names = "default";
146f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpmi_nand>;
147f126890aSEmmanuel Vadot	status = "okay";
148f126890aSEmmanuel Vadot};
149f126890aSEmmanuel Vadot
150f126890aSEmmanuel Vadot&i2c1 {
151f126890aSEmmanuel Vadot	clock-frequency = <100000>;
152f126890aSEmmanuel Vadot	pinctrl-names = "default";
153f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
154f126890aSEmmanuel Vadot	status = "okay";
155f126890aSEmmanuel Vadot
156f126890aSEmmanuel Vadot	gsc: gsc@20 {
157f126890aSEmmanuel Vadot		compatible = "gw,gsc";
158f126890aSEmmanuel Vadot		reg = <0x20>;
159f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
160f126890aSEmmanuel Vadot		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
161f126890aSEmmanuel Vadot		interrupt-controller;
162f126890aSEmmanuel Vadot		#interrupt-cells = <1>;
163f126890aSEmmanuel Vadot		#address-cells = <1>;
164f126890aSEmmanuel Vadot		#size-cells = <0>;
165f126890aSEmmanuel Vadot
166f126890aSEmmanuel Vadot		adc {
167f126890aSEmmanuel Vadot			compatible = "gw,gsc-adc";
168f126890aSEmmanuel Vadot			#address-cells = <1>;
169f126890aSEmmanuel Vadot			#size-cells = <0>;
170f126890aSEmmanuel Vadot
171f126890aSEmmanuel Vadot			channel@0 {
172f126890aSEmmanuel Vadot				gw,mode = <0>;
173f126890aSEmmanuel Vadot				reg = <0x00>;
174f126890aSEmmanuel Vadot				label = "temp";
175f126890aSEmmanuel Vadot			};
176f126890aSEmmanuel Vadot
177f126890aSEmmanuel Vadot			channel@2 {
178f126890aSEmmanuel Vadot				gw,mode = <1>;
179f126890aSEmmanuel Vadot				reg = <0x02>;
180f126890aSEmmanuel Vadot				label = "vdd_vin";
181f126890aSEmmanuel Vadot			};
182f126890aSEmmanuel Vadot
183f126890aSEmmanuel Vadot			channel@5 {
184f126890aSEmmanuel Vadot				gw,mode = <1>;
185f126890aSEmmanuel Vadot				reg = <0x05>;
186f126890aSEmmanuel Vadot				label = "vdd_3p3";
187f126890aSEmmanuel Vadot			};
188f126890aSEmmanuel Vadot
189f126890aSEmmanuel Vadot			channel@8 {
190f126890aSEmmanuel Vadot				gw,mode = <1>;
191f126890aSEmmanuel Vadot				reg = <0x08>;
192f126890aSEmmanuel Vadot				label = "vdd_bat";
193f126890aSEmmanuel Vadot			};
194f126890aSEmmanuel Vadot
195f126890aSEmmanuel Vadot			channel@b {
196f126890aSEmmanuel Vadot				gw,mode = <1>;
197f126890aSEmmanuel Vadot				reg = <0x0b>;
198f126890aSEmmanuel Vadot				label = "vdd_5p0";
199f126890aSEmmanuel Vadot			};
200f126890aSEmmanuel Vadot
201f126890aSEmmanuel Vadot			channel@e {
202f126890aSEmmanuel Vadot				gw,mode = <1>;
203f126890aSEmmanuel Vadot				reg = <0xe>;
204f126890aSEmmanuel Vadot				label = "vdd_arm";
205f126890aSEmmanuel Vadot			};
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot			channel@11 {
208f126890aSEmmanuel Vadot				gw,mode = <1>;
209f126890aSEmmanuel Vadot				reg = <0x11>;
210f126890aSEmmanuel Vadot				label = "vdd_soc";
211f126890aSEmmanuel Vadot			};
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot			channel@14 {
214f126890aSEmmanuel Vadot				gw,mode = <1>;
215f126890aSEmmanuel Vadot				reg = <0x14>;
216f126890aSEmmanuel Vadot				label = "vdd_3p0";
217f126890aSEmmanuel Vadot			};
218f126890aSEmmanuel Vadot
219f126890aSEmmanuel Vadot			channel@17 {
220f126890aSEmmanuel Vadot				gw,mode = <1>;
221f126890aSEmmanuel Vadot				reg = <0x17>;
222f126890aSEmmanuel Vadot				label = "vdd_1p5";
223f126890aSEmmanuel Vadot			};
224f126890aSEmmanuel Vadot
225f126890aSEmmanuel Vadot			channel@1d {
226f126890aSEmmanuel Vadot				gw,mode = <1>;
227f126890aSEmmanuel Vadot				reg = <0x1d>;
228f126890aSEmmanuel Vadot				label = "vdd_1p8";
229f126890aSEmmanuel Vadot			};
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot			channel@20 {
232f126890aSEmmanuel Vadot				gw,mode = <1>;
233f126890aSEmmanuel Vadot				reg = <0x20>;
234f126890aSEmmanuel Vadot				label = "vdd_1p0";
235f126890aSEmmanuel Vadot			};
236f126890aSEmmanuel Vadot
237f126890aSEmmanuel Vadot			channel@23 {
238f126890aSEmmanuel Vadot				gw,mode = <1>;
239f126890aSEmmanuel Vadot				reg = <0x23>;
240f126890aSEmmanuel Vadot				label = "vdd_2p5";
241f126890aSEmmanuel Vadot			};
242f126890aSEmmanuel Vadot		};
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot		fan-controller@a {
245f126890aSEmmanuel Vadot			compatible = "gw,gsc-fan";
246f126890aSEmmanuel Vadot			reg = <0x0a>;
247f126890aSEmmanuel Vadot		};
248f126890aSEmmanuel Vadot	};
249f126890aSEmmanuel Vadot
250f126890aSEmmanuel Vadot	gsc_gpio: gpio@23 {
251f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
252f126890aSEmmanuel Vadot		reg = <0x23>;
253f126890aSEmmanuel Vadot		gpio-controller;
254f126890aSEmmanuel Vadot		#gpio-cells = <2>;
255f126890aSEmmanuel Vadot		interrupt-parent = <&gsc>;
256f126890aSEmmanuel Vadot		interrupts = <4>;
257f126890aSEmmanuel Vadot	};
258f126890aSEmmanuel Vadot
259f126890aSEmmanuel Vadot	eeprom@50 {
260f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
261f126890aSEmmanuel Vadot		reg = <0x50>;
262f126890aSEmmanuel Vadot		pagesize = <16>;
263f126890aSEmmanuel Vadot	};
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot	eeprom@51 {
266f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
267f126890aSEmmanuel Vadot		reg = <0x51>;
268f126890aSEmmanuel Vadot		pagesize = <16>;
269f126890aSEmmanuel Vadot	};
270f126890aSEmmanuel Vadot
271f126890aSEmmanuel Vadot	eeprom@52 {
272f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
273f126890aSEmmanuel Vadot		reg = <0x52>;
274f126890aSEmmanuel Vadot		pagesize = <16>;
275f126890aSEmmanuel Vadot	};
276f126890aSEmmanuel Vadot
277f126890aSEmmanuel Vadot	eeprom@53 {
278f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
279f126890aSEmmanuel Vadot		reg = <0x53>;
280f126890aSEmmanuel Vadot		pagesize = <16>;
281f126890aSEmmanuel Vadot	};
282f126890aSEmmanuel Vadot
283f126890aSEmmanuel Vadot	rtc@68 {
284f126890aSEmmanuel Vadot		compatible = "dallas,ds1672";
285f126890aSEmmanuel Vadot		reg = <0x68>;
286f126890aSEmmanuel Vadot	};
287f126890aSEmmanuel Vadot};
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot&i2c2 {
290f126890aSEmmanuel Vadot	clock-frequency = <100000>;
291f126890aSEmmanuel Vadot	pinctrl-names = "default";
292f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
293f126890aSEmmanuel Vadot	status = "okay";
294f126890aSEmmanuel Vadot};
295f126890aSEmmanuel Vadot
296f126890aSEmmanuel Vadot&i2c3 {
297f126890aSEmmanuel Vadot	clock-frequency = <100000>;
298f126890aSEmmanuel Vadot	pinctrl-names = "default";
299f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
300f126890aSEmmanuel Vadot	status = "okay";
301f126890aSEmmanuel Vadot
302f126890aSEmmanuel Vadot	accel@19 {
303f126890aSEmmanuel Vadot		pinctrl-names = "default";
304f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_accel>;
305f126890aSEmmanuel Vadot		compatible = "st,lis2de12";
306f126890aSEmmanuel Vadot		reg = <0x19>;
307f126890aSEmmanuel Vadot		st,drdy-int-pin = <1>;
308f126890aSEmmanuel Vadot		interrupt-parent = <&gpio7>;
309f126890aSEmmanuel Vadot		interrupts = <13 0>;
310f126890aSEmmanuel Vadot	};
311f126890aSEmmanuel Vadot};
312f126890aSEmmanuel Vadot
313f126890aSEmmanuel Vadot&pcie {
314f126890aSEmmanuel Vadot	pinctrl-names = "default";
315f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie>;
316f126890aSEmmanuel Vadot	reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>;
317f126890aSEmmanuel Vadot	status = "okay";
318f126890aSEmmanuel Vadot};
319f126890aSEmmanuel Vadot
320f126890aSEmmanuel Vadot&pwm1 {
321f126890aSEmmanuel Vadot	pinctrl-names = "default";
322f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>; /* MX6_DIO0 */
323f126890aSEmmanuel Vadot	status = "disabled";
324f126890aSEmmanuel Vadot};
325f126890aSEmmanuel Vadot
326f126890aSEmmanuel Vadot&pwm2 {
327f126890aSEmmanuel Vadot	pinctrl-names = "default";
328f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
329f126890aSEmmanuel Vadot	status = "disabled";
330f126890aSEmmanuel Vadot};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot&pwm3 {
333f126890aSEmmanuel Vadot	pinctrl-names = "default";
334f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
335f126890aSEmmanuel Vadot	status = "disabled";
336f126890aSEmmanuel Vadot};
337f126890aSEmmanuel Vadot
338f126890aSEmmanuel Vadot&pwm4 {
339f126890aSEmmanuel Vadot	pinctrl-names = "default";
340f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm4>; /* MX6_DIO3 */
341f126890aSEmmanuel Vadot	status = "disabled";
342f126890aSEmmanuel Vadot};
343f126890aSEmmanuel Vadot
344f126890aSEmmanuel Vadot&uart1 {
345f126890aSEmmanuel Vadot	pinctrl-names = "default";
346f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
347f126890aSEmmanuel Vadot	rts-gpios = <&gpio7 12 GPIO_ACTIVE_HIGH>;
348f126890aSEmmanuel Vadot	status = "okay";
349f126890aSEmmanuel Vadot};
350f126890aSEmmanuel Vadot
351f126890aSEmmanuel Vadot&uart2 {
352f126890aSEmmanuel Vadot	pinctrl-names = "default";
353f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
354f126890aSEmmanuel Vadot	status = "okay";
355f126890aSEmmanuel Vadot};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot&uart5 {
358f126890aSEmmanuel Vadot	pinctrl-names = "default";
359f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart5>;
360f126890aSEmmanuel Vadot	status = "okay";
361f126890aSEmmanuel Vadot};
362f126890aSEmmanuel Vadot
363f126890aSEmmanuel Vadot&usbotg {
364f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_vbus>;
365f126890aSEmmanuel Vadot	pinctrl-names = "default";
366f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
367f126890aSEmmanuel Vadot	disable-over-current;
368f126890aSEmmanuel Vadot	dr_mode = "host";
369f126890aSEmmanuel Vadot	status = "okay";
370f126890aSEmmanuel Vadot};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot&usbh1 {
373f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_vbus>;
374f126890aSEmmanuel Vadot	status = "okay";
375f126890aSEmmanuel Vadot};
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot&usdhc3 {
378f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
379f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
380f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
381f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
382f126890aSEmmanuel Vadot	cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
383f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
384f126890aSEmmanuel Vadot	no-1-8-v; /* firmware will remove if board revision supports */
385f126890aSEmmanuel Vadot	status = "okay";
386f126890aSEmmanuel Vadot};
387f126890aSEmmanuel Vadot
388f126890aSEmmanuel Vadot&wdog1 {
389f126890aSEmmanuel Vadot	status = "disabled";
390f126890aSEmmanuel Vadot};
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot&wdog2 {
393f126890aSEmmanuel Vadot	pinctrl-names = "default";
394f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
395f126890aSEmmanuel Vadot	fsl,ext-reset-output;
396f126890aSEmmanuel Vadot	status = "okay";
397f126890aSEmmanuel Vadot};
398f126890aSEmmanuel Vadot
399f126890aSEmmanuel Vadot&iomuxc {
400f126890aSEmmanuel Vadot	pinctrl_accel: accelmuxgrp {
401f126890aSEmmanuel Vadot		fsl,pins = <
402f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_18__GPIO7_IO13		0x1b0b1
403f126890aSEmmanuel Vadot		>;
404f126890aSEmmanuel Vadot	};
405f126890aSEmmanuel Vadot
406f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
407f126890aSEmmanuel Vadot		fsl,pins = <
408f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
409f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
410f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
411f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
412f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
413f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
414f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
415f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
416f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
417f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
418f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
419f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
420f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
421f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
422f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
423f126890aSEmmanuel Vadot		>;
424f126890aSEmmanuel Vadot	};
425f126890aSEmmanuel Vadot
426f126890aSEmmanuel Vadot	pinctrl_ecspi2: escpi2grp {
427f126890aSEmmanuel Vadot		fsl,pins = <
428f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK	0x100b1
429f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI	0x100b1
430f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_OE__ECSPI2_MISO	0x100b1
431f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_RW__GPIO2_IO26	0x100b1
432f126890aSEmmanuel Vadot		>;
433f126890aSEmmanuel Vadot	};
434f126890aSEmmanuel Vadot
435f126890aSEmmanuel Vadot	pinctrl_flexcan1: flexcan1grp {
436f126890aSEmmanuel Vadot		fsl,pins = <
437f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX	0x1b0b1
438f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX	0x1b0b1
439f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_2__GPIO1_IO02		0x4001b0b0
440f126890aSEmmanuel Vadot		>;
441f126890aSEmmanuel Vadot	};
442f126890aSEmmanuel Vadot
443f126890aSEmmanuel Vadot	pinctrl_gpio_leds: gpioledsgrp {
444f126890aSEmmanuel Vadot		fsl,pins = <
445f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL0__GPIO4_IO06		0x1b0b0
446f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW0__GPIO4_IO07		0x1b0b0
447f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15		0x1b0b0
448f126890aSEmmanuel Vadot		>;
449f126890aSEmmanuel Vadot	};
450f126890aSEmmanuel Vadot
451f126890aSEmmanuel Vadot	pinctrl_gpmi_nand: gpminandgrp {
452f126890aSEmmanuel Vadot		fsl,pins = <
453f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CLE__NAND_CLE		0xb0b1
454f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_ALE__NAND_ALE		0xb0b1
455f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_WP_B__NAND_WP_B	0xb0b1
456f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_RB0__NAND_READY_B	0xb000
457f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS0__NAND_CE0_B	0xb0b1
458f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CMD__NAND_RE_B		0xb0b1
459f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CLK__NAND_WE_B		0xb0b1
460f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D0__NAND_DATA00	0xb0b1
461f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D1__NAND_DATA01	0xb0b1
462f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D2__NAND_DATA02	0xb0b1
463f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D3__NAND_DATA03	0xb0b1
464f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D4__NAND_DATA04	0xb0b1
465f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D5__NAND_DATA05	0xb0b1
466f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D6__NAND_DATA06	0xb0b1
467f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_D7__NAND_DATA07	0xb0b1
468f126890aSEmmanuel Vadot		>;
469f126890aSEmmanuel Vadot	};
470f126890aSEmmanuel Vadot
471f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
472f126890aSEmmanuel Vadot		fsl,pins = <
473f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
474f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
475f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_4__GPIO1_IO04		0x0001b0b0
476f126890aSEmmanuel Vadot		>;
477f126890aSEmmanuel Vadot	};
478f126890aSEmmanuel Vadot
479f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
480f126890aSEmmanuel Vadot		fsl,pins = <
481f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
482f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
483f126890aSEmmanuel Vadot		>;
484f126890aSEmmanuel Vadot	};
485f126890aSEmmanuel Vadot
486f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
487f126890aSEmmanuel Vadot		fsl,pins = <
488f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL		0x4001b8b1
489f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
490f126890aSEmmanuel Vadot		>;
491f126890aSEmmanuel Vadot	};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot	pinctrl_pcie: pciegrp {
494f126890aSEmmanuel Vadot		fsl,pins = <
495f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28	0x1b0b0
496f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__GPIO1_IO29	0x1b0b0
497f126890aSEmmanuel Vadot		>;
498f126890aSEmmanuel Vadot	};
499f126890aSEmmanuel Vadot
500f126890aSEmmanuel Vadot	pinctrl_pps: ppsgrp {
501f126890aSEmmanuel Vadot		fsl,pins = <
502f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_5__GPIO1_IO05		0x1b0b1
503f126890aSEmmanuel Vadot		>;
504f126890aSEmmanuel Vadot	};
505f126890aSEmmanuel Vadot
506f126890aSEmmanuel Vadot	pinctrl_pwm1: pwm1grp {
507f126890aSEmmanuel Vadot		fsl,pins = <
508f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_9__PWM1_OUT		0x1b0b1
509f126890aSEmmanuel Vadot		>;
510f126890aSEmmanuel Vadot	};
511f126890aSEmmanuel Vadot
512f126890aSEmmanuel Vadot	pinctrl_pwm2: pwm2grp {
513f126890aSEmmanuel Vadot		fsl,pins = <
514f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT2__PWM2_OUT		0x1b0b1
515f126890aSEmmanuel Vadot		>;
516f126890aSEmmanuel Vadot	};
517f126890aSEmmanuel Vadot
518f126890aSEmmanuel Vadot	pinctrl_pwm3: pwm3grp {
519f126890aSEmmanuel Vadot		fsl,pins = <
520f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT1__PWM3_OUT		0x1b0b1
521f126890aSEmmanuel Vadot		>;
522f126890aSEmmanuel Vadot	};
523f126890aSEmmanuel Vadot
524f126890aSEmmanuel Vadot	pinctrl_pwm4: pwm4grp {
525f126890aSEmmanuel Vadot		fsl,pins = <
526f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT2__PWM4_OUT		0x1b0b1
527f126890aSEmmanuel Vadot		>;
528f126890aSEmmanuel Vadot	};
529f126890aSEmmanuel Vadot
530f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
531f126890aSEmmanuel Vadot		fsl,pins = <
532f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA	0x1b0b1
533f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA	0x1b0b1
534f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x4001b0b1
535f126890aSEmmanuel Vadot		>;
536f126890aSEmmanuel Vadot	};
537f126890aSEmmanuel Vadot
538f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
539f126890aSEmmanuel Vadot		fsl,pins = <
540f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA	0x1b0b1
541f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA	0x1b0b1
542f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT3__GPIO2_IO11		0x4001b0b1
543f126890aSEmmanuel Vadot		>;
544f126890aSEmmanuel Vadot	};
545f126890aSEmmanuel Vadot
546f126890aSEmmanuel Vadot	pinctrl_uart5: uart5grp {
547f126890aSEmmanuel Vadot		fsl,pins = <
548f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL1__UART5_TX_DATA	0x1b0b1
549f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA	0x1b0b1
550f126890aSEmmanuel Vadot		>;
551f126890aSEmmanuel Vadot	};
552f126890aSEmmanuel Vadot
553f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
554f126890aSEmmanuel Vadot		fsl,pins = <
555f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__USB_OTG_ID		0x13059
556f126890aSEmmanuel Vadot		>;
557f126890aSEmmanuel Vadot	};
558f126890aSEmmanuel Vadot
559f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
560f126890aSEmmanuel Vadot		fsl,pins = <
561f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
562f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
563f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
564f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
565f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
566f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
567f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x17059 /* CD */
568f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x17059
569f126890aSEmmanuel Vadot		>;
570f126890aSEmmanuel Vadot	};
571f126890aSEmmanuel Vadot
572*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc3_100mhz: usdhc3-100mhz-grp {
573f126890aSEmmanuel Vadot		fsl,pins = <
574f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170b9
575f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100b9
576f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170b9
577f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170b9
578f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170b9
579f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170b9
580f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x170b9 /* CD */
581f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x170b9
582f126890aSEmmanuel Vadot		>;
583f126890aSEmmanuel Vadot	};
584f126890aSEmmanuel Vadot
585*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc3_200mhz: usdhc3-200mhz-grp {
586f126890aSEmmanuel Vadot		fsl,pins = <
587f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x170f9
588f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x100f9
589f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x170f9
590f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x170f9
591f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x170f9
592f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x170f9
593f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x170f9 /* CD */
594f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x170f9
595f126890aSEmmanuel Vadot		>;
596f126890aSEmmanuel Vadot	};
597f126890aSEmmanuel Vadot
598f126890aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
599f126890aSEmmanuel Vadot		fsl,pins = <
600f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT3__WDOG2_B		0x1b0b0
601f126890aSEmmanuel Vadot		>;
602f126890aSEmmanuel Vadot	};
603f126890aSEmmanuel Vadot};
604