Debian Codegraph @

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