1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2/* 3 * Copyright 2022 Toradex 4 */ 5 6#include "dt-bindings/phy/phy-imx8-pcie.h" 7#include "dt-bindings/pwm/pwm.h" 8#include "imx8mm.dtsi" 9 10/ { 11 chosen { 12 stdout-path = &uart1; 13 }; 14 15 aliases { 16 rtc0 = &rtc_i2c; 17 rtc1 = &snvs_rtc; 18 }; 19 20 backlight: backlight { 21 compatible = "pwm-backlight"; 22 brightness-levels = <0 45 63 88 119 158 203 255>; 23 default-brightness-level = <4>; 24 /* Verdin I2S_2_D_OUT (DSI_1_BKL_EN/DSI_1_BKL_EN_LVDS, SODIMM 46) */ 25 enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; 28 power-supply = <®_3p3v>; 29 /* Verdin PWM_3_DSI/PWM_3_DSI_LVDS (SODIMM 19) */ 30 pwms = <&pwm1 0 6666667 PWM_POLARITY_INVERTED>; 31 status = "disabled"; 32 }; 33 34 /* Fixed clock dedicated to SPI CAN controller */ 35 clk20m: oscillator { 36 compatible = "fixed-clock"; 37 #clock-cells = <0>; 38 clock-frequency = <20000000>; 39 }; 40 41 gpio-keys { 42 compatible = "gpio-keys"; 43 pinctrl-names = "default"; 44 pinctrl-0 = <&pinctrl_gpio_keys>; 45 46 wakeup { 47 debounce-interval = <10>; 48 /* Verdin CTRL_WAKE1_MICO# (SODIMM 252) */ 49 gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; 50 label = "Wake-Up"; 51 linux,code = <KEY_WAKEUP>; 52 wakeup-source; 53 }; 54 }; 55 56 /* Carrier Board Supplies */ 57 reg_1p8v: regulator-1p8v { 58 compatible = "regulator-fixed"; 59 regulator-max-microvolt = <1800000>; 60 regulator-min-microvolt = <1800000>; 61 regulator-name = "+V1.8_SW"; 62 }; 63 64 reg_3p3v: regulator-3p3v { 65 compatible = "regulator-fixed"; 66 regulator-max-microvolt = <3300000>; 67 regulator-min-microvolt = <3300000>; 68 regulator-name = "+V3.3_SW"; 69 }; 70 71 reg_5p0v: regulator-5p0v { 72 compatible = "regulator-fixed"; 73 regulator-max-microvolt = <5000000>; 74 regulator-min-microvolt = <5000000>; 75 regulator-name = "+V5_SW"; 76 }; 77 78 /* Non PMIC On-module Supplies */ 79 reg_ethphy: regulator-ethphy { 80 compatible = "regulator-fixed"; 81 enable-active-high; 82 gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>; /* PMIC_EN_ETH */ 83 off-on-delay = <500000>; 84 pinctrl-names = "default"; 85 pinctrl-0 = <&pinctrl_reg_eth>; 86 regulator-boot-on; 87 regulator-max-microvolt = <3300000>; 88 regulator-min-microvolt = <3300000>; 89 regulator-name = "On-module +V3.3_ETH"; 90 startup-delay-us = <200000>; 91 }; 92 93 reg_usb_otg1_vbus: regulator-usb-otg1 { 94 compatible = "regulator-fixed"; 95 enable-active-high; 96 /* Verdin USB_1_EN (SODIMM 155) */ 97 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; 98 pinctrl-names = "default"; 99 pinctrl-0 = <&pinctrl_reg_usb1_en>; 100 regulator-max-microvolt = <5000000>; 101 regulator-min-microvolt = <5000000>; 102 regulator-name = "USB_1_EN"; 103 }; 104 105 reg_usb_otg2_vbus: regulator-usb-otg2 { 106 compatible = "regulator-fixed"; 107 enable-active-high; 108 /* Verdin USB_2_EN (SODIMM 185) */ 109 gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>; 110 pinctrl-names = "default"; 111 pinctrl-0 = <&pinctrl_reg_usb2_en>; 112 regulator-max-microvolt = <5000000>; 113 regulator-min-microvolt = <5000000>; 114 regulator-name = "USB_2_EN"; 115 }; 116 117 reg_usdhc2_vmmc: regulator-usdhc2 { 118 compatible = "regulator-fixed"; 119 enable-active-high; 120 /* Verdin SD_1_PWR_EN (SODIMM 76) */ 121 gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>; 122 off-on-delay = <100000>; 123 pinctrl-names = "default"; 124 pinctrl-0 = <&pinctrl_usdhc2_pwr_en>; 125 regulator-max-microvolt = <3300000>; 126 regulator-min-microvolt = <3300000>; 127 regulator-name = "+V3.3_SD"; 128 startup-delay-us = <2000>; 129 }; 130 131 reserved-memory { 132 #address-cells = <2>; 133 #size-cells = <2>; 134 ranges; 135 136 /* Use the kernel configuration settings instead */ 137 /delete-node/ linux,cma; 138 }; 139}; 140 141&A53_0 { 142 cpu-supply = <®_vdd_arm>; 143}; 144 145&A53_1 { 146 cpu-supply = <®_vdd_arm>; 147}; 148 149&A53_2 { 150 cpu-supply = <®_vdd_arm>; 151}; 152 153&A53_3 { 154 cpu-supply = <®_vdd_arm>; 155}; 156 157&ddrc { 158 operating-points-v2 = <&ddrc_opp_table>; 159 160 ddrc_opp_table: opp-table { 161 compatible = "operating-points-v2"; 162 163 opp-25M { 164 opp-hz = /bits/ 64 <25000000>; 165 }; 166 167 opp-100M { 168 opp-hz = /bits/ 64 <100000000>; 169 }; 170 171 opp-750M { 172 opp-hz = /bits/ 64 <750000000>; 173 }; 174 }; 175}; 176 177/* Verdin SPI_1 */ 178&ecspi2 { 179 #address-cells = <1>; 180 #size-cells = <0>; 181 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; 182 pinctrl-names = "default"; 183 pinctrl-0 = <&pinctrl_ecspi2>; 184}; 185 186/* Verdin CAN_1 (On-module) */ 187&ecspi3 { 188 #address-cells = <1>; 189 #size-cells = <0>; 190 cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; 191 pinctrl-names = "default"; 192 pinctrl-0 = <&pinctrl_ecspi3>; 193 status = "okay"; 194 195 can1: can@0 { 196 compatible = "microchip,mcp251xfd"; 197 clocks = <&clk20m>; 198 interrupts-extended = <&gpio1 6 IRQ_TYPE_EDGE_FALLING>; 199 pinctrl-names = "default"; 200 pinctrl-0 = <&pinctrl_can1_int>; 201 reg = <0>; 202 spi-max-frequency = <8500000>; 203 }; 204}; 205 206/* Verdin ETH_1 (On-module PHY) */ 207&fec1 { 208 fsl,magic-packet; 209 phy-handle = <ðphy0>; 210 phy-mode = "rgmii-id"; 211 phy-supply = <®_ethphy>; 212 pinctrl-names = "default", "sleep"; 213 pinctrl-0 = <&pinctrl_fec1>; 214 pinctrl-1 = <&pinctrl_fec1_sleep>; 215 216 mdio { 217 #address-cells = <1>; 218 #size-cells = <0>; 219 220 ethphy0: ethernet-phy@7 { 221 compatible = "ethernet-phy-ieee802.3-c22"; 222 interrupt-parent = <&gpio1>; 223 interrupts = <10 IRQ_TYPE_LEVEL_LOW>; 224 micrel,led-mode = <0>; 225 reg = <7>; 226 }; 227 }; 228}; 229 230/* Verdin QSPI_1 */ 231&flexspi { 232 pinctrl-names = "default"; 233 pinctrl-0 = <&pinctrl_flexspi0>; 234}; 235 236&gpio1 { 237 gpio-line-names = "SODIMM_216", 238 "SODIMM_19", 239 "", 240 "", 241 "", 242 "", 243 "", 244 "", 245 "SODIMM_220", 246 "SODIMM_222", 247 "", 248 "SODIMM_218", 249 "SODIMM_155", 250 "SODIMM_157", 251 "SODIMM_185", 252 "SODIMM_187"; 253}; 254 255&gpio2 { 256 gpio-line-names = "", 257 "", 258 "", 259 "", 260 "", 261 "", 262 "", 263 "", 264 "", 265 "", 266 "", 267 "", 268 "SODIMM_84", 269 "SODIMM_78", 270 "SODIMM_74", 271 "SODIMM_80", 272 "SODIMM_82", 273 "SODIMM_70", 274 "SODIMM_72"; 275}; 276 277&gpio5 { 278 gpio-line-names = "SODIMM_131", 279 "", 280 "SODIMM_91", 281 "SODIMM_16", 282 "SODIMM_15", 283 "SODIMM_208", 284 "SODIMM_137", 285 "SODIMM_139", 286 "SODIMM_141", 287 "SODIMM_143", 288 "SODIMM_196", 289 "SODIMM_200", 290 "SODIMM_198", 291 "SODIMM_202", 292 "", 293 "", 294 "SODIMM_55", 295 "SODIMM_53", 296 "SODIMM_95", 297 "SODIMM_93", 298 "SODIMM_14", 299 "SODIMM_12", 300 "", 301 "", 302 "", 303 "", 304 "SODIMM_210", 305 "SODIMM_212", 306 "SODIMM_151", 307 "SODIMM_153"; 308 309 ctrl-sleep-moci-hog { 310 gpio-hog; 311 /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ 312 gpios = <1 GPIO_ACTIVE_HIGH>; 313 line-name = "CTRL_SLEEP_MOCI#"; 314 output-high; 315 pinctrl-names = "default"; 316 pinctrl-0 = <&pinctrl_ctrl_sleep_moci>; 317 }; 318}; 319 320/* On-module I2C */ 321&i2c1 { 322 clock-frequency = <400000>; 323 pinctrl-names = "default", "gpio"; 324 pinctrl-0 = <&pinctrl_i2c1>; 325 pinctrl-1 = <&pinctrl_i2c1_gpio>; 326 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 327 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 328 status = "okay"; 329 330 pca9450: pmic@25 { 331 compatible = "nxp,pca9450a"; 332 interrupt-parent = <&gpio1>; 333 /* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */ 334 interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 335 pinctrl-names = "default"; 336 pinctrl-0 = <&pinctrl_pmic>; 337 reg = <0x25>; 338 sd-vsel-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; 339 340 /* 341 * The bootloader is expected to switch on the I2C level shifter for the TLA2024 ADC 342 * behind this PMIC. 343 */ 344 345 regulators { 346 reg_vdd_soc: BUCK1 { 347 nxp,dvs-run-voltage = <850000>; 348 nxp,dvs-standby-voltage = <800000>; 349 regulator-always-on; 350 regulator-boot-on; 351 regulator-max-microvolt = <850000>; 352 regulator-min-microvolt = <800000>; 353 regulator-name = "On-module +VDD_SOC (BUCK1)"; 354 regulator-ramp-delay = <3125>; 355 }; 356 357 reg_vdd_arm: BUCK2 { 358 nxp,dvs-run-voltage = <950000>; 359 nxp,dvs-standby-voltage = <850000>; 360 regulator-always-on; 361 regulator-boot-on; 362 regulator-max-microvolt = <950000>; 363 regulator-min-microvolt = <850000>; 364 regulator-name = "On-module +VDD_ARM (BUCK2)"; 365 regulator-ramp-delay = <3125>; 366 }; 367 368 reg_vdd_dram: BUCK3 { 369 regulator-always-on; 370 regulator-boot-on; 371 regulator-max-microvolt = <950000>; 372 regulator-min-microvolt = <850000>; 373 regulator-name = "On-module +VDD_GPU_VPU_DDR (BUCK3)"; 374 }; 375 376 reg_vdd_3v3: BUCK4 { 377 regulator-always-on; 378 regulator-boot-on; 379 regulator-max-microvolt = <3300000>; 380 regulator-min-microvolt = <3300000>; 381 regulator-name = "On-module +V3.3 (BUCK4)"; 382 }; 383 384 reg_vdd_1v8: BUCK5 { 385 regulator-always-on; 386 regulator-boot-on; 387 regulator-max-microvolt = <1800000>; 388 regulator-min-microvolt = <1800000>; 389 regulator-name = "PWR_1V8_MOCI (BUCK5)"; 390 }; 391 392 reg_nvcc_dram: BUCK6 { 393 regulator-always-on; 394 regulator-boot-on; 395 regulator-max-microvolt = <1100000>; 396 regulator-min-microvolt = <1100000>; 397 regulator-name = "On-module +VDD_DDR (BUCK6)"; 398 }; 399 400 reg_nvcc_snvs: LDO1 { 401 regulator-always-on; 402 regulator-boot-on; 403 regulator-max-microvolt = <1800000>; 404 regulator-min-microvolt = <1800000>; 405 regulator-name = "On-module +V1.8_SNVS (LDO1)"; 406 }; 407 408 reg_vdd_snvs: LDO2 { 409 regulator-always-on; 410 regulator-boot-on; 411 regulator-max-microvolt = <900000>; 412 regulator-min-microvolt = <800000>; 413 regulator-name = "On-module +V0.8_SNVS (LDO2)"; 414 }; 415 416 reg_vdda: LDO3 { 417 regulator-always-on; 418 regulator-boot-on; 419 regulator-max-microvolt = <1800000>; 420 regulator-min-microvolt = <1800000>; 421 regulator-name = "On-module +V1.8A (LDO3)"; 422 }; 423 424 reg_vdd_phy: LDO4 { 425 regulator-always-on; 426 regulator-boot-on; 427 regulator-max-microvolt = <900000>; 428 regulator-min-microvolt = <900000>; 429 regulator-name = "On-module +V0.9_MIPI (LDO4)"; 430 }; 431 432 reg_nvcc_sd: LDO5 { 433 regulator-max-microvolt = <3300000>; 434 regulator-min-microvolt = <1800000>; 435 regulator-name = "On-module +V3.3_1.8_SD (LDO5)"; 436 }; 437 }; 438 }; 439 440 rtc_i2c: rtc@32 { 441 compatible = "epson,rx8130"; 442 reg = <0x32>; 443 }; 444 445 adc@49 { 446 compatible = "ti,ads1015"; 447 reg = <0x49>; 448 #address-cells = <1>; 449 #size-cells = <0>; 450 451 /* Verdin I2C_1 (ADC_4 - ADC_3) */ 452 channel@0 { 453 reg = <0>; 454 ti,datarate = <4>; 455 ti,gain = <2>; 456 }; 457 458 /* Verdin I2C_1 (ADC_4 - ADC_1) */ 459 channel@1 { 460 reg = <1>; 461 ti,datarate = <4>; 462 ti,gain = <2>; 463 }; 464 465 /* Verdin I2C_1 (ADC_3 - ADC_1) */ 466 channel@2 { 467 reg = <2>; 468 ti,datarate = <4>; 469 ti,gain = <2>; 470 }; 471 472 /* Verdin I2C_1 (ADC_2 - ADC_1) */ 473 channel@3 { 474 reg = <3>; 475 ti,datarate = <4>; 476 ti,gain = <2>; 477 }; 478 479 /* Verdin I2C_1 ADC_4 */ 480 channel@4 { 481 reg = <4>; 482 ti,datarate = <4>; 483 ti,gain = <2>; 484 }; 485 486 /* Verdin I2C_1 ADC_3 */ 487 channel@5 { 488 reg = <5>; 489 ti,datarate = <4>; 490 ti,gain = <2>; 491 }; 492 493 /* Verdin I2C_1 ADC_2 */ 494 channel@6 { 495 reg = <6>; 496 ti,datarate = <4>; 497 ti,gain = <2>; 498 }; 499 500 /* Verdin I2C_1 ADC_1 */ 501 channel@7 { 502 reg = <7>; 503 ti,datarate = <4>; 504 ti,gain = <2>; 505 }; 506 }; 507 508 eeprom@50 { 509 compatible = "st,24c02"; 510 pagesize = <16>; 511 reg = <0x50>; 512 }; 513}; 514 515/* Verdin I2C_2_DSI */ 516&i2c2 { 517 clock-frequency = <10000>; 518 pinctrl-names = "default", "gpio"; 519 pinctrl-0 = <&pinctrl_i2c2>; 520 pinctrl-1 = <&pinctrl_i2c2_gpio>; 521 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 522 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 523 status = "disabled"; 524}; 525 526/* Verdin I2C_3_HDMI N/A */ 527 528/* Verdin I2C_4_CSI */ 529&i2c3 { 530 clock-frequency = <400000>; 531 pinctrl-names = "default", "gpio"; 532 pinctrl-0 = <&pinctrl_i2c3>; 533 pinctrl-1 = <&pinctrl_i2c3_gpio>; 534 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 535 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 536}; 537 538/* Verdin I2C_1 */ 539&i2c4 { 540 clock-frequency = <400000>; 541 pinctrl-names = "default", "gpio"; 542 pinctrl-0 = <&pinctrl_i2c4>; 543 pinctrl-1 = <&pinctrl_i2c4_gpio>; 544 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 545 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 546 547 gpio_expander_21: gpio-expander@21 { 548 compatible = "nxp,pcal6416"; 549 #gpio-cells = <2>; 550 gpio-controller; 551 reg = <0x21>; 552 vcc-supply = <®_3p3v>; 553 status = "disabled"; 554 }; 555 556 lvds_ti_sn65dsi83: bridge@2c { 557 compatible = "ti,sn65dsi83"; 558 /* Verdin GPIO_9_DSI (SN65DSI84 IRQ, SODIMM 17, unused) */ 559 /* Verdin GPIO_10_DSI (SODIMM 21) */ 560 enable-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>; 561 pinctrl-names = "default"; 562 pinctrl-0 = <&pinctrl_gpio_10_dsi>; 563 reg = <0x2c>; 564 status = "disabled"; 565 }; 566 567 /* Current measurement into module VCC */ 568 hwmon: hwmon@40 { 569 compatible = "ti,ina219"; 570 reg = <0x40>; 571 shunt-resistor = <10000>; 572 status = "disabled"; 573 }; 574 575 hdmi_lontium_lt8912: hdmi@48 { 576 compatible = "lontium,lt8912b"; 577 pinctrl-names = "default"; 578 pinctrl-0 = <&pinctrl_gpio_10_dsi>, <&pinctrl_pwm_3_dsi_hpd_gpio>; 579 reg = <0x48>; 580 /* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */ 581 /* Verdin GPIO_10_DSI (SODIMM 21) */ 582 reset-gpios = <&gpio3 3 GPIO_ACTIVE_LOW>; 583 status = "disabled"; 584 }; 585 586 atmel_mxt_ts: touch@4a { 587 compatible = "atmel,maxtouch"; 588 /* 589 * Verdin GPIO_9_DSI 590 * (TOUCH_INT#, SODIMM 17, also routed to SN65DSI83 IRQ albeit currently unused) 591 */ 592 interrupt-parent = <&gpio3>; 593 interrupts = <15 IRQ_TYPE_EDGE_FALLING>; 594 pinctrl-names = "default"; 595 pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>; 596 reg = <0x4a>; 597 /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ 598 reset-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; 599 status = "disabled"; 600 }; 601 602 /* Temperature sensor on carrier board */ 603 hwmon_temp: sensor@4f { 604 compatible = "ti,tmp75c"; 605 reg = <0x4f>; 606 status = "disabled"; 607 }; 608 609 /* EEPROM on display adapter (MIPI DSI Display Adapter) */ 610 eeprom_display_adapter: eeprom@50 { 611 compatible = "st,24c02"; 612 pagesize = <16>; 613 reg = <0x50>; 614 status = "disabled"; 615 }; 616 617 /* EEPROM on carrier board */ 618 eeprom_carrier_board: eeprom@57 { 619 compatible = "st,24c02"; 620 pagesize = <16>; 621 reg = <0x57>; 622 status = "disabled"; 623 }; 624}; 625 626/* Verdin PCIE_1 */ 627&pcie0 { 628 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>, 629 <&clk IMX8MM_CLK_PCIE1_CTRL>; 630 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>, 631 <&clk IMX8MM_SYS_PLL2_250M>; 632 assigned-clock-rates = <10000000>, <250000000>; 633 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&clk IMX8MM_CLK_PCIE1_AUX>, 634 <&clk IMX8MM_CLK_PCIE1_PHY>; 635 clock-names = "pcie", "pcie_aux", "pcie_bus"; 636 pinctrl-names = "default"; 637 pinctrl-0 = <&pinctrl_pcie0>; 638 /* PCIE_1_RESET# (SODIMM 244) */ 639 reset-gpio = <&gpio3 19 GPIO_ACTIVE_LOW>; 640}; 641 642&pcie_phy { 643 clocks = <&clk IMX8MM_CLK_PCIE1_PHY>; 644 fsl,clkreq-unsupported; 645 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>; 646 fsl,tx-deemph-gen1 = <0x2d>; 647 fsl,tx-deemph-gen2 = <0xf>; 648}; 649 650/* Verdin PWM_3_DSI */ 651&pwm1 { 652 pinctrl-names = "default"; 653 pinctrl-0 = <&pinctrl_pwm_1>; 654 #pwm-cells = <3>; 655}; 656 657/* Verdin PWM_1 */ 658&pwm2 { 659 pinctrl-names = "default"; 660 pinctrl-0 = <&pinctrl_pwm_2>; 661 #pwm-cells = <3>; 662}; 663 664/* Verdin PWM_2 */ 665&pwm3 { 666 pinctrl-names = "default"; 667 pinctrl-0 = <&pinctrl_pwm_3>; 668 #pwm-cells = <3>; 669}; 670 671/* Verdin I2S_1 */ 672&sai2 { 673 #sound-dai-cells = <0>; 674 assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>; 675 assigned-clock-rates = <24576000>; 676 assigned-clocks = <&clk IMX8MM_CLK_SAI2>; 677 pinctrl-names = "default"; 678 pinctrl-0 = <&pinctrl_sai2>; 679}; 680 681&snvs_pwrkey { 682 status = "okay"; 683}; 684 685/* Verdin UART_3, used as the Linux console */ 686&uart1 { 687 pinctrl-names = "default"; 688 pinctrl-0 = <&pinctrl_uart1>; 689}; 690 691/* Verdin UART_1 */ 692&uart2 { 693 pinctrl-names = "default"; 694 pinctrl-0 = <&pinctrl_uart2>; 695 uart-has-rtscts; 696}; 697 698/* Verdin UART_2 */ 699&uart3 { 700 pinctrl-names = "default"; 701 pinctrl-0 = <&pinctrl_uart3>; 702 uart-has-rtscts; 703}; 704 705/* 706 * Verdin UART_4 707 * Resource allocated to M4 by default, must not be accessed from Cortex-A35 or you get an OOPS 708 */ 709&uart4 { 710 pinctrl-names = "default"; 711 pinctrl-0 = <&pinctrl_uart4>; 712}; 713 714/* Verdin USB_1 */ 715&usbotg1 { 716 adp-disable; 717 dr_mode = "otg"; 718 hnp-disable; 719 over-current-active-low; 720 samsung,picophy-dc-vol-level-adjust = <7>; 721 samsung,picophy-pre-emp-curr-control = <3>; 722 srp-disable; 723 vbus-supply = <®_usb_otg1_vbus>; 724}; 725 726/* Verdin USB_2 */ 727&usbotg2 { 728 dr_mode = "host"; 729 over-current-active-low; 730 samsung,picophy-dc-vol-level-adjust = <7>; 731 samsung,picophy-pre-emp-curr-control = <3>; 732 vbus-supply = <®_usb_otg2_vbus>; 733}; 734 735&usbphynop1 { 736 vcc-supply = <®_vdd_3v3>; 737}; 738 739&usbphynop2 { 740 vcc-supply = <®_vdd_3v3>; 741}; 742 743/* On-module eMMC */ 744&usdhc1 { 745 bus-width = <8>; 746 keep-power-in-suspend; 747 non-removable; 748 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 749 pinctrl-0 = <&pinctrl_usdhc1>; 750 pinctrl-1 = <&pinctrl_usdhc1_100mhz>; 751 pinctrl-2 = <&pinctrl_usdhc1_200mhz>; 752 status = "okay"; 753}; 754 755/* Verdin SD_1 */ 756&usdhc2 { 757 bus-width = <4>; 758 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 759 disable-wp; 760 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 761 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_cd>; 762 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_cd>; 763 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>; 764 vmmc-supply = <®_usdhc2_vmmc>; 765}; 766 767&wdog1 { 768 fsl,ext-reset-output; 769 pinctrl-names = "default"; 770 pinctrl-0 = <&pinctrl_wdog>; 771 status = "okay"; 772}; 773 774&iomuxc { 775 pinctrl-names = "default"; 776 pinctrl-0 = <&pinctrl_gpio1>, <&pinctrl_gpio2>, 777 <&pinctrl_gpio3>, <&pinctrl_gpio4>, 778 <&pinctrl_gpio7>, <&pinctrl_gpio8>, 779 <&pinctrl_gpio_hog1>, <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>, 780 <&pinctrl_pmic_tpm_ena>; 781 782 pinctrl_can1_int: can1intgrp { 783 fsl,pins = 784 <MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x146>; /* CAN_1_SPI_INT#_1.8V */ 785 }; 786 787 pinctrl_can2_int: can2intgrp { 788 fsl,pins = 789 <MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7 0x106>; /* CAN_2_SPI_INT#_1.8V, unused */ 790 }; 791 792 pinctrl_ctrl_sleep_moci: ctrlsleepmocigrp { 793 fsl,pins = 794 <MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1 0x106>; /* SODIMM 256 */ 795 }; 796 797 pinctrl_ecspi2: ecspi2grp { 798 fsl,pins = 799 <MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x6>, /* SODIMM 198 */ 800 <MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x6>, /* SODIMM 200 */ 801 <MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x6>, /* SODIMM 196 */ 802 <MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x6>; /* SODIMM 202 */ 803 }; 804 805 pinctrl_ecspi3: ecspi3grp { 806 fsl,pins = 807 <MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5 0x146>, /* CAN_2_SPI_CS#_1.8V */ 808 <MX8MM_IOMUXC_UART1_RXD_ECSPI3_SCLK 0x6>, /* CAN_SPI_SCK_1.8V */ 809 <MX8MM_IOMUXC_UART1_TXD_ECSPI3_MOSI 0x6>, /* CAN_SPI_MOSI_1.8V */ 810 <MX8MM_IOMUXC_UART2_RXD_ECSPI3_MISO 0x6>, /* CAN_SPI_MISO_1.8V */ 811 <MX8MM_IOMUXC_UART2_TXD_GPIO5_IO25 0x6>; /* CAN_1_SPI_CS_1.8V# */ 812 }; 813 814 pinctrl_fec1: fec1grp { 815 fsl,pins = 816 <MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3>, 817 <MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3>, 818 <MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91>, 819 <MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91>, 820 <MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91>, 821 <MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91>, 822 <MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91>, 823 <MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91>, 824 <MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f>, 825 <MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f>, 826 <MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f>, 827 <MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f>, 828 <MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f>, 829 <MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f>, 830 <MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x146>; 831 }; 832 833 pinctrl_fec1_sleep: fec1-sleepgrp { 834 fsl,pins = 835 <MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3>, 836 <MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3>, 837 <MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91>, 838 <MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91>, 839 <MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91>, 840 <MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91>, 841 <MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91>, 842 <MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91>, 843 <MX8MM_IOMUXC_ENET_TD0_GPIO1_IO21 0x1f>, 844 <MX8MM_IOMUXC_ENET_TD1_GPIO1_IO20 0x1f>, 845 <MX8MM_IOMUXC_ENET_TD2_GPIO1_IO19 0x1f>, 846 <MX8MM_IOMUXC_ENET_TD3_GPIO1_IO18 0x1f>, 847 <MX8MM_IOMUXC_ENET_TXC_GPIO1_IO23 0x1f>, 848 <MX8MM_IOMUXC_ENET_TX_CTL_GPIO1_IO22 0x1f>, 849 <MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x106>; 850 }; 851 852 pinctrl_flexspi0: flexspi0grp { 853 fsl,pins = 854 <MX8MM_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x106>, /* SODIMM 52 */ 855 <MX8MM_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x106>, /* SODIMM 54 */ 856 <MX8MM_IOMUXC_NAND_CE1_B_QSPI_A_SS1_B 0x106>, /* SODIMM 64 */ 857 <MX8MM_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x106>, /* SODIMM 56 */ 858 <MX8MM_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x106>, /* SODIMM 58 */ 859 <MX8MM_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x106>, /* SODIMM 60 */ 860 <MX8MM_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x106>, /* SODIMM 62 */ 861 <MX8MM_IOMUXC_NAND_DQS_QSPI_A_DQS 0x106>; /* SODIMM 66 */ 862 }; 863 864 pinctrl_gpio1: gpio1grp { 865 fsl,pins = 866 <MX8MM_IOMUXC_NAND_CE3_B_GPIO3_IO4 0x106>; /* SODIMM 206 */ 867 }; 868 869 pinctrl_gpio2: gpio2grp { 870 fsl,pins = 871 <MX8MM_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5 0x106>; /* SODIMM 208 */ 872 }; 873 874 pinctrl_gpio3: gpio3grp { 875 fsl,pins = 876 <MX8MM_IOMUXC_UART3_RXD_GPIO5_IO26 0x106>; /* SODIMM 210 */ 877 }; 878 879 pinctrl_gpio4: gpio4grp { 880 fsl,pins = 881 <MX8MM_IOMUXC_UART3_TXD_GPIO5_IO27 0x106>; /* SODIMM 212 */ 882 }; 883 884 pinctrl_gpio5: gpio5grp { 885 fsl,pins = 886 <MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x106>; /* SODIMM 216 */ 887 }; 888 889 pinctrl_gpio6: gpio6grp { 890 fsl,pins = 891 <MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x106>; /* SODIMM 218 */ 892 }; 893 894 pinctrl_gpio7: gpio7grp { 895 fsl,pins = 896 <MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x106>; /* SODIMM 220 */ 897 }; 898 899 pinctrl_gpio8: gpio8grp { 900 fsl,pins = 901 <MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x106>; /* SODIMM 222 */ 902 }; 903 904 /* Verdin GPIO_9_DSI (pulled-up as active-low) */ 905 pinctrl_gpio_9_dsi: gpio9dsigrp { 906 fsl,pins = 907 <MX8MM_IOMUXC_NAND_RE_B_GPIO3_IO15 0x146>; /* SODIMM 17 */ 908 }; 909 910 /* Verdin GPIO_10_DSI (pulled-up as active-low) */ 911 pinctrl_gpio_10_dsi: gpio10dsigrp { 912 fsl,pins = 913 <MX8MM_IOMUXC_NAND_CE2_B_GPIO3_IO3 0x146>; /* SODIMM 21 */ 914 }; 915 916 pinctrl_gpio_hog1: gpiohog1grp { 917 fsl,pins = 918 <MX8MM_IOMUXC_SAI1_MCLK_GPIO4_IO20 0x106>, /* SODIMM 88 */ 919 <MX8MM_IOMUXC_SAI1_RXC_GPIO4_IO1 0x106>, /* SODIMM 90 */ 920 <MX8MM_IOMUXC_SAI1_RXD0_GPIO4_IO2 0x106>, /* SODIMM 92 */ 921 <MX8MM_IOMUXC_SAI1_RXD1_GPIO4_IO3 0x106>, /* SODIMM 94 */ 922 <MX8MM_IOMUXC_SAI1_RXD2_GPIO4_IO4 0x106>, /* SODIMM 96 */ 923 <MX8MM_IOMUXC_SAI1_RXD3_GPIO4_IO5 0x106>, /* SODIMM 100 */ 924 <MX8MM_IOMUXC_SAI1_RXFS_GPIO4_IO0 0x106>, /* SODIMM 102 */ 925 <MX8MM_IOMUXC_SAI1_TXC_GPIO4_IO11 0x106>, /* SODIMM 104 */ 926 <MX8MM_IOMUXC_SAI1_TXD0_GPIO4_IO12 0x106>, /* SODIMM 106 */ 927 <MX8MM_IOMUXC_SAI1_TXD1_GPIO4_IO13 0x106>, /* SODIMM 108 */ 928 <MX8MM_IOMUXC_SAI1_TXD2_GPIO4_IO14 0x106>, /* SODIMM 112 */ 929 <MX8MM_IOMUXC_SAI1_TXD3_GPIO4_IO15 0x106>, /* SODIMM 114 */ 930 <MX8MM_IOMUXC_SAI1_TXD4_GPIO4_IO16 0x106>, /* SODIMM 116 */ 931 <MX8MM_IOMUXC_SAI1_TXD6_GPIO4_IO18 0x106>, /* SODIMM 118 */ 932 <MX8MM_IOMUXC_SAI1_TXFS_GPIO4_IO10 0x106>; /* SODIMM 120 */ 933 }; 934 935 pinctrl_gpio_hog2: gpiohog2grp { 936 fsl,pins = 937 <MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2 0x106>; /* SODIMM 91 */ 938 }; 939 940 pinctrl_gpio_hog3: gpiohog3grp { 941 fsl,pins = 942 <MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x146>, /* SODIMM 157 */ 943 <MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x146>; /* SODIMM 187 */ 944 }; 945 946 pinctrl_gpio_keys: gpiokeysgrp { 947 fsl,pins = 948 <MX8MM_IOMUXC_SAI3_RXFS_GPIO4_IO28 0x146>; /* SODIMM 252 */ 949 }; 950 951 /* On-module I2C */ 952 pinctrl_i2c1: i2c1grp { 953 fsl,pins = 954 <MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x40000146>, /* PMIC_I2C_SCL */ 955 <MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x40000146>; /* PMIC_I2C_SDA */ 956 }; 957 958 pinctrl_i2c1_gpio: i2c1gpiogrp { 959 fsl,pins = 960 <MX8MM_IOMUXC_I2C1_SCL_GPIO5_IO14 0x146>, /* PMIC_I2C_SCL */ 961 <MX8MM_IOMUXC_I2C1_SDA_GPIO5_IO15 0x146>; /* PMIC_I2C_SDA */ 962 }; 963 964 /* Verdin I2C_4_CSI */ 965 pinctrl_i2c2: i2c2grp { 966 fsl,pins = 967 <MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x40000146>, /* SODIMM 55 */ 968 <MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x40000146>; /* SODIMM 53 */ 969 }; 970 971 pinctrl_i2c2_gpio: i2c2gpiogrp { 972 fsl,pins = 973 <MX8MM_IOMUXC_I2C2_SCL_GPIO5_IO16 0x146>, /* SODIMM 55 */ 974 <MX8MM_IOMUXC_I2C2_SDA_GPIO5_IO17 0x146>; /* SODIMM 53 */ 975 }; 976 977 /* Verdin I2C_2_DSI */ 978 pinctrl_i2c3: i2c3grp { 979 fsl,pins = 980 <MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x40000146>, /* SODIMM 95 */ 981 <MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x40000146>; /* SODIMM 93 */ 982 }; 983 984 pinctrl_i2c3_gpio: i2c3gpiogrp { 985 fsl,pins = 986 <MX8MM_IOMUXC_I2C3_SCL_GPIO5_IO18 0x146>, /* SODIMM 95 */ 987 <MX8MM_IOMUXC_I2C3_SDA_GPIO5_IO19 0x146>; /* SODIMM 93 */ 988 }; 989 990 /* Verdin I2C_1 */ 991 pinctrl_i2c4: i2c4grp { 992 fsl,pins = 993 <MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x40000146>, /* SODIMM 14 */ 994 <MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x40000146>; /* SODIMM 12 */ 995 }; 996 997 pinctrl_i2c4_gpio: i2c4gpiogrp { 998 fsl,pins = 999 <MX8MM_IOMUXC_I2C4_SCL_GPIO5_IO20 0x146>, /* SODIMM 14 */ 1000 <MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21 0x146>; /* SODIMM 12 */ 1001 }; 1002 1003 /* Verdin I2S_2_BCLK (TOUCH_RESET#) */ 1004 pinctrl_i2s_2_bclk_touch_reset: i2s2bclktouchresetgrp { 1005 fsl,pins = 1006 <MX8MM_IOMUXC_SAI5_RXD2_GPIO3_IO23 0x6>; /* SODIMM 42 */ 1007 }; 1008 1009 /* Verdin I2S_2_D_OUT shared with SAI5 */ 1010 pinctrl_i2s_2_d_out_dsi_1_bkl_en: i2s2doutdsi1bklengrp { 1011 fsl,pins = 1012 <MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x6>; /* SODIMM 46 */ 1013 }; 1014 1015 pinctrl_pcie0: pcie0grp { 1016 fsl,pins = 1017 <MX8MM_IOMUXC_SAI5_RXFS_GPIO3_IO19 0x6>, /* SODIMM 244 */ 1018 /* PMIC_EN_PCIe_CLK, unused */ 1019 <MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x6>; 1020 }; 1021 1022 pinctrl_pmic: pmicirqgrp { 1023 fsl,pins = 1024 <MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x141>; /* PMIC_INT# */ 1025 }; 1026 1027 /* Verdin PWM_3_DSI shared with GPIO1_IO1 */ 1028 pinctrl_pwm_1: pwm1grp { 1029 fsl,pins = 1030 <MX8MM_IOMUXC_GPIO1_IO01_PWM1_OUT 0x6>; /* SODIMM 19 */ 1031 }; 1032 1033 pinctrl_pwm_2: pwm2grp { 1034 fsl,pins = 1035 <MX8MM_IOMUXC_SPDIF_RX_PWM2_OUT 0x6>; /* SODIMM 15 */ 1036 }; 1037 1038 pinctrl_pwm_3: pwm3grp { 1039 fsl,pins = 1040 <MX8MM_IOMUXC_SPDIF_TX_PWM3_OUT 0x6>; /* SODIMM 16 */ 1041 }; 1042 1043 /* Verdin PWM_3_DSI (pulled-down as active-high) shared with PWM1_OUT */ 1044 pinctrl_pwm_3_dsi_hpd_gpio: pwm3dsihpdgpiogrp { 1045 fsl,pins = 1046 <MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x106>; /* SODIMM 19 */ 1047 }; 1048 1049 pinctrl_reg_eth: regethgrp { 1050 fsl,pins = 1051 <MX8MM_IOMUXC_SD2_WP_GPIO2_IO20 0x146>; /* PMIC_EN_ETH */ 1052 }; 1053 1054 pinctrl_reg_usb1_en: regusb1engrp { 1055 fsl,pins = 1056 <MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x106>; /* SODIMM 155 */ 1057 }; 1058 1059 pinctrl_reg_usb2_en: regusb2engrp { 1060 fsl,pins = 1061 <MX8MM_IOMUXC_GPIO1_IO14_GPIO1_IO14 0x106>; /* SODIMM 185 */ 1062 }; 1063 1064 pinctrl_sai2: sai2grp { 1065 fsl,pins = 1066 <MX8MM_IOMUXC_SAI2_MCLK_SAI2_MCLK 0x6>, /* SODIMM 38 */ 1067 <MX8MM_IOMUXC_SAI2_TXC_SAI2_TX_BCLK 0x6>, /* SODIMM 30 */ 1068 <MX8MM_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC 0x6>, /* SODIMM 32 */ 1069 <MX8MM_IOMUXC_SAI2_RXD0_SAI2_RX_DATA0 0x6>, /* SODIMM 36 */ 1070 <MX8MM_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0 0x6>; /* SODIMM 34 */ 1071 }; 1072 1073 pinctrl_sai5: sai5grp { 1074 fsl,pins = 1075 <MX8MM_IOMUXC_SAI5_RXD0_SAI5_RX_DATA0 0x6>, /* SODIMM 48 */ 1076 <MX8MM_IOMUXC_SAI5_RXD1_SAI5_TX_SYNC 0x6>, /* SODIMM 44 */ 1077 <MX8MM_IOMUXC_SAI5_RXD2_SAI5_TX_BCLK 0x6>, /* SODIMM 42 */ 1078 <MX8MM_IOMUXC_SAI5_RXD3_SAI5_TX_DATA0 0x6>; /* SODIMM 46 */ 1079 }; 1080 1081 /* control signal for optional ATTPM20P or SE050 */ 1082 pinctrl_pmic_tpm_ena: pmictpmenagrp { 1083 fsl,pins = 1084 <MX8MM_IOMUXC_SAI1_TXD7_GPIO4_IO19 0x106>; /* PMIC_TPM_ENA */ 1085 }; 1086 1087 pinctrl_tsp: tspgrp { 1088 fsl,pins = 1089 <MX8MM_IOMUXC_SAI1_RXD4_GPIO4_IO6 0x6>, /* SODIMM 148 */ 1090 <MX8MM_IOMUXC_SAI1_RXD5_GPIO4_IO7 0x6>, /* SODIMM 152 */ 1091 <MX8MM_IOMUXC_SAI1_RXD6_GPIO4_IO8 0x6>, /* SODIMM 154 */ 1092 <MX8MM_IOMUXC_SAI1_RXD7_GPIO4_IO9 0x146>, /* SODIMM 174 */ 1093 <MX8MM_IOMUXC_SAI1_TXD5_GPIO4_IO17 0x6>; /* SODIMM 150 */ 1094 }; 1095 1096 pinctrl_uart1: uart1grp { 1097 fsl,pins = 1098 <MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX 0x146>, /* SODIMM 147 */ 1099 <MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX 0x146>; /* SODIMM 149 */ 1100 }; 1101 1102 pinctrl_uart2: uart2grp { 1103 fsl,pins = 1104 <MX8MM_IOMUXC_SAI3_RXC_UART2_DCE_CTS_B 0x146>, /* SODIMM 133 */ 1105 <MX8MM_IOMUXC_SAI3_RXD_UART2_DCE_RTS_B 0x146>, /* SODIMM 135 */ 1106 <MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX 0x146>, /* SODIMM 131 */ 1107 <MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX 0x146>; /* SODIMM 129 */ 1108 }; 1109 1110 pinctrl_uart3: uart3grp { 1111 fsl,pins = 1112 <MX8MM_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0x146>, /* SODIMM 141 */ 1113 <MX8MM_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX 0x146>, /* SODIMM 139 */ 1114 <MX8MM_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX 0x146>, /* SODIMM 137 */ 1115 <MX8MM_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0x146>; /* SODIMM 143 */ 1116 }; 1117 1118 pinctrl_uart4: uart4grp { 1119 fsl,pins = 1120 <MX8MM_IOMUXC_UART4_RXD_UART4_DCE_RX 0x146>, /* SODIMM 151 */ 1121 <MX8MM_IOMUXC_UART4_TXD_UART4_DCE_TX 0x146>; /* SODIMM 153 */ 1122 }; 1123 1124 pinctrl_usdhc1: usdhc1grp { 1125 fsl,pins = 1126 <MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190>, 1127 <MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0>, 1128 <MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0>, 1129 <MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0>, 1130 <MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0>, 1131 <MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0>, 1132 <MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4 0x1d0>, 1133 <MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5 0x1d0>, 1134 <MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6 0x1d0>, 1135 <MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7 0x1d0>, 1136 <MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0x1d1>, 1137 <MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x190>; 1138 }; 1139 1140 pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { 1141 fsl,pins = 1142 <MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x194>, 1143 <MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d4>, 1144 <MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d4>, 1145 <MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d4>, 1146 <MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d4>, 1147 <MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d4>, 1148 <MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4 0x1d4>, 1149 <MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5 0x1d4>, 1150 <MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6 0x1d4>, 1151 <MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7 0x1d4>, 1152 <MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0x1d1>, 1153 <MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x194>; 1154 }; 1155 1156 pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { 1157 fsl,pins = 1158 <MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x196>, 1159 <MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d6>, 1160 <MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d6>, 1161 <MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d6>, 1162 <MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d6>, 1163 <MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d6>, 1164 <MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4 0x1d6>, 1165 <MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5 0x1d6>, 1166 <MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6 0x1d6>, 1167 <MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7 0x1d6>, 1168 <MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0x1d1>, 1169 <MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x196>; 1170 }; 1171 1172 pinctrl_usdhc2_cd: usdhc2cdgrp { 1173 fsl,pins = 1174 <MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x6>; /* SODIMM 84 */ 1175 }; 1176 1177 pinctrl_usdhc2_pwr_en: usdhc2pwrengrp { 1178 fsl,pins = 1179 <MX8MM_IOMUXC_NAND_CLE_GPIO3_IO5 0x6>; /* SODIMM 76 */ 1180 }; 1181 1182 /* 1183 * Note: Due to ERR050080 we use discrete external on-module resistors pulling-up to the 1184 * on-module +V3.3_1.8_SD (LDO5) rail and explicitly disable the internal pull-ups here. 1185 */ 1186 pinctrl_usdhc2: usdhc2grp { 1187 fsl,pins = 1188 <MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x10>, 1189 <MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x90>, /* SODIMM 78 */ 1190 <MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x90>, /* SODIMM 74 */ 1191 <MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x90>, /* SODIMM 80 */ 1192 <MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x90>, /* SODIMM 82 */ 1193 <MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x90>, /* SODIMM 70 */ 1194 <MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x90>; /* SODIMM 72 */ 1195 }; 1196 1197 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 1198 fsl,pins = 1199 <MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x10>, 1200 <MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x94>, 1201 <MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x94>, 1202 <MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x94>, 1203 <MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x94>, 1204 <MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x94>, 1205 <MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x94>; 1206 }; 1207 1208 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 1209 fsl,pins = 1210 <MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x10>, 1211 <MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x96>, 1212 <MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x96>, 1213 <MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x96>, 1214 <MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x96>, 1215 <MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x96>, 1216 <MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x96>; 1217 }; 1218 1219 /* 1220 * On-module Wi-Fi/BT or type specific SDHC interface 1221 * (e.g. on X52 extension slot of Verdin Development Board) 1222 */ 1223 pinctrl_usdhc3: usdhc3grp { 1224 fsl,pins = 1225 <MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x150>, 1226 <MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x150>, 1227 <MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x150>, 1228 <MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x150>, 1229 <MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x150>, 1230 <MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x150>; 1231 }; 1232 1233 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { 1234 fsl,pins = 1235 <MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x154>, 1236 <MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x154>, 1237 <MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x154>, 1238 <MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x154>, 1239 <MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x154>, 1240 <MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x154>; 1241 }; 1242 1243 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { 1244 fsl,pins = 1245 <MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x156>, 1246 <MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x156>, 1247 <MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x156>, 1248 <MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x156>, 1249 <MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x156>, 1250 <MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x156>; 1251 }; 1252 1253 pinctrl_wdog: wdoggrp { 1254 fsl,pins = 1255 <MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166>; /* PMIC_WDI */ 1256 }; 1257 1258 pinctrl_wifi_ctrl: wifictrlgrp { 1259 fsl,pins = 1260 <MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16 0x46>, /* WIFI_WKUP_BT */ 1261 <MX8MM_IOMUXC_SAI1_RXD7_GPIO4_IO9 0x146>, /* WIFI_W_WKUP_HOST */ 1262 <MX8MM_IOMUXC_SAI5_RXC_GPIO3_IO20 0x46>; /* WIFI_WKUP_WLAN */ 1263 }; 1264 1265 pinctrl_wifi_i2s: bti2sgrp { 1266 fsl,pins = 1267 <MX8MM_IOMUXC_SAI1_RXD4_SAI6_TX_BCLK 0x6>, /* WIFI_TX_BCLK */ 1268 <MX8MM_IOMUXC_SAI1_RXD5_SAI6_TX_DATA0 0x6>, /* WIFI_TX_DATA0 */ 1269 <MX8MM_IOMUXC_SAI1_RXD6_SAI6_TX_SYNC 0x6>, /* WIFI_TX_SYNC */ 1270 <MX8MM_IOMUXC_SAI1_TXD5_SAI6_RX_DATA0 0x6>; /* WIFI_RX_DATA0 */ 1271 }; 1272 1273 pinctrl_wifi_pwr_en: wifipwrengrp { 1274 fsl,pins = 1275 <MX8MM_IOMUXC_SAI5_MCLK_GPIO3_IO25 0x6>; /* PMIC_EN_WIFI */ 1276 }; 1277}; 1278