Debian Codegraph @

arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
2 /*
3 * Copyright (c) 2022-2024 TQ-Systems GmbH <[email protected]>,
4 * D-82229 Seefeld, Germany.
5 * Author: Markus Niebel
6 * Author: Alexander Stein
7 */
8 /dts-v1/;
9
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/pwm/pwm.h>
14
15 #include "imx93-tqma9352.dtsi"
16
17 /{
18 model = "TQ-Systems i.MX93 TQMa93xxLA/TQMa93xxCA on MBa93xxCA starter kit";
19 compatible = "tq,imx93-tqma9352-mba93xxca",
20 "tq,imx93-tqma9352", "fsl,imx93";
21 chassis-type = "embedded";
22
23 chosen {
24 stdout-path = &lpuart1;
25 };
26
27 aliases {
28 eeprom0 = &eeprom0;
29 ethernet0 = &eqos;
30 ethernet1 = &fec;
31 gpio0 = &gpio1;
32 gpio1 = &gpio2;
33 gpio2 = &gpio3;
34 gpio3 = &gpio4;
35 i2c0 = &lpi2c1;
36 i2c1 = &lpi2c2;
37 i2c2 = &lpi2c3;
38 i2c3 = &lpi2c4;
39 i2c4 = &lpi2c5;
40 mmc0 = &usdhc1;
41 mmc1 = &usdhc2;
42 rtc0 = &pcf85063;
43 rtc1 = &bbnsm_rtc;
44 serial0 = &lpuart1;
45 serial1 = &lpuart2;
46 serial2 = &lpuart3;
47 serial3 = &lpuart4;
48 serial4 = &lpuart5;
49 serial5 = &lpuart6;
50 serial6 = &lpuart7;
51 serial7 = &lpuart8;
52 spi0 = &lpspi1;
53 spi1 = &lpspi2;
54 spi2 = &lpspi3;
55 spi3 = &lpspi4;
56 spi4 = &lpspi5;
57 spi5 = &lpspi6;
58 };
59
60 backlight_lvds: backlight {
61 compatible = "pwm-backlight";
62 pwms = <&tpm5 0 5000000 0>;
63 brightness-levels = <0 4 8 16 32 64 128 255>;
64 default-brightness-level = <7>;
65 power-supply = <&reg_12v0>;
66 enable-gpios = <&expander2 2 GPIO_ACTIVE_HIGH>;
67 status = "disabled";
68 };
69
70 fan0: pwm-fan {
71 compatible = "pwm-fan";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_pwmfan>;
74 fan-supply = <&reg_pwm_fan>;
75 #cooling-cells = <2>;
76 /* typical 25 kHz -> 40.000 nsec */
77 pwms = <&tpm6 0 40000 PWM_POLARITY_INVERTED>;
78 cooling-levels = <0 32 64 128 196 240>;
79 pulses-per-revolution = <2>;
80 interrupt-parent = <&gpio2>;
81 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
82 status = "disabled";
83 };
84
85 gpio-keys {
86 compatible = "gpio-keys";
87 autorepeat;
88
89 switch-a {
90 label = "switcha";
91 linux,code = <BTN_0>;
92 gpios = <&expander0 6 GPIO_ACTIVE_LOW>;
93 wakeup-source;
94 };
95
96 switch-b {
97 label = "switchb";
98 linux,code = <BTN_1>;
99 gpios = <&expander0 7 GPIO_ACTIVE_LOW>;
100 wakeup-source;
101 };
102 };
103
104 gpio-leds {
105 compatible = "gpio-leds";
106
107 led-1 {
108 color = <LED_COLOR_ID_GREEN>;
109 function = LED_FUNCTION_STATUS;
110 gpios = <&expander2 6 GPIO_ACTIVE_HIGH>;
111 linux,default-trigger = "default-on";
112 };
113
114 led-2 {
115 color = <LED_COLOR_ID_AMBER>;
116 function = LED_FUNCTION_HEARTBEAT;
117 gpios = <&expander2 7 GPIO_ACTIVE_HIGH>;
118 linux,default-trigger = "heartbeat";
119 };
120 };
121
122 iio-hwmon {
123 compatible = "iio-hwmon";
124 io-channels = <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>;
125 };
126
127 reg_3v3: regulator-3v3 {
128 compatible = "regulator-fixed";
129 regulator-name = "V_3V3_MB";
130 regulator-min-microvolt = <3300000>;
131 regulator-max-microvolt = <3300000>;
132 };
133
134 reg_5v0: regulator-5v0 {
135 compatible = "regulator-fixed";
136 regulator-name = "V_5V0_MB";
137 regulator-min-microvolt = <5000000>;
138 regulator-max-microvolt = <5000000>;
139 };
140
141 reg_12v0: regulator-12v0 {
142 compatible = "regulator-fixed";
143 regulator-name = "V_12V";
144 regulator-min-microvolt = <12000000>;
145 regulator-max-microvolt = <12000000>;
146 gpio = <&expander1 7 GPIO_ACTIVE_HIGH>;
147 enable-active-high;
148 };
149
150 reg_mpcie_1v5: regulator-mpcie-1v5 {
151 compatible = "regulator-fixed";
152 regulator-name = "V_1V5_MPCIE";
153 regulator-min-microvolt = <1500000>;
154 regulator-max-microvolt = <1500000>;
155 gpio = <&expander0 2 GPIO_ACTIVE_HIGH>;
156 enable-active-high;
157 };
158
159 reg_mpcie_3v3: regulator-mpcie-3v3 {
160 compatible = "regulator-fixed";
161 regulator-name = "V_3V3_MPCIE";
162 regulator-min-microvolt = <3300000>;
163 regulator-max-microvolt = <3300000>;
164 gpio = <&expander0 3 GPIO_ACTIVE_HIGH>;
165 enable-active-high;
166 };
167
168 reg_pwm_fan: regulator-pwm-fan {
169 compatible = "regulator-fixed";
170 regulator-name = "FAN_PWR";
171 regulator-min-microvolt = <12000000>;
172 regulator-max-microvolt = <12000000>;
173 gpio = <&expander0 0 GPIO_ACTIVE_HIGH>;
174 enable-active-high;
175 vin-supply = <&reg_12v0>;
176 };
177
178 thermal-zones {
179 cpu-thermal {
180 trips {
181 cpu_active0: trip-active0 {
182 temperature = <40000>;
183 hysteresis = <5000>;
184 type = "active";
185 };
186
187 cpu_active1: trip-active1 {
188 temperature = <48000>;
189 hysteresis = <3000>;
190 type = "active";
191 };
192
193 cpu_active2: trip-active2 {
194 temperature = <60000>;
195 hysteresis = <10000>;
196 type = "active";
197 };
198 };
199
200 cooling-maps {
201 map1 {
202 trip = <&cpu_active0>;
203 cooling-device = <&fan0 1 1>;
204 };
205
206 map2 {
207 trip = <&cpu_active1>;
208 cooling-device = <&fan0 2 2>;
209 };
210
211 map3 {
212 trip = <&cpu_active2>;
213 cooling-device = <&fan0 3 3>;
214 };
215 };
216 };
217 };
218 };
219
220 &adc1 {
221 status = "okay";
222 };
223
224 &eqos {
225 pinctrl-names = "default";
226 pinctrl-0 = <&pinctrl_eqos>;
227 phy-mode = "rgmii-id";
228 phy-handle = <&ethphy_eqos>;
229 status = "okay";
230
231 mdio {
232 compatible = "snps,dwmac-mdio";
233 #address-cells = <1>;
234 #size-cells = <0>;
235
236 ethphy_eqos: ethernet-phy@0 {
237 compatible = "ethernet-phy-ieee802.3-c22";
238 reg = <0>;
239 pinctrl-names = "default";
240 pinctrl-0 = <&pinctrl_eqos_phy>;
241 reset-gpios = <&expander1 0 GPIO_ACTIVE_LOW>;
242 reset-assert-us = <500000>;
243 reset-deassert-us = <50000>;
244 interrupt-parent = <&gpio3>;
245 interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
246 enet-phy-lane-no-swap;
247 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
248 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
249 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
250 ti,dp83867-rxctrl-strap-quirk;
251 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
252 };
253 };
254 };
255
256 &fec {
257 pinctrl-names = "default";
258 pinctrl-0 = <&pinctrl_fec>;
259 phy-mode = "rgmii-id";
260 phy-handle = <&ethphy_fec>;
261 fsl,magic-packet;
262 status = "okay";
263
264 mdio {
265 #address-cells = <1>;
266 #size-cells = <0>;
267 clock-frequency = <5000000>;
268
269 ethphy_fec: ethernet-phy@0 {
270 compatible = "ethernet-phy-ieee802.3-c22";
271 reg = <0>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&pinctrl_fec_phy>;
274 reset-gpios = <&expander1 1 GPIO_ACTIVE_LOW>;
275 reset-assert-us = <500000>;
276 reset-deassert-us = <50000>;
277 interrupt-parent = <&gpio3>;
278 interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
279 enet-phy-lane-no-swap;
280 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
281 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
282 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
283 ti,dp83867-rxctrl-strap-quirk;
284 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
285 };
286 };
287 };
288
289 &flexcan1 {
290 pinctrl-names = "default";
291 pinctrl-0 = <&pinctrl_flexcan1>;
292 xceiver-supply = <&reg_3v3>;
293 status = "okay";
294 };
295
296 &flexcan2 {
297 pinctrl-names = "default";
298 pinctrl-0 = <&pinctrl_flexcan2>;
299 xceiver-supply = <&reg_3v3>;
300 status = "okay";
301 };
302
303 &gpio1 {
304 gpio-line-names =
305 /* 00 */ "", "", "USB_C_ALERT#", "PMIC_IRQ#",
306 /* 04 */ "", "", "", "",
307 /* 08 */ "", "", "", "BM2_TEMP_EVENT_MOD#",
308 /* 12 */ "PEX_INT#", "", "RTC_EVENT#", "",
309 /* 16 */ "", "", "", "",
310 /* 20 */ "", "", "", "",
311 /* 24 */ "", "", "", "",
312 /* 28 */ "", "", "", "";
313
314 expander-irq-hog {
315 gpio-hog;
316 gpios = <12 GPIO_ACTIVE_LOW>;
317 input;
318 line-name = "PEX_INT#";
319 };
320
321 tcpc-irq-hog {
322 gpio-hog;
323 gpios = <2 GPIO_ACTIVE_LOW>;
324 input;
325 line-name = "USB_C_ALERT#";
326 };
327 };
328
329 &gpio2 {
330 pinctrl-names = "default";
331 pinctrl-0 = <&pinctrl_gpio2>;
332
333 gpio-line-names =
334 /* 00 */ "SPI6_PCS0#", "", "", "",
335 /* 04 */ "", "", "", "",
336 /* 08 */ "", "FAN_RPM", "MIPI_CSI_TRIGGER", "MIPI_CSI_SYNC",
337 /* 12 */ "", "", "", "",
338 /* 16 */ "X1_11", "X1_21", "X1_17", "X1_13",
339 /* 20 */ "X1_15", "X1_9", "", "",
340 /* 24 */ "", "", "X1_7", "",
341 /* 28 */ "", "", "", "";
342 };
343
344 &gpio3 {
345 gpio-line-names =
346 /* 00 */ "SD2_CD#", "", "", "",
347 /* 04 */ "", "", "", "SD2_RST#",
348 /* 08 */ "", "", "", "",
349 /* 12 */ "", "", "", "",
350 /* 16 */ "", "", "", "",
351 /* 20 */ "", "", "", "",
352 /* 24 */ "", "", "ENET1_INT#", "ENET2_INT#",
353 /* 28 */ "", "", "", "";
354 };
355
356 &gpio4 {
357 gpio-line-names =
358 /* 00 */ "", "", "", "",
359 /* 04 */ "", "", "", "",
360 /* 08 */ "", "", "", "",
361 /* 12 */ "", "", "", "",
362 /* 16 */ "", "", "", "",
363 /* 20 */ "", "", "", "",
364 /* 24 */ "", "", "", "",
365 /* 28 */ "", "DP_INT", "", "";
366 };
367
368 &lpi2c3 {
369 #address-cells = <1>;
370 #size-cells = <0>;
371 clock-frequency = <400000>;
372 pinctrl-names = "default", "sleep";
373 pinctrl-0 = <&pinctrl_lpi2c3>;
374 pinctrl-1 = <&pinctrl_lpi2c3>;
375 status = "okay";
376
377 temperature-sensor@1c {
378 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
379 reg = <0x1c>;
380 };
381
382 ptn5110: usb-typec@50 {
383 compatible = "nxp,ptn5110", "tcpci";
384 reg = <0x50>;
385 pinctrl-names = "default";
386 pinctrl-0 = <&pinctrl_typec>;
387 interrupt-parent = <&gpio1>;
388 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
389
390 connector {
391 compatible = "usb-c-connector";
392 label = "X17";
393 power-role = "dual";
394 data-role = "dual";
395 try-power-role = "sink";
396 typec-power-opmode = "default";
397 pd-disable;
398 self-powered;
399
400 port {
401 typec_con_hs: endpoint {
402 remote-endpoint = <&typec_hs>;
403 };
404 };
405 };
406 };
407
408 eeprom2: eeprom@54 {
409 compatible = "nxp,se97b", "atmel,24c02";
410 reg = <0x54>;
411 pagesize = <16>;
412 vcc-supply = <&reg_3v3>;
413 };
414
415 expander0: gpio@70 {
416 compatible = "nxp,pca9538";
417 reg = <0x70>;
418 pinctrl-names = "default";
419 pinctrl-0 = <&pinctrl_pexp_irq>;
420 gpio-controller;
421 #gpio-cells = <2>;
422 interrupt-controller;
423 #interrupt-cells = <2>;
424 interrupt-parent = <&gpio1>;
425 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
426 vcc-supply = <&reg_3v3>;
427 gpio-line-names = "FAN_PWR_EN", "MPCIE_WAKE#",
428 "MPCIE_1V5_EN", "MPCIE_3V3_EN",
429 "MPCIE_PERST#", "MPCIE_WDISABLE#",
430 "BUTTON_A#", "BUTTON_B#";
431
432 mpcie-wake-hog {
433 gpio-hog;
434 gpios = <1 GPIO_ACTIVE_LOW>;
435 input;
436 line-name = "MPCIE_WAKE#";
437 };
438
439 /*
440 * Controls the mPCIE slot reset which is low active as
441 * reset signal. The output-low states, the signal is
442 * inactive, e.g. not in reset
443 */
444 mpcie_rst_hog: mpcie-rst-hog {
445 gpio-hog;
446 gpios = <4 GPIO_ACTIVE_LOW>;
447 output-low;
448 line-name = "MPCIE_PERST#";
449 };
450
451 /*
452 * Controls the mPCIE slot WDISABLE pin which is low active
453 * as disable signal. The output-low states, the signal is
454 * inactive, e.g. not disabled
455 */
456 mpcie_wdisable_hog: mpcie-wdisable-hog {
457 gpio-hog;
458 gpios = <5 GPIO_ACTIVE_LOW>;
459 output-low;
460 line-name = "MPCIE_WDISABLE#";
461 };
462 };
463
464 expander1: gpio@71 {
465 compatible = "nxp,pca9538";
466 reg = <0x71>;
467 gpio-controller;
468 #gpio-cells = <2>;
469 vcc-supply = <&reg_3v3>;
470 gpio-line-names = "ENET1_RESET#", "ENET2_RESET#",
471 "USB_RESET#", "",
472 "WLAN_PD#", "WLAN_W_DISABLE#",
473 "WLAN_PERST#", "12V_EN";
474
475 /*
476 * Controls the WiFi card's low-active power down pin.
477 * The output-low states, the signal is inactive,
478 * resulting in high signal at power-down pin
479 */
480 wlan-pd-hog {
481 gpio-hog;
482 gpios = <4 GPIO_ACTIVE_LOW>;
483 output-low;
484 line-name = "WLAN_PD#";
485 };
486
487 /*
488 * Controls the WiFi card's low-active disable pin.
489 * The output-low states, the signal is inactive,
490 * resulting in high signal at power-down pin
491 */
492 wlan-wdisable-hog {
493 gpio-hog;
494 gpios = <5 GPIO_ACTIVE_LOW>;
495 output-low;
496 line-name = "WLAN_W_DISABLE#";
497 };
498
499 /*
500 * Controls the WiFi card's reset pin.
501 * The output-low states, the signal is inactive,
502 * resulting in high signal at power-down pin
503 */
504 wlan-perst-hog {
505 gpio-hog;
506 gpios = <6 GPIO_ACTIVE_LOW>;
507 output-low;
508 line-name = "WLAN_PERST#";
509 };
510 };
511
512 expander2: gpio@72 {
513 compatible = "nxp,pca9538";
514 reg = <0x72>;
515 gpio-controller;
516 #gpio-cells = <2>;
517 vcc-supply = <&reg_3v3>;
518 gpio-line-names = "LCD_RESET#", "LCD_PWR_EN",
519 "LCD_BLT_EN", "DP_EN",
520 "MIPI_CSI_EN", "MIPI_CSI_RST#",
521 "USER_LED1", "USER_LED2";
522 };
523 };
524
525 &lpi2c5 {
526 #address-cells = <1>;
527 #size-cells = <0>;
528 clock-frequency = <400000>;
529 pinctrl-names = "default", "sleep";
530 pinctrl-0 = <&pinctrl_lpi2c5>;
531 pinctrl-1 = <&pinctrl_lpi2c5>;
532 status = "okay";
533 };
534
535 &lpspi6 {
536 pinctrl-names = "default", "sleep";
537 pinctrl-0 = <&pinctrl_lpspi6>;
538 pinctrl-1 = <&pinctrl_lpspi6>;
539 status = "okay";
540 };
541
542 &lpuart1 {
543 pinctrl-names = "default";
544 pinctrl-0 = <&pinctrl_uart1>;
545 status = "okay";
546 };
547
548 &lpuart2 {
549 pinctrl-names = "default";
550 pinctrl-0 = <&pinctrl_uart2>;
551 linux,rs485-enabled-at-boot-time;
552 status = "okay";
553 };
554
555 /* disabled per default, console for M33 */
556 &lpuart3 {
557 pinctrl-names = "default";
558 pinctrl-0 = <&pinctrl_uart3>;
559 status = "disabled";
560 };
561
562 &lpuart6 {
563 pinctrl-names = "default";
564 pinctrl-0 = <&pinctrl_uart6>;
565 status = "okay";
566 };
567
568 &lpuart8 {
569 pinctrl-names = "default";
570 pinctrl-0 = <&pinctrl_uart8>;
571 status = "okay";
572 };
573
574 &pcf85063 {
575 /* RTC_EVENT# from SoM is connected on mainboard */
576 pinctrl-names = "default";
577 pinctrl-0 = <&pinctrl_pcf85063>;
578 interrupt-parent = <&gpio1>;
579 interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
580 };
581
582 &se97_som {
583 /* TEMP_EVENT# from SoM is connected on mainboard */
584 pinctrl-names = "default";
585 pinctrl-0 = <&pinctrl_temp_sensor_som>;
586 interrupt-parent = <&gpio1>;
587 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
588 };
589
590 &tpm5 {
591 pinctrl-names = "default";
592 pinctrl-0 = <&pinctrl_tpm5>;
593 };
594
595 &tpm6 {
596 pinctrl-names = "default";
597 pinctrl-0 = <&pinctrl_tpm6>;
598 status = "okay";
599 };
600
601 &usbotg1 {
602 dr_mode = "otg";
603 hnp-disable;
604 srp-disable;
605 adp-disable;
606 usb-role-switch;
607 disable-over-current;
608 samsung,picophy-pre-emp-curr-control = <3>;
609 samsung,picophy-dc-vol-level-adjust = <7>;
610 status = "okay";
611
612 port {
613 typec_hs: endpoint {
614 remote-endpoint = <&typec_con_hs>;
615 };
616 };
617 };
618
619 &usbotg2 {
620 dr_mode = "host";
621 #address-cells = <1>;
622 #size-cells = <0>;
623 disable-over-current;
624 samsung,picophy-pre-emp-curr-control = <3>;
625 samsung,picophy-dc-vol-level-adjust = <7>;
626 status = "okay";
627
628 hub_2_0: usb-hub@1 {
629 compatible = "usb424,2517";
630 reg = <1>;
631 reset-gpios = <&expander1 2 GPIO_ACTIVE_LOW>;
632 vdd-supply = <&reg_3v3>;
633 };
634 };
635
636 &usdhc2 {
637 pinctrl-names = "default", "state_100mhz", "state_200mhz";
638 pinctrl-0 = <&pinctrl_usdhc2_hs>, <&pinctrl_usdhc2_gpio>;
639 pinctrl-1 = <&pinctrl_usdhc2_uhs>, <&pinctrl_usdhc2_gpio>;
640 pinctrl-2 = <&pinctrl_usdhc2_uhs>, <&pinctrl_usdhc2_gpio>;
641 cd-gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
642 vmmc-supply = <&reg_usdhc2_vmmc>;
643 bus-width = <4>;
644 no-sdio;
645 no-mmc;
646 disable-wp;
647 status = "okay";
648 };
649
650 &iomuxc {
651 pinctrl_eqos: eqosgrp {
652 fsl,pins = <
653 /* PD | FSEL_2 | DSE X4 */
654 MX93_PAD_ENET1_MDC__ENET_QOS_MDC 0x51e
655 /* SION | HYS | FSEL_2 | DSE X4 */
656 MX93_PAD_ENET1_MDIO__ENET_QOS_MDIO 0x4000111e
657 /* HYS | FSEL_0 | DSE no drive */
658 MX93_PAD_ENET1_RD0__ENET_QOS_RGMII_RD0 0x1000
659 MX93_PAD_ENET1_RD1__ENET_QOS_RGMII_RD1 0x1000
660 MX93_PAD_ENET1_RD2__ENET_QOS_RGMII_RD2 0x1000
661 MX93_PAD_ENET1_RD3__ENET_QOS_RGMII_RD3 0x1000
662 MX93_PAD_ENET1_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x1000
663 /* HYS | PD | FSEL_0 | DSE no drive */
664 MX93_PAD_ENET1_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x1400
665 /* PD | FSEL_2 | DSE X4 */
666 MX93_PAD_ENET1_TD0__ENET_QOS_RGMII_TD0 0x51e
667 MX93_PAD_ENET1_TD1__ENET_QOS_RGMII_TD1 0x51e
668 MX93_PAD_ENET1_TD2__ENET_QOS_RGMII_TD2 0x51e
669 MX93_PAD_ENET1_TD3__ENET_QOS_RGMII_TD3 0x51e
670 MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x51e
671 /* PD | FSEL_3 | DSE X3 */
672 MX93_PAD_ENET1_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x58e
673 >;
674 };
675
676 pinctrl_eqos_phy: eqosphygrp {
677 fsl,pins = <
678 /* HYS | FSEL_0 | DSE no drive */
679 MX93_PAD_CCM_CLKO1__GPIO3_IO26 0x1000
680 >;
681 };
682
683 pinctrl_fec: fecgrp {
684 fsl,pins = <
685 /* PD | FSEL_2 | DSE X4 */
686 MX93_PAD_ENET2_MDC__ENET1_MDC 0x51e
687 /* SION | HYS | FSEL_2 | DSE X4 */
688 MX93_PAD_ENET2_MDIO__ENET1_MDIO 0x4000111e
689 /* HYS | FSEL_0 | DSE no drive */
690 MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0 0x1000
691 MX93_PAD_ENET2_RD1__ENET1_RGMII_RD1 0x1000
692 MX93_PAD_ENET2_RD2__ENET1_RGMII_RD2 0x1000
693 MX93_PAD_ENET2_RD3__ENET1_RGMII_RD3 0x1000
694 MX93_PAD_ENET2_RX_CTL__ENET1_RGMII_RX_CTL 0x1000
695 /* HYS | PD | FSEL_0 | DSE no drive */
696 MX93_PAD_ENET2_RXC__ENET1_RGMII_RXC 0x1400
697 /* PD | FSEL_2 | DSE X4 */
698 MX93_PAD_ENET2_TD0__ENET1_RGMII_TD0 0x51e
699 MX93_PAD_ENET2_TD1__ENET1_RGMII_TD1 0x51e
700 MX93_PAD_ENET2_TD2__ENET1_RGMII_TD2 0x51e
701 MX93_PAD_ENET2_TD3__ENET1_RGMII_TD3 0x51e
702 MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x51e
703 /* PD | FSEL_3 | DSE X3 */
704 MX93_PAD_ENET2_TXC__ENET1_RGMII_TXC 0x58e
705 >;
706 };
707
708 pinctrl_fec_phy: fecphygrp {
709 fsl,pins = <
710 /* HYS | FSEL_0 | DSE no drive */
711 MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x1000
712 >;
713 };
714
715 pinctrl_flexcan1: flexcan1grp {
716 fsl,pins = <
717 /* HYS | PU | FSEL_0 | DSE no drive */
718 MX93_PAD_PDM_BIT_STREAM0__CAN1_RX 0x1200
719 /* PU | FSEL_3 | DSE X4 */
720 MX93_PAD_PDM_CLK__CAN1_TX 0x039e
721 >;
722 };
723
724 pinctrl_flexcan2: flexcan2grp {
725 fsl,pins = <
726 /* HYS | PU | FSEL_0 | DSE no drive */
727 MX93_PAD_GPIO_IO27__CAN2_RX 0x1200
728 /* PU | FSEL_3 | DSE X4 */
729 MX93_PAD_GPIO_IO25__CAN2_TX 0x039e
730 >;
731 };
732
733 pinctrl_gpio2: gpio2grp {
734 fsl,pins = <
735 /* HYS | PD | FSEL_2 | DSE X4 */
736 MX93_PAD_GPIO_IO16__GPIO2_IO16 0x151e
737 MX93_PAD_GPIO_IO17__GPIO2_IO17 0x151e
738 MX93_PAD_GPIO_IO18__GPIO2_IO18 0x151e
739 MX93_PAD_GPIO_IO19__GPIO2_IO19 0x151e
740 MX93_PAD_GPIO_IO20__GPIO2_IO20 0x151e
741 MX93_PAD_GPIO_IO21__GPIO2_IO21 0x151e
742 MX93_PAD_GPIO_IO26__GPIO2_IO26 0x151e
743 >;
744 };
745
746 pinctrl_jtag: jtaggrp {
747 fsl,pins = <
748 MX93_PAD_DAP_TCLK_SWCLK__JTAG_MUX_TCK 0x051e
749 MX93_PAD_DAP_TDI__JTAG_MUX_TDI 0x1200
750 MX93_PAD_DAP_TDO_TRACESWO__JTAG_MUX_TDO 0x031e
751 MX93_PAD_DAP_TMS_SWDIO__JTAG_MUX_TMS 0x1200
752 >;
753 };
754
755 pinctrl_lpi2c3: lpi2c3grp {
756 fsl,pins = <
757 /* SION | HYS | OD | FSEL_3 | DSE X4 */
758 MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x4000199e
759 MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x4000199e
760 >;
761 };
762
763 pinctrl_lpi2c5: lpi2c5grp {
764 fsl,pins = <
765 /* SION | HYS | OD | FSEL_3 | DSE X4 */
766 MX93_PAD_GPIO_IO22__LPI2C5_SDA 0x4000199e
767 MX93_PAD_GPIO_IO23__LPI2C5_SCL 0x4000199e
768 >;
769 };
770
771 pinctrl_lpspi6: lpspi6grp {
772 fsl,pins = <
773 /* FSEL_2 | DSE X4 */
774 MX93_PAD_GPIO_IO00__LPSPI6_PCS0 0x011e
775 /* HYS | PD | FSEL_0 | DSE no drive */
776 MX93_PAD_GPIO_IO01__LPSPI6_SIN 0x1400
777 /* PD | FSEL_2 | DSE X4 */
778 MX93_PAD_GPIO_IO02__LPSPI6_SOUT 0x051e
779 MX93_PAD_GPIO_IO03__LPSPI6_SCK 0x051e
780 >;
781 };
782
783 pinctrl_mipi_csi: mipicsigrp {
784 fsl,pins = <
785 MX93_PAD_CCM_CLKO3__CCMSRCGPCMIX_CLKO3 0x051e /* MCLK */
786 MX93_PAD_GPIO_IO10__GPIO2_IO10 0x051e /* TRIGGER */
787 MX93_PAD_GPIO_IO11__GPIO2_IO11 0x1400 /* SYNC */
788 >;
789 };
790
791 pinctrl_pcf85063: pcf85063grp {
792 fsl,pins = <
793 MX93_PAD_SAI1_RXD0__GPIO1_IO14 0x1000
794 >;
795 };
796
797 pinctrl_pexp_irq: pexpirqgrp {
798 fsl,pins = <
799 /* HYS | FSEL_0 | No DSE */
800 MX93_PAD_SAI1_TXC__GPIO1_IO12 0x1000
801 >;
802 };
803
804 pinctrl_pwmfan: pwmfangrp {
805 fsl,pins = <
806 /* HYS | PU | FSEL_0 | no DSE */
807 MX93_PAD_GPIO_IO09__GPIO2_IO09 0x1200
808 >;
809 };
810
811 pinctrl_tc9595: tc9595-grp {
812 fsl,pins = <
813 /* HYS | PD | FSEL_0 | no DSE */
814 MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1400
815 >;
816 };
817
818 pinctrl_temp_sensor_som: tempsensorsomgrp {
819 fsl,pins = <
820 /* HYS | FSEL_0 | no DSE */
821 MX93_PAD_SAI1_TXFS__GPIO1_IO11 0x1000
822 >;
823 };
824
825 pinctrl_tpm5: tpm5grp {
826 fsl,pins = <
827 MX93_PAD_GPIO_IO06__TPM5_CH0 0x57e
828 >;
829 };
830
831 pinctrl_tpm6: tpm6grp {
832 fsl,pins = <
833 MX93_PAD_GPIO_IO08__TPM6_CH0 0x57e
834 >;
835 };
836
837 pinctrl_typec: typecgrp {
838 fsl,pins = <
839 /* HYS | FSEL_0 | No DSE */
840 MX93_PAD_I2C2_SCL__GPIO1_IO02 0x1000
841 >;
842 };
843
844 pinctrl_uart1: uart1grp {
845 fsl,pins = <
846 /* HYS | FSEL_0 | No DSE */
847 MX93_PAD_UART1_RXD__LPUART1_RX 0x1000
848 /* FSEL_2 | DSE X4 */
849 MX93_PAD_UART1_TXD__LPUART1_TX 0x011e
850 >;
851 };
852
853 pinctrl_uart2: uart2grp {
854 fsl,pins = <
855 /* HYS | FSEL_0 | No DSE */
856 MX93_PAD_UART2_RXD__LPUART2_RX 0x1000
857 /* FSEL_2 | DSE X4 */
858 MX93_PAD_UART2_TXD__LPUART2_TX 0x011e
859 /* FSEL_2 | DSE X4 */
860 MX93_PAD_SAI1_TXD0__LPUART2_RTS_B 0x011e
861 >;
862 };
863
864 pinctrl_uart3: uart3grp {
865 fsl,pins = <
866 /* HYS | FSEL_0 | No DSE */
867 MX93_PAD_GPIO_IO15__LPUART3_RX 0x1000
868 /* FSEL_2 | DSE X4 */
869 MX93_PAD_GPIO_IO14__LPUART3_TX 0x011e
870 >;
871 };
872
873 pinctrl_uart6: uart6grp {
874 fsl,pins = <
875 /* HYS | FSEL_0 | No DSE */
876 MX93_PAD_GPIO_IO05__LPUART6_RX 0x1000
877 /* FSEL_2 | DSE X4 */
878 MX93_PAD_GPIO_IO04__LPUART6_TX 0x011e
879 >;
880 };
881
882 pinctrl_uart8: uart8grp {
883 fsl,pins = <
884 /* HYS | FSEL_0 | No DSE */
885 MX93_PAD_GPIO_IO13__LPUART8_RX 0x1000
886 /* FSEL_2 | DSE X4 */
887 MX93_PAD_GPIO_IO12__LPUART8_TX 0x011e
888 >;
889 };
890
891 pinctrl_usdhc2_gpio: usdhc2gpiogrp {
892 fsl,pins = <
893 /* HYS | FSEL_0 | No DSE */
894 MX93_PAD_SD2_CD_B__GPIO3_IO00 0x1000
895 >;
896 };
897
898 /* enable SION for data and cmd pad due to ERR052021 */
899 pinctrl_usdhc2_hs: usdhc2hsgrp {
900 fsl,pins = <
901 /* PD | FSEL_3 | DSE X5 */
902 MX93_PAD_SD2_CLK__USDHC2_CLK 0x05be
903 /* HYS | PU | FSEL_3 | DSE X4 */
904 MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000139e
905 /* HYS | PU | FSEL_3 | DSE X3 */
906 MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000138e
907 MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000138e
908 MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000138e
909 MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000138e
910 /* FSEL_2 | DSE X3 */
911 MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e
912 >;
913 };
914
915 /* enable SION for data and cmd pad due to ERR052021 */
916 pinctrl_usdhc2_uhs: usdhc2uhsgrp {
917 fsl,pins = <
918 /* PD | FSEL_3 | DSE X6 */
919 MX93_PAD_SD2_CLK__USDHC2_CLK 0x05fe
920 /* HYS | PU | FSEL_3 | DSE X4 */
921 MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000139e
922 MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000139e
923 MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000139e
924 MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000139e
925 MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000139e
926 /* FSEL_2 | DSE X3 */
927 MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x010e
928 >;
929 };
930 };