blob: ea2a567447a2af592ec431ff6bf56b54cddff744 [file] [log] [blame]
Marcel Ziswilercdfde792022-11-07 22:22:39 +01001// SPDX-License-Identifier: GPL-2.0
Marek Vasutf670cd72022-05-21 16:56:26 +02002/*
3 * Copyright (C) 2021-2022 Marek Vasut <marex@denx.de>
4 */
5
6#include "imx8mp.dtsi"
7
8/ {
9 model = "DH electronics i.MX8M Plus DHCOM SoM";
10 compatible = "dh,imx8mp-dhcom-som", "fsl,imx8mp";
11
12 aliases {
13 ethernet0 = &eqos;
14 ethernet1 = &fec;
15 rtc0 = &rv3032;
16 rtc1 = &snvs_rtc;
17 spi0 = &flexspi;
18 };
19
20 memory@40000000 {
21 device_type = "memory";
22 /* Memory size 512 MiB..8 GiB will be filled by U-Boot */
23 reg = <0x0 0x40000000 0 0x08000000>;
24 };
25
26 reg_eth_vio: regulator-eth-vio {
27 compatible = "regulator-fixed";
Marek Vasut792cb562023-09-21 20:44:18 +020028 gpio = <&ioexp 2 GPIO_ACTIVE_LOW>;
Marek Vasutf670cd72022-05-21 16:56:26 +020029 regulator-always-on;
30 regulator-boot-on;
31 regulator-min-microvolt = <3300000>;
32 regulator-max-microvolt = <3300000>;
33 regulator-name = "eth_vio";
34 vin-supply = <&buck4>;
35 };
36
37 reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
38 compatible = "regulator-fixed";
39 enable-active-high;
40 gpio = <&gpio2 19 0>; /* SD2_RESET */
41 off-on-delay-us = <12000>;
42 pinctrl-names = "default";
43 pinctrl-0 = <&pinctrl_usdhc2_vmmc>;
44 regulator-max-microvolt = <3300000>;
45 regulator-min-microvolt = <3300000>;
46 regulator-name = "VDD_3V3_SD";
47 startup-delay-us = <100>;
48 vin-supply = <&buck4>;
49 };
Marek Vasut792cb562023-09-21 20:44:18 +020050
51 reg_vdd_3p3v_awo: regulator-vdd-3p3v-awo { /* VDD_3V3_AWO */
52 compatible = "regulator-fixed";
53 regulator-always-on;
54 regulator-min-microvolt = <3300000>;
55 regulator-max-microvolt = <3300000>;
56 regulator-name = "VDD_3P3V_AWO";
57 };
Marek Vasutf670cd72022-05-21 16:56:26 +020058};
59
60&A53_0 {
61 cpu-supply = <&buck2>;
62};
63
64&A53_1 {
65 cpu-supply = <&buck2>;
66};
67
68&A53_2 {
69 cpu-supply = <&buck2>;
70};
71
72&A53_3 {
73 cpu-supply = <&buck2>;
74};
75
76&ecspi1 {
77 pinctrl-names = "default";
78 pinctrl-0 = <&pinctrl_ecspi1>;
Marek Vasuteee69bd2022-08-12 22:41:54 +020079 cs-gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
Marek Vasutf670cd72022-05-21 16:56:26 +020080 status = "disabled";
81};
82
83&ecspi2 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_ecspi2>;
86 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
87 status = "disabled";
88};
89
90&eqos { /* First ethernet */
91 pinctrl-names = "default";
Marek Vasuta6b00672023-02-11 23:37:59 +010092 pinctrl-0 = <&pinctrl_eqos_rgmii>;
Marek Vasutf670cd72022-05-21 16:56:26 +020093 phy-handle = <&ethphy0g>;
94 phy-mode = "rgmii-id";
95 status = "okay";
96
97 mdio {
98 compatible = "snps,dwmac-mdio";
99 #address-cells = <1>;
100 #size-cells = <0>;
101
102 /* Up to one of these two PHYs may be populated. */
Marek Vasut5a932cd2023-02-11 23:37:58 +0100103 ethphy0f: ethernet-phy@0 { /* SMSC LAN8740Ai */
Marek Vasutf670cd72022-05-21 16:56:26 +0200104 compatible = "ethernet-phy-id0007.c110",
105 "ethernet-phy-ieee802.3-c22";
106 interrupt-parent = <&gpio3>;
107 interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
108 pinctrl-0 = <&pinctrl_ethphy0>;
109 pinctrl-names = "default";
Marek Vasut5a932cd2023-02-11 23:37:58 +0100110 reg = <0>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200111 reset-assert-us = <1000>;
112 reset-deassert-us = <1000>;
Marek Vasut792cb562023-09-21 20:44:18 +0200113 reset-gpios = <&ioexp 4 GPIO_ACTIVE_LOW>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200114 /* Non-default PHY population option. */
115 status = "disabled";
116 };
117
118 ethphy0g: ethernet-phy@5 { /* Micrel KSZ9131RNXI */
119 compatible = "ethernet-phy-id0022.1642",
120 "ethernet-phy-ieee802.3-c22";
121 interrupt-parent = <&gpio3>;
122 interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
123 micrel,led-mode = <0>;
124 pinctrl-0 = <&pinctrl_ethphy0>;
125 pinctrl-names = "default";
126 reg = <5>;
127 reset-assert-us = <1000>;
128 reset-deassert-us = <1000>;
Marek Vasut792cb562023-09-21 20:44:18 +0200129 reset-gpios = <&ioexp 4 GPIO_ACTIVE_LOW>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200130 /* Default PHY population option. */
131 status = "okay";
132 };
133 };
134};
135
136&fec { /* Second ethernet */
137 pinctrl-names = "default";
Marek Vasutddec64a2023-02-11 23:38:00 +0100138 pinctrl-0 = <&pinctrl_fec_rmii>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200139 phy-handle = <&ethphy1f>;
Marek Vasutddec64a2023-02-11 23:38:00 +0100140 phy-mode = "rmii";
Marek Vasutf670cd72022-05-21 16:56:26 +0200141 fsl,magic-packet;
142 status = "okay";
143
144 mdio {
145 #address-cells = <1>;
146 #size-cells = <0>;
147
148 /* Up to one PHY may be populated. */
149 ethphy1f: ethernet-phy@1 { /* SMSC LAN8740Ai */
150 compatible = "ethernet-phy-id0007.c110",
151 "ethernet-phy-ieee802.3-c22";
152 interrupt-parent = <&gpio4>;
153 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
154 pinctrl-0 = <&pinctrl_ethphy1>;
155 pinctrl-names = "default";
156 reg = <1>;
157 reset-assert-us = <1000>;
158 reset-deassert-us = <1000>;
159 reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
160 /* Non-default PHY population option. */
161 status = "disabled";
162 };
163 };
164};
165
166&flexcan1 {
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_flexcan1>;
169 status = "disabled";
170};
171
172&flexcan2 {
173 pinctrl-names = "default";
174 pinctrl-0 = <&pinctrl_flexcan2>;
175 status = "disabled";
176};
177
178&flexspi {
179 pinctrl-names = "default";
180 pinctrl-0 = <&pinctrl_flexspi>;
181 status = "okay";
182
183 flash@0 { /* W25Q128JWPIM */
184 compatible = "jedec,spi-nor";
185 reg = <0>;
186 spi-max-frequency = <80000000>;
187 spi-tx-bus-width = <4>;
188 spi-rx-bus-width = <4>;
189 };
190};
191
192&gpio1 {
193 gpio-line-names =
194 "DHCOM-G", "", "", "", "", "DHCOM-I", "DHCOM-J", "DHCOM-L",
195 "DHCOM-B", "DHCOM-A", "", "DHCOM-H", "", "", "", "",
196 "", "", "", "", "", "", "", "",
197 "", "", "", "", "", "", "", "";
198};
199
200&gpio2 {
201 gpio-line-names =
202 "", "", "", "", "", "", "", "",
203 "", "", "", "DHCOM-K", "", "", "", "",
204 "", "", "", "", "DHCOM-INT", "", "", "",
205 "", "", "", "", "", "", "", "";
206};
207
208&gpio3 {
209 gpio-line-names =
210 "", "", "", "", "", "", "", "",
211 "", "", "", "", "", "", "SOM-HW0", "",
212 "", "", "", "", "", "", "SOM-MEM0", "SOM-MEM1",
213 "SOM-MEM2", "SOM-HW2", "", "", "", "", "", "";
214};
215
216&gpio4 {
217 gpio-line-names =
218 "", "", "", "", "", "", "", "",
219 "", "", "", "", "", "", "", "",
220 "", "", "", "SOM-HW1", "", "", "", "",
221 "", "", "", "DHCOM-D", "", "", "", "";
222};
223
224&gpio5 {
225 gpio-line-names =
226 "", "", "DHCOM-C", "", "", "", "", "",
227 "", "", "", "", "", "", "", "",
228 "", "", "", "", "", "", "DHCOM-E", "DHCOM-F",
229 "", "", "", "", "", "", "", "";
230};
231
232&i2c3 {
Marek Vasutf670cd72022-05-21 16:56:26 +0200233 clock-frequency = <100000>;
234 pinctrl-names = "default", "gpio";
235 pinctrl-0 = <&pinctrl_i2c3>;
236 pinctrl-1 = <&pinctrl_i2c3_gpio>;
237 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
238 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
239 status = "okay";
240
241 pmic: pmic@25 {
242 compatible = "nxp,pca9450c";
243 reg = <0x25>;
244 pinctrl-names = "default";
245 pinctrl-0 = <&pinctrl_pmic>;
246 interrupt-parent = <&gpio1>;
247 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
248 sd-vsel-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
249
250 /*
251 * i.MX 8M Plus Data Sheet for Consumer Products
252 * 3.1.4 Operating ranges
253 * MIMX8ML8CVNKZAB
254 */
255 regulators {
256 buck1: BUCK1 { /* VDD_SOC (dual-phase with BUCK3) */
257 regulator-compatible = "BUCK1";
258 regulator-min-microvolt = <850000>;
259 regulator-max-microvolt = <1000000>;
260 regulator-ramp-delay = <3125>;
261 regulator-always-on;
262 regulator-boot-on;
263 };
264
265 buck2: BUCK2 { /* VDD_ARM */
266 regulator-compatible = "BUCK2";
267 regulator-min-microvolt = <850000>;
268 regulator-max-microvolt = <1000000>;
269 regulator-ramp-delay = <3125>;
270 regulator-always-on;
271 regulator-boot-on;
272 };
273
274 buck4: BUCK4 { /* VDD_3V3 */
275 regulator-compatible = "BUCK4";
276 regulator-min-microvolt = <3300000>;
277 regulator-max-microvolt = <3300000>;
278 regulator-always-on;
279 regulator-boot-on;
280 };
281
282 buck5: BUCK5 { /* VDD_1V8 */
283 regulator-compatible = "BUCK5";
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
286 regulator-always-on;
287 regulator-boot-on;
288 };
289
290 buck6: BUCK6 { /* NVCC_DRAM_1V1 */
291 regulator-compatible = "BUCK6";
292 regulator-min-microvolt = <1100000>;
293 regulator-max-microvolt = <1100000>;
294 regulator-always-on;
295 regulator-boot-on;
296 };
297
298 ldo1: LDO1 { /* NVCC_SNVS_1V8 */
299 regulator-compatible = "LDO1";
300 regulator-min-microvolt = <1800000>;
301 regulator-max-microvolt = <1800000>;
302 regulator-always-on;
303 regulator-boot-on;
304 };
305
306 ldo3: LDO3 { /* VDDA_1V8 */
307 regulator-compatible = "LDO3";
308 regulator-min-microvolt = <1800000>;
309 regulator-max-microvolt = <1800000>;
310 regulator-always-on;
311 regulator-boot-on;
312 };
313
314 ldo4: LDO4 { /* PMIC_LDO4 */
315 regulator-compatible = "LDO4";
316 regulator-min-microvolt = <3300000>;
317 regulator-max-microvolt = <3300000>;
318 };
319
320 ldo5: LDO5 { /* NVCC_SD2 */
321 regulator-compatible = "LDO5";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <3300000>;
324 };
325 };
326 };
327
328 adc@48 {
Marek Vasut792cb562023-09-21 20:44:18 +0200329 compatible = "ti,ads1015";
Marek Vasutf670cd72022-05-21 16:56:26 +0200330 reg = <0x48>;
Marek Vasut792cb562023-09-21 20:44:18 +0200331 interrupts-extended = <&ioexp 7 IRQ_TYPE_EDGE_FALLING>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200332 #address-cells = <1>;
333 #size-cells = <0>;
334
335 channel@0 { /* Voltage over AIN0 and AIN1. */
336 reg = <0>;
337 };
338
339 channel@1 { /* Voltage over AIN0 and AIN3. */
340 reg = <1>;
341 };
342
343 channel@2 { /* Voltage over AIN1 and AIN3. */
344 reg = <2>;
345 };
346
347 channel@3 { /* Voltage over AIN2 and AIN3. */
348 reg = <3>;
349 };
350
351 channel@4 { /* Voltage over AIN0 and GND. */
352 reg = <4>;
353 };
354
355 channel@5 { /* Voltage over AIN1 and GND. */
356 reg = <5>;
357 };
358
359 channel@6 { /* Voltage over AIN2 and GND. */
360 reg = <6>;
361 };
362
363 channel@7 { /* Voltage over AIN3 and GND. */
364 reg = <7>;
365 };
366 };
367
368 touchscreen@49 {
369 compatible = "ti,tsc2004";
370 reg = <0x49>;
371 interrupts-extended = <&gpio4 0 IRQ_TYPE_EDGE_FALLING>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&pinctrl_touch>;
374 vio-supply = <&buck4>;
375 };
376
377 eeprom0: eeprom@50 { /* EEPROM with EQoS MAC address */
Marek Vasut792cb562023-09-21 20:44:18 +0200378 compatible = "atmel,24c32"; /* M24C32-D */
379 pagesize = <32>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200380 reg = <0x50>;
381 };
382
383 rv3032: rtc@51 {
384 compatible = "microcrystal,rv3032";
385 reg = <0x51>;
Marek Vasut792cb562023-09-21 20:44:18 +0200386 interrupts-extended = <&ioexp 3 IRQ_TYPE_EDGE_FALLING>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200387 };
388
389 eeprom1: eeprom@53 { /* EEPROM with FEC MAC address */
Marek Vasut792cb562023-09-21 20:44:18 +0200390 compatible = "atmel,24c32"; /* M24C32-D */
391 pagesize = <32>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200392 reg = <0x53>;
393 };
Marek Vasut792cb562023-09-21 20:44:18 +0200394
395 ioexp: gpio@74 {
396 compatible = "nxp,pca9539";
397 reg = <0x74>;
398 gpio-controller;
399 #gpio-cells = <2>;
400 interrupts-extended = <&gpio3 20 IRQ_TYPE_LEVEL_LOW>;
401 interrupt-controller;
402 #interrupt-cells = <2>;
403 pinctrl-names = "default";
404 pinctrl-0 = <&pinctrl_ioexp>;
405
406 gpio-line-names =
407 "BT_REG_EN", "WL_REG_EN", "VIO_SWITCHED_#EN", "RTC_#INT",
408 "ENET_QOS_#RST", "RGB_OSZ_ENABLE", "USB1_ID", "ADC_ALTER_RDY",
409 "DHCOM-W", "DHCOM-V", "DHCOM-U", "DHCOM-T",
410 "BT_HOST_WAKE", "BT_DEV_WAKE", "", "";
411 };
Marek Vasutf670cd72022-05-21 16:56:26 +0200412};
413
414&i2c4 {
Marek Vasutf670cd72022-05-21 16:56:26 +0200415 clock-frequency = <100000>;
416 pinctrl-names = "default", "gpio";
417 pinctrl-0 = <&pinctrl_i2c4>;
418 pinctrl-1 = <&pinctrl_i2c4_gpio>;
419 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
420 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
421 status = "okay";
422};
423
424&i2c5 { /* HDMI EDID bus */
Marek Vasutf670cd72022-05-21 16:56:26 +0200425 clock-frequency = <100000>;
426 pinctrl-names = "default", "gpio";
427 pinctrl-0 = <&pinctrl_i2c5>;
428 pinctrl-1 = <&pinctrl_i2c5_gpio>;
Marek Vasutcd7b1a82022-08-12 22:41:55 +0200429 scl-gpios = <&gpio3 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
430 sda-gpios = <&gpio3 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200431 status = "okay";
432};
433
434&pwm1 {
435 pinctrl-0 = <&pinctrl_pwm1>;
436 pinctrl-names = "default";
437 status = "disabled";
438};
439
440&uart1 {
441 /* CA53 console */
442 pinctrl-names = "default";
443 pinctrl-0 = <&pinctrl_uart1>;
444 status = "okay";
445};
446
447&uart2 {
448 /* Bluetooth */
449 pinctrl-names = "default";
450 pinctrl-0 = <&pinctrl_uart2>;
451 uart-has-rtscts;
452 status = "okay";
Marek Vasut792cb562023-09-21 20:44:18 +0200453
454 /*
455 * PLL1 at 80 MHz supplies UART2 root with 80 MHz clock,
456 * which with 16x oversampling yields 5 Mbdps baud base,
457 * which can be well divided by 5/4 to achieve 4 Mbdps,
458 * which is exactly the maximum rate supported by muRata
459 * 2AE bluetooth UART.
460 */
461 assigned-clocks = <&clk IMX8MP_CLK_UART2>;
462 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
463 assigned-clock-rates = <80000000>;
464
465 bluetooth {
466 compatible = "cypress,cyw4373a0-bt";
467 shutdown-gpios = <&ioexp 0 GPIO_ACTIVE_HIGH>;
468 max-speed = <4000000>;
469 };
Marek Vasutf670cd72022-05-21 16:56:26 +0200470};
471
472&uart3 {
473 pinctrl-names = "default";
474 pinctrl-0 = <&pinctrl_uart3>;
475 uart-has-rtscts;
476 status = "okay";
477};
478
479&uart4 {
480 pinctrl-names = "default";
481 pinctrl-0 = <&pinctrl_uart4>;
482 status = "okay";
483};
484
485&usb3_phy0 {
486 status = "okay";
487};
488
489&usb3_0 {
490 status = "okay";
491};
492
493&usb_dwc3_0 {
Marek Vasutf670cd72022-05-21 16:56:26 +0200494 dr_mode = "otg";
495 status = "okay";
496};
497
498&usb3_phy1 {
499 status = "okay";
500};
501
502&usb3_1 {
503 status = "okay";
504};
505
506&usb_dwc3_1 {
507 pinctrl-names = "default";
508 pinctrl-0 = <&pinctrl_usb1_vbus>;
509 dr_mode = "host";
510 status = "okay";
511};
512
513/* SDIO WiFi */
514&usdhc1 {
515 pinctrl-names = "default", "state_100mhz", "state_200mhz";
516 pinctrl-0 = <&pinctrl_usdhc1>;
517 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
518 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
519 vmmc-supply = <&buck4>;
520 bus-width = <4>;
521 non-removable;
522 cap-power-off-card;
523 keep-power-in-suspend;
524 status = "okay";
525
526 #address-cells = <1>;
527 #size-cells = <0>;
528
529 brcmf: bcrmf@1 { /* muRata 2AE */
530 reg = <1>;
531 compatible = "cypress,cyw4373-fmac", "brcm,bcm4329-fmac";
532 /*
533 * The "host-wake" interrupt output is by default not
534 * connected to the SoC, but can be connected on to
535 * SoC pin on the carrier board.
536 */
Marek Vasut792cb562023-09-21 20:44:18 +0200537 reset-gpios = <&ioexp 1 GPIO_ACTIVE_LOW>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200538 };
539};
540
541/* SD slot */
542&usdhc2 {
543 pinctrl-names = "default", "state_100mhz", "state_200mhz";
544 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
545 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
546 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
547 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
548 vmmc-supply = <&reg_usdhc2_vmmc>;
549 bus-width = <4>;
550 status = "okay";
551};
552
553/* eMMC */
554&usdhc3 {
555 pinctrl-names = "default", "state_100mhz", "state_200mhz";
556 pinctrl-0 = <&pinctrl_usdhc3>;
557 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
558 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
559 vmmc-supply = <&buck4>;
560 vqmmc-supply = <&buck5>;
561 bus-width = <8>;
562 non-removable;
563 status = "okay";
564};
565
566&wdog1 {
567 pinctrl-names = "default";
568 pinctrl-0 = <&pinctrl_wdog>;
569 fsl,ext-reset-output;
570 status = "okay";
571};
572
573&iomuxc {
574 pinctrl-0 = <&pinctrl_hog_base
575 &pinctrl_dhcom_a &pinctrl_dhcom_b &pinctrl_dhcom_c
576 &pinctrl_dhcom_d &pinctrl_dhcom_e &pinctrl_dhcom_f
577 &pinctrl_dhcom_g &pinctrl_dhcom_h &pinctrl_dhcom_i
578 &pinctrl_dhcom_j &pinctrl_dhcom_k &pinctrl_dhcom_l
Marek Vasut792cb562023-09-21 20:44:18 +0200579 &pinctrl_dhcom_m &pinctrl_dhcom_n &pinctrl_dhcom_o
580 &pinctrl_dhcom_p &pinctrl_dhcom_q &pinctrl_dhcom_r
581 &pinctrl_dhcom_s &pinctrl_dhcom_int>;
Marek Vasutf670cd72022-05-21 16:56:26 +0200582 pinctrl-names = "default";
583
584 pinctrl_dhcom_a: dhcom-a-grp {
585 fsl,pins = <
586 /* ENET_QOS_EVENT0-OUT */
587 MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 0x2
588 >;
589 };
590
591 pinctrl_dhcom_b: dhcom-b-grp {
592 fsl,pins = <
593 /* ENET_QOS_EVENT0-IN */
594 MX8MP_IOMUXC_GPIO1_IO08__GPIO1_IO08 0x2
595 >;
596 };
597
598 pinctrl_dhcom_c: dhcom-c-grp {
599 fsl,pins = <
600 /* GPIO_C */
601 MX8MP_IOMUXC_SAI3_MCLK__GPIO5_IO02 0x2
602 >;
603 };
604
605 pinctrl_dhcom_d: dhcom-d-grp {
606 fsl,pins = <
607 /* GPIO_D */
608 MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x2
609 >;
610 };
611
612 pinctrl_dhcom_e: dhcom-e-grp {
613 fsl,pins = <
614 /* GPIO_E */
615 MX8MP_IOMUXC_UART1_RXD__GPIO5_IO22 0x2
616 >;
617 };
618
619 pinctrl_dhcom_f: dhcom-f-grp {
620 fsl,pins = <
621 /* GPIO_F */
622 MX8MP_IOMUXC_UART1_TXD__GPIO5_IO23 0x2
623 >;
624 };
625
626 pinctrl_dhcom_g: dhcom-g-grp {
627 fsl,pins = <
628 /* GPIO_G */
629 MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x2
630 >;
631 };
632
633 pinctrl_dhcom_h: dhcom-h-grp {
634 fsl,pins = <
635 /* GPIO_H */
636 MX8MP_IOMUXC_GPIO1_IO11__GPIO1_IO11 0x2
637 >;
638 };
639
640 pinctrl_dhcom_i: dhcom-i-grp {
641 fsl,pins = <
642 /* CSI1_SYNC */
643 MX8MP_IOMUXC_GPIO1_IO05__GPIO1_IO05 0x2
644 >;
645 };
646
647 pinctrl_dhcom_j: dhcom-j-grp {
648 fsl,pins = <
649 /* CSIx_#RST */
650 MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x2
651 >;
652 };
653
654 pinctrl_dhcom_k: dhcom-k-grp {
655 fsl,pins = <
656 /* CSIx_PWDN */
657 MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x2
658 >;
659 };
660
661 pinctrl_dhcom_l: dhcom-l-grp {
662 fsl,pins = <
663 /* CSI2_SYNC */
664 MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x2
665 >;
666 };
667
Marek Vasut792cb562023-09-21 20:44:18 +0200668 pinctrl_dhcom_m: dhcom-m-grp {
669 fsl,pins = <
670 /* CSIx_MCLK */
671 MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x2
672 >;
673 };
674
675 pinctrl_dhcom_n: dhcom-n-grp {
676 fsl,pins = <
677 /* CSI2_D3- */
678 MX8MP_IOMUXC_SD1_DATA7__GPIO2_IO09 0x2
679 >;
680 };
681
682 pinctrl_dhcom_o: dhcom-o-grp {
683 fsl,pins = <
684 /* CSI2_D3+ */
685 MX8MP_IOMUXC_SD1_DATA6__GPIO2_IO08 0x2
686 >;
687 };
688
689 pinctrl_dhcom_p: dhcom-p-grp {
690 fsl,pins = <
691 /* CSI2_D2- */
692 MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10 0x2
693 >;
694 };
695
696 pinctrl_dhcom_q: dhcom-q-grp {
697 fsl,pins = <
698 /* CSI2_D2+ */
699 MX8MP_IOMUXC_GPIO1_IO13__GPIO1_IO13 0x2
700 >;
701 };
702
703 pinctrl_dhcom_r: dhcom-r-grp {
704 fsl,pins = <
705 /* CSI2_D1- */
706 MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x2
707 >;
708 };
709
710 pinctrl_dhcom_s: dhcom-s-grp {
711 fsl,pins = <
712 /* CSI2_D1+ */
713 MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x2
714 >;
715 };
716
Marek Vasutf670cd72022-05-21 16:56:26 +0200717 pinctrl_dhcom_int: dhcom-int-grp {
718 fsl,pins = <
719 /* INT_HIGHEST_PRIO */
720 MX8MP_IOMUXC_SD2_WP__GPIO2_IO20 0x2
721 >;
722 };
723
724 pinctrl_hog_base: dhcom-hog-base-grp {
725 fsl,pins = <
726 /* GPIOs for memory coding */
727 MX8MP_IOMUXC_SAI5_RXD1__GPIO3_IO22 0x40000080
728 MX8MP_IOMUXC_SAI5_RXD2__GPIO3_IO23 0x40000080
729 MX8MP_IOMUXC_SAI5_RXD3__GPIO3_IO24 0x40000080
730 /* GPIOs for hardware coding */
731 MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0x40000080
732 MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x40000080
733 MX8MP_IOMUXC_SAI5_MCLK__GPIO3_IO25 0x40000080
734 >;
735 };
736
737 pinctrl_ecspi1: dhcom-ecspi1-grp {
738 fsl,pins = <
Marek Vasuteee69bd2022-08-12 22:41:54 +0200739 MX8MP_IOMUXC_I2C1_SCL__ECSPI1_SCLK 0x44
740 MX8MP_IOMUXC_I2C1_SDA__ECSPI1_MOSI 0x44
741 MX8MP_IOMUXC_I2C2_SCL__ECSPI1_MISO 0x44
742 MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x40
Marek Vasutf670cd72022-05-21 16:56:26 +0200743 >;
744 };
745
746 pinctrl_ecspi2: dhcom-ecspi2-grp {
747 fsl,pins = <
748 MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x44
749 MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x44
750 MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x44
751 MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x40
752 >;
753 };
754
Marek Vasuta6b00672023-02-11 23:37:59 +0100755 pinctrl_eqos_rgmii: dhcom-eqos-rgmii-grp { /* RGMII */
Marek Vasutf670cd72022-05-21 16:56:26 +0200756 fsl,pins = <
757 MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3
758 MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3
759 MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f
760 MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x1f
761 MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f
762 MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f
763 MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x1f
764 MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x1f
765 MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x91
766 MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91
767 MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91
768 MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91
769 MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x91
770 MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x91
771 >;
772 };
773
Marek Vasuta6b00672023-02-11 23:37:59 +0100774 pinctrl_eqos_rmii: dhcom-eqos-rmii-grp { /* RMII */
775 fsl,pins = <
776 MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3
777 MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3
778 MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f
779 MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f
780 MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f
781 MX8MP_IOMUXC_ENET_RXC__ENET_QOS_RX_ER 0x1f
782 MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91
783 MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91
784 MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91
785 /* Clock */
786 MX8MP_IOMUXC_ENET_TD2__CCM_ENET_QOS_CLOCK_GENERATE_REF_CLK 0x4000001f
787 >;
788 };
789
Marek Vasutf670cd72022-05-21 16:56:26 +0200790 pinctrl_ethphy0: dhcom-ethphy0-grp {
791 fsl,pins = <
Marek Vasut792cb562023-09-21 20:44:18 +0200792 /* ENET_QOS_#INT Interrupt */
Marek Vasutf670cd72022-05-21 16:56:26 +0200793 MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x22
794 >;
795 };
796
797 pinctrl_ethphy1: dhcom-ethphy1-grp {
798 fsl,pins = <
799 /* ENET1_#RST Reset */
800 MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x11
801 /* ENET1_#INT Interrupt */
802 MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x11
803 >;
804 };
805
Marek Vasutddec64a2023-02-11 23:38:00 +0100806 pinctrl_fec_rgmii: dhcom-fec-rgmii-grp { /* RGMII */
Marek Vasutf670cd72022-05-21 16:56:26 +0200807 fsl,pins = <
808 MX8MP_IOMUXC_SAI1_MCLK__ENET1_TX_CLK 0x1f
809 MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x3
810 MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x3
811 MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x91
812 MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x91
813 MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x91
814 MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x91
815 MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x91
816 MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x91
817 MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x1f
818 MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x1f
819 MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x1f
820 MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x1f
821 MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x1f
822 MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x1f
823 MX8MP_IOMUXC_SAI1_TXD6__ENET1_RX_ER 0x1f
824 >;
825 };
826
Marek Vasutddec64a2023-02-11 23:38:00 +0100827 pinctrl_fec_rmii: dhcom-fec-rmii-grp { /* RMII */
828 fsl,pins = <
829 MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x3
830 MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x3
831 MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x91
832 MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x91
833 MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x91
834 MX8MP_IOMUXC_SAI1_TXD6__ENET1_RX_ER 0x91
835 MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x1f
836 MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x1f
837 MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x1f
838 /* Clock */
839 MX8MP_IOMUXC_SAI1_MCLK__ENET1_TX_CLK 0x4000001f
840 >;
841 };
842
Marek Vasutf670cd72022-05-21 16:56:26 +0200843 pinctrl_flexcan1: dhcom-flexcan1-grp {
844 fsl,pins = <
845 MX8MP_IOMUXC_SPDIF_RX__CAN1_RX 0x154
846 MX8MP_IOMUXC_SPDIF_TX__CAN1_TX 0x154
847 >;
848 };
849
850 pinctrl_flexcan2: dhcom-flexcan2-grp {
851 fsl,pins = <
852 MX8MP_IOMUXC_UART3_RXD__CAN2_TX 0x154
853 MX8MP_IOMUXC_UART3_TXD__CAN2_RX 0x154
854 >;
855 };
856
857 pinctrl_flexspi: dhcom-flexspi-grp {
858 fsl,pins = <
859 MX8MP_IOMUXC_NAND_ALE__FLEXSPI_A_SCLK 0x1c2
860 MX8MP_IOMUXC_NAND_CE0_B__FLEXSPI_A_SS0_B 0x82
861 MX8MP_IOMUXC_NAND_DATA00__FLEXSPI_A_DATA00 0x82
862 MX8MP_IOMUXC_NAND_DATA01__FLEXSPI_A_DATA01 0x82
863 MX8MP_IOMUXC_NAND_DATA02__FLEXSPI_A_DATA02 0x82
864 MX8MP_IOMUXC_NAND_DATA03__FLEXSPI_A_DATA03 0x82
865 >;
866 };
867
868 pinctrl_hdmi: dhcom-hdmi-grp {
869 fsl,pins = <
870 MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x154
871 MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x154
872 >;
873 };
874
875 pinctrl_i2c3: dhcom-i2c3-grp {
876 fsl,pins = <
877 MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x40000084
878 MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA 0x40000084
879 >;
880 };
881
882 pinctrl_i2c3_gpio: dhcom-i2c3-gpio-grp {
883 fsl,pins = <
884 MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x84
885 MX8MP_IOMUXC_I2C3_SDA__GPIO5_IO19 0x84
886 >;
887 };
888
889 pinctrl_i2c4: dhcom-i2c4-grp {
890 fsl,pins = <
891 MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x40000084
892 MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x40000084
893 >;
894 };
895
896 pinctrl_i2c4_gpio: dhcom-i2c4-gpio-grp {
897 fsl,pins = <
898 MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20 0x84
899 MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x84
900 >;
901 };
902
903 pinctrl_i2c5: dhcom-i2c5-grp {
904 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100905 MX8MP_IOMUXC_HDMI_DDC_SCL__I2C5_SCL 0x40000084
906 MX8MP_IOMUXC_HDMI_DDC_SDA__I2C5_SDA 0x40000084
Marek Vasutf670cd72022-05-21 16:56:26 +0200907 >;
908 };
909
910 pinctrl_i2c5_gpio: dhcom-i2c5-gpio-grp {
911 fsl,pins = <
912 MX8MP_IOMUXC_HDMI_DDC_SCL__GPIO3_IO26 0x84
913 MX8MP_IOMUXC_HDMI_DDC_SDA__GPIO3_IO27 0x84
914 >;
915 };
916
Marek Vasut792cb562023-09-21 20:44:18 +0200917 pinctrl_ioexp: dhcom-ioexp-grp {
918 fsl,pins = <
919 /* #GPIO_EXP_INT */
920 MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x22
921 >;
922 };
923
Marek Vasutf670cd72022-05-21 16:56:26 +0200924 pinctrl_pmic: dhcom-pmic-grp {
925 fsl,pins = <
926 /* PMIC_nINT */
927 MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x40000090
928 >;
929 };
930
931 pinctrl_pwm1: dhcom-pwm1-grp {
932 fsl,pins = <
933 MX8MP_IOMUXC_GPIO1_IO01__PWM1_OUT 0x6
934 >;
935 };
936
Marek Vasut792cb562023-09-21 20:44:18 +0200937 pinctrl_tc9595: dhcom-tc9595-grp {
Marek Vasutf670cd72022-05-21 16:56:26 +0200938 fsl,pins = <
Marek Vasut792cb562023-09-21 20:44:18 +0200939 /* RESET_DSIBRIDGE */
940 MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x40000146
941 /* DSI-CONV_INT Interrupt */
942 MX8MP_IOMUXC_SAI5_RXD0__GPIO3_IO21 0x141
Marek Vasutf670cd72022-05-21 16:56:26 +0200943 >;
944 };
945
Marek Vasut792cb562023-09-21 20:44:18 +0200946 pinctrl_sai3: dhcom-sai3-grp {
947 fsl,pins = <
948 MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC 0xd6
949 MX8MP_IOMUXC_SAI3_TXC__AUDIOMIX_SAI3_TX_BCLK 0xd6
950 MX8MP_IOMUXC_SAI3_RXD__AUDIOMIX_SAI3_RX_DATA00 0xd6
951 MX8MP_IOMUXC_SAI3_TXD__AUDIOMIX_SAI3_TX_DATA00 0xd6
952 >;
953 };
954
Marek Vasutf670cd72022-05-21 16:56:26 +0200955 pinctrl_touch: dhcom-touch-grp {
956 fsl,pins = <
957 /* #TOUCH_INT */
958 MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00 0x40000080
959 >;
960 };
961
962 pinctrl_uart1: dhcom-uart1-grp {
963 fsl,pins = <
964 /* Console UART */
965 MX8MP_IOMUXC_SAI2_RXC__UART1_DCE_RX 0x49
966 MX8MP_IOMUXC_SAI2_RXFS__UART1_DCE_TX 0x49
967 MX8MP_IOMUXC_SAI2_RXD0__UART1_DCE_RTS 0x49
968 MX8MP_IOMUXC_SAI2_TXFS__UART1_DCE_CTS 0x49
969 >;
970 };
971
972 pinctrl_uart2: dhcom-uart2-grp {
973 fsl,pins = <
974 /* Bluetooth UART */
975 MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x49
976 MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x49
977 MX8MP_IOMUXC_SD1_DATA4__UART2_DCE_RTS 0x49
978 MX8MP_IOMUXC_SD1_DATA5__UART2_DCE_CTS 0x49
979 >;
980 };
981
982 pinctrl_uart3: dhcom-uart3-grp {
983 fsl,pins = <
984 MX8MP_IOMUXC_ECSPI1_SCLK__UART3_DCE_RX 0x49
985 MX8MP_IOMUXC_ECSPI1_MOSI__UART3_DCE_TX 0x49
986 MX8MP_IOMUXC_ECSPI1_SS0__UART3_DCE_RTS 0x49
987 MX8MP_IOMUXC_ECSPI1_MISO__UART3_DCE_CTS 0x49
988 >;
989 };
990
991 pinctrl_uart4: dhcom-uart4-grp {
992 fsl,pins = <
993 MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x49
994 MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x49
995 >;
996 };
997
Marek Vasutf670cd72022-05-21 16:56:26 +0200998 pinctrl_usb1_vbus: dhcom-usb1-grp {
999 fsl,pins = <
1000 MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR 0x6
1001 MX8MP_IOMUXC_GPIO1_IO15__USB2_OTG_OC 0x80
1002 >;
1003 };
1004
1005 pinctrl_usdhc1: dhcom-usdhc1-grp {
1006 fsl,pins = <
1007 MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x190
1008 MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d0
1009 MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d0
1010 MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d0
1011 MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d0
1012 MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d0
Marek Vasutf670cd72022-05-21 16:56:26 +02001013 >;
1014 };
1015
1016 pinctrl_usdhc1_100mhz: dhcom-usdhc1-100mhz-grp {
1017 fsl,pins = <
1018 MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x194
1019 MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d4
1020 MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d4
1021 MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d4
1022 MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d4
1023 MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d4
Marek Vasutf670cd72022-05-21 16:56:26 +02001024 >;
1025 };
1026
1027 pinctrl_usdhc1_200mhz: dhcom-usdhc1-200mhz-grp {
1028 fsl,pins = <
1029 MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x196
1030 MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d6
1031 MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d6
1032 MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d6
1033 MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d6
1034 MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d6
Marek Vasutf670cd72022-05-21 16:56:26 +02001035 >;
1036 };
1037
1038 pinctrl_usdhc2: dhcom-usdhc2-grp {
1039 fsl,pins = <
1040 MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190
1041 MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d0
1042 MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d0
1043 MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d0
1044 MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d0
1045 MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d0
1046 MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1
1047 >;
1048 };
1049
1050 pinctrl_usdhc2_100mhz: dhcom-usdhc2-100mhz-grp {
1051 fsl,pins = <
1052 MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194
1053 MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4
1054 MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4
1055 MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4
1056 MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4
1057 MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4
1058 MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1
1059 >;
1060 };
1061
1062 pinctrl_usdhc2_200mhz: dhcom-usdhc2-200mhz-grp {
1063 fsl,pins = <
1064 MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x196
1065 MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d6
1066 MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d6
1067 MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d6
1068 MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d6
1069 MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d6
1070 MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1
1071 >;
1072 };
1073
1074 pinctrl_usdhc2_vmmc: dhcom-usdhc2-vmmc-grp {
1075 fsl,pins = <
1076 MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x20
1077 >;
1078 };
1079
1080 pinctrl_usdhc2_gpio: dhcom-usdhc2-gpio-grp {
1081 fsl,pins = <
1082 MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x40000080
1083 >;
1084 };
1085
1086 pinctrl_usdhc3: dhcom-usdhc3-grp {
1087 fsl,pins = <
1088 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190
1089 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0
1090 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0
1091 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0
1092 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0
1093 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0
1094 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0
1095 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0
1096 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0
1097 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0
1098 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190
1099 MX8MP_IOMUXC_NAND_READY_B__USDHC3_RESET_B 0x141
1100 >;
1101 };
1102
1103 pinctrl_usdhc3_100mhz: dhcom-usdhc3-100mhz-grp {
1104 fsl,pins = <
1105 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194
1106 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4
1107 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4
1108 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4
1109 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4
1110 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4
1111 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4
1112 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4
1113 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4
1114 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4
1115 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194
1116 MX8MP_IOMUXC_NAND_READY_B__USDHC3_RESET_B 0x141
1117 >;
1118 };
1119
1120 pinctrl_usdhc3_200mhz: dhcom-usdhc3-200mhz-grp {
1121 fsl,pins = <
1122 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196
1123 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6
1124 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d6
1125 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d6
1126 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d6
1127 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d6
1128 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d6
1129 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d6
1130 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d6
1131 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d6
1132 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196
1133 MX8MP_IOMUXC_NAND_READY_B__USDHC3_RESET_B 0x141
1134 >;
1135 };
1136
1137 pinctrl_wdog: dhcom-wdog-grp {
1138 fsl,pins = <
1139 MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B 0xc6
1140 >;
1141 };
1142};