1418d1d84SAlexander Stein// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2418d1d84SAlexander Stein/* 3418d1d84SAlexander Stein * Copyright 2021-2022 TQ-Systems GmbH 4418d1d84SAlexander Stein * Author: Alexander Stein <alexander.stein@tq-group.com> 5418d1d84SAlexander Stein */ 6418d1d84SAlexander Stein 7418d1d84SAlexander Stein/dts-v1/; 8418d1d84SAlexander Stein 9418d1d84SAlexander Stein#include <dt-bindings/leds/common.h> 10418d1d84SAlexander Stein#include <dt-bindings/net/ti-dp83867.h> 11630ecc93SAlexander Stein#include <dt-bindings/phy/phy-imx8-pcie.h> 12418d1d84SAlexander Stein#include <dt-bindings/pwm/pwm.h> 13418d1d84SAlexander Stein#include "imx8mp-tqma8mpql.dtsi" 14418d1d84SAlexander Stein 15418d1d84SAlexander Stein/ { 16418d1d84SAlexander Stein model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MPxL"; 17418d1d84SAlexander Stein compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp"; 18*3e33493bSAlexander Stein chassis-type = "embedded"; 19418d1d84SAlexander Stein 20418d1d84SAlexander Stein chosen { 21418d1d84SAlexander Stein stdout-path = &uart4; 22418d1d84SAlexander Stein }; 23418d1d84SAlexander Stein 24418d1d84SAlexander Stein iio-hwmon { 25418d1d84SAlexander Stein compatible = "iio-hwmon"; 26418d1d84SAlexander Stein io-channels = <&adc 0>, <&adc 1>; 27418d1d84SAlexander Stein }; 28418d1d84SAlexander Stein 29418d1d84SAlexander Stein aliases { 30418d1d84SAlexander Stein mmc0 = &usdhc3; 31418d1d84SAlexander Stein mmc1 = &usdhc2; 32418d1d84SAlexander Stein mmc2 = &usdhc1; 33418d1d84SAlexander Stein rtc0 = &pcf85063; 34418d1d84SAlexander Stein rtc1 = &snvs_rtc; 35418d1d84SAlexander Stein spi0 = &flexspi; 36418d1d84SAlexander Stein spi1 = &ecspi1; 37418d1d84SAlexander Stein spi2 = &ecspi2; 38418d1d84SAlexander Stein spi3 = &ecspi3; 39418d1d84SAlexander Stein }; 40418d1d84SAlexander Stein 41418d1d84SAlexander Stein backlight_lvds: backlight { 42418d1d84SAlexander Stein compatible = "pwm-backlight"; 43418d1d84SAlexander Stein pinctrl-names = "default"; 44418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_backlight>; 45418d1d84SAlexander Stein pwms = <&pwm2 0 5000000 0>; 46418d1d84SAlexander Stein brightness-levels = <0 4 8 16 32 64 128 255>; 47418d1d84SAlexander Stein default-brightness-level = <7>; 48418d1d84SAlexander Stein power-supply = <®_vcc_12v0>; 49418d1d84SAlexander Stein enable-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 50418d1d84SAlexander Stein status = "disabled"; 51418d1d84SAlexander Stein }; 52418d1d84SAlexander Stein 53630ecc93SAlexander Stein clk_xtal25: clk-xtal25 { 54630ecc93SAlexander Stein compatible = "fixed-clock"; 55630ecc93SAlexander Stein #clock-cells = <0>; 56630ecc93SAlexander Stein clock-frequency = <25000000>; 57630ecc93SAlexander Stein }; 58630ecc93SAlexander Stein 59534d4f66SAlexander Stein fan0: pwm-fan { 60534d4f66SAlexander Stein compatible = "pwm-fan"; 61534d4f66SAlexander Stein pinctrl-names = "default"; 62534d4f66SAlexander Stein pinctrl-0 = <&pinctrl_pwmfan>; 63534d4f66SAlexander Stein fan-supply = <®_pwm_fan>; 64534d4f66SAlexander Stein #cooling-cells = <2>; 65534d4f66SAlexander Stein /* typical 25 kHz -> 40.000 nsec */ 66534d4f66SAlexander Stein pwms = <&pwm3 0 40000 PWM_POLARITY_INVERTED>; 67534d4f66SAlexander Stein cooling-levels = <0 32 64 128 196 240>; 68534d4f66SAlexander Stein pulses-per-revolution = <2>; 69534d4f66SAlexander Stein interrupt-parent = <&gpio5>; 70534d4f66SAlexander Stein interrupts = <18 IRQ_TYPE_EDGE_FALLING>; 71534d4f66SAlexander Stein status = "disabled"; 72534d4f66SAlexander Stein }; 73534d4f66SAlexander Stein 74418d1d84SAlexander Stein gpio-keys { 75418d1d84SAlexander Stein compatible = "gpio-keys"; 76418d1d84SAlexander Stein pinctrl-names = "default"; 77418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpiobutton>; 78418d1d84SAlexander Stein autorepeat; 79418d1d84SAlexander Stein 80418d1d84SAlexander Stein switch-1 { 81418d1d84SAlexander Stein label = "S12"; 82418d1d84SAlexander Stein linux,code = <BTN_0>; 83d707ff34SAlexander Stein gpios = <&gpio5 27 GPIO_ACTIVE_LOW>; 84132401ccSAlexander Stein wakeup-source; 85418d1d84SAlexander Stein }; 86418d1d84SAlexander Stein 87418d1d84SAlexander Stein switch-2 { 88418d1d84SAlexander Stein label = "S13"; 89418d1d84SAlexander Stein linux,code = <BTN_1>; 90d707ff34SAlexander Stein gpios = <&gpio5 26 GPIO_ACTIVE_LOW>; 91132401ccSAlexander Stein wakeup-source; 92418d1d84SAlexander Stein }; 93418d1d84SAlexander Stein }; 94418d1d84SAlexander Stein 95418d1d84SAlexander Stein gpio-leds { 96418d1d84SAlexander Stein compatible = "gpio-leds"; 97418d1d84SAlexander Stein pinctrl-names = "default"; 98418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpioled>; 99418d1d84SAlexander Stein 100418d1d84SAlexander Stein led-0 { 101418d1d84SAlexander Stein color = <LED_COLOR_ID_GREEN>; 102418d1d84SAlexander Stein function = LED_FUNCTION_STATUS; 103418d1d84SAlexander Stein function-enumerator = <0>; 104418d1d84SAlexander Stein gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>; 105418d1d84SAlexander Stein linux,default-trigger = "default-on"; 106418d1d84SAlexander Stein }; 107418d1d84SAlexander Stein 108418d1d84SAlexander Stein led-1 { 109418d1d84SAlexander Stein color = <LED_COLOR_ID_GREEN>; 110418d1d84SAlexander Stein function = LED_FUNCTION_HEARTBEAT; 111418d1d84SAlexander Stein gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>; 112418d1d84SAlexander Stein linux,default-trigger = "heartbeat"; 113418d1d84SAlexander Stein }; 114418d1d84SAlexander Stein 115418d1d84SAlexander Stein led-2 { 116418d1d84SAlexander Stein color = <LED_COLOR_ID_YELLOW>; 117418d1d84SAlexander Stein function = LED_FUNCTION_STATUS; 118418d1d84SAlexander Stein function-enumerator = <1>; 119418d1d84SAlexander Stein gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; 120418d1d84SAlexander Stein }; 121418d1d84SAlexander Stein }; 122418d1d84SAlexander Stein 123418d1d84SAlexander Stein display: display { 124418d1d84SAlexander Stein /* 125418d1d84SAlexander Stein * Display is not fixed, so compatible has to be added from 126418d1d84SAlexander Stein * DT overlay 127418d1d84SAlexander Stein */ 128418d1d84SAlexander Stein pinctrl-names = "default"; 129418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_lvdsdisplay>; 130418d1d84SAlexander Stein power-supply = <®_vcc_3v3>; 131418d1d84SAlexander Stein enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; 132418d1d84SAlexander Stein backlight = <&backlight_lvds>; 133418d1d84SAlexander Stein status = "disabled"; 134418d1d84SAlexander Stein }; 135418d1d84SAlexander Stein 136534d4f66SAlexander Stein reg_pwm_fan: regulator-pwm-fan { 137534d4f66SAlexander Stein compatible = "regulator-fixed"; 138534d4f66SAlexander Stein pinctrl-names = "default"; 139534d4f66SAlexander Stein pinctrl-0 = <&pinctrl_regpwmfan>; 140534d4f66SAlexander Stein regulator-name = "FAN_PWR"; 141534d4f66SAlexander Stein regulator-min-microvolt = <12000000>; 142534d4f66SAlexander Stein regulator-max-microvolt = <12000000>; 143534d4f66SAlexander Stein gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; 144534d4f66SAlexander Stein enable-active-high; 145534d4f66SAlexander Stein vin-supply = <®_vcc_12v0>; 146534d4f66SAlexander Stein }; 147534d4f66SAlexander Stein 148418d1d84SAlexander Stein reg_usdhc2_vmmc: regulator-usdhc2 { 149418d1d84SAlexander Stein compatible = "regulator-fixed"; 150418d1d84SAlexander Stein pinctrl-names = "default"; 151418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 152418d1d84SAlexander Stein regulator-name = "VSD_3V3"; 153418d1d84SAlexander Stein regulator-min-microvolt = <3300000>; 154418d1d84SAlexander Stein regulator-max-microvolt = <3300000>; 155418d1d84SAlexander Stein gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; 156418d1d84SAlexander Stein enable-active-high; 157418d1d84SAlexander Stein startup-delay-us = <100>; 158418d1d84SAlexander Stein off-on-delay-us = <12000>; 159418d1d84SAlexander Stein }; 160418d1d84SAlexander Stein 161418d1d84SAlexander Stein reg_vcc_12v0: regulator-12v0 { 162418d1d84SAlexander Stein compatible = "regulator-fixed"; 163418d1d84SAlexander Stein pinctrl-names = "default"; 164418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_reg12v0>; 165418d1d84SAlexander Stein regulator-name = "VCC_12V0"; 166418d1d84SAlexander Stein regulator-min-microvolt = <12000000>; 167418d1d84SAlexander Stein regulator-max-microvolt = <12000000>; 168418d1d84SAlexander Stein gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>; 169418d1d84SAlexander Stein enable-active-high; 170418d1d84SAlexander Stein }; 171418d1d84SAlexander Stein 172418d1d84SAlexander Stein reg_vcc_3v3: regulator-3v3 { 173418d1d84SAlexander Stein compatible = "regulator-fixed"; 174418d1d84SAlexander Stein regulator-name = "VCC_3V3"; 175418d1d84SAlexander Stein regulator-min-microvolt = <3300000>; 176418d1d84SAlexander Stein regulator-max-microvolt = <3300000>; 177418d1d84SAlexander Stein }; 178418d1d84SAlexander Stein 179fb4f0b69SAlexander Stein reg_vcc_5v0: regulator-5v0 { 180fb4f0b69SAlexander Stein compatible = "regulator-fixed"; 181fb4f0b69SAlexander Stein regulator-name = "VCC_5V0"; 182fb4f0b69SAlexander Stein regulator-min-microvolt = <5000000>; 183fb4f0b69SAlexander Stein regulator-max-microvolt = <5000000>; 184fb4f0b69SAlexander Stein }; 185fb4f0b69SAlexander Stein 186418d1d84SAlexander Stein reserved-memory { 187418d1d84SAlexander Stein #address-cells = <2>; 188418d1d84SAlexander Stein #size-cells = <2>; 189418d1d84SAlexander Stein ranges; 190418d1d84SAlexander Stein 191418d1d84SAlexander Stein ocram: ocram@900000 { 192418d1d84SAlexander Stein no-map; 193418d1d84SAlexander Stein reg = <0 0x900000 0 0x70000>; 194418d1d84SAlexander Stein }; 195418d1d84SAlexander Stein 196418d1d84SAlexander Stein /* global autoconfigured region for contiguous allocations */ 197418d1d84SAlexander Stein linux,cma { 198418d1d84SAlexander Stein compatible = "shared-dma-pool"; 199418d1d84SAlexander Stein reusable; 200418d1d84SAlexander Stein size = <0 0x38000000>; 201418d1d84SAlexander Stein alloc-ranges = <0 0x40000000 0 0xB0000000>; 202418d1d84SAlexander Stein linux,cma-default; 203418d1d84SAlexander Stein }; 204418d1d84SAlexander Stein }; 205534d4f66SAlexander Stein 206d8f9d812SAlexander Stein sound { 207d8f9d812SAlexander Stein compatible = "fsl,imx-audio-tlv320aic32x4"; 208d8f9d812SAlexander Stein model = "tq-tlv320aic32x"; 209d8f9d812SAlexander Stein audio-cpu = <&sai3>; 210d8f9d812SAlexander Stein audio-codec = <&tlv320aic3x04>; 211d8f9d812SAlexander Stein }; 212d8f9d812SAlexander Stein 213534d4f66SAlexander Stein thermal-zones { 214534d4f66SAlexander Stein soc-thermal { 215534d4f66SAlexander Stein trips { 216534d4f66SAlexander Stein soc_active0: trip-active0 { 217534d4f66SAlexander Stein temperature = <40000>; 218534d4f66SAlexander Stein hysteresis = <5000>; 219534d4f66SAlexander Stein type = "active"; 220534d4f66SAlexander Stein }; 221534d4f66SAlexander Stein 222534d4f66SAlexander Stein soc_active1: trip-active1 { 223534d4f66SAlexander Stein temperature = <48000>; 224534d4f66SAlexander Stein hysteresis = <3000>; 225534d4f66SAlexander Stein type = "active"; 226534d4f66SAlexander Stein }; 227534d4f66SAlexander Stein 228534d4f66SAlexander Stein soc_active2: trip-active2 { 229534d4f66SAlexander Stein temperature = <60000>; 230534d4f66SAlexander Stein hysteresis = <10000>; 231534d4f66SAlexander Stein type = "active"; 232534d4f66SAlexander Stein }; 233534d4f66SAlexander Stein }; 234534d4f66SAlexander Stein 235534d4f66SAlexander Stein cooling-maps { 236534d4f66SAlexander Stein map1 { 237534d4f66SAlexander Stein trip = <&soc_active0>; 238534d4f66SAlexander Stein cooling-device = <&fan0 1 1>; 239534d4f66SAlexander Stein }; 240534d4f66SAlexander Stein 241534d4f66SAlexander Stein map2 { 242534d4f66SAlexander Stein trip = <&soc_active1>; 243534d4f66SAlexander Stein cooling-device = <&fan0 2 2>; 244534d4f66SAlexander Stein }; 245534d4f66SAlexander Stein 246534d4f66SAlexander Stein map3 { 247534d4f66SAlexander Stein trip = <&soc_active2>; 248534d4f66SAlexander Stein cooling-device = <&fan0 3 3>; 249534d4f66SAlexander Stein }; 250534d4f66SAlexander Stein }; 251534d4f66SAlexander Stein }; 252534d4f66SAlexander Stein }; 253418d1d84SAlexander Stein}; 254418d1d84SAlexander Stein 255418d1d84SAlexander Stein&ecspi1 { 256418d1d84SAlexander Stein pinctrl-names = "default"; 257418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi1>; 258418d1d84SAlexander Stein cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 259418d1d84SAlexander Stein status = "okay"; 260418d1d84SAlexander Stein}; 261418d1d84SAlexander Stein 262418d1d84SAlexander Stein&ecspi2 { 263418d1d84SAlexander Stein pinctrl-names = "default"; 264418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi2>; 265418d1d84SAlexander Stein cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; 266418d1d84SAlexander Stein status = "okay"; 267418d1d84SAlexander Stein}; 268418d1d84SAlexander Stein 269418d1d84SAlexander Stein&ecspi3 { 270418d1d84SAlexander Stein pinctrl-names = "default"; 271418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi3>; 272418d1d84SAlexander Stein cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; 273418d1d84SAlexander Stein status = "okay"; 274418d1d84SAlexander Stein 275418d1d84SAlexander Stein adc: adc@0 { 276418d1d84SAlexander Stein reg = <0>; 277418d1d84SAlexander Stein compatible = "microchip,mcp3202"; 278418d1d84SAlexander Stein /* 100 ksps * 18 */ 279418d1d84SAlexander Stein spi-max-frequency = <1800000>; 280418d1d84SAlexander Stein vref-supply = <®_vcc_3v3>; 281418d1d84SAlexander Stein #io-channel-cells = <1>; 282418d1d84SAlexander Stein }; 283418d1d84SAlexander Stein}; 284418d1d84SAlexander Stein 285418d1d84SAlexander Stein&eqos { 286418d1d84SAlexander Stein pinctrl-names = "default"; 287418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_eqos>, <&pinctrl_eqos_phy>; 288418d1d84SAlexander Stein phy-mode = "rgmii-id"; 289418d1d84SAlexander Stein phy-handle = <ðphy3>; 290418d1d84SAlexander Stein status = "okay"; 291418d1d84SAlexander Stein 292418d1d84SAlexander Stein mdio { 293418d1d84SAlexander Stein compatible = "snps,dwmac-mdio"; 294418d1d84SAlexander Stein #address-cells = <1>; 295418d1d84SAlexander Stein #size-cells = <0>; 296418d1d84SAlexander Stein 297418d1d84SAlexander Stein ethphy3: ethernet-phy@3 { 298418d1d84SAlexander Stein compatible = "ethernet-phy-ieee802.3-c22"; 299418d1d84SAlexander Stein reg = <3>; 300418d1d84SAlexander Stein ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 301418d1d84SAlexander Stein ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 302418d1d84SAlexander Stein ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 303418d1d84SAlexander Stein ti,dp83867-rxctrl-strap-quirk; 304418d1d84SAlexander Stein ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 305418d1d84SAlexander Stein reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 306418d1d84SAlexander Stein reset-assert-us = <500000>; 307418d1d84SAlexander Stein reset-deassert-us = <50000>; 308418d1d84SAlexander Stein enet-phy-lane-no-swap; 309418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 310418d1d84SAlexander Stein interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 311418d1d84SAlexander Stein }; 312418d1d84SAlexander Stein }; 313418d1d84SAlexander Stein}; 314418d1d84SAlexander Stein 315418d1d84SAlexander Stein&fec { 316418d1d84SAlexander Stein pinctrl-names = "default"; 317418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_fec>, <&pinctrl_fec_phy>; 318418d1d84SAlexander Stein phy-mode = "rgmii-id"; 319418d1d84SAlexander Stein phy-handle = <ðphy0>; 320418d1d84SAlexander Stein fsl,magic-packet; 321418d1d84SAlexander Stein status = "okay"; 322418d1d84SAlexander Stein 323418d1d84SAlexander Stein mdio { 324418d1d84SAlexander Stein #address-cells = <1>; 325418d1d84SAlexander Stein #size-cells = <0>; 326418d1d84SAlexander Stein 327418d1d84SAlexander Stein ethphy0: ethernet-phy@0 { 328418d1d84SAlexander Stein compatible = "ethernet-phy-ieee802.3-c22"; 329418d1d84SAlexander Stein reg = <0>; 330418d1d84SAlexander Stein ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 331418d1d84SAlexander Stein ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 332418d1d84SAlexander Stein ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 333418d1d84SAlexander Stein ti,dp83867-rxctrl-strap-quirk; 334418d1d84SAlexander Stein ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 335418d1d84SAlexander Stein reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; 336418d1d84SAlexander Stein reset-assert-us = <500000>; 337418d1d84SAlexander Stein reset-deassert-us = <50000>; 338418d1d84SAlexander Stein enet-phy-lane-no-swap; 339418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 340418d1d84SAlexander Stein interrupts = <1 IRQ_TYPE_EDGE_FALLING>; 341418d1d84SAlexander Stein }; 342418d1d84SAlexander Stein }; 343418d1d84SAlexander Stein}; 344418d1d84SAlexander Stein 345418d1d84SAlexander Stein&flexcan1 { 346418d1d84SAlexander Stein pinctrl-names = "default"; 347418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_flexcan1>; 348418d1d84SAlexander Stein xceiver-supply = <®_vcc_3v3>; 349418d1d84SAlexander Stein status = "okay"; 350418d1d84SAlexander Stein}; 351418d1d84SAlexander Stein 352418d1d84SAlexander Stein&flexcan2 { 353418d1d84SAlexander Stein pinctrl-names = "default"; 354418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_flexcan2>; 355418d1d84SAlexander Stein xceiver-supply = <®_vcc_3v3>; 356418d1d84SAlexander Stein status = "okay"; 357418d1d84SAlexander Stein}; 358418d1d84SAlexander Stein 359418d1d84SAlexander Stein&gpio1 { 360418d1d84SAlexander Stein pinctrl-names = "default"; 361418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpio1>; 362418d1d84SAlexander Stein 363418d1d84SAlexander Stein gpio-line-names = "GPO1", "GPO0", "", "GPO3", 364418d1d84SAlexander Stein "", "", "GPO2", "GPI0", 365418d1d84SAlexander Stein "PMIC_IRQ", "GPI1", "OTG_ID", "USB_HUB_RST#", 366418d1d84SAlexander Stein "OTG_PWR", "", "GPI2", "GPI3", 367418d1d84SAlexander Stein "", "", "", "", 368418d1d84SAlexander Stein "", "", "", "", 369418d1d84SAlexander Stein "", "", "", "", 370418d1d84SAlexander Stein "", "", "", ""; 371418d1d84SAlexander Stein}; 372418d1d84SAlexander Stein 373418d1d84SAlexander Stein&gpio2 { 374418d1d84SAlexander Stein pinctrl-names = "default"; 375418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_hoggpio2>; 376418d1d84SAlexander Stein 377418d1d84SAlexander Stein gpio-line-names = "", "", "", "", 378418d1d84SAlexander Stein "", "", "VCC12V_EN", "PERST#", 379418d1d84SAlexander Stein "", "", "CLKREQ#", "PEWAKE#", 380418d1d84SAlexander Stein "USDHC2_CD", "", "", "", 381418d1d84SAlexander Stein "", "", "", "V_SD3V3_EN", 382418d1d84SAlexander Stein "", "", "", "", 383418d1d84SAlexander Stein "", "", "", "", 384418d1d84SAlexander Stein "", "", "", ""; 385418d1d84SAlexander Stein 386418d1d84SAlexander Stein perst-hog { 387418d1d84SAlexander Stein gpio-hog; 388418d1d84SAlexander Stein gpios = <7 0>; 389418d1d84SAlexander Stein output-high; 390418d1d84SAlexander Stein line-name = "PERST#"; 391418d1d84SAlexander Stein }; 392418d1d84SAlexander Stein 393418d1d84SAlexander Stein clkreq-hog { 394418d1d84SAlexander Stein gpio-hog; 395418d1d84SAlexander Stein gpios = <10 0>; 396418d1d84SAlexander Stein input; 397418d1d84SAlexander Stein line-name = "CLKREQ#"; 398418d1d84SAlexander Stein }; 399418d1d84SAlexander Stein 400418d1d84SAlexander Stein pewake-hog { 401418d1d84SAlexander Stein gpio-hog; 402418d1d84SAlexander Stein gpios = <11 0>; 403418d1d84SAlexander Stein input; 404418d1d84SAlexander Stein line-name = "PEWAKE#"; 405418d1d84SAlexander Stein }; 406418d1d84SAlexander Stein}; 407418d1d84SAlexander Stein 408418d1d84SAlexander Stein&gpio3 { 409418d1d84SAlexander Stein gpio-line-names = "", "", "", "", 410418d1d84SAlexander Stein "", "", "", "", 411418d1d84SAlexander Stein "", "", "", "", 412418d1d84SAlexander Stein "", "", "LVDS0_RESET#", "", 413418d1d84SAlexander Stein "", "", "", "LVDS0_BLT_EN", 414418d1d84SAlexander Stein "LVDS0_PWR_EN", "", "", "", 415418d1d84SAlexander Stein "", "", "", "", 416418d1d84SAlexander Stein "", "", "", ""; 417418d1d84SAlexander Stein}; 418418d1d84SAlexander Stein 419418d1d84SAlexander Stein&gpio4 { 420418d1d84SAlexander Stein pinctrl-names = "default"; 421418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpio4>; 422418d1d84SAlexander Stein 423418d1d84SAlexander Stein gpio-line-names = "ENET0_RST#", "ENET0_INT#", "ENET1_RST#", "ENET1_INT#", 424418d1d84SAlexander Stein "", "", "", "", 425418d1d84SAlexander Stein "", "", "", "", 426418d1d84SAlexander Stein "", "", "", "", 427418d1d84SAlexander Stein "", "", "DP_IRQ", "DSI_EN", 428630ecc93SAlexander Stein "HDMI_OC#", "TEMP_EVENT#", "PCIE_REFCLK_OE#", "", 429418d1d84SAlexander Stein "", "", "", "FAN_PWR", 430418d1d84SAlexander Stein "RTC_EVENT#", "CODEC_RST#", "", ""; 431630ecc93SAlexander Stein 432630ecc93SAlexander Stein pcie-refclkreq-hog { 433630ecc93SAlexander Stein gpio-hog; 434630ecc93SAlexander Stein gpios = <22 0>; 435630ecc93SAlexander Stein output-high; 436630ecc93SAlexander Stein line-name = "PCIE_REFCLK_OE#"; 437630ecc93SAlexander Stein }; 438418d1d84SAlexander Stein}; 439418d1d84SAlexander Stein 440418d1d84SAlexander Stein&gpio5 { 441418d1d84SAlexander Stein gpio-line-names = "", "", "", "LED2", 442418d1d84SAlexander Stein "LED1", "LED0", "CSI0_RESET#", "CSI0_SYNC", 443418d1d84SAlexander Stein "CSI0_TRIGGER", "CSI0_ENABLE", "", "", 444418d1d84SAlexander Stein "", "ECSPI2_SS0", "", "", 445418d1d84SAlexander Stein "", "", "", "", 446418d1d84SAlexander Stein "", "", "", "", 447418d1d84SAlexander Stein "", "ECSPI3_SS0", "SWITCH_A", "SWITCH_B", 448418d1d84SAlexander Stein "", "", "", ""; 449418d1d84SAlexander Stein}; 450418d1d84SAlexander Stein 451418d1d84SAlexander Stein&i2c2 { 452418d1d84SAlexander Stein clock-frequency = <384000>; 453418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 454418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c2>; 455418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c2_gpio>; 456418d1d84SAlexander Stein scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 457418d1d84SAlexander Stein sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 458418d1d84SAlexander Stein status = "okay"; 459418d1d84SAlexander Stein 460d8f9d812SAlexander Stein tlv320aic3x04: audio-codec@18 { 461d8f9d812SAlexander Stein compatible = "ti,tlv320aic32x4"; 462d8f9d812SAlexander Stein pinctrl-names = "default"; 463d8f9d812SAlexander Stein pinctrl-0 = <&pinctrl_tlv320aic3x04>; 464d8f9d812SAlexander Stein reg = <0x18>; 465d8f9d812SAlexander Stein clock-names = "mclk"; 466d8f9d812SAlexander Stein clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>; 467d8f9d812SAlexander Stein reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>; 468d8f9d812SAlexander Stein iov-supply = <®_vcc_3v3>; 469d8f9d812SAlexander Stein ldoin-supply = <®_vcc_3v3>; 470d8f9d812SAlexander Stein }; 471d8f9d812SAlexander Stein 472580c545fSAlexander Stein se97_1c: temperature-sensor@1c { 473580c545fSAlexander Stein compatible = "nxp,se97b", "jedec,jc-42.4-temp"; 474418d1d84SAlexander Stein reg = <0x1c>; 475418d1d84SAlexander Stein }; 476418d1d84SAlexander Stein 477418d1d84SAlexander Stein at24c02_54: eeprom@54 { 478418d1d84SAlexander Stein compatible = "nxp,se97b", "atmel,24c02"; 479418d1d84SAlexander Stein reg = <0x54>; 480418d1d84SAlexander Stein pagesize = <16>; 481418d1d84SAlexander Stein vcc-supply = <®_vcc_3v3>; 482418d1d84SAlexander Stein }; 483630ecc93SAlexander Stein 484630ecc93SAlexander Stein pcieclk: clock-generator@6a { 485630ecc93SAlexander Stein compatible = "renesas,9fgv0241"; 486630ecc93SAlexander Stein reg = <0x6a>; 487630ecc93SAlexander Stein clocks = <&clk_xtal25>; 488630ecc93SAlexander Stein #clock-cells = <1>; 489630ecc93SAlexander Stein }; 490418d1d84SAlexander Stein}; 491418d1d84SAlexander Stein 492418d1d84SAlexander Stein&i2c4 { 493418d1d84SAlexander Stein clock-frequency = <384000>; 494418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 495418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c4>; 496418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c4_gpio>; 497418d1d84SAlexander Stein scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 498418d1d84SAlexander Stein sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 499418d1d84SAlexander Stein status = "okay"; 500418d1d84SAlexander Stein}; 501418d1d84SAlexander Stein 502418d1d84SAlexander Stein&i2c6 { 503418d1d84SAlexander Stein clock-frequency = <384000>; 504418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 505418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c6>; 506418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c6_gpio>; 507418d1d84SAlexander Stein scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 508418d1d84SAlexander Stein sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 509418d1d84SAlexander Stein status = "okay"; 510418d1d84SAlexander Stein}; 511418d1d84SAlexander Stein 512418d1d84SAlexander Stein&pcf85063 { 513418d1d84SAlexander Stein /* RTC_EVENT# is connected on MBa8MPxL */ 51445b91a15SAlexander Stein pinctrl-names = "default"; 51545b91a15SAlexander Stein pinctrl-0 = <&pinctrl_pcf85063>; 516418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 517418d1d84SAlexander Stein interrupts = <28 IRQ_TYPE_EDGE_FALLING>; 518418d1d84SAlexander Stein}; 519418d1d84SAlexander Stein 520630ecc93SAlexander Stein&pcie_phy { 521630ecc93SAlexander Stein fsl,clkreq-unsupported; 522630ecc93SAlexander Stein fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; 523630ecc93SAlexander Stein clocks = <&pcieclk 0>; 524630ecc93SAlexander Stein clock-names = "ref"; 525630ecc93SAlexander Stein status = "okay"; 526630ecc93SAlexander Stein}; 527630ecc93SAlexander Stein 528630ecc93SAlexander Stein&pcie { 529630ecc93SAlexander Stein clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, 530630ecc93SAlexander Stein <&clk IMX8MP_CLK_HSIO_AXI>, 531630ecc93SAlexander Stein <&clk IMX8MP_CLK_PCIE_ROOT>; 532630ecc93SAlexander Stein clock-names = "pcie", "pcie_bus", "pcie_aux"; 533630ecc93SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_PCIE_AUX>; 534630ecc93SAlexander Stein assigned-clock-rates = <10000000>; 535630ecc93SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_50M>; 536630ecc93SAlexander Stein status = "okay"; 537630ecc93SAlexander Stein}; 538630ecc93SAlexander Stein 539418d1d84SAlexander Stein&pwm2 { 540418d1d84SAlexander Stein pinctrl-names = "default"; 541418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_pwm2>; 542418d1d84SAlexander Stein status = "disabled"; 543418d1d84SAlexander Stein}; 544418d1d84SAlexander Stein 545418d1d84SAlexander Stein&pwm3 { 546418d1d84SAlexander Stein pinctrl-names = "default"; 547418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_pwm3>; 548418d1d84SAlexander Stein status = "okay"; 549418d1d84SAlexander Stein}; 550418d1d84SAlexander Stein 551d8f9d812SAlexander Stein&sai3 { 552d8f9d812SAlexander Stein pinctrl-names = "default"; 553d8f9d812SAlexander Stein pinctrl-0 = <&pinctrl_sai3>; 554d8f9d812SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_SAI3>; 555d8f9d812SAlexander Stein assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>; 556d8f9d812SAlexander Stein assigned-clock-rates = <12288000>; 557d8f9d812SAlexander Stein fsl,sai-mclk-direction-output; 558d8f9d812SAlexander Stein status = "okay"; 559d8f9d812SAlexander Stein}; 560d8f9d812SAlexander Stein 561418d1d84SAlexander Stein&snvs_pwrkey { 562418d1d84SAlexander Stein status = "okay"; 563418d1d84SAlexander Stein}; 564418d1d84SAlexander Stein 565418d1d84SAlexander Stein&uart1 { 566418d1d84SAlexander Stein pinctrl-names = "default"; 567418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart1>; 568418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART1>; 569418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 570418d1d84SAlexander Stein status = "okay"; 571418d1d84SAlexander Stein}; 572418d1d84SAlexander Stein 573418d1d84SAlexander Stein&uart2 { 574418d1d84SAlexander Stein pinctrl-names = "default"; 575418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart2>; 576418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART2>; 577418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 578418d1d84SAlexander Stein status = "okay"; 579418d1d84SAlexander Stein}; 580418d1d84SAlexander Stein 581418d1d84SAlexander Stein&uart3 { 582418d1d84SAlexander Stein pinctrl-names = "default"; 583418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart3>; 584418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART3>; 585418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 586418d1d84SAlexander Stein status = "okay"; 587418d1d84SAlexander Stein}; 588418d1d84SAlexander Stein 589418d1d84SAlexander Stein&uart4 { 590418d1d84SAlexander Stein /* console */ 591418d1d84SAlexander Stein pinctrl-names = "default"; 592418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart4>; 593418d1d84SAlexander Stein status = "okay"; 594418d1d84SAlexander Stein}; 595418d1d84SAlexander Stein 596fb4f0b69SAlexander Stein&usb3_0 { 597fb4f0b69SAlexander Stein pinctrl-names = "default"; 598fb4f0b69SAlexander Stein pinctrl-0 = <&pinctrl_usb0>; 599fb4f0b69SAlexander Stein fsl,over-current-active-low; 600fb4f0b69SAlexander Stein status = "okay"; 601fb4f0b69SAlexander Stein}; 602fb4f0b69SAlexander Stein 603ca69b6c7SAlexander Stein&usb3_1 { 604ca69b6c7SAlexander Stein fsl,disable-port-power-control; 605ca69b6c7SAlexander Stein fsl,permanently-attached; 606ca69b6c7SAlexander Stein status = "okay"; 607ca69b6c7SAlexander Stein}; 608ca69b6c7SAlexander Stein 609fb4f0b69SAlexander Stein&usb3_phy0 { 610fb4f0b69SAlexander Stein vbus-supply = <®_vcc_5v0>; 611fb4f0b69SAlexander Stein status = "okay"; 612fb4f0b69SAlexander Stein}; 613fb4f0b69SAlexander Stein 614ca69b6c7SAlexander Stein&usb3_phy1 { 615ca69b6c7SAlexander Stein vbus-supply = <®_vcc_5v0>; 616ca69b6c7SAlexander Stein status = "okay"; 617ca69b6c7SAlexander Stein}; 618ca69b6c7SAlexander Stein 619fb4f0b69SAlexander Stein&usb_dwc3_0 { 620fb4f0b69SAlexander Stein /* dual role is implemented, but not a full featured OTG */ 621fb4f0b69SAlexander Stein hnp-disable; 622fb4f0b69SAlexander Stein srp-disable; 623fb4f0b69SAlexander Stein adp-disable; 624fb4f0b69SAlexander Stein dr_mode = "otg"; 625fb4f0b69SAlexander Stein usb-role-switch; 626fb4f0b69SAlexander Stein role-switch-default-mode = "peripheral"; 627fb4f0b69SAlexander Stein status = "okay"; 628fb4f0b69SAlexander Stein 629fb4f0b69SAlexander Stein connector { 630fb4f0b69SAlexander Stein compatible = "gpio-usb-b-connector", "usb-b-connector"; 631fb4f0b69SAlexander Stein type = "micro"; 632fb4f0b69SAlexander Stein label = "X29"; 633fb4f0b69SAlexander Stein pinctrl-names = "default"; 634fb4f0b69SAlexander Stein pinctrl-0 = <&pinctrl_usbcon0>; 635fb4f0b69SAlexander Stein id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; 636fb4f0b69SAlexander Stein }; 637fb4f0b69SAlexander Stein}; 638fb4f0b69SAlexander Stein 639ca69b6c7SAlexander Stein&usb_dwc3_1 { 640ca69b6c7SAlexander Stein dr_mode = "host"; 641ca69b6c7SAlexander Stein #address-cells = <1>; 642ca69b6c7SAlexander Stein #size-cells = <0>; 643ca69b6c7SAlexander Stein pinctrl-names = "default"; 644ca69b6c7SAlexander Stein pinctrl-0 = <&pinctrl_usbhub>; 645ca69b6c7SAlexander Stein status = "okay"; 646ca69b6c7SAlexander Stein 647ca69b6c7SAlexander Stein hub_2_0: hub@1 { 648ca69b6c7SAlexander Stein compatible = "usb451,8142"; 649ca69b6c7SAlexander Stein reg = <1>; 650ca69b6c7SAlexander Stein peer-hub = <&hub_3_0>; 651ca69b6c7SAlexander Stein reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 652ca69b6c7SAlexander Stein vdd-supply = <®_vcc_3v3>; 653ca69b6c7SAlexander Stein }; 654ca69b6c7SAlexander Stein 655ca69b6c7SAlexander Stein hub_3_0: hub@2 { 656ca69b6c7SAlexander Stein compatible = "usb451,8140"; 657ca69b6c7SAlexander Stein reg = <2>; 658ca69b6c7SAlexander Stein peer-hub = <&hub_2_0>; 659ca69b6c7SAlexander Stein reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 660ca69b6c7SAlexander Stein vdd-supply = <®_vcc_3v3>; 661ca69b6c7SAlexander Stein }; 662ca69b6c7SAlexander Stein}; 663ca69b6c7SAlexander Stein 664418d1d84SAlexander Stein&usdhc2 { 665418d1d84SAlexander Stein pinctrl-names = "default", "state_100mhz", "state_200mhz"; 666418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 667418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 668418d1d84SAlexander Stein pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 669418d1d84SAlexander Stein cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 670418d1d84SAlexander Stein vmmc-supply = <®_usdhc2_vmmc>; 671418d1d84SAlexander Stein no-mmc; 672418d1d84SAlexander Stein no-sdio; 673418d1d84SAlexander Stein disable-wp; 674418d1d84SAlexander Stein bus-width = <4>; 675418d1d84SAlexander Stein status = "okay"; 676418d1d84SAlexander Stein}; 677418d1d84SAlexander Stein 678418d1d84SAlexander Stein&iomuxc { 679418d1d84SAlexander Stein pinctrl_backlight: backlightgrp { 680418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x14>; 681418d1d84SAlexander Stein }; 682418d1d84SAlexander Stein 683418d1d84SAlexander Stein pinctrl_flexcan1: flexcan1grp { 684418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD1__CAN1_TX 0x150>, 685418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI5_RXD2__CAN1_RX 0x150>; 686418d1d84SAlexander Stein }; 687418d1d84SAlexander Stein 688418d1d84SAlexander Stein pinctrl_flexcan2: flexcan2grp { 689418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x150>, 690418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX 0x150>; 691418d1d84SAlexander Stein }; 692418d1d84SAlexander Stein 693418d1d84SAlexander Stein /* only on X57, primary used as CSI0 control signals */ 694418d1d84SAlexander Stein pinctrl_ecspi1: ecspi1grp { 695418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO 0x1c0>, 696418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI 0x1c0>, 697418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK 0x1c0>, 698418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09 0x1c0>; 699418d1d84SAlexander Stein }; 700418d1d84SAlexander Stein 701418d1d84SAlexander Stein /* on X63 and optionally on X57, can also be used as CSI1 control signals */ 702418d1d84SAlexander Stein pinctrl_ecspi2: ecspi2grp { 703418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x1c0>, 704418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x1c0>, 705418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x1c0>, 706418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x1c0>; 707418d1d84SAlexander Stein }; 708418d1d84SAlexander Stein 709418d1d84SAlexander Stein pinctrl_ecspi3: ecspi3grp { 710418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART1_TXD__ECSPI3_MOSI 0x1c0>, 711418d1d84SAlexander Stein <MX8MP_IOMUXC_UART1_RXD__ECSPI3_SCLK 0x1c0>, 712418d1d84SAlexander Stein <MX8MP_IOMUXC_UART2_RXD__ECSPI3_MISO 0x1c0>, 713418d1d84SAlexander Stein <MX8MP_IOMUXC_UART2_TXD__GPIO5_IO25 0x1c0>; 714418d1d84SAlexander Stein }; 715418d1d84SAlexander Stein 716418d1d84SAlexander Stein pinctrl_eqos: eqosgrp { 717418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x40000044>, 718418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x40000044>, 719418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x90>, 720418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x90>, 721418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x90>, 722418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x90>, 723418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x90>, 724418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x90>, 725418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x12>, 726418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x12>, 727418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x12>, 728418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x12>, 729418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x12>, 730418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x14>; 731418d1d84SAlexander Stein }; 732418d1d84SAlexander Stein 733418d1d84SAlexander Stein pinctrl_eqos_event: eqosevtgrp { 734418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_RXD0__ENET_QOS_1588_EVENT2_OUT 0x100>, 735418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_TXD0__ENET_QOS_1588_EVENT2_IN 0x1c0>; 736418d1d84SAlexander Stein }; 737418d1d84SAlexander Stein 738418d1d84SAlexander Stein pinctrl_eqos_phy: eqosphygrp { 739418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x100>, 740418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x1c0>; 741418d1d84SAlexander Stein }; 742418d1d84SAlexander Stein 743418d1d84SAlexander Stein pinctrl_fec: fecgrp { 744418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x40000044>, 745418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x40000044>, 746418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x90>, 747418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x90>, 748418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x90>, 749418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x90>, 750418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x90>, 751418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x90>, 752418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x12>, 753418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x12>, 754418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x12>, 755418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x12>, 756418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x12>, 757418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x14>; 758418d1d84SAlexander Stein }; 759418d1d84SAlexander Stein 760418d1d84SAlexander Stein pinctrl_fec_event: fecevtgrp { 761418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN 0x100>, 762418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT 0x1c0>; 763418d1d84SAlexander Stein }; 764418d1d84SAlexander Stein 765418d1d84SAlexander Stein pinctrl_fec_phy: fecphygrp { 766418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00 0x100>, 767418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x1c0>; 768418d1d84SAlexander Stein }; 769418d1d84SAlexander Stein 770418d1d84SAlexander Stein pinctrl_fec_phyalt: fecphyaltgrp { 771418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_TXFS__GPIO4_IO24 0x180>, 772418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25 0x180>; 773418d1d84SAlexander Stein }; 774418d1d84SAlexander Stein 775418d1d84SAlexander Stein pinctrl_gpiobutton: gpiobuttongrp { 776418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART3_RXD__GPIO5_IO26 0x10>, 777418d1d84SAlexander Stein <MX8MP_IOMUXC_UART3_TXD__GPIO5_IO27 0x10>; 778418d1d84SAlexander Stein }; 779418d1d84SAlexander Stein 780418d1d84SAlexander Stein pinctrl_gpioled: gpioledgrp { 781418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x14>, 782418d1d84SAlexander Stein <MX8MP_IOMUXC_SPDIF_RX__GPIO5_IO04 0x14>, 783418d1d84SAlexander Stein <MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO03 0x14>; 784418d1d84SAlexander Stein }; 785418d1d84SAlexander Stein 786418d1d84SAlexander Stein pinctrl_gpio1: gpio1grp { 787418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x10>, 788418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01 0x10>, 789418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x10>, 790418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x10>, 791418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x80>, 792418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 0x80>, 793418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x80>, 794418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO15__GPIO1_IO15 0x80>; 795418d1d84SAlexander Stein }; 796418d1d84SAlexander Stein 797418d1d84SAlexander Stein pinctrl_gpio4: gpio4grp { 798418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x180>, 799418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x180>; 800418d1d84SAlexander Stein }; 801418d1d84SAlexander Stein 802418d1d84SAlexander Stein pinctrl_hdmi: hdmigrp { 803418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c2>, 804418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c2>, 805418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000010>, 806418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000010>; 807418d1d84SAlexander Stein }; 808418d1d84SAlexander Stein 809418d1d84SAlexander Stein pinctrl_hoggpio2: hoggpio2grp { 810418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07 0x140>, 811418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10 0x140>, 812418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x140>; 813418d1d84SAlexander Stein }; 814418d1d84SAlexander Stein 815418d1d84SAlexander Stein pinctrl_i2c2: i2c2grp { 816418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001e2>, 817418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001e2>; 818418d1d84SAlexander Stein }; 819418d1d84SAlexander Stein 820418d1d84SAlexander Stein pinctrl_i2c2_gpio: i2c2-gpiogrp { 821418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16 0x400001e2>, 822418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x400001e2>; 823418d1d84SAlexander Stein }; 824418d1d84SAlexander Stein 825418d1d84SAlexander Stein pinctrl_i2c4: i2c4grp { 826418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x400001e2>, 827418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x400001e2>; 828418d1d84SAlexander Stein }; 829418d1d84SAlexander Stein 830418d1d84SAlexander Stein pinctrl_i2c4_gpio: i2c4-gpiogrp { 831418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20 0x400001e2>, 832418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x400001e2>; 833418d1d84SAlexander Stein }; 834418d1d84SAlexander Stein 835418d1d84SAlexander Stein pinctrl_i2c6: i2c6grp { 836418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__I2C6_SCL 0x400001e2>, 837418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA1__I2C6_SDA 0x400001e2>; 838418d1d84SAlexander Stein }; 839418d1d84SAlexander Stein 840418d1d84SAlexander Stein pinctrl_i2c6_gpio: i2c6-gpiogrp { 841418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__GPIO2_IO02 0x400001e2>, 842418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA1__GPIO2_IO03 0x400001e2>; 843418d1d84SAlexander Stein }; 844418d1d84SAlexander Stein 845418d1d84SAlexander Stein pinctrl_lvdsdisplay: lvdsdisplaygrp { 846418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x10>; /* Power enable */ 847418d1d84SAlexander Stein }; 848418d1d84SAlexander Stein 84945b91a15SAlexander Stein pinctrl_pcf85063: pcf85063grp { 85045b91a15SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28 0x80>; 85145b91a15SAlexander Stein }; 85245b91a15SAlexander Stein 853418d1d84SAlexander Stein /* LVDS Backlight */ 854418d1d84SAlexander Stein pinctrl_pwm2: pwm2grp { 855418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD0__PWM2_OUT 0x14>; 856418d1d84SAlexander Stein }; 857418d1d84SAlexander Stein 858418d1d84SAlexander Stein /* FAN */ 859418d1d84SAlexander Stein pinctrl_pwm3: pwm3grp { 860418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C3_SDA__PWM3_OUT 0x14>; 861418d1d84SAlexander Stein }; 862418d1d84SAlexander Stein 863534d4f66SAlexander Stein pinctrl_pwmfan: pwmfangrp { 864534d4f66SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x80>; /* FAN RPM */ 865534d4f66SAlexander Stein }; 866534d4f66SAlexander Stein 867418d1d84SAlexander Stein pinctrl_reg12v0: reg12v0grp { 868418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x140>; /* VCC12V enable */ 869418d1d84SAlexander Stein }; 870418d1d84SAlexander Stein 871534d4f66SAlexander Stein pinctrl_regpwmfan: regpwmfangrp { 872534d4f66SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x80>; 873534d4f66SAlexander Stein }; 874534d4f66SAlexander Stein 875d8f9d812SAlexander Stein pinctrl_sai3: sai3grp { 876d8f9d812SAlexander Stein fsl,pins = < 877d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC 0x94 878d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXC__AUDIOMIX_SAI3_TX_BCLK 0x94 879d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_RXD__AUDIOMIX_SAI3_RX_DATA00 0x94 880d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXD__AUDIOMIX_SAI3_TX_DATA00 0x94 881d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_MCLK__AUDIOMIX_SAI3_MCLK 0x94 882d8f9d812SAlexander Stein >; 883d8f9d812SAlexander Stein }; 884d8f9d812SAlexander Stein 885d8f9d812SAlexander Stein pinctrl_tlv320aic3x04: tlv320aic3x04grp { 886d8f9d812SAlexander Stein fsl,pins = < 887d8f9d812SAlexander Stein /* CODEC RST# */ 888d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29 0x180 889d8f9d812SAlexander Stein >; 890d8f9d812SAlexander Stein }; 891d8f9d812SAlexander Stein 892418d1d84SAlexander Stein /* X61 */ 893418d1d84SAlexander Stein pinctrl_uart1: uart1grp { 894418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_CLK__UART1_DCE_TX 0x140>, 895418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_CMD__UART1_DCE_RX 0x140>; 896418d1d84SAlexander Stein }; 897418d1d84SAlexander Stein 898418d1d84SAlexander Stein /* X61 */ 899418d1d84SAlexander Stein pinctrl_uart2: uart2grp { 900418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA2__UART2_DCE_TX 0x140>, 901418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA3__UART2_DCE_RX 0x140>; 902418d1d84SAlexander Stein }; 903418d1d84SAlexander Stein 904418d1d84SAlexander Stein pinctrl_uart3: uart3grp { 905418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA6__UART3_DCE_TX 0x140>, 906418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA7__UART3_DCE_RX 0x140>; 907418d1d84SAlexander Stein }; 908418d1d84SAlexander Stein 909418d1d84SAlexander Stein pinctrl_uart4: uart4grp { 910418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x140>, 911418d1d84SAlexander Stein <MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x140>; 912418d1d84SAlexander Stein }; 913418d1d84SAlexander Stein 914fb4f0b69SAlexander Stein pinctrl_usb0: usb0grp { 915fb4f0b69SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC 0x1c0>, 916fb4f0b69SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO12__USB1_OTG_PWR 0x1c0>; 917fb4f0b69SAlexander Stein }; 918fb4f0b69SAlexander Stein 919fb4f0b69SAlexander Stein pinctrl_usbcon0: usb0congrp { 920fb4f0b69SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x1c0>; 921fb4f0b69SAlexander Stein }; 922fb4f0b69SAlexander Stein 923ca69b6c7SAlexander Stein pinctrl_usbhub: usbhubgrp { 924ca69b6c7SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO11__GPIO1_IO11 0x10>; 925ca69b6c7SAlexander Stein }; 926ca69b6c7SAlexander Stein 927418d1d84SAlexander Stein pinctrl_usdhc2: usdhc2grp { 928418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x192>, 929418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d2>, 930418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d2>, 931418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d2>, 932418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d2>, 933418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d2>, 934418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 935418d1d84SAlexander Stein }; 936418d1d84SAlexander Stein 937418d1d84SAlexander Stein pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 938418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, 939418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, 940418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 941418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 942418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 943418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 944418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 945418d1d84SAlexander Stein }; 946418d1d84SAlexander Stein 947418d1d84SAlexander Stein pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 948418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, 949418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, 950418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 951418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 952418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 953418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 954418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 955418d1d84SAlexander Stein }; 956418d1d84SAlexander Stein 957418d1d84SAlexander Stein pinctrl_usdhc2_gpio: usdhc2-gpiogrp { 958418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c0>; 959418d1d84SAlexander Stein }; 960418d1d84SAlexander Stein}; 961