blob: 7eb285315739065ba3f3549760b06f517dad7cee [file] [log] [blame]
Tim Harvey0f5717f2022-04-13 11:31:09 -07001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
Marcel Ziswiler97bd6532022-07-21 15:44:32 +02003 * Copyright 2021 Gateworks Corporation
Tim Harvey0f5717f2022-04-13 11:31:09 -07004 */
5
6/dts-v1/;
7
8#include <dt-bindings/gpio/gpio.h>
9#include <dt-bindings/input/linux-event-codes.h>
10#include <dt-bindings/leds/common.h>
Marcel Ziswilercdfde792022-11-07 22:22:39 +010011#include <dt-bindings/phy/phy-imx8-pcie.h>
Tim Harvey0f5717f2022-04-13 11:31:09 -070012
13#include "imx8mp.dtsi"
14
15/ {
16 model = "Gateworks Venice GW74xx i.MX8MP board";
17 compatible = "gateworks,imx8mp-gw74xx", "fsl,imx8mp";
18
19 aliases {
20 ethernet0 = &eqos;
21 ethernet1 = &fec;
22 ethernet2 = &lan1;
23 ethernet3 = &lan2;
24 ethernet4 = &lan3;
25 ethernet5 = &lan4;
26 ethernet6 = &lan5;
27 };
28
29 chosen {
30 stdout-path = &uart2;
31 };
32
33 memory@40000000 {
34 device_type = "memory";
35 reg = <0x0 0x40000000 0 0x80000000>;
36 };
37
38 gpio-keys {
39 compatible = "gpio-keys";
40
41 key-0 {
42 label = "user_pb";
43 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
44 linux,code = <BTN_0>;
45 };
46
47 key-1 {
48 label = "user_pb1x";
49 linux,code = <BTN_1>;
50 interrupt-parent = <&gsc>;
51 interrupts = <0>;
52 };
53
54 key-2 {
55 label = "key_erased";
56 linux,code = <BTN_2>;
57 interrupt-parent = <&gsc>;
58 interrupts = <1>;
59 };
60
61 key-3 {
62 label = "eeprom_wp";
63 linux,code = <BTN_3>;
64 interrupt-parent = <&gsc>;
65 interrupts = <2>;
66 };
67
68 key-4 {
69 label = "tamper";
70 linux,code = <BTN_4>;
71 interrupt-parent = <&gsc>;
72 interrupts = <5>;
73 };
74
75 key-5 {
76 label = "switch_hold";
77 linux,code = <BTN_5>;
78 interrupt-parent = <&gsc>;
79 interrupts = <7>;
80 };
81 };
82
83 led-controller {
84 compatible = "gpio-leds";
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_gpio_leds>;
87
88 led-0 {
89 function = LED_FUNCTION_HEARTBEAT;
90 color = <LED_COLOR_ID_GREEN>;
91 gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
92 default-state = "on";
93 linux,default-trigger = "heartbeat";
94 };
95
96 led-1 {
97 function = LED_FUNCTION_STATUS;
98 color = <LED_COLOR_ID_RED>;
99 gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
100 default-state = "off";
101 };
102 };
103
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100104 pcie0_refclk: pcie0-refclk {
105 compatible = "fixed-clock";
106 #clock-cells = <0>;
107 clock-frequency = <100000000>;
108 };
109
Tim Harvey0f5717f2022-04-13 11:31:09 -0700110 pps {
111 compatible = "pps-gpio";
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_pps>;
114 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
115 };
116
117 reg_usb2_vbus: regulator-usb2 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_reg_usb2>;
120 compatible = "regulator-fixed";
121 regulator-name = "usb_usb2_vbus";
122 gpio = <&gpio1 6 GPIO_ACTIVE_HIGH>;
123 enable-active-high;
124 regulator-min-microvolt = <5000000>;
125 regulator-max-microvolt = <5000000>;
126 };
127
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700128 reg_can1_stby: regulator-can1-stby {
129 compatible = "regulator-fixed";
130 pinctrl-names = "default";
131 pinctrl-0 = <&pinctrl_reg_can1>;
132 regulator-name = "can1_stby";
133 gpio = <&gpio3 19 GPIO_ACTIVE_LOW>;
134 regulator-min-microvolt = <3300000>;
135 regulator-max-microvolt = <3300000>;
136 };
137
Tim Harvey0f5717f2022-04-13 11:31:09 -0700138 reg_can2_stby: regulator-can2-stby {
139 compatible = "regulator-fixed";
140 pinctrl-names = "default";
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700141 pinctrl-0 = <&pinctrl_reg_can2>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700142 regulator-name = "can2_stby";
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700143 gpio = <&gpio5 5 GPIO_ACTIVE_LOW>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700144 regulator-min-microvolt = <3300000>;
145 regulator-max-microvolt = <3300000>;
146 };
147
148 reg_wifi_en: regulator-wifi-en {
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_reg_wifi>;
151 compatible = "regulator-fixed";
152 regulator-name = "wl";
153 gpio = <&gpio3 9 GPIO_ACTIVE_HIGH>;
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100154 startup-delay-us = <70000>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700155 enable-active-high;
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700158 };
159};
160
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100161&A53_0 {
162 cpu-supply = <&reg_arm>;
163};
164
165&A53_1 {
166 cpu-supply = <&reg_arm>;
167};
168
169&A53_2 {
170 cpu-supply = <&reg_arm>;
171};
172
173&A53_3 {
174 cpu-supply = <&reg_arm>;
175};
176
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700177&ecspi1 {
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_spi1>;
180 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
181 status = "okay";
182
183 tpm@0 {
184 compatible = "tcg,tpm_tis-spi";
185 #address-cells = <0x1>;
186 #size-cells = <0x1>;
187 reg = <0x0>;
188 spi-max-frequency = <36000000>;
189 };
190};
191
Tim Harvey0f5717f2022-04-13 11:31:09 -0700192/* off-board header */
193&ecspi2 {
194 pinctrl-names = "default";
195 pinctrl-0 = <&pinctrl_spi2>;
196 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
197 status = "okay";
198};
199
200&eqos {
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_eqos>;
203 phy-mode = "rgmii-id";
204 phy-handle = <&ethphy0>;
205 status = "okay";
206
207 mdio {
208 compatible = "snps,dwmac-mdio";
209 #address-cells = <1>;
210 #size-cells = <0>;
211
212 ethphy0: ethernet-phy@0 {
213 compatible = "ethernet-phy-ieee802.3-c22";
214 reg = <0x0>;
215 };
216 };
217};
218
219&fec {
220 pinctrl-names = "default";
221 pinctrl-0 = <&pinctrl_fec>;
222 phy-mode = "rgmii-id";
223 local-mac-address = [00 00 00 00 00 00];
224 status = "okay";
225
226 fixed-link {
227 speed = <1000>;
228 full-duplex;
229 };
230};
231
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700232&flexcan1 {
233 pinctrl-names = "default";
234 pinctrl-0 = <&pinctrl_flexcan1>;
235 xceiver-supply = <&reg_can1_stby>;
236 status = "okay";
237};
238
Tim Harvey0f5717f2022-04-13 11:31:09 -0700239&flexcan2 {
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_flexcan2>;
242 xceiver-supply = <&reg_can2_stby>;
243 status = "okay";
244};
245
246&gpio1 {
247 gpio-line-names =
248 "", "", "", "", "", "", "", "",
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700249 "", "dio0", "", "dio1", "", "", "", "",
Tim Harvey0f5717f2022-04-13 11:31:09 -0700250 "", "", "", "", "", "", "", "",
251 "", "", "", "", "", "", "", "";
252};
253
254&gpio2 {
255 gpio-line-names =
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700256 "", "", "", "", "", "", "m2_pin20", "",
257 "", "", "", "", "", "pcie1_wdis#", "pcie3_wdis#", "",
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100258 "", "", "pcie2_wdis#", "", "", "", "", "",
Tim Harvey0f5717f2022-04-13 11:31:09 -0700259 "", "", "", "", "", "", "", "";
260};
261
262&gpio3 {
263 gpio-line-names =
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700264 "", "", "", "", "", "", "m2_rst", "",
Tim Harvey0f5717f2022-04-13 11:31:09 -0700265 "", "", "", "", "", "", "", "",
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700266 "", "", "", "", "", "", "", "",
Tim Harvey0f5717f2022-04-13 11:31:09 -0700267 "", "", "", "", "", "", "", "";
268};
269
270&gpio4 {
271 gpio-line-names =
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700272 "", "", "m2_off#", "", "", "", "", "",
Tim Harvey0f5717f2022-04-13 11:31:09 -0700273 "", "", "", "", "", "", "", "",
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700274 "", "", "m2_wdis#", "", "", "", "", "",
275 "", "", "", "", "", "", "", "rs485_en";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700276};
277
278&gpio5 {
279 gpio-line-names =
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700280 "rs485_hd", "rs485_term", "", "", "", "", "", "",
Tim Harvey0f5717f2022-04-13 11:31:09 -0700281 "", "", "", "", "", "", "", "",
282 "", "", "", "", "", "", "", "",
283 "", "", "", "", "", "", "", "";
284};
285
286&i2c1 {
287 clock-frequency = <100000>;
Tim Harvey1b683fd2022-11-11 08:03:06 -0800288 pinctrl-names = "default", "gpio";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700289 pinctrl-0 = <&pinctrl_i2c1>;
Tim Harvey1b683fd2022-11-11 08:03:06 -0800290 pinctrl-1 = <&pinctrl_i2c1_gpio>;
291 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
292 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700293 status = "okay";
294
295 gsc: gsc@20 {
296 compatible = "gw,gsc";
297 reg = <0x20>;
298 pinctrl-0 = <&pinctrl_gsc>;
299 interrupt-parent = <&gpio4>;
300 interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
301 interrupt-controller;
302 #interrupt-cells = <1>;
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700303 #address-cells = <1>;
304 #size-cells = <0>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700305
306 adc {
307 compatible = "gw,gsc-adc";
308 #address-cells = <1>;
309 #size-cells = <0>;
310
311 channel@6 {
312 gw,mode = <0>;
313 reg = <0x06>;
314 label = "temp";
315 };
316
317 channel@8 {
318 gw,mode = <1>;
319 reg = <0x08>;
320 label = "vdd_bat";
321 };
322
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700323 channel@16 {
324 gw,mode = <4>;
325 reg = <0x16>;
326 label = "fan_tach";
327 };
328
Tim Harvey0f5717f2022-04-13 11:31:09 -0700329 channel@82 {
330 gw,mode = <2>;
331 reg = <0x82>;
332 label = "vdd_adc1";
333 gw,voltage-divider-ohms = <10000 10000>;
334 };
335
336 channel@84 {
337 gw,mode = <2>;
338 reg = <0x84>;
339 label = "vdd_adc2";
340 gw,voltage-divider-ohms = <10000 10000>;
341 };
342
343 channel@86 {
344 gw,mode = <2>;
345 reg = <0x86>;
346 label = "vdd_vin";
347 gw,voltage-divider-ohms = <22100 1000>;
348 };
349
350 channel@88 {
351 gw,mode = <2>;
352 reg = <0x88>;
353 label = "vdd_3p3";
354 gw,voltage-divider-ohms = <10000 10000>;
355 };
356
357 channel@8c {
358 gw,mode = <2>;
359 reg = <0x8c>;
360 label = "vdd_2p5";
361 gw,voltage-divider-ohms = <10000 10000>;
362 };
363
364 channel@90 {
365 gw,mode = <2>;
366 reg = <0x90>;
367 label = "vdd_soc";
368 };
369
370 channel@92 {
371 gw,mode = <2>;
372 reg = <0x92>;
373 label = "vdd_arm";
374 };
375
376 channel@98 {
377 gw,mode = <2>;
378 reg = <0x98>;
379 label = "vdd_1p8";
380 };
381
382 channel@9a {
383 gw,mode = <2>;
384 reg = <0x9a>;
385 label = "vdd_1p2";
386 };
387
388 channel@9c {
389 gw,mode = <2>;
390 reg = <0x9c>;
391 label = "vdd_dram";
392 };
393
394 channel@a2 {
395 gw,mode = <2>;
396 reg = <0xa2>;
397 label = "vdd_gsc";
398 gw,voltage-divider-ohms = <10000 10000>;
399 };
400 };
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700401
402 fan-controller@a {
403 compatible = "gw,gsc-fan";
404 reg = <0x0a>;
405 };
Tim Harvey0f5717f2022-04-13 11:31:09 -0700406 };
407
408 gpio: gpio@23 {
409 compatible = "nxp,pca9555";
410 reg = <0x23>;
411 gpio-controller;
412 #gpio-cells = <2>;
413 interrupt-parent = <&gsc>;
414 interrupts = <4>;
415 };
416
Tim Harvey0f5717f2022-04-13 11:31:09 -0700417 eeprom@50 {
418 compatible = "atmel,24c02";
419 reg = <0x50>;
420 pagesize = <16>;
421 };
422
423 eeprom@51 {
424 compatible = "atmel,24c02";
425 reg = <0x51>;
426 pagesize = <16>;
427 };
428
429 eeprom@52 {
430 compatible = "atmel,24c02";
431 reg = <0x52>;
432 pagesize = <16>;
433 };
434
435 eeprom@53 {
436 compatible = "atmel,24c02";
437 reg = <0x53>;
438 pagesize = <16>;
439 };
440
441 rtc@68 {
442 compatible = "dallas,ds1672";
443 reg = <0x68>;
444 };
445};
446
447&i2c2 {
448 clock-frequency = <400000>;
Tim Harvey1b683fd2022-11-11 08:03:06 -0800449 pinctrl-names = "default", "gpio";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700450 pinctrl-0 = <&pinctrl_i2c2>;
Tim Harvey1b683fd2022-11-11 08:03:06 -0800451 pinctrl-1 = <&pinctrl_i2c2_gpio>;
452 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
453 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700454 status = "okay";
455
456 accelerometer@19 {
457 compatible = "st,lis2de12";
458 pinctrl-names = "default";
459 pinctrl-0 = <&pinctrl_accel>;
460 reg = <0x19>;
461 st,drdy-int-pin = <1>;
462 interrupt-parent = <&gpio1>;
463 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
464 interrupt-names = "INT1";
465 };
466
467 switch: switch@5f {
468 compatible = "microchip,ksz9897";
469 reg = <0x5f>;
470 pinctrl-0 = <&pinctrl_ksz>;
471 interrupt-parent = <&gpio4>;
472 interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
473
474 ports {
475 #address-cells = <1>;
476 #size-cells = <0>;
477
478 lan1: port@0 {
479 reg = <0>;
480 label = "lan1";
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100481 phy-mode = "internal";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700482 local-mac-address = [00 00 00 00 00 00];
Tim Harvey0f5717f2022-04-13 11:31:09 -0700483 };
484
485 lan2: port@1 {
486 reg = <1>;
487 label = "lan2";
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100488 phy-mode = "internal";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700489 local-mac-address = [00 00 00 00 00 00];
Tim Harvey0f5717f2022-04-13 11:31:09 -0700490 };
491
492 lan3: port@2 {
493 reg = <2>;
494 label = "lan3";
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100495 phy-mode = "internal";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700496 local-mac-address = [00 00 00 00 00 00];
Tim Harvey0f5717f2022-04-13 11:31:09 -0700497 };
498
499 lan4: port@3 {
500 reg = <3>;
501 label = "lan4";
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100502 phy-mode = "internal";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700503 local-mac-address = [00 00 00 00 00 00];
Tim Harvey0f5717f2022-04-13 11:31:09 -0700504 };
505
506 lan5: port@4 {
507 reg = <4>;
508 label = "lan5";
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100509 phy-mode = "internal";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700510 local-mac-address = [00 00 00 00 00 00];
Tim Harvey0f5717f2022-04-13 11:31:09 -0700511 };
512
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100513 port@5 {
514 reg = <5>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700515 label = "cpu";
516 ethernet = <&fec>;
517 phy-mode = "rgmii-id";
518
519 fixed-link {
520 speed = <1000>;
521 full-duplex;
522 };
523 };
524 };
Tim Harvey0f5717f2022-04-13 11:31:09 -0700525 };
526};
527
Tim Harvey0f5717f2022-04-13 11:31:09 -0700528&i2c3 {
529 clock-frequency = <400000>;
Tim Harvey1b683fd2022-11-11 08:03:06 -0800530 pinctrl-names = "default", "gpio";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700531 pinctrl-0 = <&pinctrl_i2c3>;
Tim Harvey1b683fd2022-11-11 08:03:06 -0800532 pinctrl-1 = <&pinctrl_i2c3_gpio>;
533 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
534 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700535 status = "okay";
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700536
537 pmic@25 {
538 compatible = "nxp,pca9450c";
539 reg = <0x25>;
540 pinctrl-names = "default";
541 pinctrl-0 = <&pinctrl_pmic>;
542 interrupt-parent = <&gpio3>;
543 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
544
545 regulators {
546 BUCK1 {
547 regulator-name = "BUCK1";
548 regulator-min-microvolt = <720000>;
549 regulator-max-microvolt = <1000000>;
550 regulator-boot-on;
551 regulator-always-on;
552 regulator-ramp-delay = <3125>;
553 };
554
555 reg_arm: BUCK2 {
556 regulator-name = "BUCK2";
557 regulator-min-microvolt = <720000>;
558 regulator-max-microvolt = <1025000>;
559 regulator-boot-on;
560 regulator-always-on;
561 regulator-ramp-delay = <3125>;
562 nxp,dvs-run-voltage = <950000>;
563 nxp,dvs-standby-voltage = <850000>;
564 };
565
566 BUCK4 {
567 regulator-name = "BUCK4";
568 regulator-min-microvolt = <3000000>;
569 regulator-max-microvolt = <3600000>;
570 regulator-boot-on;
571 regulator-always-on;
572 };
573
574 BUCK5 {
575 regulator-name = "BUCK5";
576 regulator-min-microvolt = <1650000>;
577 regulator-max-microvolt = <1950000>;
578 regulator-boot-on;
579 regulator-always-on;
580 };
581
582 BUCK6 {
583 regulator-name = "BUCK6";
584 regulator-min-microvolt = <1045000>;
585 regulator-max-microvolt = <1155000>;
586 regulator-boot-on;
587 regulator-always-on;
588 };
589
590 LDO1 {
591 regulator-name = "LDO1";
592 regulator-min-microvolt = <1650000>;
593 regulator-max-microvolt = <1950000>;
594 regulator-boot-on;
595 regulator-always-on;
596 };
597
598 LDO3 {
599 regulator-name = "LDO3";
600 regulator-min-microvolt = <1710000>;
601 regulator-max-microvolt = <1890000>;
602 regulator-boot-on;
603 regulator-always-on;
604 };
605
606 LDO5 {
607 regulator-name = "LDO5";
608 regulator-min-microvolt = <1800000>;
609 regulator-max-microvolt = <3300000>;
610 regulator-boot-on;
611 regulator-always-on;
612 };
613 };
614 };
Tim Harvey0f5717f2022-04-13 11:31:09 -0700615};
616
617/* off-board header */
618&i2c4 {
619 clock-frequency = <400000>;
Tim Harvey1b683fd2022-11-11 08:03:06 -0800620 pinctrl-names = "default", "gpio";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700621 pinctrl-0 = <&pinctrl_i2c4>;
Tim Harvey1b683fd2022-11-11 08:03:06 -0800622 pinctrl-1 = <&pinctrl_i2c4_gpio>;
623 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
624 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700625 status = "okay";
626};
627
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100628&pcie_phy {
629 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
630 fsl,clkreq-unsupported;
631 clocks = <&pcie0_refclk>;
632 clock-names = "ref";
633 status = "okay";
634};
635
636&pcie {
637 pinctrl-names = "default";
638 pinctrl-0 = <&pinctrl_pcie0>;
639 reset-gpio = <&gpio2 17 GPIO_ACTIVE_LOW>;
640 clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
641 <&clk IMX8MP_CLK_PCIE_ROOT>,
642 <&clk IMX8MP_CLK_HSIO_AXI>;
643 clock-names = "pcie", "pcie_aux", "pcie_bus";
644 assigned-clocks = <&clk IMX8MP_CLK_PCIE_AUX>;
645 assigned-clock-rates = <10000000>;
646 assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_50M>;
647 status = "okay";
648};
649
Tim Harvey0f5717f2022-04-13 11:31:09 -0700650/* GPS / off-board header */
651&uart1 {
652 pinctrl-names = "default";
653 pinctrl-0 = <&pinctrl_uart1>;
654 status = "okay";
655};
656
657/* RS232 console */
658&uart2 {
659 pinctrl-names = "default";
660 pinctrl-0 = <&pinctrl_uart2>;
661 status = "okay";
662};
663
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100664/* bluetooth HCI */
665&uart3 {
666 pinctrl-names = "default";
667 pinctrl-0 = <&pinctrl_uart3>, <&pinctrl_uart3_gpio>;
668 cts-gpios = <&gpio3 21 GPIO_ACTIVE_LOW>;
669 rts-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
670 uart-has-rtscts;
671 status = "okay";
672
673 bluetooth {
674 compatible = "brcm,bcm4330-bt";
675 shutdown-gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
676 };
677};
678
Tim Harvey0f5717f2022-04-13 11:31:09 -0700679&uart4 {
680 pinctrl-names = "default";
681 pinctrl-0 = <&pinctrl_uart4>;
682 status = "okay";
683};
684
685/* USB1 - Type C front panel */
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100686&usb3_0 {
Tim Harvey0f5717f2022-04-13 11:31:09 -0700687 pinctrl-names = "default";
688 pinctrl-0 = <&pinctrl_usb1>;
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100689 fsl,over-current-active-low;
Tim Harvey0f5717f2022-04-13 11:31:09 -0700690 status = "okay";
691};
692
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100693&usb3_phy0 {
Tim Harvey0f5717f2022-04-13 11:31:09 -0700694 status = "okay";
695};
696
697&usb_dwc3_0 {
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100698 /* dual role is implemented but not a full featured OTG */
699 adp-disable;
700 hnp-disable;
701 srp-disable;
702 dr_mode = "otg";
703 usb-role-switch;
704 role-switch-default-mode = "peripheral";
Tim Harvey0f5717f2022-04-13 11:31:09 -0700705 status = "okay";
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100706
707 connector {
708 pinctrl-names = "default";
709 pinctrl-0 = <&pinctrl_usbcon1>;
710 compatible = "gpio-usb-b-connector", "usb-b-connector";
711 type = "micro";
712 label = "Type-C";
713 id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
714 };
Tim Harvey0f5717f2022-04-13 11:31:09 -0700715};
716
717/* USB2 - USB3.0 Hub */
718&usb3_phy1 {
719 vbus-supply = <&reg_usb2_vbus>;
720 status = "okay";
721};
722
723&usb3_1 {
724 fsl,permanently-attached;
725 fsl,disable-port-power-control;
726 status = "okay";
727};
728
729&usb_dwc3_1 {
730 dr_mode = "host";
731 status = "okay";
732};
733
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100734/* SDIO WiFi */
735&usdhc1 {
736 pinctrl-names = "default", "state_100mhz", "state_200mhz";
737 pinctrl-0 = <&pinctrl_usdhc1>;
738 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
739 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
740 bus-width = <4>;
741 non-removable;
742 vmmc-supply = <&reg_wifi_en>;
743 #address-cells = <1>;
744 #size-cells = <0>;
745 status = "okay";
746
747 wifi@0 {
748 compatible = "cypress,cyw4373-fmac";
749 reg = <0>;
750 };
751};
752
Tim Harvey0f5717f2022-04-13 11:31:09 -0700753/* eMMC */
754&usdhc3 {
755 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
756 assigned-clock-rates = <400000000>;
757 pinctrl-names = "default", "state_100mhz", "state_200mhz";
758 pinctrl-0 = <&pinctrl_usdhc3>;
759 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
760 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
761 bus-width = <8>;
762 non-removable;
763 status = "okay";
764};
765
766&wdog1 {
767 pinctrl-names = "default";
768 pinctrl-0 = <&pinctrl_wdog>;
769 fsl,ext-reset-output;
770 status = "okay";
771};
772
773&iomuxc {
774 pinctrl-names = "default";
775 pinctrl-0 = <&pinctrl_hog>;
776
777 pinctrl_hog: hoggrp {
778 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100779 MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 0x40000040 /* DIO0 */
780 MX8MP_IOMUXC_GPIO1_IO11__GPIO1_IO11 0x40000040 /* DIO1 */
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700781 MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x40000040 /* M2SKT_OFF# */
782 MX8MP_IOMUXC_SAI1_TXD6__GPIO4_IO18 0x40000150 /* M2SKT_WDIS# */
783 MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x40000040 /* M2SKT_PIN20 */
784 MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x40000040 /* M2SKT_PIN22 */
785 MX8MP_IOMUXC_SD2_CLK__GPIO2_IO13 0x40000150 /* PCIE1_WDIS# */
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100786 MX8MP_IOMUXC_SD2_CMD__GPIO2_IO14 0x40000150 /* PCIE3_WDIS# */
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700787 MX8MP_IOMUXC_SD2_DATA3__GPIO2_IO18 0x40000150 /* PCIE2_WDIS# */
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100788 MX8MP_IOMUXC_NAND_DATA00__GPIO3_IO06 0x40000040 /* M2SKT_RST# */
Tim Harvey0f5717f2022-04-13 11:31:09 -0700789 MX8MP_IOMUXC_SAI3_TXD__GPIO5_IO01 0x40000104 /* UART_TERM */
790 MX8MP_IOMUXC_SAI3_TXFS__GPIO4_IO31 0x40000104 /* UART_RS485 */
791 MX8MP_IOMUXC_SAI3_TXC__GPIO5_IO00 0x40000104 /* UART_HALF */
792 >;
793 };
794
795 pinctrl_accel: accelgrp {
796 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100797 MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x150
Tim Harvey0f5717f2022-04-13 11:31:09 -0700798 >;
799 };
800
801 pinctrl_eqos: eqosgrp {
802 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100803 MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x2
804 MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x2
805 MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x90
806 MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x90
807 MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x90
808 MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x90
809 MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x90
810 MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x90
811 MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x16
812 MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x16
813 MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x16
814 MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x16
815 MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x16
816 MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x16
817 MX8MP_IOMUXC_SAI3_RXD__GPIO4_IO30 0x140 /* RST# */
818 MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28 0x150 /* IRQ# */
Tim Harvey0f5717f2022-04-13 11:31:09 -0700819 >;
820 };
821
822 pinctrl_fec: fecgrp {
823 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100824 MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x90
825 MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x90
826 MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x90
827 MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x90
828 MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x90
829 MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x90
830 MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x16
831 MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x16
832 MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x16
833 MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x16
834 MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x16
835 MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x16
836 MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN 0x140
837 MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT 0x140
Tim Harvey0f5717f2022-04-13 11:31:09 -0700838 >;
839 };
840
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700841 pinctrl_flexcan1: flexcan1grp {
842 fsl,pins = <
843 MX8MP_IOMUXC_SPDIF_RX__CAN1_RX 0x154
844 MX8MP_IOMUXC_SPDIF_TX__CAN1_TX 0x154
845 >;
846 };
847
Tim Harvey0f5717f2022-04-13 11:31:09 -0700848 pinctrl_flexcan2: flexcan2grp {
849 fsl,pins = <
850 MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x154
851 MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX 0x154
852 >;
853 };
854
855 pinctrl_gsc: gscgrp {
856 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100857 MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x150
Tim Harvey0f5717f2022-04-13 11:31:09 -0700858 >;
859 };
860
861 pinctrl_i2c1: i2c1grp {
862 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100863 MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c2
864 MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c2
Tim Harvey0f5717f2022-04-13 11:31:09 -0700865 >;
866 };
867
Tim Harvey1b683fd2022-11-11 08:03:06 -0800868 pinctrl_i2c1_gpio: i2c1gpiogrp {
869 fsl,pins = <
870 MX8MP_IOMUXC_I2C1_SCL__GPIO5_IO14 0x400001c2
871 MX8MP_IOMUXC_I2C1_SDA__GPIO5_IO15 0x400001c2
872 >;
873 };
874
Tim Harvey0f5717f2022-04-13 11:31:09 -0700875 pinctrl_i2c2: i2c2grp {
876 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100877 MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c2
878 MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c2
Tim Harvey0f5717f2022-04-13 11:31:09 -0700879 >;
880 };
881
Tim Harvey1b683fd2022-11-11 08:03:06 -0800882 pinctrl_i2c2_gpio: i2c2gpiogrp {
883 fsl,pins = <
884 MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16 0x400001c3
885 MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x400001c3
886 >;
887 };
888
Tim Harvey0f5717f2022-04-13 11:31:09 -0700889 pinctrl_i2c3: i2c3grp {
890 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100891 MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c2
892 MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA 0x400001c2
Tim Harvey0f5717f2022-04-13 11:31:09 -0700893 >;
894 };
895
Tim Harvey1b683fd2022-11-11 08:03:06 -0800896 pinctrl_i2c3_gpio: i2c3gpiogrp {
897 fsl,pins = <
898 MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x400001c3
899 MX8MP_IOMUXC_I2C3_SDA__GPIO5_IO19 0x400001c3
900 >;
901 };
902
Tim Harvey0f5717f2022-04-13 11:31:09 -0700903 pinctrl_i2c4: i2c4grp {
904 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100905 MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x400001c2
906 MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x400001c2
Tim Harvey0f5717f2022-04-13 11:31:09 -0700907 >;
908 };
909
Tim Harvey1b683fd2022-11-11 08:03:06 -0800910 pinctrl_i2c4_gpio: i2c4gpiogrp {
911 fsl,pins = <
912 MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20 0x400001c3
913 MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x400001c3
914 >;
915 };
916
Tim Harvey0f5717f2022-04-13 11:31:09 -0700917 pinctrl_ksz: kszgrp {
918 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100919 MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29 0x150 /* IRQ# */
920 MX8MP_IOMUXC_SAI3_MCLK__GPIO5_IO02 0x140 /* RST# */
Tim Harvey0f5717f2022-04-13 11:31:09 -0700921 >;
922 };
923
924 pinctrl_gpio_leds: ledgrp {
925 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100926 MX8MP_IOMUXC_SD2_DATA0__GPIO2_IO15 0x10
927 MX8MP_IOMUXC_SD2_DATA1__GPIO2_IO16 0x10
928 >;
929 };
930
931 pinctrl_pcie0: pciegrp {
932 fsl,pins = <
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700933 MX8MP_IOMUXC_SD2_DATA2__GPIO2_IO17 0x106
Tim Harvey0f5717f2022-04-13 11:31:09 -0700934 >;
935 };
936
937 pinctrl_pmic: pmicgrp {
938 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100939 MX8MP_IOMUXC_NAND_DATA01__GPIO3_IO07 0x140
Tim Harvey0f5717f2022-04-13 11:31:09 -0700940 >;
941 };
942
943 pinctrl_pps: ppsgrp {
944 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100945 MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x140
Tim Harvey0f5717f2022-04-13 11:31:09 -0700946 >;
947 };
948
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700949 pinctrl_reg_can1: regcan1grp {
Tim Harvey0f5717f2022-04-13 11:31:09 -0700950 fsl,pins = <
951 MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x154
952 >;
953 };
954
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700955 pinctrl_reg_can2: regcan2grp {
956 fsl,pins = <
957 MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x154
958 >;
959 };
960
Tim Harvey0f5717f2022-04-13 11:31:09 -0700961 pinctrl_reg_usb2: regusb2grp {
962 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100963 MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x140
Tim Harvey0f5717f2022-04-13 11:31:09 -0700964 >;
965 };
966
967 pinctrl_reg_wifi: regwifigrp {
968 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +0100969 MX8MP_IOMUXC_NAND_DATA03__GPIO3_IO09 0x110
Tim Harvey0f5717f2022-04-13 11:31:09 -0700970 >;
971 };
972
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700973 pinctrl_spi1: spi1grp {
Tim Harvey0f5717f2022-04-13 11:31:09 -0700974 fsl,pins = <
Tim Harveyffe9e3c2023-08-15 15:01:15 -0700975 MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK 0x82
976 MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI 0x82
977 MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO 0x82
978 MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09 0x140
Tim Harvey0f5717f2022-04-13 11:31:09 -0700979 >;
980 };
981
982 pinctrl_spi2: spi2grp {
983 fsl,pins = <
984 MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x82
985 MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x82
986 MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x82
987 MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x140
988 >;
989 };
990
991 pinctrl_uart1: uart1grp {
992 fsl,pins = <
993 MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140
994 MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x140
995 >;
996 };
997
998 pinctrl_uart2: uart2grp {
999 fsl,pins = <
1000 MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x140
1001 MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x140
1002 >;
1003 };
1004
Marcel Ziswiler97bd6532022-07-21 15:44:32 +02001005 pinctrl_uart3: uart3grp {
1006 fsl,pins = <
1007 MX8MP_IOMUXC_UART3_RXD__UART3_DCE_RX 0x140
1008 MX8MP_IOMUXC_UART3_TXD__UART3_DCE_TX 0x140
1009 MX8MP_IOMUXC_SAI5_RXD0__GPIO3_IO21 0x140
1010 MX8MP_IOMUXC_SAI5_RXD1__GPIO3_IO22 0x140
1011 >;
1012 };
1013
1014 pinctrl_uart3_gpio: uart3gpiogrp {
1015 fsl,pins = <
Marcel Ziswilercdfde792022-11-07 22:22:39 +01001016 MX8MP_IOMUXC_NAND_DATA02__GPIO3_IO08 0x110
Marcel Ziswiler97bd6532022-07-21 15:44:32 +02001017 >;
1018 };
1019
Tim Harvey0f5717f2022-04-13 11:31:09 -07001020 pinctrl_uart4: uart4grp {
1021 fsl,pins = <
1022 MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x140
1023 MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x140
1024 >;
1025 };
1026
1027 pinctrl_usb1: usb1grp {
1028 fsl,pins = <
1029 MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC 0x140
Marcel Ziswilercdfde792022-11-07 22:22:39 +01001030 >;
1031 };
1032
1033 pinctrl_usbcon1: usb1congrp {
1034 fsl,pins = <
1035 MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x140
Tim Harvey0f5717f2022-04-13 11:31:09 -07001036 >;
1037 };
1038
1039 pinctrl_usdhc1: usdhc1grp {
1040 fsl,pins = <
1041 MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x190
1042 MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d0
1043 MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d0
1044 MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d0
1045 MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d0
1046 MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d0
1047 >;
1048 };
1049
Marcel Ziswilercdfde792022-11-07 22:22:39 +01001050 pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
1051 fsl,pins = <
1052 MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x194
1053 MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d4
1054 MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d4
1055 MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d4
1056 MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d4
1057 MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d4
1058 >;
1059 };
1060
1061 pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
1062 fsl,pins = <
1063 MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x196
1064 MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d6
1065 MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d6
1066 MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d6
1067 MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d6
1068 MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d6
1069 >;
1070 };
1071
Tim Harvey0f5717f2022-04-13 11:31:09 -07001072 pinctrl_usdhc3: usdhc3grp {
1073 fsl,pins = <
1074 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190
1075 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0
1076 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0
1077 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0
1078 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0
1079 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0
1080 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0
1081 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0
1082 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0
1083 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0
1084 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190
1085 >;
1086 };
1087
1088 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
1089 fsl,pins = <
1090 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194
1091 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4
1092 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4
1093 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4
1094 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4
1095 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4
1096 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4
1097 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4
1098 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4
1099 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4
1100 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194
1101 >;
1102 };
1103
1104 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
1105 fsl,pins = <
1106 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196
1107 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6
1108 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d6
1109 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d6
1110 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d6
1111 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d6
1112 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d6
1113 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d6
1114 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d6
1115 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d6
1116 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196
1117 >;
1118 };
1119
1120 pinctrl_wdog: wdoggrp {
1121 fsl,pins = <
1122 MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B 0x166
1123 >;
1124 };
1125};