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"; 18418d1d84SAlexander Stein 19418d1d84SAlexander Stein chosen { 20418d1d84SAlexander Stein stdout-path = &uart4; 21418d1d84SAlexander Stein }; 22418d1d84SAlexander Stein 23418d1d84SAlexander Stein iio-hwmon { 24418d1d84SAlexander Stein compatible = "iio-hwmon"; 25418d1d84SAlexander Stein io-channels = <&adc 0>, <&adc 1>; 26418d1d84SAlexander Stein }; 27418d1d84SAlexander Stein 28418d1d84SAlexander Stein aliases { 29418d1d84SAlexander Stein mmc0 = &usdhc3; 30418d1d84SAlexander Stein mmc1 = &usdhc2; 31418d1d84SAlexander Stein mmc2 = &usdhc1; 32418d1d84SAlexander Stein rtc0 = &pcf85063; 33418d1d84SAlexander Stein rtc1 = &snvs_rtc; 34418d1d84SAlexander Stein spi0 = &flexspi; 35418d1d84SAlexander Stein spi1 = &ecspi1; 36418d1d84SAlexander Stein spi2 = &ecspi2; 37418d1d84SAlexander Stein spi3 = &ecspi3; 38418d1d84SAlexander Stein }; 39418d1d84SAlexander Stein 40418d1d84SAlexander Stein backlight_lvds: backlight { 41418d1d84SAlexander Stein compatible = "pwm-backlight"; 42418d1d84SAlexander Stein pinctrl-names = "default"; 43418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_backlight>; 44418d1d84SAlexander Stein pwms = <&pwm2 0 5000000 0>; 45418d1d84SAlexander Stein brightness-levels = <0 4 8 16 32 64 128 255>; 46418d1d84SAlexander Stein default-brightness-level = <7>; 47418d1d84SAlexander Stein power-supply = <®_vcc_12v0>; 48418d1d84SAlexander Stein enable-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 49418d1d84SAlexander Stein status = "disabled"; 50418d1d84SAlexander Stein }; 51418d1d84SAlexander Stein 52630ecc93SAlexander Stein clk_xtal25: clk-xtal25 { 53630ecc93SAlexander Stein compatible = "fixed-clock"; 54630ecc93SAlexander Stein #clock-cells = <0>; 55630ecc93SAlexander Stein clock-frequency = <25000000>; 56630ecc93SAlexander Stein }; 57630ecc93SAlexander Stein 58534d4f66SAlexander Stein fan0: pwm-fan { 59534d4f66SAlexander Stein compatible = "pwm-fan"; 60534d4f66SAlexander Stein pinctrl-names = "default"; 61534d4f66SAlexander Stein pinctrl-0 = <&pinctrl_pwmfan>; 62534d4f66SAlexander Stein fan-supply = <®_pwm_fan>; 63534d4f66SAlexander Stein #cooling-cells = <2>; 64534d4f66SAlexander Stein /* typical 25 kHz -> 40.000 nsec */ 65534d4f66SAlexander Stein pwms = <&pwm3 0 40000 PWM_POLARITY_INVERTED>; 66534d4f66SAlexander Stein cooling-levels = <0 32 64 128 196 240>; 67534d4f66SAlexander Stein pulses-per-revolution = <2>; 68534d4f66SAlexander Stein interrupt-parent = <&gpio5>; 69534d4f66SAlexander Stein interrupts = <18 IRQ_TYPE_EDGE_FALLING>; 70534d4f66SAlexander Stein status = "disabled"; 71534d4f66SAlexander Stein }; 72534d4f66SAlexander Stein 73418d1d84SAlexander Stein gpio-keys { 74418d1d84SAlexander Stein compatible = "gpio-keys"; 75418d1d84SAlexander Stein pinctrl-names = "default"; 76418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpiobutton>; 77418d1d84SAlexander Stein autorepeat; 78418d1d84SAlexander Stein 79418d1d84SAlexander Stein switch-1 { 80418d1d84SAlexander Stein label = "S12"; 81418d1d84SAlexander Stein linux,code = <BTN_0>; 82d707ff34SAlexander Stein gpios = <&gpio5 27 GPIO_ACTIVE_LOW>; 83132401ccSAlexander Stein wakeup-source; 84418d1d84SAlexander Stein }; 85418d1d84SAlexander Stein 86418d1d84SAlexander Stein switch-2 { 87418d1d84SAlexander Stein label = "S13"; 88418d1d84SAlexander Stein linux,code = <BTN_1>; 89d707ff34SAlexander Stein gpios = <&gpio5 26 GPIO_ACTIVE_LOW>; 90132401ccSAlexander Stein wakeup-source; 91418d1d84SAlexander Stein }; 92418d1d84SAlexander Stein }; 93418d1d84SAlexander Stein 94418d1d84SAlexander Stein gpio-leds { 95418d1d84SAlexander Stein compatible = "gpio-leds"; 96418d1d84SAlexander Stein pinctrl-names = "default"; 97418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpioled>; 98418d1d84SAlexander Stein 99418d1d84SAlexander Stein led-0 { 100418d1d84SAlexander Stein color = <LED_COLOR_ID_GREEN>; 101418d1d84SAlexander Stein function = LED_FUNCTION_STATUS; 102418d1d84SAlexander Stein function-enumerator = <0>; 103418d1d84SAlexander Stein gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>; 104418d1d84SAlexander Stein linux,default-trigger = "default-on"; 105418d1d84SAlexander Stein }; 106418d1d84SAlexander Stein 107418d1d84SAlexander Stein led-1 { 108418d1d84SAlexander Stein color = <LED_COLOR_ID_GREEN>; 109418d1d84SAlexander Stein function = LED_FUNCTION_HEARTBEAT; 110418d1d84SAlexander Stein gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>; 111418d1d84SAlexander Stein linux,default-trigger = "heartbeat"; 112418d1d84SAlexander Stein }; 113418d1d84SAlexander Stein 114418d1d84SAlexander Stein led-2 { 115418d1d84SAlexander Stein color = <LED_COLOR_ID_YELLOW>; 116418d1d84SAlexander Stein function = LED_FUNCTION_STATUS; 117418d1d84SAlexander Stein function-enumerator = <1>; 118418d1d84SAlexander Stein gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; 119418d1d84SAlexander Stein }; 120418d1d84SAlexander Stein }; 121418d1d84SAlexander Stein 122418d1d84SAlexander Stein display: display { 123418d1d84SAlexander Stein /* 124418d1d84SAlexander Stein * Display is not fixed, so compatible has to be added from 125418d1d84SAlexander Stein * DT overlay 126418d1d84SAlexander Stein */ 127418d1d84SAlexander Stein pinctrl-names = "default"; 128418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_lvdsdisplay>; 129418d1d84SAlexander Stein power-supply = <®_vcc_3v3>; 130418d1d84SAlexander Stein enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; 131418d1d84SAlexander Stein backlight = <&backlight_lvds>; 132418d1d84SAlexander Stein status = "disabled"; 133418d1d84SAlexander Stein }; 134418d1d84SAlexander Stein 135534d4f66SAlexander Stein reg_pwm_fan: regulator-pwm-fan { 136534d4f66SAlexander Stein compatible = "regulator-fixed"; 137534d4f66SAlexander Stein pinctrl-names = "default"; 138534d4f66SAlexander Stein pinctrl-0 = <&pinctrl_regpwmfan>; 139534d4f66SAlexander Stein regulator-name = "FAN_PWR"; 140534d4f66SAlexander Stein regulator-min-microvolt = <12000000>; 141534d4f66SAlexander Stein regulator-max-microvolt = <12000000>; 142534d4f66SAlexander Stein gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; 143534d4f66SAlexander Stein enable-active-high; 144534d4f66SAlexander Stein vin-supply = <®_vcc_12v0>; 145534d4f66SAlexander Stein }; 146534d4f66SAlexander Stein 147418d1d84SAlexander Stein reg_usdhc2_vmmc: regulator-usdhc2 { 148418d1d84SAlexander Stein compatible = "regulator-fixed"; 149418d1d84SAlexander Stein pinctrl-names = "default"; 150418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 151418d1d84SAlexander Stein regulator-name = "VSD_3V3"; 152418d1d84SAlexander Stein regulator-min-microvolt = <3300000>; 153418d1d84SAlexander Stein regulator-max-microvolt = <3300000>; 154418d1d84SAlexander Stein gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; 155418d1d84SAlexander Stein enable-active-high; 156418d1d84SAlexander Stein startup-delay-us = <100>; 157418d1d84SAlexander Stein off-on-delay-us = <12000>; 158418d1d84SAlexander Stein }; 159418d1d84SAlexander Stein 160418d1d84SAlexander Stein reg_vcc_12v0: regulator-12v0 { 161418d1d84SAlexander Stein compatible = "regulator-fixed"; 162418d1d84SAlexander Stein pinctrl-names = "default"; 163418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_reg12v0>; 164418d1d84SAlexander Stein regulator-name = "VCC_12V0"; 165418d1d84SAlexander Stein regulator-min-microvolt = <12000000>; 166418d1d84SAlexander Stein regulator-max-microvolt = <12000000>; 167418d1d84SAlexander Stein gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>; 168418d1d84SAlexander Stein enable-active-high; 169418d1d84SAlexander Stein }; 170418d1d84SAlexander Stein 171*9c29933eSAlexander Stein reg_vcc_1v8: regulator-1v8 { 172*9c29933eSAlexander Stein compatible = "regulator-fixed"; 173*9c29933eSAlexander Stein regulator-name = "VCC_1V8"; 174*9c29933eSAlexander Stein regulator-min-microvolt = <1800000>; 175*9c29933eSAlexander Stein regulator-max-microvolt = <1800000>; 176*9c29933eSAlexander Stein }; 177*9c29933eSAlexander Stein 178418d1d84SAlexander Stein reg_vcc_3v3: regulator-3v3 { 179418d1d84SAlexander Stein compatible = "regulator-fixed"; 180418d1d84SAlexander Stein regulator-name = "VCC_3V3"; 181418d1d84SAlexander Stein regulator-min-microvolt = <3300000>; 182418d1d84SAlexander Stein regulator-max-microvolt = <3300000>; 183418d1d84SAlexander Stein }; 184418d1d84SAlexander Stein 185fb4f0b69SAlexander Stein reg_vcc_5v0: regulator-5v0 { 186fb4f0b69SAlexander Stein compatible = "regulator-fixed"; 187fb4f0b69SAlexander Stein regulator-name = "VCC_5V0"; 188fb4f0b69SAlexander Stein regulator-min-microvolt = <5000000>; 189fb4f0b69SAlexander Stein regulator-max-microvolt = <5000000>; 190fb4f0b69SAlexander Stein }; 191fb4f0b69SAlexander Stein 192418d1d84SAlexander Stein reserved-memory { 193418d1d84SAlexander Stein #address-cells = <2>; 194418d1d84SAlexander Stein #size-cells = <2>; 195418d1d84SAlexander Stein ranges; 196418d1d84SAlexander Stein 197418d1d84SAlexander Stein ocram: ocram@900000 { 198418d1d84SAlexander Stein no-map; 199418d1d84SAlexander Stein reg = <0 0x900000 0 0x70000>; 200418d1d84SAlexander Stein }; 201418d1d84SAlexander Stein 202418d1d84SAlexander Stein /* global autoconfigured region for contiguous allocations */ 203418d1d84SAlexander Stein linux,cma { 204418d1d84SAlexander Stein compatible = "shared-dma-pool"; 205418d1d84SAlexander Stein reusable; 206418d1d84SAlexander Stein size = <0 0x38000000>; 207418d1d84SAlexander Stein alloc-ranges = <0 0x40000000 0 0xB0000000>; 208418d1d84SAlexander Stein linux,cma-default; 209418d1d84SAlexander Stein }; 210418d1d84SAlexander Stein }; 211534d4f66SAlexander Stein 212d8f9d812SAlexander Stein sound { 213d8f9d812SAlexander Stein compatible = "fsl,imx-audio-tlv320aic32x4"; 214d8f9d812SAlexander Stein model = "tq-tlv320aic32x"; 215d8f9d812SAlexander Stein audio-cpu = <&sai3>; 216d8f9d812SAlexander Stein audio-codec = <&tlv320aic3x04>; 217d8f9d812SAlexander Stein }; 218d8f9d812SAlexander Stein 219534d4f66SAlexander Stein thermal-zones { 220534d4f66SAlexander Stein soc-thermal { 221534d4f66SAlexander Stein trips { 222534d4f66SAlexander Stein soc_active0: trip-active0 { 223534d4f66SAlexander Stein temperature = <40000>; 224534d4f66SAlexander Stein hysteresis = <5000>; 225534d4f66SAlexander Stein type = "active"; 226534d4f66SAlexander Stein }; 227534d4f66SAlexander Stein 228534d4f66SAlexander Stein soc_active1: trip-active1 { 229534d4f66SAlexander Stein temperature = <48000>; 230534d4f66SAlexander Stein hysteresis = <3000>; 231534d4f66SAlexander Stein type = "active"; 232534d4f66SAlexander Stein }; 233534d4f66SAlexander Stein 234534d4f66SAlexander Stein soc_active2: trip-active2 { 235534d4f66SAlexander Stein temperature = <60000>; 236534d4f66SAlexander Stein hysteresis = <10000>; 237534d4f66SAlexander Stein type = "active"; 238534d4f66SAlexander Stein }; 239534d4f66SAlexander Stein }; 240534d4f66SAlexander Stein 241534d4f66SAlexander Stein cooling-maps { 242534d4f66SAlexander Stein map1 { 243534d4f66SAlexander Stein trip = <&soc_active0>; 244534d4f66SAlexander Stein cooling-device = <&fan0 1 1>; 245534d4f66SAlexander Stein }; 246534d4f66SAlexander Stein 247534d4f66SAlexander Stein map2 { 248534d4f66SAlexander Stein trip = <&soc_active1>; 249534d4f66SAlexander Stein cooling-device = <&fan0 2 2>; 250534d4f66SAlexander Stein }; 251534d4f66SAlexander Stein 252534d4f66SAlexander Stein map3 { 253534d4f66SAlexander Stein trip = <&soc_active2>; 254534d4f66SAlexander Stein cooling-device = <&fan0 3 3>; 255534d4f66SAlexander Stein }; 256534d4f66SAlexander Stein }; 257534d4f66SAlexander Stein }; 258534d4f66SAlexander Stein }; 259418d1d84SAlexander Stein}; 260418d1d84SAlexander Stein 261418d1d84SAlexander Stein&ecspi1 { 262418d1d84SAlexander Stein pinctrl-names = "default"; 263418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi1>; 264418d1d84SAlexander Stein cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 265418d1d84SAlexander Stein status = "okay"; 266418d1d84SAlexander Stein}; 267418d1d84SAlexander Stein 268418d1d84SAlexander Stein&ecspi2 { 269418d1d84SAlexander Stein pinctrl-names = "default"; 270418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi2>; 271418d1d84SAlexander Stein cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; 272418d1d84SAlexander Stein status = "okay"; 273418d1d84SAlexander Stein}; 274418d1d84SAlexander Stein 275418d1d84SAlexander Stein&ecspi3 { 276418d1d84SAlexander Stein pinctrl-names = "default"; 277418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi3>; 278418d1d84SAlexander Stein cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; 279418d1d84SAlexander Stein status = "okay"; 280418d1d84SAlexander Stein 281418d1d84SAlexander Stein adc: adc@0 { 282418d1d84SAlexander Stein reg = <0>; 283418d1d84SAlexander Stein compatible = "microchip,mcp3202"; 284418d1d84SAlexander Stein /* 100 ksps * 18 */ 285418d1d84SAlexander Stein spi-max-frequency = <1800000>; 286418d1d84SAlexander Stein vref-supply = <®_vcc_3v3>; 287418d1d84SAlexander Stein #io-channel-cells = <1>; 288418d1d84SAlexander Stein }; 289418d1d84SAlexander Stein}; 290418d1d84SAlexander Stein 291418d1d84SAlexander Stein&eqos { 292418d1d84SAlexander Stein pinctrl-names = "default"; 293418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_eqos>, <&pinctrl_eqos_phy>; 294418d1d84SAlexander Stein phy-mode = "rgmii-id"; 295418d1d84SAlexander Stein phy-handle = <ðphy3>; 296418d1d84SAlexander Stein status = "okay"; 297418d1d84SAlexander Stein 298418d1d84SAlexander Stein mdio { 299418d1d84SAlexander Stein compatible = "snps,dwmac-mdio"; 300418d1d84SAlexander Stein #address-cells = <1>; 301418d1d84SAlexander Stein #size-cells = <0>; 302418d1d84SAlexander Stein 303418d1d84SAlexander Stein ethphy3: ethernet-phy@3 { 304418d1d84SAlexander Stein compatible = "ethernet-phy-ieee802.3-c22"; 305418d1d84SAlexander Stein reg = <3>; 306418d1d84SAlexander Stein ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 307418d1d84SAlexander Stein ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 308418d1d84SAlexander Stein ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 309418d1d84SAlexander Stein ti,dp83867-rxctrl-strap-quirk; 310418d1d84SAlexander Stein ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 311418d1d84SAlexander Stein reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 312418d1d84SAlexander Stein reset-assert-us = <500000>; 313418d1d84SAlexander Stein reset-deassert-us = <50000>; 314418d1d84SAlexander Stein enet-phy-lane-no-swap; 315418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 316418d1d84SAlexander Stein interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 317418d1d84SAlexander Stein }; 318418d1d84SAlexander Stein }; 319418d1d84SAlexander Stein}; 320418d1d84SAlexander Stein 321418d1d84SAlexander Stein&fec { 322418d1d84SAlexander Stein pinctrl-names = "default"; 323418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_fec>, <&pinctrl_fec_phy>; 324418d1d84SAlexander Stein phy-mode = "rgmii-id"; 325418d1d84SAlexander Stein phy-handle = <ðphy0>; 326418d1d84SAlexander Stein fsl,magic-packet; 327418d1d84SAlexander Stein status = "okay"; 328418d1d84SAlexander Stein 329418d1d84SAlexander Stein mdio { 330418d1d84SAlexander Stein #address-cells = <1>; 331418d1d84SAlexander Stein #size-cells = <0>; 332418d1d84SAlexander Stein 333418d1d84SAlexander Stein ethphy0: ethernet-phy@0 { 334418d1d84SAlexander Stein compatible = "ethernet-phy-ieee802.3-c22"; 335418d1d84SAlexander Stein reg = <0>; 336418d1d84SAlexander Stein ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 337418d1d84SAlexander Stein ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 338418d1d84SAlexander Stein ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 339418d1d84SAlexander Stein ti,dp83867-rxctrl-strap-quirk; 340418d1d84SAlexander Stein ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 341418d1d84SAlexander Stein reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; 342418d1d84SAlexander Stein reset-assert-us = <500000>; 343418d1d84SAlexander Stein reset-deassert-us = <50000>; 344418d1d84SAlexander Stein enet-phy-lane-no-swap; 345418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 346418d1d84SAlexander Stein interrupts = <1 IRQ_TYPE_EDGE_FALLING>; 347418d1d84SAlexander Stein }; 348418d1d84SAlexander Stein }; 349418d1d84SAlexander Stein}; 350418d1d84SAlexander Stein 351418d1d84SAlexander Stein&flexcan1 { 352418d1d84SAlexander Stein pinctrl-names = "default"; 353418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_flexcan1>; 354418d1d84SAlexander Stein xceiver-supply = <®_vcc_3v3>; 355418d1d84SAlexander Stein status = "okay"; 356418d1d84SAlexander Stein}; 357418d1d84SAlexander Stein 358418d1d84SAlexander Stein&flexcan2 { 359418d1d84SAlexander Stein pinctrl-names = "default"; 360418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_flexcan2>; 361418d1d84SAlexander Stein xceiver-supply = <®_vcc_3v3>; 362418d1d84SAlexander Stein status = "okay"; 363418d1d84SAlexander Stein}; 364418d1d84SAlexander Stein 365418d1d84SAlexander Stein&gpio1 { 366418d1d84SAlexander Stein pinctrl-names = "default"; 367418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpio1>; 368418d1d84SAlexander Stein 369418d1d84SAlexander Stein gpio-line-names = "GPO1", "GPO0", "", "GPO3", 370418d1d84SAlexander Stein "", "", "GPO2", "GPI0", 371418d1d84SAlexander Stein "PMIC_IRQ", "GPI1", "OTG_ID", "USB_HUB_RST#", 372418d1d84SAlexander Stein "OTG_PWR", "", "GPI2", "GPI3", 373418d1d84SAlexander Stein "", "", "", "", 374418d1d84SAlexander Stein "", "", "", "", 375418d1d84SAlexander Stein "", "", "", "", 376418d1d84SAlexander Stein "", "", "", ""; 377418d1d84SAlexander Stein}; 378418d1d84SAlexander Stein 379418d1d84SAlexander Stein&gpio2 { 380418d1d84SAlexander Stein pinctrl-names = "default"; 381418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_hoggpio2>; 382418d1d84SAlexander Stein 383418d1d84SAlexander Stein gpio-line-names = "", "", "", "", 384418d1d84SAlexander Stein "", "", "VCC12V_EN", "PERST#", 385418d1d84SAlexander Stein "", "", "CLKREQ#", "PEWAKE#", 386418d1d84SAlexander Stein "USDHC2_CD", "", "", "", 387418d1d84SAlexander Stein "", "", "", "V_SD3V3_EN", 388418d1d84SAlexander Stein "", "", "", "", 389418d1d84SAlexander Stein "", "", "", "", 390418d1d84SAlexander Stein "", "", "", ""; 391418d1d84SAlexander Stein 392418d1d84SAlexander Stein perst-hog { 393418d1d84SAlexander Stein gpio-hog; 394418d1d84SAlexander Stein gpios = <7 0>; 395418d1d84SAlexander Stein output-high; 396418d1d84SAlexander Stein line-name = "PERST#"; 397418d1d84SAlexander Stein }; 398418d1d84SAlexander Stein 399418d1d84SAlexander Stein clkreq-hog { 400418d1d84SAlexander Stein gpio-hog; 401418d1d84SAlexander Stein gpios = <10 0>; 402418d1d84SAlexander Stein input; 403418d1d84SAlexander Stein line-name = "CLKREQ#"; 404418d1d84SAlexander Stein }; 405418d1d84SAlexander Stein 406418d1d84SAlexander Stein pewake-hog { 407418d1d84SAlexander Stein gpio-hog; 408418d1d84SAlexander Stein gpios = <11 0>; 409418d1d84SAlexander Stein input; 410418d1d84SAlexander Stein line-name = "PEWAKE#"; 411418d1d84SAlexander Stein }; 412418d1d84SAlexander Stein}; 413418d1d84SAlexander Stein 414418d1d84SAlexander Stein&gpio3 { 415418d1d84SAlexander Stein gpio-line-names = "", "", "", "", 416418d1d84SAlexander Stein "", "", "", "", 417418d1d84SAlexander Stein "", "", "", "", 418418d1d84SAlexander Stein "", "", "LVDS0_RESET#", "", 419418d1d84SAlexander Stein "", "", "", "LVDS0_BLT_EN", 420418d1d84SAlexander Stein "LVDS0_PWR_EN", "", "", "", 421418d1d84SAlexander Stein "", "", "", "", 422418d1d84SAlexander Stein "", "", "", ""; 423418d1d84SAlexander Stein}; 424418d1d84SAlexander Stein 425418d1d84SAlexander Stein&gpio4 { 426418d1d84SAlexander Stein pinctrl-names = "default"; 427418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpio4>; 428418d1d84SAlexander Stein 429418d1d84SAlexander Stein gpio-line-names = "ENET0_RST#", "ENET0_INT#", "ENET1_RST#", "ENET1_INT#", 430418d1d84SAlexander Stein "", "", "", "", 431418d1d84SAlexander Stein "", "", "", "", 432418d1d84SAlexander Stein "", "", "", "", 433418d1d84SAlexander Stein "", "", "DP_IRQ", "DSI_EN", 434630ecc93SAlexander Stein "HDMI_OC#", "TEMP_EVENT#", "PCIE_REFCLK_OE#", "", 435418d1d84SAlexander Stein "", "", "", "FAN_PWR", 436418d1d84SAlexander Stein "RTC_EVENT#", "CODEC_RST#", "", ""; 437630ecc93SAlexander Stein 438630ecc93SAlexander Stein pcie-refclkreq-hog { 439630ecc93SAlexander Stein gpio-hog; 440630ecc93SAlexander Stein gpios = <22 0>; 441630ecc93SAlexander Stein output-high; 442630ecc93SAlexander Stein line-name = "PCIE_REFCLK_OE#"; 443630ecc93SAlexander Stein }; 444418d1d84SAlexander Stein}; 445418d1d84SAlexander Stein 446418d1d84SAlexander Stein&gpio5 { 447418d1d84SAlexander Stein gpio-line-names = "", "", "", "LED2", 448418d1d84SAlexander Stein "LED1", "LED0", "CSI0_RESET#", "CSI0_SYNC", 449418d1d84SAlexander Stein "CSI0_TRIGGER", "CSI0_ENABLE", "", "", 450418d1d84SAlexander Stein "", "ECSPI2_SS0", "", "", 451418d1d84SAlexander Stein "", "", "", "", 452418d1d84SAlexander Stein "", "", "", "", 453418d1d84SAlexander Stein "", "ECSPI3_SS0", "SWITCH_A", "SWITCH_B", 454418d1d84SAlexander Stein "", "", "", ""; 455418d1d84SAlexander Stein}; 456418d1d84SAlexander Stein 457418d1d84SAlexander Stein&i2c2 { 458418d1d84SAlexander Stein clock-frequency = <384000>; 459418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 460418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c2>; 461418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c2_gpio>; 462418d1d84SAlexander Stein scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 463418d1d84SAlexander Stein sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 464418d1d84SAlexander Stein status = "okay"; 465418d1d84SAlexander Stein 466d8f9d812SAlexander Stein tlv320aic3x04: audio-codec@18 { 467d8f9d812SAlexander Stein compatible = "ti,tlv320aic32x4"; 468d8f9d812SAlexander Stein pinctrl-names = "default"; 469d8f9d812SAlexander Stein pinctrl-0 = <&pinctrl_tlv320aic3x04>; 470d8f9d812SAlexander Stein reg = <0x18>; 471d8f9d812SAlexander Stein clock-names = "mclk"; 472d8f9d812SAlexander Stein clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>; 473d8f9d812SAlexander Stein reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>; 474*9c29933eSAlexander Stein iov-supply = <®_vcc_1v8>; 475d8f9d812SAlexander Stein ldoin-supply = <®_vcc_3v3>; 476d8f9d812SAlexander Stein }; 477d8f9d812SAlexander Stein 478580c545fSAlexander Stein se97_1c: temperature-sensor@1c { 479580c545fSAlexander Stein compatible = "nxp,se97b", "jedec,jc-42.4-temp"; 480418d1d84SAlexander Stein reg = <0x1c>; 481418d1d84SAlexander Stein }; 482418d1d84SAlexander Stein 483418d1d84SAlexander Stein at24c02_54: eeprom@54 { 484418d1d84SAlexander Stein compatible = "nxp,se97b", "atmel,24c02"; 485418d1d84SAlexander Stein reg = <0x54>; 486418d1d84SAlexander Stein pagesize = <16>; 487418d1d84SAlexander Stein vcc-supply = <®_vcc_3v3>; 488418d1d84SAlexander Stein }; 489630ecc93SAlexander Stein 490630ecc93SAlexander Stein pcieclk: clock-generator@6a { 491630ecc93SAlexander Stein compatible = "renesas,9fgv0241"; 492630ecc93SAlexander Stein reg = <0x6a>; 493630ecc93SAlexander Stein clocks = <&clk_xtal25>; 494630ecc93SAlexander Stein #clock-cells = <1>; 495630ecc93SAlexander Stein }; 496418d1d84SAlexander Stein}; 497418d1d84SAlexander Stein 498418d1d84SAlexander Stein&i2c4 { 499418d1d84SAlexander Stein clock-frequency = <384000>; 500418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 501418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c4>; 502418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c4_gpio>; 503418d1d84SAlexander Stein scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 504418d1d84SAlexander Stein sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 505418d1d84SAlexander Stein status = "okay"; 506418d1d84SAlexander Stein}; 507418d1d84SAlexander Stein 508418d1d84SAlexander Stein&i2c6 { 509418d1d84SAlexander Stein clock-frequency = <384000>; 510418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 511418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c6>; 512418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c6_gpio>; 513418d1d84SAlexander Stein scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 514418d1d84SAlexander Stein sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 515418d1d84SAlexander Stein status = "okay"; 516418d1d84SAlexander Stein}; 517418d1d84SAlexander Stein 518418d1d84SAlexander Stein&pcf85063 { 519418d1d84SAlexander Stein /* RTC_EVENT# is connected on MBa8MPxL */ 52045b91a15SAlexander Stein pinctrl-names = "default"; 52145b91a15SAlexander Stein pinctrl-0 = <&pinctrl_pcf85063>; 522418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 523418d1d84SAlexander Stein interrupts = <28 IRQ_TYPE_EDGE_FALLING>; 524418d1d84SAlexander Stein}; 525418d1d84SAlexander Stein 526630ecc93SAlexander Stein&pcie_phy { 527630ecc93SAlexander Stein fsl,clkreq-unsupported; 528630ecc93SAlexander Stein fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; 529630ecc93SAlexander Stein clocks = <&pcieclk 0>; 530630ecc93SAlexander Stein clock-names = "ref"; 531630ecc93SAlexander Stein status = "okay"; 532630ecc93SAlexander Stein}; 533630ecc93SAlexander Stein 534630ecc93SAlexander Stein&pcie { 535630ecc93SAlexander Stein clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, 536630ecc93SAlexander Stein <&clk IMX8MP_CLK_HSIO_AXI>, 537630ecc93SAlexander Stein <&clk IMX8MP_CLK_PCIE_ROOT>; 538630ecc93SAlexander Stein clock-names = "pcie", "pcie_bus", "pcie_aux"; 539630ecc93SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_PCIE_AUX>; 540630ecc93SAlexander Stein assigned-clock-rates = <10000000>; 541630ecc93SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_50M>; 542630ecc93SAlexander Stein status = "okay"; 543630ecc93SAlexander Stein}; 544630ecc93SAlexander Stein 545418d1d84SAlexander Stein&pwm2 { 546418d1d84SAlexander Stein pinctrl-names = "default"; 547418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_pwm2>; 548418d1d84SAlexander Stein status = "disabled"; 549418d1d84SAlexander Stein}; 550418d1d84SAlexander Stein 551418d1d84SAlexander Stein&pwm3 { 552418d1d84SAlexander Stein pinctrl-names = "default"; 553418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_pwm3>; 554418d1d84SAlexander Stein status = "okay"; 555418d1d84SAlexander Stein}; 556418d1d84SAlexander Stein 557d8f9d812SAlexander Stein&sai3 { 558d8f9d812SAlexander Stein pinctrl-names = "default"; 559d8f9d812SAlexander Stein pinctrl-0 = <&pinctrl_sai3>; 560d8f9d812SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_SAI3>; 561d8f9d812SAlexander Stein assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>; 562d8f9d812SAlexander Stein assigned-clock-rates = <12288000>; 563d8f9d812SAlexander Stein fsl,sai-mclk-direction-output; 564d8f9d812SAlexander Stein status = "okay"; 565d8f9d812SAlexander Stein}; 566d8f9d812SAlexander Stein 567418d1d84SAlexander Stein&snvs_pwrkey { 568418d1d84SAlexander Stein status = "okay"; 569418d1d84SAlexander Stein}; 570418d1d84SAlexander Stein 571418d1d84SAlexander Stein&uart1 { 572418d1d84SAlexander Stein pinctrl-names = "default"; 573418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart1>; 574418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART1>; 575418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 576418d1d84SAlexander Stein status = "okay"; 577418d1d84SAlexander Stein}; 578418d1d84SAlexander Stein 579418d1d84SAlexander Stein&uart2 { 580418d1d84SAlexander Stein pinctrl-names = "default"; 581418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart2>; 582418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART2>; 583418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 584418d1d84SAlexander Stein status = "okay"; 585418d1d84SAlexander Stein}; 586418d1d84SAlexander Stein 587418d1d84SAlexander Stein&uart3 { 588418d1d84SAlexander Stein pinctrl-names = "default"; 589418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart3>; 590418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART3>; 591418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 592418d1d84SAlexander Stein status = "okay"; 593418d1d84SAlexander Stein}; 594418d1d84SAlexander Stein 595418d1d84SAlexander Stein&uart4 { 596418d1d84SAlexander Stein /* console */ 597418d1d84SAlexander Stein pinctrl-names = "default"; 598418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart4>; 599418d1d84SAlexander Stein status = "okay"; 600418d1d84SAlexander Stein}; 601418d1d84SAlexander Stein 602fb4f0b69SAlexander Stein&usb3_0 { 603fb4f0b69SAlexander Stein pinctrl-names = "default"; 604fb4f0b69SAlexander Stein pinctrl-0 = <&pinctrl_usb0>; 605fb4f0b69SAlexander Stein fsl,over-current-active-low; 606fb4f0b69SAlexander Stein status = "okay"; 607fb4f0b69SAlexander Stein}; 608fb4f0b69SAlexander Stein 609ca69b6c7SAlexander Stein&usb3_1 { 610ca69b6c7SAlexander Stein fsl,disable-port-power-control; 611ca69b6c7SAlexander Stein fsl,permanently-attached; 612ca69b6c7SAlexander Stein dr_mode = "host"; 613ca69b6c7SAlexander Stein status = "okay"; 614ca69b6c7SAlexander Stein}; 615ca69b6c7SAlexander Stein 616fb4f0b69SAlexander Stein&usb3_phy0 { 617fb4f0b69SAlexander Stein vbus-supply = <®_vcc_5v0>; 618fb4f0b69SAlexander Stein status = "okay"; 619fb4f0b69SAlexander Stein}; 620fb4f0b69SAlexander Stein 621ca69b6c7SAlexander Stein&usb3_phy1 { 622ca69b6c7SAlexander Stein vbus-supply = <®_vcc_5v0>; 623ca69b6c7SAlexander Stein status = "okay"; 624ca69b6c7SAlexander Stein}; 625ca69b6c7SAlexander Stein 626fb4f0b69SAlexander Stein&usb_dwc3_0 { 627fb4f0b69SAlexander Stein /* dual role is implemented, but not a full featured OTG */ 628fb4f0b69SAlexander Stein hnp-disable; 629fb4f0b69SAlexander Stein srp-disable; 630fb4f0b69SAlexander Stein adp-disable; 631fb4f0b69SAlexander Stein dr_mode = "otg"; 632fb4f0b69SAlexander Stein usb-role-switch; 633fb4f0b69SAlexander Stein role-switch-default-mode = "peripheral"; 634fb4f0b69SAlexander Stein status = "okay"; 635fb4f0b69SAlexander Stein 636fb4f0b69SAlexander Stein connector { 637fb4f0b69SAlexander Stein compatible = "gpio-usb-b-connector", "usb-b-connector"; 638fb4f0b69SAlexander Stein type = "micro"; 639fb4f0b69SAlexander Stein label = "X29"; 640fb4f0b69SAlexander Stein pinctrl-names = "default"; 641fb4f0b69SAlexander Stein pinctrl-0 = <&pinctrl_usbcon0>; 642fb4f0b69SAlexander Stein id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; 643fb4f0b69SAlexander Stein }; 644fb4f0b69SAlexander Stein}; 645fb4f0b69SAlexander Stein 646ca69b6c7SAlexander Stein&usb_dwc3_1 { 647ca69b6c7SAlexander Stein dr_mode = "host"; 648ca69b6c7SAlexander Stein #address-cells = <1>; 649ca69b6c7SAlexander Stein #size-cells = <0>; 650ca69b6c7SAlexander Stein pinctrl-names = "default"; 651ca69b6c7SAlexander Stein pinctrl-0 = <&pinctrl_usbhub>; 652ca69b6c7SAlexander Stein status = "okay"; 653ca69b6c7SAlexander Stein 654ca69b6c7SAlexander Stein hub_2_0: hub@1 { 655ca69b6c7SAlexander Stein compatible = "usb451,8142"; 656ca69b6c7SAlexander Stein reg = <1>; 657ca69b6c7SAlexander Stein peer-hub = <&hub_3_0>; 658ca69b6c7SAlexander Stein reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 659ca69b6c7SAlexander Stein vdd-supply = <®_vcc_3v3>; 660ca69b6c7SAlexander Stein }; 661ca69b6c7SAlexander Stein 662ca69b6c7SAlexander Stein hub_3_0: hub@2 { 663ca69b6c7SAlexander Stein compatible = "usb451,8140"; 664ca69b6c7SAlexander Stein reg = <2>; 665ca69b6c7SAlexander Stein peer-hub = <&hub_2_0>; 666ca69b6c7SAlexander Stein reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 667ca69b6c7SAlexander Stein vdd-supply = <®_vcc_3v3>; 668ca69b6c7SAlexander Stein }; 669ca69b6c7SAlexander Stein}; 670ca69b6c7SAlexander Stein 671418d1d84SAlexander Stein&usdhc2 { 672418d1d84SAlexander Stein pinctrl-names = "default", "state_100mhz", "state_200mhz"; 673418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 674418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 675418d1d84SAlexander Stein pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 676418d1d84SAlexander Stein cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 677418d1d84SAlexander Stein vmmc-supply = <®_usdhc2_vmmc>; 678418d1d84SAlexander Stein no-mmc; 679418d1d84SAlexander Stein no-sdio; 680418d1d84SAlexander Stein disable-wp; 681418d1d84SAlexander Stein bus-width = <4>; 682418d1d84SAlexander Stein status = "okay"; 683418d1d84SAlexander Stein}; 684418d1d84SAlexander Stein 685418d1d84SAlexander Stein&iomuxc { 686418d1d84SAlexander Stein pinctrl_backlight: backlightgrp { 687418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x14>; 688418d1d84SAlexander Stein }; 689418d1d84SAlexander Stein 690418d1d84SAlexander Stein pinctrl_flexcan1: flexcan1grp { 691418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD1__CAN1_TX 0x150>, 692418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI5_RXD2__CAN1_RX 0x150>; 693418d1d84SAlexander Stein }; 694418d1d84SAlexander Stein 695418d1d84SAlexander Stein pinctrl_flexcan2: flexcan2grp { 696418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x150>, 697418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX 0x150>; 698418d1d84SAlexander Stein }; 699418d1d84SAlexander Stein 700418d1d84SAlexander Stein /* only on X57, primary used as CSI0 control signals */ 701418d1d84SAlexander Stein pinctrl_ecspi1: ecspi1grp { 702418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO 0x1c0>, 703418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI 0x1c0>, 704418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK 0x1c0>, 705418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09 0x1c0>; 706418d1d84SAlexander Stein }; 707418d1d84SAlexander Stein 708418d1d84SAlexander Stein /* on X63 and optionally on X57, can also be used as CSI1 control signals */ 709418d1d84SAlexander Stein pinctrl_ecspi2: ecspi2grp { 710418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x1c0>, 711418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x1c0>, 712418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x1c0>, 713418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x1c0>; 714418d1d84SAlexander Stein }; 715418d1d84SAlexander Stein 716418d1d84SAlexander Stein pinctrl_ecspi3: ecspi3grp { 717418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART1_TXD__ECSPI3_MOSI 0x1c0>, 718418d1d84SAlexander Stein <MX8MP_IOMUXC_UART1_RXD__ECSPI3_SCLK 0x1c0>, 719418d1d84SAlexander Stein <MX8MP_IOMUXC_UART2_RXD__ECSPI3_MISO 0x1c0>, 720418d1d84SAlexander Stein <MX8MP_IOMUXC_UART2_TXD__GPIO5_IO25 0x1c0>; 721418d1d84SAlexander Stein }; 722418d1d84SAlexander Stein 723418d1d84SAlexander Stein pinctrl_eqos: eqosgrp { 724418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x40000044>, 725418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x40000044>, 726418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x90>, 727418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x90>, 728418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x90>, 729418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x90>, 730418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x90>, 731418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x90>, 732418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x12>, 733418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x12>, 734418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x12>, 735418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x12>, 736418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x12>, 737418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x14>; 738418d1d84SAlexander Stein }; 739418d1d84SAlexander Stein 740418d1d84SAlexander Stein pinctrl_eqos_event: eqosevtgrp { 741418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_RXD0__ENET_QOS_1588_EVENT2_OUT 0x100>, 742418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_TXD0__ENET_QOS_1588_EVENT2_IN 0x1c0>; 743418d1d84SAlexander Stein }; 744418d1d84SAlexander Stein 745418d1d84SAlexander Stein pinctrl_eqos_phy: eqosphygrp { 746418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x100>, 747418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x1c0>; 748418d1d84SAlexander Stein }; 749418d1d84SAlexander Stein 750418d1d84SAlexander Stein pinctrl_fec: fecgrp { 751418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x40000044>, 752418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x40000044>, 753418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x90>, 754418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x90>, 755418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x90>, 756418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x90>, 757418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x90>, 758418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x90>, 759418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x12>, 760418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x12>, 761418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x12>, 762418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x12>, 763418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x12>, 764418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x14>; 765418d1d84SAlexander Stein }; 766418d1d84SAlexander Stein 767418d1d84SAlexander Stein pinctrl_fec_event: fecevtgrp { 768418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN 0x100>, 769418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT 0x1c0>; 770418d1d84SAlexander Stein }; 771418d1d84SAlexander Stein 772418d1d84SAlexander Stein pinctrl_fec_phy: fecphygrp { 773418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00 0x100>, 774418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x1c0>; 775418d1d84SAlexander Stein }; 776418d1d84SAlexander Stein 777418d1d84SAlexander Stein pinctrl_fec_phyalt: fecphyaltgrp { 778418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_TXFS__GPIO4_IO24 0x180>, 779418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25 0x180>; 780418d1d84SAlexander Stein }; 781418d1d84SAlexander Stein 782418d1d84SAlexander Stein pinctrl_gpiobutton: gpiobuttongrp { 783418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART3_RXD__GPIO5_IO26 0x10>, 784418d1d84SAlexander Stein <MX8MP_IOMUXC_UART3_TXD__GPIO5_IO27 0x10>; 785418d1d84SAlexander Stein }; 786418d1d84SAlexander Stein 787418d1d84SAlexander Stein pinctrl_gpioled: gpioledgrp { 788418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x14>, 789418d1d84SAlexander Stein <MX8MP_IOMUXC_SPDIF_RX__GPIO5_IO04 0x14>, 790418d1d84SAlexander Stein <MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO03 0x14>; 791418d1d84SAlexander Stein }; 792418d1d84SAlexander Stein 793418d1d84SAlexander Stein pinctrl_gpio1: gpio1grp { 794418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x10>, 795418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01 0x10>, 796418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x10>, 797418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x10>, 798418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x80>, 799418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 0x80>, 800418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x80>, 801418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO15__GPIO1_IO15 0x80>; 802418d1d84SAlexander Stein }; 803418d1d84SAlexander Stein 804418d1d84SAlexander Stein pinctrl_gpio4: gpio4grp { 805418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x180>, 806418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x180>; 807418d1d84SAlexander Stein }; 808418d1d84SAlexander Stein 809418d1d84SAlexander Stein pinctrl_hdmi: hdmigrp { 810418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c2>, 811418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c2>, 812418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000010>, 813418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000010>; 814418d1d84SAlexander Stein }; 815418d1d84SAlexander Stein 816418d1d84SAlexander Stein pinctrl_hoggpio2: hoggpio2grp { 817418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07 0x140>, 818418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10 0x140>, 819418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x140>; 820418d1d84SAlexander Stein }; 821418d1d84SAlexander Stein 822418d1d84SAlexander Stein pinctrl_i2c2: i2c2grp { 823418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001e2>, 824418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001e2>; 825418d1d84SAlexander Stein }; 826418d1d84SAlexander Stein 827418d1d84SAlexander Stein pinctrl_i2c2_gpio: i2c2-gpiogrp { 828418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16 0x400001e2>, 829418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x400001e2>; 830418d1d84SAlexander Stein }; 831418d1d84SAlexander Stein 832418d1d84SAlexander Stein pinctrl_i2c4: i2c4grp { 833418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x400001e2>, 834418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x400001e2>; 835418d1d84SAlexander Stein }; 836418d1d84SAlexander Stein 837418d1d84SAlexander Stein pinctrl_i2c4_gpio: i2c4-gpiogrp { 838418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20 0x400001e2>, 839418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x400001e2>; 840418d1d84SAlexander Stein }; 841418d1d84SAlexander Stein 842418d1d84SAlexander Stein pinctrl_i2c6: i2c6grp { 843418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__I2C6_SCL 0x400001e2>, 844418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA1__I2C6_SDA 0x400001e2>; 845418d1d84SAlexander Stein }; 846418d1d84SAlexander Stein 847418d1d84SAlexander Stein pinctrl_i2c6_gpio: i2c6-gpiogrp { 848418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__GPIO2_IO02 0x400001e2>, 849418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA1__GPIO2_IO03 0x400001e2>; 850418d1d84SAlexander Stein }; 851418d1d84SAlexander Stein 852418d1d84SAlexander Stein pinctrl_lvdsdisplay: lvdsdisplaygrp { 853418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x10>; /* Power enable */ 854418d1d84SAlexander Stein }; 855418d1d84SAlexander Stein 85645b91a15SAlexander Stein pinctrl_pcf85063: pcf85063grp { 85745b91a15SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28 0x80>; 85845b91a15SAlexander Stein }; 85945b91a15SAlexander Stein 860418d1d84SAlexander Stein /* LVDS Backlight */ 861418d1d84SAlexander Stein pinctrl_pwm2: pwm2grp { 862418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD0__PWM2_OUT 0x14>; 863418d1d84SAlexander Stein }; 864418d1d84SAlexander Stein 865418d1d84SAlexander Stein /* FAN */ 866418d1d84SAlexander Stein pinctrl_pwm3: pwm3grp { 867418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C3_SDA__PWM3_OUT 0x14>; 868418d1d84SAlexander Stein }; 869418d1d84SAlexander Stein 870534d4f66SAlexander Stein pinctrl_pwmfan: pwmfangrp { 871534d4f66SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x80>; /* FAN RPM */ 872534d4f66SAlexander Stein }; 873534d4f66SAlexander Stein 874418d1d84SAlexander Stein pinctrl_reg12v0: reg12v0grp { 875418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x140>; /* VCC12V enable */ 876418d1d84SAlexander Stein }; 877418d1d84SAlexander Stein 878534d4f66SAlexander Stein pinctrl_regpwmfan: regpwmfangrp { 879534d4f66SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x80>; 880534d4f66SAlexander Stein }; 881534d4f66SAlexander Stein 882d8f9d812SAlexander Stein pinctrl_sai3: sai3grp { 883d8f9d812SAlexander Stein fsl,pins = < 884d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC 0x94 885d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXC__AUDIOMIX_SAI3_TX_BCLK 0x94 886d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_RXD__AUDIOMIX_SAI3_RX_DATA00 0x94 887d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXD__AUDIOMIX_SAI3_TX_DATA00 0x94 888d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_MCLK__AUDIOMIX_SAI3_MCLK 0x94 889d8f9d812SAlexander Stein >; 890d8f9d812SAlexander Stein }; 891d8f9d812SAlexander Stein 892d8f9d812SAlexander Stein pinctrl_tlv320aic3x04: tlv320aic3x04grp { 893d8f9d812SAlexander Stein fsl,pins = < 894d8f9d812SAlexander Stein /* CODEC RST# */ 895d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29 0x180 896d8f9d812SAlexander Stein >; 897d8f9d812SAlexander Stein }; 898d8f9d812SAlexander Stein 899418d1d84SAlexander Stein /* X61 */ 900418d1d84SAlexander Stein pinctrl_uart1: uart1grp { 901418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_CLK__UART1_DCE_TX 0x140>, 902418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_CMD__UART1_DCE_RX 0x140>; 903418d1d84SAlexander Stein }; 904418d1d84SAlexander Stein 905418d1d84SAlexander Stein /* X61 */ 906418d1d84SAlexander Stein pinctrl_uart2: uart2grp { 907418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA2__UART2_DCE_TX 0x140>, 908418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA3__UART2_DCE_RX 0x140>; 909418d1d84SAlexander Stein }; 910418d1d84SAlexander Stein 911418d1d84SAlexander Stein pinctrl_uart3: uart3grp { 912418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA6__UART3_DCE_TX 0x140>, 913418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA7__UART3_DCE_RX 0x140>; 914418d1d84SAlexander Stein }; 915418d1d84SAlexander Stein 916418d1d84SAlexander Stein pinctrl_uart4: uart4grp { 917418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x140>, 918418d1d84SAlexander Stein <MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x140>; 919418d1d84SAlexander Stein }; 920418d1d84SAlexander Stein 921fb4f0b69SAlexander Stein pinctrl_usb0: usb0grp { 922fb4f0b69SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC 0x1c0>, 923fb4f0b69SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO12__USB1_OTG_PWR 0x1c0>; 924fb4f0b69SAlexander Stein }; 925fb4f0b69SAlexander Stein 926fb4f0b69SAlexander Stein pinctrl_usbcon0: usb0congrp { 927fb4f0b69SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x1c0>; 928fb4f0b69SAlexander Stein }; 929fb4f0b69SAlexander Stein 930ca69b6c7SAlexander Stein pinctrl_usbhub: usbhubgrp { 931ca69b6c7SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO11__GPIO1_IO11 0x10>; 932ca69b6c7SAlexander Stein }; 933ca69b6c7SAlexander Stein 934418d1d84SAlexander Stein pinctrl_usdhc2: usdhc2grp { 935418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x192>, 936418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d2>, 937418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d2>, 938418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d2>, 939418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d2>, 940418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d2>, 941418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 942418d1d84SAlexander Stein }; 943418d1d84SAlexander Stein 944418d1d84SAlexander Stein pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 945418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, 946418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, 947418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 948418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 949418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 950418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 951418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 952418d1d84SAlexander Stein }; 953418d1d84SAlexander Stein 954418d1d84SAlexander Stein pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 955418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, 956418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, 957418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 958418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 959418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 960418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 961418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 962418d1d84SAlexander Stein }; 963418d1d84SAlexander Stein 964418d1d84SAlexander Stein pinctrl_usdhc2_gpio: usdhc2-gpiogrp { 965418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c0>; 966418d1d84SAlexander Stein }; 967418d1d84SAlexander Stein}; 968