1aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2aa1a8ff2SEmmanuel Vadot/* 3aa1a8ff2SEmmanuel Vadot * Copyright 2023 Gateworks Corporation 4aa1a8ff2SEmmanuel Vadot */ 5aa1a8ff2SEmmanuel Vadot 6aa1a8ff2SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 7aa1a8ff2SEmmanuel Vadot#include <dt-bindings/leds/common.h> 8aa1a8ff2SEmmanuel Vadot#include <dt-bindings/phy/phy-imx8-pcie.h> 9aa1a8ff2SEmmanuel Vadot 10aa1a8ff2SEmmanuel Vadot/ { 11*8d13bc63SEmmanuel Vadot connector { 12*8d13bc63SEmmanuel Vadot compatible = "gpio-usb-b-connector", "usb-b-connector"; 13*8d13bc63SEmmanuel Vadot pinctrl-names = "default"; 14*8d13bc63SEmmanuel Vadot pinctrl-0 = <&pinctrl_usbcon1>; 15*8d13bc63SEmmanuel Vadot type = "micro"; 16*8d13bc63SEmmanuel Vadot label = "otg"; 17*8d13bc63SEmmanuel Vadot id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 18*8d13bc63SEmmanuel Vadot 19*8d13bc63SEmmanuel Vadot port { 20*8d13bc63SEmmanuel Vadot usb_dr_connector: endpoint { 21*8d13bc63SEmmanuel Vadot remote-endpoint = <&usb3_dwc>; 22*8d13bc63SEmmanuel Vadot }; 23*8d13bc63SEmmanuel Vadot }; 24*8d13bc63SEmmanuel Vadot }; 25*8d13bc63SEmmanuel Vadot 26aa1a8ff2SEmmanuel Vadot led-controller { 27aa1a8ff2SEmmanuel Vadot compatible = "gpio-leds"; 28aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 29aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_gpio_leds>; 30aa1a8ff2SEmmanuel Vadot 31aa1a8ff2SEmmanuel Vadot led-0 { 32aa1a8ff2SEmmanuel Vadot function = LED_FUNCTION_STATUS; 33aa1a8ff2SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 34aa1a8ff2SEmmanuel Vadot gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>; 35aa1a8ff2SEmmanuel Vadot default-state = "on"; 36aa1a8ff2SEmmanuel Vadot linux,default-trigger = "heartbeat"; 37aa1a8ff2SEmmanuel Vadot }; 38aa1a8ff2SEmmanuel Vadot 39aa1a8ff2SEmmanuel Vadot led-1 { 40aa1a8ff2SEmmanuel Vadot function = LED_FUNCTION_STATUS; 41aa1a8ff2SEmmanuel Vadot color = <LED_COLOR_ID_RED>; 42aa1a8ff2SEmmanuel Vadot gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; 43aa1a8ff2SEmmanuel Vadot default-state = "off"; 44aa1a8ff2SEmmanuel Vadot }; 45aa1a8ff2SEmmanuel Vadot }; 46aa1a8ff2SEmmanuel Vadot 47aa1a8ff2SEmmanuel Vadot pcie0_refclk: clock-pcie0 { 48aa1a8ff2SEmmanuel Vadot compatible = "fixed-clock"; 49aa1a8ff2SEmmanuel Vadot #clock-cells = <0>; 50aa1a8ff2SEmmanuel Vadot clock-frequency = <100000000>; 51aa1a8ff2SEmmanuel Vadot }; 52aa1a8ff2SEmmanuel Vadot 53aa1a8ff2SEmmanuel Vadot pps { 54aa1a8ff2SEmmanuel Vadot compatible = "pps-gpio"; 55aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 56aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_pps>; 57aa1a8ff2SEmmanuel Vadot gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>; 58aa1a8ff2SEmmanuel Vadot status = "okay"; 59aa1a8ff2SEmmanuel Vadot }; 60aa1a8ff2SEmmanuel Vadot 61aa1a8ff2SEmmanuel Vadot reg_usb1_vbus: regulator-usb1 { 62aa1a8ff2SEmmanuel Vadot compatible = "regulator-fixed"; 63aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 64aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_usb1_en>; 65aa1a8ff2SEmmanuel Vadot regulator-name = "usb1_vbus"; 66aa1a8ff2SEmmanuel Vadot gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; 67aa1a8ff2SEmmanuel Vadot enable-active-high; 68aa1a8ff2SEmmanuel Vadot regulator-min-microvolt = <5000000>; 69aa1a8ff2SEmmanuel Vadot regulator-max-microvolt = <5000000>; 70aa1a8ff2SEmmanuel Vadot }; 71aa1a8ff2SEmmanuel Vadot 72aa1a8ff2SEmmanuel Vadot reg_usb2_vbus: regulator-usb2 { 73aa1a8ff2SEmmanuel Vadot compatible = "regulator-fixed"; 74aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 75aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_usb2_en>; 76aa1a8ff2SEmmanuel Vadot regulator-name = "usb2_vbus"; 77aa1a8ff2SEmmanuel Vadot gpio = <&gpio4 12 GPIO_ACTIVE_HIGH>; 78aa1a8ff2SEmmanuel Vadot enable-active-high; 79aa1a8ff2SEmmanuel Vadot regulator-min-microvolt = <5000000>; 80aa1a8ff2SEmmanuel Vadot regulator-max-microvolt = <5000000>; 81aa1a8ff2SEmmanuel Vadot }; 82aa1a8ff2SEmmanuel Vadot 83aa1a8ff2SEmmanuel Vadot reg_wifi_en: regulator-wifi-en { 84aa1a8ff2SEmmanuel Vadot compatible = "regulator-fixed"; 85aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 86aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_wl>; 87aa1a8ff2SEmmanuel Vadot regulator-name = "wl"; 88aa1a8ff2SEmmanuel Vadot gpio = <&gpio4 19 GPIO_ACTIVE_HIGH>; 89aa1a8ff2SEmmanuel Vadot startup-delay-us = <100>; 90aa1a8ff2SEmmanuel Vadot enable-active-high; 91aa1a8ff2SEmmanuel Vadot regulator-min-microvolt = <3300000>; 92aa1a8ff2SEmmanuel Vadot regulator-max-microvolt = <3300000>; 93aa1a8ff2SEmmanuel Vadot }; 94aa1a8ff2SEmmanuel Vadot 95aa1a8ff2SEmmanuel Vadot reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 96aa1a8ff2SEmmanuel Vadot compatible = "regulator-fixed"; 97aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 98aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2_vmmc>; 99aa1a8ff2SEmmanuel Vadot regulator-name = "VDD_3V3_SD"; 100aa1a8ff2SEmmanuel Vadot enable-active-high; 101aa1a8ff2SEmmanuel Vadot gpio = <&gpio2 19 0>; /* SD2_RESET */ 102aa1a8ff2SEmmanuel Vadot off-on-delay-us = <12000>; 103aa1a8ff2SEmmanuel Vadot regulator-max-microvolt = <3300000>; 104aa1a8ff2SEmmanuel Vadot regulator-min-microvolt = <3300000>; 105aa1a8ff2SEmmanuel Vadot startup-delay-us = <100>; 106aa1a8ff2SEmmanuel Vadot }; 107aa1a8ff2SEmmanuel Vadot}; 108aa1a8ff2SEmmanuel Vadot 109aa1a8ff2SEmmanuel Vadot/* off-board header */ 110aa1a8ff2SEmmanuel Vadot&ecspi2 { 111aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 112aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_spi2>; 11384943d6fSEmmanuel Vadot cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>, 11484943d6fSEmmanuel Vadot <&gpio1 10 GPIO_ACTIVE_LOW>; 115aa1a8ff2SEmmanuel Vadot status = "okay"; 11684943d6fSEmmanuel Vadot 11784943d6fSEmmanuel Vadot tpm@1 { 118*8d13bc63SEmmanuel Vadot compatible = "atmel,attpm20p", "tcg,tpm_tis-spi"; 11984943d6fSEmmanuel Vadot reg = <0x1>; 12084943d6fSEmmanuel Vadot spi-max-frequency = <36000000>; 12184943d6fSEmmanuel Vadot }; 122aa1a8ff2SEmmanuel Vadot}; 123aa1a8ff2SEmmanuel Vadot 124aa1a8ff2SEmmanuel Vadot&gpio4 { 125aa1a8ff2SEmmanuel Vadot gpio-line-names = 126aa1a8ff2SEmmanuel Vadot "", "", "", "", 127aa1a8ff2SEmmanuel Vadot "", "", "", "", 128aa1a8ff2SEmmanuel Vadot "dio1", "", "", "dio0", 129aa1a8ff2SEmmanuel Vadot "", "", "pci_usb_sel", "", 130aa1a8ff2SEmmanuel Vadot "", "", "", "", 131aa1a8ff2SEmmanuel Vadot "", "", "rs485_en", "rs485_term", 132aa1a8ff2SEmmanuel Vadot "", "", "", "rs485_half", 133aa1a8ff2SEmmanuel Vadot "pci_wdis#", "", "", ""; 134aa1a8ff2SEmmanuel Vadot}; 135aa1a8ff2SEmmanuel Vadot 136aa1a8ff2SEmmanuel Vadot&i2c2 { 137aa1a8ff2SEmmanuel Vadot clock-frequency = <400000>; 138aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 139aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 140aa1a8ff2SEmmanuel Vadot status = "okay"; 141aa1a8ff2SEmmanuel Vadot 142aa1a8ff2SEmmanuel Vadot accelerometer@19 { 143aa1a8ff2SEmmanuel Vadot compatible = "st,lis2de12"; 144aa1a8ff2SEmmanuel Vadot reg = <0x19>; 145aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 146aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_accel>; 147aa1a8ff2SEmmanuel Vadot st,drdy-int-pin = <1>; 148aa1a8ff2SEmmanuel Vadot interrupt-parent = <&gpio4>; 149aa1a8ff2SEmmanuel Vadot interrupts = <21 IRQ_TYPE_LEVEL_LOW>; 150aa1a8ff2SEmmanuel Vadot }; 151aa1a8ff2SEmmanuel Vadot}; 152aa1a8ff2SEmmanuel Vadot 153aa1a8ff2SEmmanuel Vadot&pcie_phy { 154aa1a8ff2SEmmanuel Vadot fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; 155aa1a8ff2SEmmanuel Vadot fsl,clkreq-unsupported; 156aa1a8ff2SEmmanuel Vadot clocks = <&pcie0_refclk>; 157aa1a8ff2SEmmanuel Vadot clock-names = "ref"; 158aa1a8ff2SEmmanuel Vadot status = "okay"; 159aa1a8ff2SEmmanuel Vadot}; 160aa1a8ff2SEmmanuel Vadot 161aa1a8ff2SEmmanuel Vadot&pcie { 162aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 163aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_pcie0>; 164aa1a8ff2SEmmanuel Vadot reset-gpio = <&gpio4 29 GPIO_ACTIVE_LOW>; 165aa1a8ff2SEmmanuel Vadot status = "okay"; 166aa1a8ff2SEmmanuel Vadot}; 167aa1a8ff2SEmmanuel Vadot 168aa1a8ff2SEmmanuel Vadot/* GPS */ 169aa1a8ff2SEmmanuel Vadot&uart1 { 170aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 171aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 172aa1a8ff2SEmmanuel Vadot status = "okay"; 173aa1a8ff2SEmmanuel Vadot}; 174aa1a8ff2SEmmanuel Vadot 175aa1a8ff2SEmmanuel Vadot/* bluetooth HCI */ 176aa1a8ff2SEmmanuel Vadot&uart3 { 177aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 178aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>, <&pinctrl_bten>; 179aa1a8ff2SEmmanuel Vadot cts-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; 180aa1a8ff2SEmmanuel Vadot rts-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 181aa1a8ff2SEmmanuel Vadot status = "okay"; 182aa1a8ff2SEmmanuel Vadot 183aa1a8ff2SEmmanuel Vadot bluetooth { 184aa1a8ff2SEmmanuel Vadot compatible = "brcm,bcm4330-bt"; 185aa1a8ff2SEmmanuel Vadot shutdown-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>; 186aa1a8ff2SEmmanuel Vadot }; 187aa1a8ff2SEmmanuel Vadot}; 188aa1a8ff2SEmmanuel Vadot 189aa1a8ff2SEmmanuel Vadot/* RS232 */ 190aa1a8ff2SEmmanuel Vadot&uart4 { 191aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 192aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_uart4>; 193aa1a8ff2SEmmanuel Vadot status = "okay"; 194aa1a8ff2SEmmanuel Vadot}; 195aa1a8ff2SEmmanuel Vadot 196aa1a8ff2SEmmanuel Vadot/* USB1 - OTG */ 197aa1a8ff2SEmmanuel Vadot&usb3_0 { 198aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 199aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_usb1>; 200aa1a8ff2SEmmanuel Vadot fsl,over-current-active-low; 201aa1a8ff2SEmmanuel Vadot status = "okay"; 202aa1a8ff2SEmmanuel Vadot}; 203aa1a8ff2SEmmanuel Vadot 204aa1a8ff2SEmmanuel Vadot&usb3_phy0 { 205aa1a8ff2SEmmanuel Vadot vbus-supply = <®_usb1_vbus>; 206aa1a8ff2SEmmanuel Vadot status = "okay"; 207aa1a8ff2SEmmanuel Vadot}; 208aa1a8ff2SEmmanuel Vadot 209aa1a8ff2SEmmanuel Vadot&usb_dwc3_0 { 210aa1a8ff2SEmmanuel Vadot /* dual role is implemented but not a full featured OTG */ 211aa1a8ff2SEmmanuel Vadot adp-disable; 212aa1a8ff2SEmmanuel Vadot hnp-disable; 213aa1a8ff2SEmmanuel Vadot srp-disable; 214aa1a8ff2SEmmanuel Vadot dr_mode = "otg"; 215aa1a8ff2SEmmanuel Vadot usb-role-switch; 216aa1a8ff2SEmmanuel Vadot role-switch-default-mode = "peripheral"; 217aa1a8ff2SEmmanuel Vadot status = "okay"; 218aa1a8ff2SEmmanuel Vadot 219*8d13bc63SEmmanuel Vadot port { 220*8d13bc63SEmmanuel Vadot usb3_dwc: endpoint { 221*8d13bc63SEmmanuel Vadot remote-endpoint = <&usb_dr_connector>; 222*8d13bc63SEmmanuel Vadot }; 223aa1a8ff2SEmmanuel Vadot }; 224aa1a8ff2SEmmanuel Vadot}; 225aa1a8ff2SEmmanuel Vadot 226aa1a8ff2SEmmanuel Vadot/* USB2 - USB3.0 Hub */ 227aa1a8ff2SEmmanuel Vadot&usb3_1 { 228aa1a8ff2SEmmanuel Vadot fsl,permanently-attached; 229aa1a8ff2SEmmanuel Vadot fsl,disable-port-power-control; 230aa1a8ff2SEmmanuel Vadot status = "okay"; 231aa1a8ff2SEmmanuel Vadot}; 232aa1a8ff2SEmmanuel Vadot 233aa1a8ff2SEmmanuel Vadot&usb3_phy1 { 234aa1a8ff2SEmmanuel Vadot vbus-supply = <®_usb2_vbus>; 235aa1a8ff2SEmmanuel Vadot status = "okay"; 236aa1a8ff2SEmmanuel Vadot}; 237aa1a8ff2SEmmanuel Vadot 238aa1a8ff2SEmmanuel Vadot&usb_dwc3_1 { 239aa1a8ff2SEmmanuel Vadot dr_mode = "host"; 240aa1a8ff2SEmmanuel Vadot status = "okay"; 241aa1a8ff2SEmmanuel Vadot}; 242aa1a8ff2SEmmanuel Vadot 243aa1a8ff2SEmmanuel Vadot/* SDIO WiFi */ 244aa1a8ff2SEmmanuel Vadot&usdhc1 { 245aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 246aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc1>; 247aa1a8ff2SEmmanuel Vadot bus-width = <4>; 248aa1a8ff2SEmmanuel Vadot non-removable; 249aa1a8ff2SEmmanuel Vadot vmmc-supply = <®_wifi_en>; 250aa1a8ff2SEmmanuel Vadot status = "okay"; 251aa1a8ff2SEmmanuel Vadot}; 252aa1a8ff2SEmmanuel Vadot 253aa1a8ff2SEmmanuel Vadot/* microSD */ 254aa1a8ff2SEmmanuel Vadot&usdhc2 { 255aa1a8ff2SEmmanuel Vadot pinctrl-names = "default", "state_100mhz", "state_200mhz"; 256aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 257aa1a8ff2SEmmanuel Vadot pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 258aa1a8ff2SEmmanuel Vadot pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 259aa1a8ff2SEmmanuel Vadot cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 260aa1a8ff2SEmmanuel Vadot bus-width = <4>; 261aa1a8ff2SEmmanuel Vadot vmmc-supply = <®_usdhc2_vmmc>; 262aa1a8ff2SEmmanuel Vadot status = "okay"; 263aa1a8ff2SEmmanuel Vadot}; 264aa1a8ff2SEmmanuel Vadot 265aa1a8ff2SEmmanuel Vadot&iomuxc { 266aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 267aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_hog>; 268aa1a8ff2SEmmanuel Vadot 269aa1a8ff2SEmmanuel Vadot pinctrl_hog: hoggrp { 270aa1a8ff2SEmmanuel Vadot fsl,pins = < 271aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_RXD6__GPIO4_IO08 0x40000146 /* DIO1 */ 272aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_TXC__GPIO4_IO11 0x40000146 /* DIO0 */ 273aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_TXD2__GPIO4_IO14 0x40000106 /* PCIE_USBSEL */ 274aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x40000106 /* RS485_HALF */ 275aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x40000106 /* RS485_EN */ 276aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI2_RXD0__GPIO4_IO23 0x40000106 /* RS485_TERM */ 277aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28 0x40000106 /* PCIE_WDIS# */ 278aa1a8ff2SEmmanuel Vadot >; 279aa1a8ff2SEmmanuel Vadot }; 280aa1a8ff2SEmmanuel Vadot 281aa1a8ff2SEmmanuel Vadot pinctrl_accel: accelgrp { 282aa1a8ff2SEmmanuel Vadot fsl,pins = < 283aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI2_RXFS__GPIO4_IO21 0x150 /* IRQ */ 284aa1a8ff2SEmmanuel Vadot >; 285aa1a8ff2SEmmanuel Vadot }; 286aa1a8ff2SEmmanuel Vadot 287aa1a8ff2SEmmanuel Vadot pinctrl_bten: btengrp { 288aa1a8ff2SEmmanuel Vadot fsl,pins = < 289aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_TXD4__GPIO4_IO16 0x146 290aa1a8ff2SEmmanuel Vadot >; 291aa1a8ff2SEmmanuel Vadot }; 292aa1a8ff2SEmmanuel Vadot 293aa1a8ff2SEmmanuel Vadot pinctrl_gpio_leds: gpioledgrp { 294aa1a8ff2SEmmanuel Vadot fsl,pins = < 295aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x6 /* LEDG */ 296aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_RXD3__GPIO4_IO05 0x6 /* LEDR */ 297aa1a8ff2SEmmanuel Vadot >; 298aa1a8ff2SEmmanuel Vadot }; 299aa1a8ff2SEmmanuel Vadot 300aa1a8ff2SEmmanuel Vadot pinctrl_pcie0: pcie0grp { 301aa1a8ff2SEmmanuel Vadot fsl,pins = < 302aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29 0x106 303aa1a8ff2SEmmanuel Vadot >; 304aa1a8ff2SEmmanuel Vadot }; 305aa1a8ff2SEmmanuel Vadot 306aa1a8ff2SEmmanuel Vadot pinctrl_pps: ppsgrp { 307aa1a8ff2SEmmanuel Vadot fsl,pins = < 308aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x146 309aa1a8ff2SEmmanuel Vadot >; 310aa1a8ff2SEmmanuel Vadot }; 311aa1a8ff2SEmmanuel Vadot 312aa1a8ff2SEmmanuel Vadot pinctrl_reg_wl: regwlgrp { 313aa1a8ff2SEmmanuel Vadot fsl,pins = < 314aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x146 315aa1a8ff2SEmmanuel Vadot >; 316aa1a8ff2SEmmanuel Vadot }; 317aa1a8ff2SEmmanuel Vadot 318aa1a8ff2SEmmanuel Vadot pinctrl_reg_usb1_en: regusb1grp { 319aa1a8ff2SEmmanuel Vadot fsl,pins = < 320aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x146 /* USB1_EN */ 321aa1a8ff2SEmmanuel Vadot >; 322aa1a8ff2SEmmanuel Vadot }; 323aa1a8ff2SEmmanuel Vadot 324aa1a8ff2SEmmanuel Vadot pinctrl_usb1: usb1grp { 325aa1a8ff2SEmmanuel Vadot fsl,pins = < 326aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC 0x140 /* USB1_FLT# */ 327aa1a8ff2SEmmanuel Vadot >; 328aa1a8ff2SEmmanuel Vadot }; 329aa1a8ff2SEmmanuel Vadot 330aa1a8ff2SEmmanuel Vadot pinctrl_usbcon1: usbcon1grp { 331aa1a8ff2SEmmanuel Vadot fsl,pins = < 332aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI5_RXD0__GPIO3_IO21 0x140 /* USB1_ID */ 333aa1a8ff2SEmmanuel Vadot >; 334aa1a8ff2SEmmanuel Vadot }; 335aa1a8ff2SEmmanuel Vadot 336aa1a8ff2SEmmanuel Vadot pinctrl_reg_usb2_en: regusb2grp { 337aa1a8ff2SEmmanuel Vadot fsl,pins = < 338aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SAI1_TXD0__GPIO4_IO12 0x146 /* USBHUB_RST# */ 339aa1a8ff2SEmmanuel Vadot >; 340aa1a8ff2SEmmanuel Vadot }; 341aa1a8ff2SEmmanuel Vadot 342aa1a8ff2SEmmanuel Vadot pinctrl_spi2: spi2grp { 343aa1a8ff2SEmmanuel Vadot fsl,pins = < 344aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x140 345aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x140 346aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x140 347aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x140 348aa1a8ff2SEmmanuel Vadot >; 349aa1a8ff2SEmmanuel Vadot }; 350aa1a8ff2SEmmanuel Vadot 351aa1a8ff2SEmmanuel Vadot pinctrl_uart1: uart1grp { 352aa1a8ff2SEmmanuel Vadot fsl,pins = < 353aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 354aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x140 355aa1a8ff2SEmmanuel Vadot >; 356aa1a8ff2SEmmanuel Vadot }; 357aa1a8ff2SEmmanuel Vadot 358aa1a8ff2SEmmanuel Vadot pinctrl_uart3: uart3grp { 359aa1a8ff2SEmmanuel Vadot fsl,pins = < 360aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_UART3_RXD__UART3_DCE_RX 0x140 361aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_UART3_TXD__UART3_DCE_TX 0x140 362aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_ECSPI1_MISO__GPIO5_IO08 0x140 363aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09 0x140 364aa1a8ff2SEmmanuel Vadot >; 365aa1a8ff2SEmmanuel Vadot }; 366aa1a8ff2SEmmanuel Vadot 367aa1a8ff2SEmmanuel Vadot pinctrl_uart4: uart4grp { 368aa1a8ff2SEmmanuel Vadot fsl,pins = < 369aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x140 370aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x140 371aa1a8ff2SEmmanuel Vadot >; 372aa1a8ff2SEmmanuel Vadot }; 373aa1a8ff2SEmmanuel Vadot 374aa1a8ff2SEmmanuel Vadot pinctrl_usdhc1: usdhc1grp { 375aa1a8ff2SEmmanuel Vadot fsl,pins = < 376aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x190 377aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d0 378aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d0 379aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d0 380aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d0 381aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d0 382aa1a8ff2SEmmanuel Vadot >; 383aa1a8ff2SEmmanuel Vadot }; 384aa1a8ff2SEmmanuel Vadot 385aa1a8ff2SEmmanuel Vadot pinctrl_usdhc2: usdhc2grp { 386aa1a8ff2SEmmanuel Vadot fsl,pins = < 387aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190 388aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d0 389aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d0 390aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d0 391aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d0 392aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d0 393aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 394aa1a8ff2SEmmanuel Vadot >; 395aa1a8ff2SEmmanuel Vadot }; 396aa1a8ff2SEmmanuel Vadot 397aa1a8ff2SEmmanuel Vadot pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 398aa1a8ff2SEmmanuel Vadot fsl,pins = < 399aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194 400aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4 401aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4 402aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4 403aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4 404aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4 405aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 406aa1a8ff2SEmmanuel Vadot >; 407aa1a8ff2SEmmanuel Vadot }; 408aa1a8ff2SEmmanuel Vadot 409aa1a8ff2SEmmanuel Vadot pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 410aa1a8ff2SEmmanuel Vadot fsl,pins = < 411aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x196 412aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d6 413aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d6 414aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d6 415aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d6 416aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d6 417aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 418aa1a8ff2SEmmanuel Vadot >; 419aa1a8ff2SEmmanuel Vadot }; 420aa1a8ff2SEmmanuel Vadot 421aa1a8ff2SEmmanuel Vadot pinctrl_usdhc2_vmmc: usdhc2-vmmc-grp { 422aa1a8ff2SEmmanuel Vadot fsl,pins = < 423aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_RESET_B__USDHC2_RESET_B 0x1d0 424aa1a8ff2SEmmanuel Vadot >; 425aa1a8ff2SEmmanuel Vadot }; 426aa1a8ff2SEmmanuel Vadot 427aa1a8ff2SEmmanuel Vadot pinctrl_usdhc2_gpio: usdhc2gpiogrp { 428aa1a8ff2SEmmanuel Vadot fsl,pins = < 429aa1a8ff2SEmmanuel Vadot MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c4 430aa1a8ff2SEmmanuel Vadot >; 431aa1a8ff2SEmmanuel Vadot }; 432aa1a8ff2SEmmanuel Vadot}; 433