xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mp-evk.dts (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright 2019 NXP
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/phy/phy-imx8-pcie.h>
9#include "imx8mp.dtsi"
10
11/ {
12	model = "NXP i.MX8MPlus EVK board";
13	compatible = "fsl,imx8mp-evk", "fsl,imx8mp";
14
15	chosen {
16		stdout-path = &uart2;
17	};
18
19	gpio-leds {
20		compatible = "gpio-leds";
21		pinctrl-names = "default";
22		pinctrl-0 = <&pinctrl_gpio_led>;
23
24		status {
25			label = "yellow:status";
26			gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
27			default-state = "on";
28		};
29	};
30
31	memory@40000000 {
32		device_type = "memory";
33		reg = <0x0 0x40000000 0 0xc0000000>,
34		      <0x1 0x00000000 0 0xc0000000>;
35	};
36
37	pcie0_refclk: pcie0-refclk {
38		compatible = "fixed-clock";
39		#clock-cells = <0>;
40		clock-frequency = <100000000>;
41	};
42
43	reg_can1_stby: regulator-can1-stby {
44		compatible = "regulator-fixed";
45		regulator-name = "can1-stby";
46		pinctrl-names = "default";
47		pinctrl-0 = <&pinctrl_flexcan1_reg>;
48		regulator-min-microvolt = <3300000>;
49		regulator-max-microvolt = <3300000>;
50		gpio = <&gpio5 5 GPIO_ACTIVE_HIGH>;
51		enable-active-high;
52	};
53
54	reg_can2_stby: regulator-can2-stby {
55		compatible = "regulator-fixed";
56		regulator-name = "can2-stby";
57		pinctrl-names = "default";
58		pinctrl-0 = <&pinctrl_flexcan2_reg>;
59		regulator-min-microvolt = <3300000>;
60		regulator-max-microvolt = <3300000>;
61		gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
62		enable-active-high;
63	};
64
65	reg_pcie0: regulator-pcie {
66		compatible = "regulator-fixed";
67		pinctrl-names = "default";
68		pinctrl-0 = <&pinctrl_pcie0_reg>;
69		regulator-name = "MPCIE_3V3";
70		regulator-min-microvolt = <3300000>;
71		regulator-max-microvolt = <3300000>;
72		gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
73		enable-active-high;
74	};
75
76	reg_usdhc2_vmmc: regulator-usdhc2 {
77		compatible = "regulator-fixed";
78		pinctrl-names = "default";
79		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
80		regulator-name = "VSD_3V3";
81		regulator-min-microvolt = <3300000>;
82		regulator-max-microvolt = <3300000>;
83		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
84		enable-active-high;
85	};
86};
87
88&flexspi {
89	pinctrl-names = "default";
90	pinctrl-0 = <&pinctrl_flexspi0>;
91	status = "okay";
92
93	flash@0 {
94		compatible = "jedec,spi-nor";
95		reg = <0>;
96		spi-max-frequency = <80000000>;
97		spi-tx-bus-width = <1>;
98		spi-rx-bus-width = <4>;
99	};
100};
101
102&A53_0 {
103	cpu-supply = <&reg_arm>;
104};
105
106&A53_1 {
107	cpu-supply = <&reg_arm>;
108};
109
110&A53_2 {
111	cpu-supply = <&reg_arm>;
112};
113
114&A53_3 {
115	cpu-supply = <&reg_arm>;
116};
117
118&eqos {
119	pinctrl-names = "default";
120	pinctrl-0 = <&pinctrl_eqos>;
121	phy-mode = "rgmii-id";
122	phy-handle = <&ethphy0>;
123	snps,force_thresh_dma_mode;
124	snps,mtl-tx-config = <&mtl_tx_setup>;
125	snps,mtl-rx-config = <&mtl_rx_setup>;
126	status = "okay";
127
128	mdio {
129		compatible = "snps,dwmac-mdio";
130		#address-cells = <1>;
131		#size-cells = <0>;
132
133		ethphy0: ethernet-phy@1 {
134			compatible = "ethernet-phy-ieee802.3-c22";
135			reg = <1>;
136			eee-broken-1000t;
137			reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
138			reset-assert-us = <10000>;
139			reset-deassert-us = <80000>;
140			realtek,clkout-disable;
141		};
142	};
143
144	mtl_tx_setup: tx-queues-config {
145		snps,tx-queues-to-use = <5>;
146		snps,tx-sched-sp;
147
148		queue0 {
149			snps,dcb-algorithm;
150			snps,priority = <0x1>;
151		};
152
153		queue1 {
154			snps,dcb-algorithm;
155			snps,priority = <0x2>;
156		};
157
158		queue2 {
159			snps,dcb-algorithm;
160			snps,priority = <0x4>;
161		};
162
163		queue3 {
164			snps,dcb-algorithm;
165			snps,priority = <0x8>;
166		};
167
168		queue4 {
169			snps,dcb-algorithm;
170			snps,priority = <0xf0>;
171		};
172	};
173
174	mtl_rx_setup: rx-queues-config {
175		snps,rx-queues-to-use = <5>;
176		snps,rx-sched-sp;
177
178		queue0 {
179			snps,dcb-algorithm;
180			snps,priority = <0x1>;
181			snps,map-to-dma-channel = <0>;
182		};
183
184		queue1 {
185			snps,dcb-algorithm;
186			snps,priority = <0x2>;
187			snps,map-to-dma-channel = <1>;
188		};
189
190		queue2 {
191			snps,dcb-algorithm;
192			snps,priority = <0x4>;
193			snps,map-to-dma-channel = <2>;
194		};
195
196		queue3 {
197			snps,dcb-algorithm;
198			snps,priority = <0x8>;
199			snps,map-to-dma-channel = <3>;
200		};
201
202		queue4 {
203			snps,dcb-algorithm;
204			snps,priority = <0xf0>;
205			snps,map-to-dma-channel = <4>;
206		};
207	};
208};
209
210&fec {
211	pinctrl-names = "default";
212	pinctrl-0 = <&pinctrl_fec>;
213	phy-mode = "rgmii-id";
214	phy-handle = <&ethphy1>;
215	fsl,magic-packet;
216	status = "okay";
217
218	mdio {
219		#address-cells = <1>;
220		#size-cells = <0>;
221
222		ethphy1: ethernet-phy@1 {
223			compatible = "ethernet-phy-ieee802.3-c22";
224			reg = <1>;
225			eee-broken-1000t;
226			reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
227			reset-assert-us = <10000>;
228			reset-deassert-us = <80000>;
229			realtek,clkout-disable;
230		};
231	};
232};
233
234&flexcan1 {
235	pinctrl-names = "default";
236	pinctrl-0 = <&pinctrl_flexcan1>;
237	xceiver-supply = <&reg_can1_stby>;
238	status = "okay";
239};
240
241&flexcan2 {
242	pinctrl-names = "default";
243	pinctrl-0 = <&pinctrl_flexcan2>;
244	xceiver-supply = <&reg_can2_stby>;
245	status = "disabled";/* can2 pin conflict with pdm */
246};
247
248&i2c1 {
249	clock-frequency = <400000>;
250	pinctrl-names = "default";
251	pinctrl-0 = <&pinctrl_i2c1>;
252	status = "okay";
253
254	pmic@25 {
255		compatible = "nxp,pca9450c";
256		reg = <0x25>;
257		pinctrl-names = "default";
258		pinctrl-0 = <&pinctrl_pmic>;
259		interrupt-parent = <&gpio1>;
260		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
261
262		regulators {
263			BUCK1 {
264				regulator-name = "BUCK1";
265				regulator-min-microvolt = <720000>;
266				regulator-max-microvolt = <1000000>;
267				regulator-boot-on;
268				regulator-always-on;
269				regulator-ramp-delay = <3125>;
270			};
271
272			reg_arm: BUCK2 {
273				regulator-name = "BUCK2";
274				regulator-min-microvolt = <720000>;
275				regulator-max-microvolt = <1025000>;
276				regulator-boot-on;
277				regulator-always-on;
278				regulator-ramp-delay = <3125>;
279				nxp,dvs-run-voltage = <950000>;
280				nxp,dvs-standby-voltage = <850000>;
281			};
282
283			BUCK4 {
284				regulator-name = "BUCK4";
285				regulator-min-microvolt = <3000000>;
286				regulator-max-microvolt = <3600000>;
287				regulator-boot-on;
288				regulator-always-on;
289			};
290
291			BUCK5 {
292				regulator-name = "BUCK5";
293				regulator-min-microvolt = <1650000>;
294				regulator-max-microvolt = <1950000>;
295				regulator-boot-on;
296				regulator-always-on;
297			};
298
299			BUCK6 {
300				regulator-name = "BUCK6";
301				regulator-min-microvolt = <1045000>;
302				regulator-max-microvolt = <1155000>;
303				regulator-boot-on;
304				regulator-always-on;
305			};
306
307			LDO1 {
308				regulator-name = "LDO1";
309				regulator-min-microvolt = <1650000>;
310				regulator-max-microvolt = <1950000>;
311				regulator-boot-on;
312				regulator-always-on;
313			};
314
315			LDO3 {
316				regulator-name = "LDO3";
317				regulator-min-microvolt = <1710000>;
318				regulator-max-microvolt = <1890000>;
319				regulator-boot-on;
320				regulator-always-on;
321			};
322
323			LDO5 {
324				regulator-name = "LDO5";
325				regulator-min-microvolt = <1800000>;
326				regulator-max-microvolt = <3300000>;
327				regulator-boot-on;
328				regulator-always-on;
329			};
330		};
331	};
332};
333
334&i2c2 {
335	clock-frequency = <400000>;
336	pinctrl-names = "default";
337	pinctrl-0 = <&pinctrl_i2c2>;
338	status = "okay";
339};
340
341&i2c3 {
342	clock-frequency = <400000>;
343	pinctrl-names = "default";
344	pinctrl-0 = <&pinctrl_i2c3>;
345	status = "okay";
346
347	pca6416: gpio@20 {
348		compatible = "ti,tca6416";
349		reg = <0x20>;
350		gpio-controller;
351		#gpio-cells = <2>;
352		interrupt-controller;
353		#interrupt-cells = <2>;
354		pinctrl-names = "default";
355		pinctrl-0 = <&pinctrl_pca6416_int>;
356		interrupt-parent = <&gpio1>;
357		interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
358		gpio-line-names = "EXT_PWREN1",
359			"EXT_PWREN2",
360			"CAN1/I2C5_SEL",
361			"PDM/CAN2_SEL",
362			"FAN_EN",
363			"PWR_MEAS_IO1",
364			"PWR_MEAS_IO2",
365			"EXP_P0_7",
366			"EXP_P1_0",
367			"EXP_P1_1",
368			"EXP_P1_2",
369			"EXP_P1_3",
370			"EXP_P1_4",
371			"EXP_P1_5",
372			"EXP_P1_6",
373			"EXP_P1_7";
374	};
375};
376
377/* I2C on expansion connector J22. */
378&i2c5 {
379	clock-frequency = <100000>; /* Lower clock speed for external bus. */
380	pinctrl-names = "default";
381	pinctrl-0 = <&pinctrl_i2c5>;
382	status = "disabled"; /* can1 pins conflict with i2c5 */
383
384	/* GPIO 2 of PCA6416 is used to switch between CAN1 and I2C5 functions:
385	 *     LOW:  CAN1 (default, pull-down)
386	 *     HIGH: I2C5
387	 * You need to set it to high to enable I2C5 (for example, add gpio-hog
388	 * in pca6416 node).
389	 */
390};
391
392&pcie_phy {
393	fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
394	clocks = <&pcie0_refclk>;
395	clock-names = "ref";
396	status = "okay";
397};
398
399&pcie {
400	pinctrl-names = "default";
401	pinctrl-0 = <&pinctrl_pcie0>;
402	reset-gpio = <&gpio2 7 GPIO_ACTIVE_LOW>;
403	vpcie-supply = <&reg_pcie0>;
404	status = "okay";
405};
406
407&pwm1 {
408	pinctrl-names = "default";
409	pinctrl-0 = <&pinctrl_pwm1>;
410	status = "okay";
411};
412
413&pwm2 {
414	pinctrl-names = "default";
415	pinctrl-0 = <&pinctrl_pwm2>;
416	status = "okay";
417};
418
419&pwm4 {
420	pinctrl-names = "default";
421	pinctrl-0 = <&pinctrl_pwm4>;
422	status = "okay";
423};
424
425&snvs_pwrkey {
426	status = "okay";
427};
428
429&uart1 { /* BT */
430	pinctrl-names = "default";
431	pinctrl-0 = <&pinctrl_uart1>;
432	assigned-clocks = <&clk IMX8MP_CLK_UART1>;
433	assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
434	uart-has-rtscts;
435	status = "okay";
436};
437
438&uart2 {
439	/* console */
440	pinctrl-names = "default";
441	pinctrl-0 = <&pinctrl_uart2>;
442	status = "okay";
443};
444
445&usb3_phy1 {
446	status = "okay";
447};
448
449&usb3_1 {
450	status = "okay";
451};
452
453&usb_dwc3_1 {
454	pinctrl-names = "default";
455	pinctrl-0 = <&pinctrl_usb1_vbus>;
456	dr_mode = "host";
457	status = "okay";
458};
459
460&uart3 {
461	pinctrl-names = "default";
462	pinctrl-0 = <&pinctrl_uart3>;
463	assigned-clocks = <&clk IMX8MP_CLK_UART3>;
464	assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
465	uart-has-rtscts;
466	status = "okay";
467};
468
469&usdhc2 {
470	assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
471	assigned-clock-rates = <400000000>;
472	pinctrl-names = "default", "state_100mhz", "state_200mhz";
473	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
474	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
475	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
476	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
477	vmmc-supply = <&reg_usdhc2_vmmc>;
478	bus-width = <4>;
479	status = "okay";
480};
481
482&usdhc3 {
483	assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
484	assigned-clock-rates = <400000000>;
485	pinctrl-names = "default", "state_100mhz", "state_200mhz";
486	pinctrl-0 = <&pinctrl_usdhc3>;
487	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
488	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
489	bus-width = <8>;
490	non-removable;
491	status = "okay";
492};
493
494&wdog1 {
495	pinctrl-names = "default";
496	pinctrl-0 = <&pinctrl_wdog>;
497	fsl,ext-reset-output;
498	status = "okay";
499};
500
501&iomuxc {
502	pinctrl_eqos: eqosgrp {
503		fsl,pins = <
504			MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC				0x2
505			MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO				0x2
506			MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0			0x90
507			MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1			0x90
508			MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2			0x90
509			MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3			0x90
510			MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK	0x90
511			MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL			0x90
512			MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0			0x16
513			MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1			0x16
514			MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2			0x16
515			MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3			0x16
516			MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL			0x16
517			MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK	0x16
518			MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22				0x10
519		>;
520	};
521
522	pinctrl_fec: fecgrp {
523		fsl,pins = <
524			MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC		0x2
525			MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO		0x2
526			MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0		0x90
527			MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1		0x90
528			MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2		0x90
529			MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3		0x90
530			MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC		0x90
531			MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL	0x90
532			MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0		0x16
533			MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1		0x16
534			MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2		0x16
535			MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3		0x16
536			MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL	0x16
537			MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC		0x16
538			MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02		0x10
539		>;
540	};
541
542	pinctrl_flexcan1: flexcan1grp {
543		fsl,pins = <
544			MX8MP_IOMUXC_SPDIF_RX__CAN1_RX          0x154
545			MX8MP_IOMUXC_SPDIF_TX__CAN1_TX          0x154
546		>;
547	};
548
549	pinctrl_flexcan2: flexcan2grp {
550		fsl,pins = <
551			MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX         0x154
552			MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX         0x154
553		>;
554	};
555
556	pinctrl_flexcan1_reg: flexcan1reggrp {
557		fsl,pins = <
558			MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05  0x154   /* CAN1_STBY */
559		>;
560	};
561
562	pinctrl_flexcan2_reg: flexcan2reggrp {
563		fsl,pins = <
564			MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27      0x154   /* CAN2_STBY */
565		>;
566	};
567
568	pinctrl_flexspi0: flexspi0grp {
569		fsl,pins = <
570			MX8MP_IOMUXC_NAND_ALE__FLEXSPI_A_SCLK           0x1c2
571			MX8MP_IOMUXC_NAND_CE0_B__FLEXSPI_A_SS0_B        0x82
572			MX8MP_IOMUXC_NAND_DATA00__FLEXSPI_A_DATA00      0x82
573			MX8MP_IOMUXC_NAND_DATA01__FLEXSPI_A_DATA01      0x82
574			MX8MP_IOMUXC_NAND_DATA02__FLEXSPI_A_DATA02      0x82
575			MX8MP_IOMUXC_NAND_DATA03__FLEXSPI_A_DATA03      0x82
576		>;
577	};
578
579	pinctrl_gpio_led: gpioledgrp {
580		fsl,pins = <
581			MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16	0x140
582		>;
583	};
584
585	pinctrl_i2c1: i2c1grp {
586		fsl,pins = <
587			MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL		0x400001c2
588			MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA		0x400001c2
589		>;
590	};
591
592	pinctrl_i2c2: i2c2grp {
593		fsl,pins = <
594			MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL		0x400001c2
595			MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA		0x400001c2
596		>;
597	};
598
599	pinctrl_i2c3: i2c3grp {
600		fsl,pins = <
601			MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL		0x400001c2
602			MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA		0x400001c2
603		>;
604	};
605
606	pinctrl_i2c5: i2c5grp {
607		fsl,pins = <
608			MX8MP_IOMUXC_SPDIF_RX__I2C5_SDA         0x400001c2
609			MX8MP_IOMUXC_SPDIF_TX__I2C5_SCL         0x400001c2
610		>;
611	};
612
613	pinctrl_pcie0: pcie0grp {
614		fsl,pins = <
615			MX8MP_IOMUXC_I2C4_SCL__PCIE_CLKREQ_B	0x60 /* open drain, pull up */
616			MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07	0x40
617		>;
618	};
619
620	pinctrl_pcie0_reg: pcie0reggrp {
621		fsl,pins = <
622			MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06	0x40
623		>;
624	};
625
626	pinctrl_pmic: pmicgrp {
627		fsl,pins = <
628			MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03	0x000001c0
629		>;
630	};
631
632	pinctrl_pca6416_int: pca6416_int_grp {
633		fsl,pins = <
634			MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12	0x146 /* Input pull-up. */
635		>;
636	};
637
638	pinctrl_pwm1: pwm1grp {
639		fsl,pins = <
640			MX8MP_IOMUXC_GPIO1_IO01__PWM1_OUT	0x116
641		>;
642	};
643
644	pinctrl_pwm2: pwm2grp {
645		fsl,pins = <
646			MX8MP_IOMUXC_GPIO1_IO11__PWM2_OUT	0x116
647		>;
648	};
649
650	pinctrl_pwm4: pwm4grp {
651		fsl,pins = <
652			MX8MP_IOMUXC_SAI5_RXFS__PWM4_OUT	0x116
653		>;
654	};
655
656	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
657		fsl,pins = <
658			MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19	0x40
659		>;
660	};
661
662	pinctrl_uart1: uart1grp {
663		fsl,pins = <
664			MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX	0x140
665			MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX	0x140
666			MX8MP_IOMUXC_UART3_RXD__UART1_DCE_CTS	0x140
667			MX8MP_IOMUXC_UART3_TXD__UART1_DCE_RTS	0x140
668		>;
669	};
670
671	pinctrl_uart2: uart2grp {
672		fsl,pins = <
673			MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX	0x140
674			MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX	0x140
675		>;
676	};
677
678	pinctrl_usb1_vbus: usb1grp {
679		fsl,pins = <
680			MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR	0x10
681		>;
682	};
683
684	pinctrl_uart3: uart3grp {
685		fsl,pins = <
686			MX8MP_IOMUXC_ECSPI1_SCLK__UART3_DCE_RX		0x140
687			MX8MP_IOMUXC_ECSPI1_MOSI__UART3_DCE_TX		0x140
688			MX8MP_IOMUXC_ECSPI1_SS0__UART3_DCE_RTS		0x140
689			MX8MP_IOMUXC_ECSPI1_MISO__UART3_DCE_CTS		0x140
690		>;
691	};
692
693	pinctrl_usdhc2: usdhc2grp {
694		fsl,pins = <
695			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK	0x190
696			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD	0x1d0
697			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d0
698			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d0
699			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d0
700			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d0
701			MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc0
702		>;
703	};
704
705	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
706		fsl,pins = <
707			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK	0x194
708			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD	0x1d4
709			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d4
710			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d4
711			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d4
712			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d4
713			MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0
714		>;
715	};
716
717	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
718		fsl,pins = <
719			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK	0x196
720			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD	0x1d6
721			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d6
722			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d6
723			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d6
724			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d6
725			MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0
726		>;
727	};
728
729	pinctrl_usdhc2_gpio: usdhc2gpiogrp {
730		fsl,pins = <
731			MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12	0x1c4
732		>;
733	};
734
735	pinctrl_usdhc3: usdhc3grp {
736		fsl,pins = <
737			MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK	0x190
738			MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD	0x1d0
739			MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0	0x1d0
740			MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1	0x1d0
741			MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2	0x1d0
742			MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3	0x1d0
743			MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4	0x1d0
744			MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5	0x1d0
745			MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6	0x1d0
746			MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7	0x1d0
747			MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE	0x190
748		>;
749	};
750
751	pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
752		fsl,pins = <
753			MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK	0x194
754			MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD	0x1d4
755			MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0	0x1d4
756			MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1	0x1d4
757			MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2	0x1d4
758			MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3	0x1d4
759			MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4	0x1d4
760			MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5	0x1d4
761			MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6	0x1d4
762			MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7	0x1d4
763			MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE	0x194
764		>;
765	};
766
767	pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
768		fsl,pins = <
769			MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK	0x196
770			MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD	0x1d6
771			MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0	0x1d6
772			MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1	0x1d6
773			MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2	0x1d6
774			MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3	0x1d6
775			MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4	0x1d6
776			MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5	0x1d6
777			MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6	0x1d6
778			MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7	0x1d6
779			MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE	0x196
780		>;
781	};
782
783	pinctrl_wdog: wdoggrp {
784		fsl,pins = <
785			MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B	0x166
786		>;
787	};
788};
789