xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mp-venice-gw72xx.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2aa1a8ff2SEmmanuel Vadot/*
3aa1a8ff2SEmmanuel Vadot * Copyright 2023 Gateworks Corporation
4aa1a8ff2SEmmanuel Vadot */
5aa1a8ff2SEmmanuel Vadot
6aa1a8ff2SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
7aa1a8ff2SEmmanuel Vadot#include <dt-bindings/leds/common.h>
8aa1a8ff2SEmmanuel Vadot#include <dt-bindings/phy/phy-imx8-pcie.h>
9aa1a8ff2SEmmanuel Vadot
10aa1a8ff2SEmmanuel Vadot/ {
11*8d13bc63SEmmanuel Vadot	connector {
12*8d13bc63SEmmanuel Vadot		compatible = "gpio-usb-b-connector", "usb-b-connector";
13*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
14*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbcon1>;
15*8d13bc63SEmmanuel Vadot		type = "micro";
16*8d13bc63SEmmanuel Vadot		label = "otg";
17*8d13bc63SEmmanuel Vadot		id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
18*8d13bc63SEmmanuel Vadot
19*8d13bc63SEmmanuel Vadot		port {
20*8d13bc63SEmmanuel Vadot			usb_dr_connector: endpoint {
21*8d13bc63SEmmanuel Vadot				remote-endpoint = <&usb3_dwc>;
22*8d13bc63SEmmanuel Vadot			};
23*8d13bc63SEmmanuel Vadot		};
24*8d13bc63SEmmanuel Vadot	};
25*8d13bc63SEmmanuel Vadot
26aa1a8ff2SEmmanuel Vadot	led-controller {
27aa1a8ff2SEmmanuel Vadot		compatible = "gpio-leds";
28aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
29aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_leds>;
30aa1a8ff2SEmmanuel Vadot
31aa1a8ff2SEmmanuel Vadot		led-0 {
32aa1a8ff2SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
33aa1a8ff2SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
34aa1a8ff2SEmmanuel Vadot			gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
35aa1a8ff2SEmmanuel Vadot			default-state = "on";
36aa1a8ff2SEmmanuel Vadot			linux,default-trigger = "heartbeat";
37aa1a8ff2SEmmanuel Vadot		};
38aa1a8ff2SEmmanuel Vadot
39aa1a8ff2SEmmanuel Vadot		led-1 {
40aa1a8ff2SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
41aa1a8ff2SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
42aa1a8ff2SEmmanuel Vadot			gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;
43aa1a8ff2SEmmanuel Vadot			default-state = "off";
44aa1a8ff2SEmmanuel Vadot		};
45aa1a8ff2SEmmanuel Vadot	};
46aa1a8ff2SEmmanuel Vadot
47aa1a8ff2SEmmanuel Vadot	pcie0_refclk: clock-pcie0 {
48aa1a8ff2SEmmanuel Vadot		compatible = "fixed-clock";
49aa1a8ff2SEmmanuel Vadot		#clock-cells = <0>;
50aa1a8ff2SEmmanuel Vadot		clock-frequency = <100000000>;
51aa1a8ff2SEmmanuel Vadot	};
52aa1a8ff2SEmmanuel Vadot
53aa1a8ff2SEmmanuel Vadot	pps {
54aa1a8ff2SEmmanuel Vadot		compatible = "pps-gpio";
55aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
56aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pinctrl_pps>;
57aa1a8ff2SEmmanuel Vadot		gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
58aa1a8ff2SEmmanuel Vadot		status = "okay";
59aa1a8ff2SEmmanuel Vadot	};
60aa1a8ff2SEmmanuel Vadot
61aa1a8ff2SEmmanuel Vadot	reg_usb1_vbus: regulator-usb1 {
62aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
63aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
64aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usb1_en>;
65aa1a8ff2SEmmanuel Vadot		regulator-name = "usb1_vbus";
66aa1a8ff2SEmmanuel Vadot		gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
67aa1a8ff2SEmmanuel Vadot		enable-active-high;
68aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
69aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
70aa1a8ff2SEmmanuel Vadot	};
71aa1a8ff2SEmmanuel Vadot
72aa1a8ff2SEmmanuel Vadot	reg_usb2_vbus: regulator-usb2 {
73aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
74aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
75aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usb2_en>;
76aa1a8ff2SEmmanuel Vadot		regulator-name = "usb2_vbus";
77aa1a8ff2SEmmanuel Vadot		gpio = <&gpio4 12 GPIO_ACTIVE_HIGH>;
78aa1a8ff2SEmmanuel Vadot		enable-active-high;
79aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
80aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
81aa1a8ff2SEmmanuel Vadot	};
82aa1a8ff2SEmmanuel Vadot
83aa1a8ff2SEmmanuel Vadot	reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
84aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
85aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
86aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pinctrl_usdhc2_vmmc>;
87aa1a8ff2SEmmanuel Vadot		regulator-name = "VDD_3V3_SD";
88aa1a8ff2SEmmanuel Vadot		enable-active-high;
89aa1a8ff2SEmmanuel Vadot		gpio = <&gpio2 19 0>; /* SD2_RESET */
90aa1a8ff2SEmmanuel Vadot		off-on-delay-us = <12000>;
91aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
92aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
93aa1a8ff2SEmmanuel Vadot		startup-delay-us = <100>;
94aa1a8ff2SEmmanuel Vadot	};
95aa1a8ff2SEmmanuel Vadot};
96aa1a8ff2SEmmanuel Vadot
97aa1a8ff2SEmmanuel Vadot/* off-board header */
98aa1a8ff2SEmmanuel Vadot&ecspi2 {
99aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
100aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_spi2>;
101*8d13bc63SEmmanuel Vadot	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>,
102*8d13bc63SEmmanuel Vadot		   <&gpio1 10 GPIO_ACTIVE_LOW>;
103aa1a8ff2SEmmanuel Vadot	status = "okay";
104*8d13bc63SEmmanuel Vadot
105*8d13bc63SEmmanuel Vadot	tpm@1 {
106*8d13bc63SEmmanuel Vadot		compatible = "atmel,attpm20p", "tcg,tpm_tis-spi";
107*8d13bc63SEmmanuel Vadot		reg = <0x1>;
108*8d13bc63SEmmanuel Vadot		spi-max-frequency = <36000000>;
109*8d13bc63SEmmanuel Vadot	};
110aa1a8ff2SEmmanuel Vadot};
111aa1a8ff2SEmmanuel Vadot
112aa1a8ff2SEmmanuel Vadot&gpio4 {
113aa1a8ff2SEmmanuel Vadot	gpio-line-names =
114aa1a8ff2SEmmanuel Vadot		"", "", "", "",
115aa1a8ff2SEmmanuel Vadot		"", "", "", "",
116aa1a8ff2SEmmanuel Vadot		"dio1", "", "", "dio0",
117aa1a8ff2SEmmanuel Vadot		"", "", "pci_usb_sel", "",
118aa1a8ff2SEmmanuel Vadot		"", "", "", "",
119aa1a8ff2SEmmanuel Vadot		"", "", "rs485_en", "rs485_term",
120aa1a8ff2SEmmanuel Vadot		"", "", "", "rs485_half",
121aa1a8ff2SEmmanuel Vadot		"pci_wdis#", "", "", "";
122aa1a8ff2SEmmanuel Vadot};
123aa1a8ff2SEmmanuel Vadot
124aa1a8ff2SEmmanuel Vadot&i2c2 {
125aa1a8ff2SEmmanuel Vadot	clock-frequency = <400000>;
126aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
127aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
128aa1a8ff2SEmmanuel Vadot	status = "okay";
129aa1a8ff2SEmmanuel Vadot
130aa1a8ff2SEmmanuel Vadot	accelerometer@19 {
131aa1a8ff2SEmmanuel Vadot		compatible = "st,lis2de12";
132aa1a8ff2SEmmanuel Vadot		reg = <0x19>;
133aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
134aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pinctrl_accel>;
135aa1a8ff2SEmmanuel Vadot		st,drdy-int-pin = <1>;
136aa1a8ff2SEmmanuel Vadot		interrupt-parent = <&gpio4>;
137aa1a8ff2SEmmanuel Vadot		interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
138aa1a8ff2SEmmanuel Vadot	};
139aa1a8ff2SEmmanuel Vadot};
140aa1a8ff2SEmmanuel Vadot
141aa1a8ff2SEmmanuel Vadot&pcie_phy {
142aa1a8ff2SEmmanuel Vadot	fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
143aa1a8ff2SEmmanuel Vadot	fsl,clkreq-unsupported;
144aa1a8ff2SEmmanuel Vadot	clocks = <&pcie0_refclk>;
145aa1a8ff2SEmmanuel Vadot	clock-names = "ref";
146aa1a8ff2SEmmanuel Vadot	status = "okay";
147aa1a8ff2SEmmanuel Vadot};
148aa1a8ff2SEmmanuel Vadot
149aa1a8ff2SEmmanuel Vadot&pcie {
150aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
151aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie0>;
152aa1a8ff2SEmmanuel Vadot	reset-gpio = <&gpio4 29 GPIO_ACTIVE_LOW>;
153aa1a8ff2SEmmanuel Vadot	status = "okay";
154aa1a8ff2SEmmanuel Vadot};
155aa1a8ff2SEmmanuel Vadot
156aa1a8ff2SEmmanuel Vadot/* GPS */
157aa1a8ff2SEmmanuel Vadot&uart1 {
158aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
159aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
160aa1a8ff2SEmmanuel Vadot	status = "okay";
161aa1a8ff2SEmmanuel Vadot};
162aa1a8ff2SEmmanuel Vadot
163aa1a8ff2SEmmanuel Vadot/* off-board header */
164aa1a8ff2SEmmanuel Vadot&uart3 {
165aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
166aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
167aa1a8ff2SEmmanuel Vadot	status = "okay";
168aa1a8ff2SEmmanuel Vadot};
169aa1a8ff2SEmmanuel Vadot
170aa1a8ff2SEmmanuel Vadot/* RS232 */
171aa1a8ff2SEmmanuel Vadot&uart4 {
172aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
173aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4>;
174aa1a8ff2SEmmanuel Vadot	status = "okay";
175aa1a8ff2SEmmanuel Vadot};
176aa1a8ff2SEmmanuel Vadot
177aa1a8ff2SEmmanuel Vadot/* USB1 - OTG */
178aa1a8ff2SEmmanuel Vadot&usb3_0 {
179aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
180aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_usb1>;
181aa1a8ff2SEmmanuel Vadot	fsl,over-current-active-low;
182aa1a8ff2SEmmanuel Vadot	status = "okay";
183aa1a8ff2SEmmanuel Vadot};
184aa1a8ff2SEmmanuel Vadot
185aa1a8ff2SEmmanuel Vadot&usb3_phy0 {
186aa1a8ff2SEmmanuel Vadot	vbus-supply = <&reg_usb1_vbus>;
187aa1a8ff2SEmmanuel Vadot	status = "okay";
188aa1a8ff2SEmmanuel Vadot};
189aa1a8ff2SEmmanuel Vadot
190aa1a8ff2SEmmanuel Vadot&usb_dwc3_0 {
191aa1a8ff2SEmmanuel Vadot	/* dual role is implemented but not a full featured OTG */
192aa1a8ff2SEmmanuel Vadot	adp-disable;
193aa1a8ff2SEmmanuel Vadot	hnp-disable;
194aa1a8ff2SEmmanuel Vadot	srp-disable;
195aa1a8ff2SEmmanuel Vadot	dr_mode = "otg";
196aa1a8ff2SEmmanuel Vadot	usb-role-switch;
197aa1a8ff2SEmmanuel Vadot	role-switch-default-mode = "peripheral";
198aa1a8ff2SEmmanuel Vadot	status = "okay";
199aa1a8ff2SEmmanuel Vadot
200*8d13bc63SEmmanuel Vadot	port {
201*8d13bc63SEmmanuel Vadot		usb3_dwc: endpoint {
202*8d13bc63SEmmanuel Vadot			remote-endpoint = <&usb_dr_connector>;
203*8d13bc63SEmmanuel Vadot		};
204aa1a8ff2SEmmanuel Vadot	};
205aa1a8ff2SEmmanuel Vadot};
206aa1a8ff2SEmmanuel Vadot
207aa1a8ff2SEmmanuel Vadot/* USB2 - USB3.0 Hub */
208aa1a8ff2SEmmanuel Vadot&usb3_1 {
209aa1a8ff2SEmmanuel Vadot	fsl,permanently-attached;
210aa1a8ff2SEmmanuel Vadot	fsl,disable-port-power-control;
211aa1a8ff2SEmmanuel Vadot	status = "okay";
212aa1a8ff2SEmmanuel Vadot};
213aa1a8ff2SEmmanuel Vadot
214aa1a8ff2SEmmanuel Vadot&usb3_phy1 {
215aa1a8ff2SEmmanuel Vadot	vbus-supply = <&reg_usb2_vbus>;
216aa1a8ff2SEmmanuel Vadot	status = "okay";
217aa1a8ff2SEmmanuel Vadot};
218aa1a8ff2SEmmanuel Vadot
219aa1a8ff2SEmmanuel Vadot&usb_dwc3_1 {
220aa1a8ff2SEmmanuel Vadot	dr_mode = "host";
221aa1a8ff2SEmmanuel Vadot	status = "okay";
222aa1a8ff2SEmmanuel Vadot};
223aa1a8ff2SEmmanuel Vadot
224aa1a8ff2SEmmanuel Vadot/* microSD */
225aa1a8ff2SEmmanuel Vadot&usdhc2 {
226aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
227aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
228aa1a8ff2SEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
229aa1a8ff2SEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
230aa1a8ff2SEmmanuel Vadot	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
231aa1a8ff2SEmmanuel Vadot	bus-width = <4>;
232aa1a8ff2SEmmanuel Vadot	vmmc-supply = <&reg_usdhc2_vmmc>;
233aa1a8ff2SEmmanuel Vadot	status = "okay";
234aa1a8ff2SEmmanuel Vadot};
235aa1a8ff2SEmmanuel Vadot
236aa1a8ff2SEmmanuel Vadot&iomuxc {
237aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
238aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pinctrl_hog>;
239aa1a8ff2SEmmanuel Vadot
240aa1a8ff2SEmmanuel Vadot	pinctrl_hog: hoggrp {
241aa1a8ff2SEmmanuel Vadot		fsl,pins = <
242aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI1_RXD6__GPIO4_IO08	0x40000146 /* DIO1 */
243aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI1_TXC__GPIO4_IO11	0x40000146 /* DIO0 */
244aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI1_TXD2__GPIO4_IO14	0x40000106 /* PCIE_USBSEL */
245aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27	0x40000106 /* RS485_HALF */
246aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22	0x40000106 /* RS485_EN */
247aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI2_RXD0__GPIO4_IO23	0x40000106 /* RS485_TERM */
248aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28	0x40000106 /* PCIE_WDIS# */
249aa1a8ff2SEmmanuel Vadot		>;
250aa1a8ff2SEmmanuel Vadot	};
251aa1a8ff2SEmmanuel Vadot
252aa1a8ff2SEmmanuel Vadot	pinctrl_accel: accelgrp {
253aa1a8ff2SEmmanuel Vadot		fsl,pins = <
254aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI2_RXFS__GPIO4_IO21	0x150	/* IRQ */
255aa1a8ff2SEmmanuel Vadot		>;
256aa1a8ff2SEmmanuel Vadot	};
257aa1a8ff2SEmmanuel Vadot
258aa1a8ff2SEmmanuel Vadot	pinctrl_gpio_leds: gpioledgrp {
259aa1a8ff2SEmmanuel Vadot		fsl,pins = <
260aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01	0x6	/* LEDG */
261aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI1_RXD3__GPIO4_IO05	0x6	/* LEDR */
262aa1a8ff2SEmmanuel Vadot		>;
263aa1a8ff2SEmmanuel Vadot	};
264aa1a8ff2SEmmanuel Vadot
265aa1a8ff2SEmmanuel Vadot	pinctrl_pcie0: pcie0grp {
266aa1a8ff2SEmmanuel Vadot		fsl,pins = <
267aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29	0x106
268aa1a8ff2SEmmanuel Vadot		>;
269aa1a8ff2SEmmanuel Vadot	};
270aa1a8ff2SEmmanuel Vadot
271aa1a8ff2SEmmanuel Vadot	pinctrl_pps: ppsgrp {
272aa1a8ff2SEmmanuel Vadot		fsl,pins = <
273aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03	0x146
274aa1a8ff2SEmmanuel Vadot		>;
275aa1a8ff2SEmmanuel Vadot	};
276aa1a8ff2SEmmanuel Vadot
277aa1a8ff2SEmmanuel Vadot	pinctrl_reg_usb1_en: regusb1grp {
278aa1a8ff2SEmmanuel Vadot		fsl,pins = <
279aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12	0x146 /* USB1_EN */
280aa1a8ff2SEmmanuel Vadot		>;
281aa1a8ff2SEmmanuel Vadot	};
282aa1a8ff2SEmmanuel Vadot
283aa1a8ff2SEmmanuel Vadot	pinctrl_usb1: usb1grp {
284aa1a8ff2SEmmanuel Vadot		fsl,pins = <
285aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC	0x140 /* USB1_FLT# */
286aa1a8ff2SEmmanuel Vadot		>;
287aa1a8ff2SEmmanuel Vadot	};
288aa1a8ff2SEmmanuel Vadot
289aa1a8ff2SEmmanuel Vadot	pinctrl_usbcon1: usbcon1grp {
290aa1a8ff2SEmmanuel Vadot		fsl,pins = <
291aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI5_RXD0__GPIO3_IO21	0x140 /* USB1_ID */
292aa1a8ff2SEmmanuel Vadot		>;
293aa1a8ff2SEmmanuel Vadot	};
294aa1a8ff2SEmmanuel Vadot
295aa1a8ff2SEmmanuel Vadot	pinctrl_reg_usb2_en: regusb2grp {
296aa1a8ff2SEmmanuel Vadot		fsl,pins = <
297aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SAI1_TXD0__GPIO4_IO12	0x146 /* USBHUB_RST# */
298aa1a8ff2SEmmanuel Vadot		>;
299aa1a8ff2SEmmanuel Vadot	};
300aa1a8ff2SEmmanuel Vadot
301aa1a8ff2SEmmanuel Vadot	pinctrl_spi2: spi2grp {
302aa1a8ff2SEmmanuel Vadot		fsl,pins = <
303aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK	0x140
304aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI	0x140
305aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO	0x140
306aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13	0x140
307*8d13bc63SEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10	0x140
308aa1a8ff2SEmmanuel Vadot		>;
309aa1a8ff2SEmmanuel Vadot	};
310aa1a8ff2SEmmanuel Vadot
311aa1a8ff2SEmmanuel Vadot	pinctrl_uart1: uart1grp {
312aa1a8ff2SEmmanuel Vadot		fsl,pins = <
313aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX	0x140
314aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX	0x140
315aa1a8ff2SEmmanuel Vadot		>;
316aa1a8ff2SEmmanuel Vadot	};
317aa1a8ff2SEmmanuel Vadot
318aa1a8ff2SEmmanuel Vadot	pinctrl_uart3: uart3grp {
319aa1a8ff2SEmmanuel Vadot		fsl,pins = <
320aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_UART3_RXD__UART3_DCE_RX	0x140
321aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_UART3_TXD__UART3_DCE_TX	0x140
322aa1a8ff2SEmmanuel Vadot		>;
323aa1a8ff2SEmmanuel Vadot	};
324aa1a8ff2SEmmanuel Vadot
325aa1a8ff2SEmmanuel Vadot	pinctrl_uart4: uart4grp {
326aa1a8ff2SEmmanuel Vadot		fsl,pins = <
327aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX	0x140
328aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX	0x140
329aa1a8ff2SEmmanuel Vadot		>;
330aa1a8ff2SEmmanuel Vadot	};
331aa1a8ff2SEmmanuel Vadot
332aa1a8ff2SEmmanuel Vadot	pinctrl_usdhc1: usdhc1grp {
333aa1a8ff2SEmmanuel Vadot		fsl,pins = <
334aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK	0x190
335aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD	0x1d0
336aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0	0x1d0
337aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1	0x1d0
338aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2	0x1d0
339aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3	0x1d0
340aa1a8ff2SEmmanuel Vadot		>;
341aa1a8ff2SEmmanuel Vadot	};
342aa1a8ff2SEmmanuel Vadot
343aa1a8ff2SEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
344aa1a8ff2SEmmanuel Vadot		fsl,pins = <
345aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK	0x190
346aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD	0x1d0
347aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d0
348aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d0
349aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d0
350aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d0
351aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc1
352aa1a8ff2SEmmanuel Vadot		>;
353aa1a8ff2SEmmanuel Vadot	};
354aa1a8ff2SEmmanuel Vadot
355aa1a8ff2SEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
356aa1a8ff2SEmmanuel Vadot		fsl,pins = <
357aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK	0x194
358aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD	0x1d4
359aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d4
360aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d4
361aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d4
362aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d4
363aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc1
364aa1a8ff2SEmmanuel Vadot		>;
365aa1a8ff2SEmmanuel Vadot	};
366aa1a8ff2SEmmanuel Vadot
367aa1a8ff2SEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
368aa1a8ff2SEmmanuel Vadot		fsl,pins = <
369aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK	0x196
370aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD	0x1d6
371aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d6
372aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d6
373aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d6
374aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d6
375aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc1
376aa1a8ff2SEmmanuel Vadot		>;
377aa1a8ff2SEmmanuel Vadot	};
378aa1a8ff2SEmmanuel Vadot
379aa1a8ff2SEmmanuel Vadot	pinctrl_usdhc2_vmmc: usdhc2-vmmc-grp {
380aa1a8ff2SEmmanuel Vadot		fsl,pins = <
381aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_RESET_B__USDHC2_RESET_B	0x1d0
382aa1a8ff2SEmmanuel Vadot		>;
383aa1a8ff2SEmmanuel Vadot	};
384aa1a8ff2SEmmanuel Vadot
385aa1a8ff2SEmmanuel Vadot	pinctrl_usdhc2_gpio: usdhc2gpiogrp {
386aa1a8ff2SEmmanuel Vadot		fsl,pins = <
387aa1a8ff2SEmmanuel Vadot			MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12		0x1c4
388aa1a8ff2SEmmanuel Vadot		>;
389aa1a8ff2SEmmanuel Vadot	};
390aa1a8ff2SEmmanuel Vadot};
391