1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright 2022 Gateworks Corporation 4 */ 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> 11#include <dt-bindings/phy/phy-imx8-pcie.h> 12 13#include "imx8mm.dtsi" 14 15/ { 16 model = "Gateworks Venice GW7903 i.MX8MM board"; 17 compatible = "gw,imx8mm-gw7903", "fsl,imx8mm"; 18 19 aliases { 20 ethernet0 = &fec1; 21 usb0 = &usbotg1; 22 }; 23 24 chosen { 25 stdout-path = &uart2; 26 }; 27 28 memory@40000000 { 29 device_type = "memory"; 30 reg = <0x0 0x40000000 0 0x80000000>; 31 }; 32 33 gpio-keys { 34 compatible = "gpio-keys"; 35 36 key-user-pb { 37 label = "user_pb"; 38 gpios = <&gpio 2 GPIO_ACTIVE_LOW>; 39 linux,code = <BTN_0>; 40 }; 41 42 key-user-pb1x { 43 label = "user_pb1x"; 44 linux,code = <BTN_1>; 45 interrupt-parent = <&gsc>; 46 interrupts = <0>; 47 }; 48 49 key-erased { 50 label = "key_erased"; 51 linux,code = <BTN_2>; 52 interrupt-parent = <&gsc>; 53 interrupts = <1>; 54 }; 55 56 key-eeprom-wp { 57 label = "eeprom_wp"; 58 linux,code = <BTN_3>; 59 interrupt-parent = <&gsc>; 60 interrupts = <2>; 61 }; 62 63 switch-hold { 64 label = "switch_hold"; 65 linux,code = <BTN_5>; 66 interrupt-parent = <&gsc>; 67 interrupts = <7>; 68 }; 69 }; 70 71 led-controller { 72 compatible = "gpio-leds"; 73 pinctrl-names = "default"; 74 pinctrl-0 = <&pinctrl_gpio_leds>; 75 76 led-0 { 77 function = LED_FUNCTION_STATUS; 78 color = <LED_COLOR_ID_RED>; 79 label = "led01_red"; 80 gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>; 81 default-state = "off"; 82 }; 83 84 led-1 { 85 function = LED_FUNCTION_STATUS; 86 color = <LED_COLOR_ID_GREEN>; 87 label = "led01_grn"; 88 gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; 89 default-state = "off"; 90 }; 91 92 led-2 { 93 function = LED_FUNCTION_STATUS; 94 color = <LED_COLOR_ID_RED>; 95 label = "led02_red"; 96 gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; 97 default-state = "off"; 98 }; 99 100 led-3 { 101 function = LED_FUNCTION_STATUS; 102 color = <LED_COLOR_ID_GREEN>; 103 label = "led02_grn"; 104 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; 105 default-state = "off"; 106 }; 107 108 led-4 { 109 function = LED_FUNCTION_STATUS; 110 color = <LED_COLOR_ID_RED>; 111 label = "led03_red"; 112 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; 113 default-state = "off"; 114 }; 115 116 led-5 { 117 function = LED_FUNCTION_STATUS; 118 color = <LED_COLOR_ID_GREEN>; 119 label = "led03_grn"; 120 gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; 121 default-state = "off"; 122 }; 123 124 led-6 { 125 function = LED_FUNCTION_STATUS; 126 color = <LED_COLOR_ID_RED>; 127 label = "led04_red"; 128 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; 129 default-state = "off"; 130 }; 131 132 led-7 { 133 function = LED_FUNCTION_STATUS; 134 color = <LED_COLOR_ID_GREEN>; 135 label = "led04_grn"; 136 gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; 137 default-state = "off"; 138 }; 139 140 led-8 { 141 function = LED_FUNCTION_STATUS; 142 color = <LED_COLOR_ID_RED>; 143 label = "led05_red"; 144 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; 145 default-state = "off"; 146 }; 147 148 led-9 { 149 function = LED_FUNCTION_STATUS; 150 color = <LED_COLOR_ID_GREEN>; 151 label = "led05_grn"; 152 gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>; 153 default-state = "off"; 154 }; 155 156 led-a { 157 function = LED_FUNCTION_STATUS; 158 color = <LED_COLOR_ID_RED>; 159 label = "led06_red"; 160 gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>; 161 default-state = "off"; 162 }; 163 164 led-b { 165 function = LED_FUNCTION_STATUS; 166 color = <LED_COLOR_ID_GREEN>; 167 label = "led06_grn"; 168 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 169 default-state = "off"; 170 }; 171 }; 172 173 pcie0_refclk: pcie0-refclk { 174 compatible = "fixed-clock"; 175 #clock-cells = <0>; 176 clock-frequency = <100000000>; 177 }; 178 179 reg_3p3v: regulator-3p3v { 180 compatible = "regulator-fixed"; 181 regulator-name = "3P3V"; 182 regulator-min-microvolt = <3300000>; 183 regulator-max-microvolt = <3300000>; 184 regulator-always-on; 185 }; 186}; 187 188&A53_0 { 189 cpu-supply = <&buck2>; 190}; 191 192&A53_1 { 193 cpu-supply = <&buck2>; 194}; 195 196&A53_2 { 197 cpu-supply = <&buck2>; 198}; 199 200&A53_3 { 201 cpu-supply = <&buck2>; 202}; 203 204&ddrc { 205 operating-points-v2 = <&ddrc_opp_table>; 206 207 ddrc_opp_table: opp-table { 208 compatible = "operating-points-v2"; 209 210 opp-25000000 { 211 opp-hz = /bits/ 64 <25000000>; 212 }; 213 214 opp-100000000 { 215 opp-hz = /bits/ 64 <100000000>; 216 }; 217 218 opp-750000000 { 219 opp-hz = /bits/ 64 <750000000>; 220 }; 221 }; 222}; 223 224&fec1 { 225 pinctrl-names = "default"; 226 pinctrl-0 = <&pinctrl_fec1>; 227 phy-mode = "rgmii-id"; 228 phy-handle = <ðphy0>; 229 local-mac-address = [00 00 00 00 00 00]; 230 status = "okay"; 231 232 mdio { 233 #address-cells = <1>; 234 #size-cells = <0>; 235 236 ethphy0: ethernet-phy@0 { 237 compatible = "ethernet-phy-ieee802.3-c22"; 238 reg = <0>; 239 rx-internal-delay-ps = <2000>; 240 tx-internal-delay-ps = <2500>; 241 }; 242 }; 243}; 244 245&gpio1 { 246 gpio-line-names = "", "", "", "", "", "", "", "", 247 "", "", "rs422_en#", "rs485_en#", "rs232_en#", "", "", "", 248 "", "", "", "", "", "", "", "", 249 "", "", "", "", "", "", "", ""; 250}; 251 252&gpio2 { 253 gpio-line-names = "dig2_in", "dig2_out#", "dig2_ctl", "", "", "", "dig1_ctl", "", 254 "dig1_out#", "dig1_in", "", "", "", "", "", "", 255 "", "", "", "", "", "", "", "", 256 "", "", "", "", "", "", "", ""; 257}; 258 259&gpio5 { 260 gpio-line-names = "", "", "", "", "", "", "", "sim1_det#", 261 "sim2_det#", "sim2_sel", "", "", "pci_wdis#", "", "", "", 262 "", "", "", "", "", "", "", "", 263 "", "", "", "", "", "", "", ""; 264}; 265 266&i2c1 { 267 clock-frequency = <100000>; 268 pinctrl-names = "default", "gpio"; 269 pinctrl-0 = <&pinctrl_i2c1>; 270 pinctrl-1 = <&pinctrl_i2c1_gpio>; 271 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 272 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 273 status = "okay"; 274 275 gsc: gsc@20 { 276 compatible = "gw,gsc"; 277 reg = <0x20>; 278 pinctrl-0 = <&pinctrl_gsc>; 279 interrupt-parent = <&gpio4>; 280 interrupts = <26 IRQ_TYPE_EDGE_FALLING>; 281 interrupt-controller; 282 #interrupt-cells = <1>; 283 284 adc { 285 compatible = "gw,gsc-adc"; 286 #address-cells = <1>; 287 #size-cells = <0>; 288 289 channel@6 { 290 gw,mode = <0>; 291 reg = <0x06>; 292 label = "temp"; 293 }; 294 295 channel@8 { 296 gw,mode = <3>; 297 reg = <0x08>; 298 label = "vdd_bat"; 299 }; 300 301 channel@82 { 302 gw,mode = <2>; 303 reg = <0x82>; 304 label = "vin"; 305 gw,voltage-divider-ohms = <22100 1000>; 306 gw,voltage-offset-microvolt = <700000>; 307 }; 308 309 channel@84 { 310 gw,mode = <2>; 311 reg = <0x84>; 312 label = "vdd_5p0"; 313 gw,voltage-divider-ohms = <10000 10000>; 314 }; 315 316 channel@86 { 317 gw,mode = <2>; 318 reg = <0x86>; 319 label = "vdd_3p3"; 320 gw,voltage-divider-ohms = <10000 10000>; 321 }; 322 323 channel@88 { 324 gw,mode = <2>; 325 reg = <0x88>; 326 label = "vdd_0p9"; 327 }; 328 329 channel@8c { 330 gw,mode = <2>; 331 reg = <0x8c>; 332 label = "vdd_soc"; 333 }; 334 335 channel@8e { 336 gw,mode = <2>; 337 reg = <0x8e>; 338 label = "vdd_arm"; 339 }; 340 341 channel@90 { 342 gw,mode = <2>; 343 reg = <0x90>; 344 label = "vdd_1p8"; 345 }; 346 347 channel@92 { 348 gw,mode = <2>; 349 reg = <0x92>; 350 label = "vdd_dram"; 351 }; 352 353 channel@a2 { 354 gw,mode = <2>; 355 reg = <0xa2>; 356 label = "vdd_gsc"; 357 gw,voltage-divider-ohms = <10000 10000>; 358 }; 359 }; 360 }; 361 362 gpio: gpio@23 { 363 compatible = "nxp,pca9555"; 364 reg = <0x23>; 365 gpio-controller; 366 #gpio-cells = <2>; 367 interrupt-parent = <&gsc>; 368 interrupts = <4>; 369 }; 370 371 eeprom@50 { 372 compatible = "atmel,24c02"; 373 reg = <0x50>; 374 pagesize = <16>; 375 }; 376 377 eeprom@51 { 378 compatible = "atmel,24c02"; 379 reg = <0x51>; 380 pagesize = <16>; 381 }; 382 383 eeprom@52 { 384 compatible = "atmel,24c02"; 385 reg = <0x52>; 386 pagesize = <16>; 387 }; 388 389 eeprom@53 { 390 compatible = "atmel,24c02"; 391 reg = <0x53>; 392 pagesize = <16>; 393 }; 394 395 rtc@68 { 396 compatible = "dallas,ds1672"; 397 reg = <0x68>; 398 }; 399}; 400 401&i2c2 { 402 clock-frequency = <400000>; 403 pinctrl-names = "default", "gpio"; 404 pinctrl-0 = <&pinctrl_i2c2>; 405 pinctrl-1 = <&pinctrl_i2c2_gpio>; 406 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 407 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 408 status = "okay"; 409 410 pmic@4b { 411 compatible = "rohm,bd71847"; 412 reg = <0x4b>; 413 pinctrl-names = "default"; 414 pinctrl-0 = <&pinctrl_pmic>; 415 interrupt-parent = <&gpio3>; 416 interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 417 rohm,reset-snvs-powered; 418 #clock-cells = <0>; 419 clocks = <&osc_32k>; 420 clock-output-names = "clk-32k-out"; 421 422 regulators { 423 /* vdd_soc: 0.805-0.900V (typ=0.8V) */ 424 BUCK1 { 425 regulator-name = "buck1"; 426 regulator-min-microvolt = <700000>; 427 regulator-max-microvolt = <1300000>; 428 regulator-boot-on; 429 regulator-always-on; 430 regulator-ramp-delay = <1250>; 431 }; 432 433 /* vdd_arm: 0.805-1.0V (typ=0.9V) */ 434 buck2: BUCK2 { 435 regulator-name = "buck2"; 436 regulator-min-microvolt = <700000>; 437 regulator-max-microvolt = <1300000>; 438 regulator-boot-on; 439 regulator-always-on; 440 regulator-ramp-delay = <1250>; 441 rohm,dvs-run-voltage = <1000000>; 442 rohm,dvs-idle-voltage = <900000>; 443 }; 444 445 /* vdd_0p9: 0.805-1.0V (typ=0.9V) */ 446 BUCK3 { 447 regulator-name = "buck3"; 448 regulator-min-microvolt = <700000>; 449 regulator-max-microvolt = <1350000>; 450 regulator-boot-on; 451 regulator-always-on; 452 }; 453 454 /* vdd_3p3 */ 455 BUCK4 { 456 regulator-name = "buck4"; 457 regulator-min-microvolt = <3000000>; 458 regulator-max-microvolt = <3300000>; 459 regulator-boot-on; 460 regulator-always-on; 461 }; 462 463 /* vdd_1p8 */ 464 BUCK5 { 465 regulator-name = "buck5"; 466 regulator-min-microvolt = <1605000>; 467 regulator-max-microvolt = <1995000>; 468 regulator-boot-on; 469 regulator-always-on; 470 }; 471 472 /* vdd_dram */ 473 BUCK6 { 474 regulator-name = "buck6"; 475 regulator-min-microvolt = <800000>; 476 regulator-max-microvolt = <1400000>; 477 regulator-boot-on; 478 regulator-always-on; 479 }; 480 481 /* nvcc_snvs_1p8 */ 482 LDO1 { 483 regulator-name = "ldo1"; 484 regulator-min-microvolt = <1600000>; 485 regulator-max-microvolt = <1900000>; 486 regulator-boot-on; 487 regulator-always-on; 488 }; 489 490 /* vdd_snvs_0p8 */ 491 LDO2 { 492 regulator-name = "ldo2"; 493 regulator-min-microvolt = <800000>; 494 regulator-max-microvolt = <900000>; 495 regulator-boot-on; 496 regulator-always-on; 497 }; 498 499 /* vdda_1p8 */ 500 LDO3 { 501 regulator-name = "ldo3"; 502 regulator-min-microvolt = <1800000>; 503 regulator-max-microvolt = <3300000>; 504 regulator-boot-on; 505 regulator-always-on; 506 }; 507 508 LDO4 { 509 regulator-name = "ldo4"; 510 regulator-min-microvolt = <900000>; 511 regulator-max-microvolt = <1800000>; 512 regulator-boot-on; 513 regulator-always-on; 514 }; 515 516 LDO6 { 517 regulator-name = "ldo6"; 518 regulator-min-microvolt = <900000>; 519 regulator-max-microvolt = <1800000>; 520 regulator-boot-on; 521 regulator-always-on; 522 }; 523 }; 524 }; 525}; 526 527&i2c3 { 528 clock-frequency = <400000>; 529 pinctrl-names = "default", "gpio"; 530 pinctrl-0 = <&pinctrl_i2c3>; 531 pinctrl-1 = <&pinctrl_i2c3_gpio>; 532 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 533 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 534 status = "okay"; 535 536 accelerometer@19 { 537 pinctrl-names = "default"; 538 pinctrl-0 = <&pinctrl_accel>; 539 compatible = "st,lis2de12"; 540 reg = <0x19>; 541 st,drdy-int-pin = <1>; 542 interrupt-parent = <&gpio1>; 543 interrupts = <15 IRQ_TYPE_LEVEL_LOW>; 544 }; 545}; 546 547&pcie_phy { 548 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; 549 fsl,clkreq-unsupported; 550 clocks = <&pcie0_refclk>; 551 clock-names = "ref"; 552 status = "okay"; 553}; 554 555&pcie0 { 556 pinctrl-names = "default"; 557 pinctrl-0 = <&pinctrl_pcie0>; 558 reset-gpio = <&gpio5 11 GPIO_ACTIVE_LOW>; 559 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&pcie0_refclk>, 560 <&clk IMX8MM_CLK_PCIE1_AUX>; 561 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>, 562 <&clk IMX8MM_CLK_PCIE1_CTRL>; 563 assigned-clock-rates = <10000000>, <250000000>; 564 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>, 565 <&clk IMX8MM_SYS_PLL2_250M>; 566 status = "okay"; 567}; 568 569&disp_blk_ctrl { 570 status = "disabled"; 571}; 572 573&pgc_mipi { 574 status = "disabled"; 575}; 576 577/* off-board RS232/RS485/RS422 */ 578&uart1 { 579 pinctrl-names = "default"; 580 pinctrl-0 = <&pinctrl_uart1>; 581 cts-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 582 rts-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; 583 dtr-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; 584 dsr-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; 585 dcd-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; 586 status = "okay"; 587}; 588 589/* console */ 590&uart2 { 591 pinctrl-names = "default"; 592 pinctrl-0 = <&pinctrl_uart2>; 593 status = "okay"; 594}; 595 596&usbotg1 { 597 dr_mode = "host"; 598 disable-over-current; 599 status = "okay"; 600}; 601 602/* microSD */ 603&usdhc2 { 604 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 605 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 606 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 607 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 608 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 609 bus-width = <4>; 610 vmmc-supply = <®_3p3v>; 611 status = "okay"; 612}; 613 614/* eMMC */ 615&usdhc3 { 616 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 617 pinctrl-0 = <&pinctrl_usdhc3>; 618 pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 619 pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 620 bus-width = <8>; 621 non-removable; 622 status = "okay"; 623}; 624 625&wdog1 { 626 pinctrl-names = "default"; 627 pinctrl-0 = <&pinctrl_wdog>; 628 fsl,ext-reset-output; 629 status = "okay"; 630}; 631 632&iomuxc { 633 pinctrl-names = "default"; 634 pinctrl-0 = <&pinctrl_hog>; 635 636 pinctrl_hog: hoggrp { 637 fsl,pins = < 638 MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x40000041 /* RS422# */ 639 MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x40000041 /* RS485# */ 640 MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x40000041 /* RS232# */ 641 MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9 0x40000041 /* DIG1_IN */ 642 MX8MM_IOMUXC_SD1_DATA6_GPIO2_IO8 0x40000041 /* DIG1_OUT */ 643 MX8MM_IOMUXC_SD1_DATA4_GPIO2_IO6 0x40000041 /* DIG1_CTL */ 644 MX8MM_IOMUXC_SD1_DATA0_GPIO2_IO2 0x40000041 /* DIG2_CTL */ 645 MX8MM_IOMUXC_SD1_CLK_GPIO2_IO0 0x40000041 /* DIG2_IN */ 646 MX8MM_IOMUXC_SD1_CMD_GPIO2_IO1 0x40000041 /* DIG2_OUT */ 647 MX8MM_IOMUXC_ECSPI1_MOSI_GPIO5_IO7 0x40000041 /* SIM1DET# */ 648 MX8MM_IOMUXC_ECSPI1_MISO_GPIO5_IO8 0x40000041 /* SIM2DET# */ 649 MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x40000041 /* SIM2SEL */ 650 MX8MM_IOMUXC_ECSPI2_MISO_GPIO5_IO12 0x40000041 /* PCI_WDIS# */ 651 >; 652 }; 653 654 pinctrl_accel: accelgrp { 655 fsl,pins = < 656 MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x159 657 >; 658 }; 659 660 pinctrl_fec1: fec1grp { 661 fsl,pins = < 662 MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3 663 MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3 664 MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f 665 MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f 666 MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f 667 MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f 668 MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 669 MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 670 MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 671 MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 672 MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f 673 MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 674 MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 675 MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f 676 MX8MM_IOMUXC_SAI2_TXFS_GPIO4_IO24 0x19 /* IRQ# */ 677 MX8MM_IOMUXC_SAI2_TXC_GPIO4_IO25 0x19 /* RST# */ 678 >; 679 }; 680 681 pinctrl_gsc: gscgrp { 682 fsl,pins = < 683 MX8MM_IOMUXC_SAI2_TXD0_GPIO4_IO26 0x159 684 >; 685 }; 686 687 pinctrl_i2c1: i2c1grp { 688 fsl,pins = < 689 MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 690 MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 691 >; 692 }; 693 694 pinctrl_i2c1_gpio: i2c1gpiogrp { 695 fsl,pins = < 696 MX8MM_IOMUXC_I2C1_SCL_GPIO5_IO14 0x400001c3 697 MX8MM_IOMUXC_I2C1_SDA_GPIO5_IO15 0x400001c3 698 >; 699 }; 700 701 pinctrl_i2c2: i2c2grp { 702 fsl,pins = < 703 MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3 704 MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3 705 >; 706 }; 707 708 pinctrl_i2c2_gpio: i2c2gpiogrp { 709 fsl,pins = < 710 MX8MM_IOMUXC_I2C2_SCL_GPIO5_IO16 0x400001c3 711 MX8MM_IOMUXC_I2C2_SDA_GPIO5_IO17 0x400001c3 712 >; 713 }; 714 715 pinctrl_i2c3: i2c3grp { 716 fsl,pins = < 717 MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3 718 MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3 719 >; 720 }; 721 722 pinctrl_i2c3_gpio: i2c3gpiogrp { 723 fsl,pins = < 724 MX8MM_IOMUXC_I2C3_SCL_GPIO5_IO18 0x400001c3 725 MX8MM_IOMUXC_I2C3_SDA_GPIO5_IO19 0x400001c3 726 >; 727 }; 728 729 pinctrl_gpio_leds: gpioledgrp { 730 fsl,pins = < 731 MX8MM_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5 0x19 732 MX8MM_IOMUXC_SAI3_RXD_GPIO4_IO30 0x19 733 MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2 0x19 734 MX8MM_IOMUXC_GPIO1_IO14_GPIO1_IO14 0x19 735 MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x19 736 MX8MM_IOMUXC_SPDIF_TX_GPIO5_IO3 0x19 737 MX8MM_IOMUXC_SAI3_RXC_GPIO4_IO29 0x19 738 MX8MM_IOMUXC_SAI3_RXFS_GPIO4_IO28 0x19 739 MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x19 740 MX8MM_IOMUXC_SAI3_TXFS_GPIO4_IO31 0x19 741 MX8MM_IOMUXC_SPDIF_RX_GPIO5_IO4 0x19 742 MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x19 743 >; 744 }; 745 746 pinctrl_pcie0: pciegrp { 747 fsl,pins = < 748 MX8MM_IOMUXC_ECSPI2_MOSI_GPIO5_IO11 0x41 749 >; 750 }; 751 752 pinctrl_pmic: pmicgrp { 753 fsl,pins = < 754 MX8MM_IOMUXC_NAND_DATA02_GPIO3_IO8 0x41 755 >; 756 }; 757 758 pinctrl_uart1: uart1grp { 759 fsl,pins = < 760 MX8MM_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140 761 MX8MM_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140 762 MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x140 763 MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x140 764 MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x140 765 MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5 0x140 766 MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x140 767 >; 768 }; 769 770 pinctrl_uart2: uart2grp { 771 fsl,pins = < 772 MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 773 MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 774 >; 775 }; 776 777 pinctrl_usdhc2: usdhc2grp { 778 fsl,pins = < 779 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190 780 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0 781 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0 782 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0 783 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0 784 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0 785 >; 786 }; 787 788 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 789 fsl,pins = < 790 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x194 791 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4 792 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4 793 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4 794 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4 795 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4 796 >; 797 }; 798 799 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 800 fsl,pins = < 801 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x196 802 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6 803 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6 804 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6 805 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6 806 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6 807 >; 808 }; 809 810 pinctrl_usdhc2_gpio: usdhc2-gpiogrp { 811 fsl,pins = < 812 MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x1c4 813 MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 814 >; 815 }; 816 817 pinctrl_usdhc3: usdhc3grp { 818 fsl,pins = < 819 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x190 820 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d0 821 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d0 822 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d0 823 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0 824 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d0 825 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d0 826 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d0 827 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d0 828 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d0 829 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x190 830 >; 831 }; 832 833 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { 834 fsl,pins = < 835 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x194 836 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d4 837 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4 838 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4 839 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4 840 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4 841 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4 842 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4 843 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4 844 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4 845 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x194 846 >; 847 }; 848 849 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { 850 fsl,pins = < 851 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x196 852 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d6 853 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d6 854 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d6 855 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d6 856 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d6 857 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d6 858 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d6 859 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d6 860 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6 861 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196 862 >; 863 }; 864 865 pinctrl_wdog: wdoggrp { 866 fsl,pins = < 867 MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 868 >; 869 }; 870}; 871