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"; 183e33493bSAlexander 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 5918783f5cSFabio Estevam connector { 6018783f5cSFabio Estevam compatible = "gpio-usb-b-connector", "usb-b-connector"; 6118783f5cSFabio Estevam type = "micro"; 6218783f5cSFabio Estevam label = "X29"; 6318783f5cSFabio Estevam pinctrl-names = "default"; 6418783f5cSFabio Estevam pinctrl-0 = <&pinctrl_usbcon0>; 6518783f5cSFabio Estevam id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; 6618783f5cSFabio Estevam 6718783f5cSFabio Estevam port { 6818783f5cSFabio Estevam usb_dr_connector: endpoint { 6918783f5cSFabio Estevam remote-endpoint = <&usb3_dwc>; 7018783f5cSFabio Estevam }; 7118783f5cSFabio Estevam }; 7218783f5cSFabio Estevam }; 7318783f5cSFabio Estevam 74534d4f66SAlexander Stein fan0: pwm-fan { 75534d4f66SAlexander Stein compatible = "pwm-fan"; 76534d4f66SAlexander Stein pinctrl-names = "default"; 77534d4f66SAlexander Stein pinctrl-0 = <&pinctrl_pwmfan>; 78534d4f66SAlexander Stein fan-supply = <®_pwm_fan>; 79534d4f66SAlexander Stein #cooling-cells = <2>; 80534d4f66SAlexander Stein /* typical 25 kHz -> 40.000 nsec */ 81534d4f66SAlexander Stein pwms = <&pwm3 0 40000 PWM_POLARITY_INVERTED>; 82534d4f66SAlexander Stein cooling-levels = <0 32 64 128 196 240>; 83534d4f66SAlexander Stein pulses-per-revolution = <2>; 84534d4f66SAlexander Stein interrupt-parent = <&gpio5>; 85534d4f66SAlexander Stein interrupts = <18 IRQ_TYPE_EDGE_FALLING>; 86534d4f66SAlexander Stein status = "disabled"; 87534d4f66SAlexander Stein }; 88534d4f66SAlexander Stein 89418d1d84SAlexander Stein gpio-keys { 90418d1d84SAlexander Stein compatible = "gpio-keys"; 91418d1d84SAlexander Stein pinctrl-names = "default"; 92418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpiobutton>; 93418d1d84SAlexander Stein autorepeat; 94418d1d84SAlexander Stein 95418d1d84SAlexander Stein switch-1 { 96418d1d84SAlexander Stein label = "S12"; 97418d1d84SAlexander Stein linux,code = <BTN_0>; 98d707ff34SAlexander Stein gpios = <&gpio5 27 GPIO_ACTIVE_LOW>; 99132401ccSAlexander Stein wakeup-source; 100418d1d84SAlexander Stein }; 101418d1d84SAlexander Stein 102418d1d84SAlexander Stein switch-2 { 103418d1d84SAlexander Stein label = "S13"; 104418d1d84SAlexander Stein linux,code = <BTN_1>; 105d707ff34SAlexander Stein gpios = <&gpio5 26 GPIO_ACTIVE_LOW>; 106132401ccSAlexander Stein wakeup-source; 107418d1d84SAlexander Stein }; 108418d1d84SAlexander Stein }; 109418d1d84SAlexander Stein 110418d1d84SAlexander Stein gpio-leds { 111418d1d84SAlexander Stein compatible = "gpio-leds"; 112418d1d84SAlexander Stein pinctrl-names = "default"; 113418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpioled>; 114418d1d84SAlexander Stein 115418d1d84SAlexander Stein led-0 { 116418d1d84SAlexander Stein color = <LED_COLOR_ID_GREEN>; 117418d1d84SAlexander Stein function = LED_FUNCTION_STATUS; 118418d1d84SAlexander Stein function-enumerator = <0>; 119418d1d84SAlexander Stein gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>; 120418d1d84SAlexander Stein linux,default-trigger = "default-on"; 121418d1d84SAlexander Stein }; 122418d1d84SAlexander Stein 123418d1d84SAlexander Stein led-1 { 124418d1d84SAlexander Stein color = <LED_COLOR_ID_GREEN>; 125418d1d84SAlexander Stein function = LED_FUNCTION_HEARTBEAT; 126418d1d84SAlexander Stein gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>; 127418d1d84SAlexander Stein linux,default-trigger = "heartbeat"; 128418d1d84SAlexander Stein }; 129418d1d84SAlexander Stein 130418d1d84SAlexander Stein led-2 { 131418d1d84SAlexander Stein color = <LED_COLOR_ID_YELLOW>; 132418d1d84SAlexander Stein function = LED_FUNCTION_STATUS; 133418d1d84SAlexander Stein function-enumerator = <1>; 134418d1d84SAlexander Stein gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; 135418d1d84SAlexander Stein }; 136418d1d84SAlexander Stein }; 137418d1d84SAlexander Stein 138418d1d84SAlexander Stein display: display { 139418d1d84SAlexander Stein /* 140418d1d84SAlexander Stein * Display is not fixed, so compatible has to be added from 141418d1d84SAlexander Stein * DT overlay 142418d1d84SAlexander Stein */ 143418d1d84SAlexander Stein pinctrl-names = "default"; 144418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_lvdsdisplay>; 145418d1d84SAlexander Stein power-supply = <®_vcc_3v3>; 146418d1d84SAlexander Stein enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; 147418d1d84SAlexander Stein backlight = <&backlight_lvds>; 148418d1d84SAlexander Stein status = "disabled"; 149418d1d84SAlexander Stein }; 150418d1d84SAlexander Stein 151534d4f66SAlexander Stein reg_pwm_fan: regulator-pwm-fan { 152534d4f66SAlexander Stein compatible = "regulator-fixed"; 153534d4f66SAlexander Stein pinctrl-names = "default"; 154534d4f66SAlexander Stein pinctrl-0 = <&pinctrl_regpwmfan>; 155534d4f66SAlexander Stein regulator-name = "FAN_PWR"; 156534d4f66SAlexander Stein regulator-min-microvolt = <12000000>; 157534d4f66SAlexander Stein regulator-max-microvolt = <12000000>; 158534d4f66SAlexander Stein gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; 159534d4f66SAlexander Stein enable-active-high; 160534d4f66SAlexander Stein vin-supply = <®_vcc_12v0>; 161534d4f66SAlexander Stein }; 162534d4f66SAlexander Stein 163418d1d84SAlexander Stein reg_usdhc2_vmmc: regulator-usdhc2 { 164418d1d84SAlexander Stein compatible = "regulator-fixed"; 165418d1d84SAlexander Stein pinctrl-names = "default"; 166418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 167418d1d84SAlexander Stein regulator-name = "VSD_3V3"; 168418d1d84SAlexander Stein regulator-min-microvolt = <3300000>; 169418d1d84SAlexander Stein regulator-max-microvolt = <3300000>; 170418d1d84SAlexander Stein gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; 171418d1d84SAlexander Stein enable-active-high; 172418d1d84SAlexander Stein startup-delay-us = <100>; 173418d1d84SAlexander Stein off-on-delay-us = <12000>; 174418d1d84SAlexander Stein }; 175418d1d84SAlexander Stein 176418d1d84SAlexander Stein reg_vcc_12v0: regulator-12v0 { 177418d1d84SAlexander Stein compatible = "regulator-fixed"; 178418d1d84SAlexander Stein pinctrl-names = "default"; 179418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_reg12v0>; 180418d1d84SAlexander Stein regulator-name = "VCC_12V0"; 181418d1d84SAlexander Stein regulator-min-microvolt = <12000000>; 182418d1d84SAlexander Stein regulator-max-microvolt = <12000000>; 183418d1d84SAlexander Stein gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>; 184418d1d84SAlexander Stein enable-active-high; 185418d1d84SAlexander Stein }; 186418d1d84SAlexander Stein 187*a620a7f2SAlexander Stein reg_vcc_1v8: regulator-1v8 { 188*a620a7f2SAlexander Stein compatible = "regulator-fixed"; 189*a620a7f2SAlexander Stein regulator-name = "VCC_1V8"; 190*a620a7f2SAlexander Stein regulator-min-microvolt = <1800000>; 191*a620a7f2SAlexander Stein regulator-max-microvolt = <1800000>; 192*a620a7f2SAlexander Stein }; 193*a620a7f2SAlexander Stein 194418d1d84SAlexander Stein reg_vcc_3v3: regulator-3v3 { 195418d1d84SAlexander Stein compatible = "regulator-fixed"; 196418d1d84SAlexander Stein regulator-name = "VCC_3V3"; 197418d1d84SAlexander Stein regulator-min-microvolt = <3300000>; 198418d1d84SAlexander Stein regulator-max-microvolt = <3300000>; 199418d1d84SAlexander Stein }; 200418d1d84SAlexander Stein 201fb4f0b69SAlexander Stein reg_vcc_5v0: regulator-5v0 { 202fb4f0b69SAlexander Stein compatible = "regulator-fixed"; 203fb4f0b69SAlexander Stein regulator-name = "VCC_5V0"; 204fb4f0b69SAlexander Stein regulator-min-microvolt = <5000000>; 205fb4f0b69SAlexander Stein regulator-max-microvolt = <5000000>; 206fb4f0b69SAlexander Stein }; 207fb4f0b69SAlexander Stein 208418d1d84SAlexander Stein reserved-memory { 209418d1d84SAlexander Stein #address-cells = <2>; 210418d1d84SAlexander Stein #size-cells = <2>; 211418d1d84SAlexander Stein ranges; 212418d1d84SAlexander Stein 213418d1d84SAlexander Stein ocram: ocram@900000 { 214418d1d84SAlexander Stein no-map; 215418d1d84SAlexander Stein reg = <0 0x900000 0 0x70000>; 216418d1d84SAlexander Stein }; 217418d1d84SAlexander Stein 218418d1d84SAlexander Stein /* global autoconfigured region for contiguous allocations */ 219418d1d84SAlexander Stein linux,cma { 220418d1d84SAlexander Stein compatible = "shared-dma-pool"; 221418d1d84SAlexander Stein reusable; 222418d1d84SAlexander Stein size = <0 0x38000000>; 223418d1d84SAlexander Stein alloc-ranges = <0 0x40000000 0 0xB0000000>; 224418d1d84SAlexander Stein linux,cma-default; 225418d1d84SAlexander Stein }; 226418d1d84SAlexander Stein }; 227534d4f66SAlexander Stein 228d8f9d812SAlexander Stein sound { 229d8f9d812SAlexander Stein compatible = "fsl,imx-audio-tlv320aic32x4"; 230d8f9d812SAlexander Stein model = "tq-tlv320aic32x"; 231d8f9d812SAlexander Stein audio-cpu = <&sai3>; 232d8f9d812SAlexander Stein audio-codec = <&tlv320aic3x04>; 233d8f9d812SAlexander Stein }; 234d8f9d812SAlexander Stein 235534d4f66SAlexander Stein thermal-zones { 236534d4f66SAlexander Stein soc-thermal { 237534d4f66SAlexander Stein trips { 238534d4f66SAlexander Stein soc_active0: trip-active0 { 239534d4f66SAlexander Stein temperature = <40000>; 240534d4f66SAlexander Stein hysteresis = <5000>; 241534d4f66SAlexander Stein type = "active"; 242534d4f66SAlexander Stein }; 243534d4f66SAlexander Stein 244534d4f66SAlexander Stein soc_active1: trip-active1 { 245534d4f66SAlexander Stein temperature = <48000>; 246534d4f66SAlexander Stein hysteresis = <3000>; 247534d4f66SAlexander Stein type = "active"; 248534d4f66SAlexander Stein }; 249534d4f66SAlexander Stein 250534d4f66SAlexander Stein soc_active2: trip-active2 { 251534d4f66SAlexander Stein temperature = <60000>; 252534d4f66SAlexander Stein hysteresis = <10000>; 253534d4f66SAlexander Stein type = "active"; 254534d4f66SAlexander Stein }; 255534d4f66SAlexander Stein }; 256534d4f66SAlexander Stein 257534d4f66SAlexander Stein cooling-maps { 258534d4f66SAlexander Stein map1 { 259534d4f66SAlexander Stein trip = <&soc_active0>; 260534d4f66SAlexander Stein cooling-device = <&fan0 1 1>; 261534d4f66SAlexander Stein }; 262534d4f66SAlexander Stein 263534d4f66SAlexander Stein map2 { 264534d4f66SAlexander Stein trip = <&soc_active1>; 265534d4f66SAlexander Stein cooling-device = <&fan0 2 2>; 266534d4f66SAlexander Stein }; 267534d4f66SAlexander Stein 268534d4f66SAlexander Stein map3 { 269534d4f66SAlexander Stein trip = <&soc_active2>; 270534d4f66SAlexander Stein cooling-device = <&fan0 3 3>; 271534d4f66SAlexander Stein }; 272534d4f66SAlexander Stein }; 273534d4f66SAlexander Stein }; 274534d4f66SAlexander Stein }; 275418d1d84SAlexander Stein}; 276418d1d84SAlexander Stein 277418d1d84SAlexander Stein&ecspi1 { 278418d1d84SAlexander Stein pinctrl-names = "default"; 279418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi1>; 280418d1d84SAlexander Stein cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 281418d1d84SAlexander Stein status = "okay"; 282418d1d84SAlexander Stein}; 283418d1d84SAlexander Stein 284418d1d84SAlexander Stein&ecspi2 { 285418d1d84SAlexander Stein pinctrl-names = "default"; 286418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi2>; 287418d1d84SAlexander Stein cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; 288418d1d84SAlexander Stein status = "okay"; 289418d1d84SAlexander Stein}; 290418d1d84SAlexander Stein 291418d1d84SAlexander Stein&ecspi3 { 292418d1d84SAlexander Stein pinctrl-names = "default"; 293418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_ecspi3>; 294418d1d84SAlexander Stein cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; 295418d1d84SAlexander Stein status = "okay"; 296418d1d84SAlexander Stein 297418d1d84SAlexander Stein adc: adc@0 { 298418d1d84SAlexander Stein reg = <0>; 299418d1d84SAlexander Stein compatible = "microchip,mcp3202"; 300418d1d84SAlexander Stein /* 100 ksps * 18 */ 301418d1d84SAlexander Stein spi-max-frequency = <1800000>; 302418d1d84SAlexander Stein vref-supply = <®_vcc_3v3>; 303418d1d84SAlexander Stein #io-channel-cells = <1>; 304418d1d84SAlexander Stein }; 305418d1d84SAlexander Stein}; 306418d1d84SAlexander Stein 307418d1d84SAlexander Stein&eqos { 308418d1d84SAlexander Stein pinctrl-names = "default"; 309418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_eqos>, <&pinctrl_eqos_phy>; 310418d1d84SAlexander Stein phy-mode = "rgmii-id"; 311418d1d84SAlexander Stein phy-handle = <ðphy3>; 312418d1d84SAlexander Stein status = "okay"; 313418d1d84SAlexander Stein 314418d1d84SAlexander Stein mdio { 315418d1d84SAlexander Stein compatible = "snps,dwmac-mdio"; 316418d1d84SAlexander Stein #address-cells = <1>; 317418d1d84SAlexander Stein #size-cells = <0>; 318418d1d84SAlexander Stein 319418d1d84SAlexander Stein ethphy3: ethernet-phy@3 { 320418d1d84SAlexander Stein compatible = "ethernet-phy-ieee802.3-c22"; 321418d1d84SAlexander Stein reg = <3>; 322418d1d84SAlexander Stein ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 323418d1d84SAlexander Stein ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 324418d1d84SAlexander Stein ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 325418d1d84SAlexander Stein ti,dp83867-rxctrl-strap-quirk; 326418d1d84SAlexander Stein ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 327418d1d84SAlexander Stein reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 328418d1d84SAlexander Stein reset-assert-us = <500000>; 329418d1d84SAlexander Stein reset-deassert-us = <50000>; 330418d1d84SAlexander Stein enet-phy-lane-no-swap; 331418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 332418d1d84SAlexander Stein interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 333418d1d84SAlexander Stein }; 334418d1d84SAlexander Stein }; 335418d1d84SAlexander Stein}; 336418d1d84SAlexander Stein 337418d1d84SAlexander Stein&fec { 338418d1d84SAlexander Stein pinctrl-names = "default"; 339418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_fec>, <&pinctrl_fec_phy>; 340418d1d84SAlexander Stein phy-mode = "rgmii-id"; 341418d1d84SAlexander Stein phy-handle = <ðphy0>; 342418d1d84SAlexander Stein fsl,magic-packet; 343418d1d84SAlexander Stein status = "okay"; 344418d1d84SAlexander Stein 345418d1d84SAlexander Stein mdio { 346418d1d84SAlexander Stein #address-cells = <1>; 347418d1d84SAlexander Stein #size-cells = <0>; 348418d1d84SAlexander Stein 349418d1d84SAlexander Stein ethphy0: ethernet-phy@0 { 350418d1d84SAlexander Stein compatible = "ethernet-phy-ieee802.3-c22"; 351418d1d84SAlexander Stein reg = <0>; 352418d1d84SAlexander Stein ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 353418d1d84SAlexander Stein ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 354418d1d84SAlexander Stein ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 355418d1d84SAlexander Stein ti,dp83867-rxctrl-strap-quirk; 356418d1d84SAlexander Stein ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 357418d1d84SAlexander Stein reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; 358418d1d84SAlexander Stein reset-assert-us = <500000>; 359418d1d84SAlexander Stein reset-deassert-us = <50000>; 360418d1d84SAlexander Stein enet-phy-lane-no-swap; 361418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 362418d1d84SAlexander Stein interrupts = <1 IRQ_TYPE_EDGE_FALLING>; 363418d1d84SAlexander Stein }; 364418d1d84SAlexander Stein }; 365418d1d84SAlexander Stein}; 366418d1d84SAlexander Stein 367418d1d84SAlexander Stein&flexcan1 { 368418d1d84SAlexander Stein pinctrl-names = "default"; 369418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_flexcan1>; 370418d1d84SAlexander Stein xceiver-supply = <®_vcc_3v3>; 371418d1d84SAlexander Stein status = "okay"; 372418d1d84SAlexander Stein}; 373418d1d84SAlexander Stein 374418d1d84SAlexander Stein&flexcan2 { 375418d1d84SAlexander Stein pinctrl-names = "default"; 376418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_flexcan2>; 377418d1d84SAlexander Stein xceiver-supply = <®_vcc_3v3>; 378418d1d84SAlexander Stein status = "okay"; 379418d1d84SAlexander Stein}; 380418d1d84SAlexander Stein 381418d1d84SAlexander Stein&gpio1 { 382418d1d84SAlexander Stein pinctrl-names = "default"; 383418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpio1>; 384418d1d84SAlexander Stein 385418d1d84SAlexander Stein gpio-line-names = "GPO1", "GPO0", "", "GPO3", 386418d1d84SAlexander Stein "", "", "GPO2", "GPI0", 387418d1d84SAlexander Stein "PMIC_IRQ", "GPI1", "OTG_ID", "USB_HUB_RST#", 388418d1d84SAlexander Stein "OTG_PWR", "", "GPI2", "GPI3", 389418d1d84SAlexander Stein "", "", "", "", 390418d1d84SAlexander Stein "", "", "", "", 391418d1d84SAlexander Stein "", "", "", "", 392418d1d84SAlexander Stein "", "", "", ""; 393418d1d84SAlexander Stein}; 394418d1d84SAlexander Stein 395418d1d84SAlexander Stein&gpio2 { 396418d1d84SAlexander Stein pinctrl-names = "default"; 397418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_hoggpio2>; 398418d1d84SAlexander Stein 399418d1d84SAlexander Stein gpio-line-names = "", "", "", "", 400418d1d84SAlexander Stein "", "", "VCC12V_EN", "PERST#", 401418d1d84SAlexander Stein "", "", "CLKREQ#", "PEWAKE#", 402418d1d84SAlexander Stein "USDHC2_CD", "", "", "", 403418d1d84SAlexander Stein "", "", "", "V_SD3V3_EN", 404418d1d84SAlexander Stein "", "", "", "", 405418d1d84SAlexander Stein "", "", "", "", 406418d1d84SAlexander Stein "", "", "", ""; 407418d1d84SAlexander Stein 408418d1d84SAlexander Stein perst-hog { 409418d1d84SAlexander Stein gpio-hog; 410418d1d84SAlexander Stein gpios = <7 0>; 411418d1d84SAlexander Stein output-high; 412418d1d84SAlexander Stein line-name = "PERST#"; 413418d1d84SAlexander Stein }; 414418d1d84SAlexander Stein 415418d1d84SAlexander Stein clkreq-hog { 416418d1d84SAlexander Stein gpio-hog; 417418d1d84SAlexander Stein gpios = <10 0>; 418418d1d84SAlexander Stein input; 419418d1d84SAlexander Stein line-name = "CLKREQ#"; 420418d1d84SAlexander Stein }; 421418d1d84SAlexander Stein 422418d1d84SAlexander Stein pewake-hog { 423418d1d84SAlexander Stein gpio-hog; 424418d1d84SAlexander Stein gpios = <11 0>; 425418d1d84SAlexander Stein input; 426418d1d84SAlexander Stein line-name = "PEWAKE#"; 427418d1d84SAlexander Stein }; 428418d1d84SAlexander Stein}; 429418d1d84SAlexander Stein 430418d1d84SAlexander Stein&gpio3 { 431418d1d84SAlexander Stein gpio-line-names = "", "", "", "", 432418d1d84SAlexander Stein "", "", "", "", 433418d1d84SAlexander Stein "", "", "", "", 434418d1d84SAlexander Stein "", "", "LVDS0_RESET#", "", 435418d1d84SAlexander Stein "", "", "", "LVDS0_BLT_EN", 436418d1d84SAlexander Stein "LVDS0_PWR_EN", "", "", "", 437418d1d84SAlexander Stein "", "", "", "", 438418d1d84SAlexander Stein "", "", "", ""; 439418d1d84SAlexander Stein}; 440418d1d84SAlexander Stein 441418d1d84SAlexander Stein&gpio4 { 442418d1d84SAlexander Stein pinctrl-names = "default"; 443418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_gpio4>; 444418d1d84SAlexander Stein 445418d1d84SAlexander Stein gpio-line-names = "ENET0_RST#", "ENET0_INT#", "ENET1_RST#", "ENET1_INT#", 446418d1d84SAlexander Stein "", "", "", "", 447418d1d84SAlexander Stein "", "", "", "", 448418d1d84SAlexander Stein "", "", "", "", 449418d1d84SAlexander Stein "", "", "DP_IRQ", "DSI_EN", 450630ecc93SAlexander Stein "HDMI_OC#", "TEMP_EVENT#", "PCIE_REFCLK_OE#", "", 451418d1d84SAlexander Stein "", "", "", "FAN_PWR", 452418d1d84SAlexander Stein "RTC_EVENT#", "CODEC_RST#", "", ""; 453630ecc93SAlexander Stein 454630ecc93SAlexander Stein pcie-refclkreq-hog { 455630ecc93SAlexander Stein gpio-hog; 456630ecc93SAlexander Stein gpios = <22 0>; 457630ecc93SAlexander Stein output-high; 458630ecc93SAlexander Stein line-name = "PCIE_REFCLK_OE#"; 459630ecc93SAlexander Stein }; 460418d1d84SAlexander Stein}; 461418d1d84SAlexander Stein 462418d1d84SAlexander Stein&gpio5 { 463418d1d84SAlexander Stein gpio-line-names = "", "", "", "LED2", 464418d1d84SAlexander Stein "LED1", "LED0", "CSI0_RESET#", "CSI0_SYNC", 465418d1d84SAlexander Stein "CSI0_TRIGGER", "CSI0_ENABLE", "", "", 466418d1d84SAlexander Stein "", "ECSPI2_SS0", "", "", 467418d1d84SAlexander Stein "", "", "", "", 468418d1d84SAlexander Stein "", "", "", "", 469418d1d84SAlexander Stein "", "ECSPI3_SS0", "SWITCH_A", "SWITCH_B", 470418d1d84SAlexander Stein "", "", "", ""; 471418d1d84SAlexander Stein}; 472418d1d84SAlexander Stein 473418d1d84SAlexander Stein&i2c2 { 474418d1d84SAlexander Stein clock-frequency = <384000>; 475418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 476418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c2>; 477418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c2_gpio>; 478418d1d84SAlexander Stein scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 479418d1d84SAlexander Stein sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 480418d1d84SAlexander Stein status = "okay"; 481418d1d84SAlexander Stein 482d8f9d812SAlexander Stein tlv320aic3x04: audio-codec@18 { 483d8f9d812SAlexander Stein compatible = "ti,tlv320aic32x4"; 484d8f9d812SAlexander Stein pinctrl-names = "default"; 485d8f9d812SAlexander Stein pinctrl-0 = <&pinctrl_tlv320aic3x04>; 486d8f9d812SAlexander Stein reg = <0x18>; 487d8f9d812SAlexander Stein clock-names = "mclk"; 488d8f9d812SAlexander Stein clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>; 489d8f9d812SAlexander Stein reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>; 490*a620a7f2SAlexander Stein iov-supply = <®_vcc_1v8>; 491d8f9d812SAlexander Stein ldoin-supply = <®_vcc_3v3>; 492d8f9d812SAlexander Stein }; 493d8f9d812SAlexander Stein 494580c545fSAlexander Stein se97_1c: temperature-sensor@1c { 495580c545fSAlexander Stein compatible = "nxp,se97b", "jedec,jc-42.4-temp"; 496418d1d84SAlexander Stein reg = <0x1c>; 497418d1d84SAlexander Stein }; 498418d1d84SAlexander Stein 499418d1d84SAlexander Stein at24c02_54: eeprom@54 { 500418d1d84SAlexander Stein compatible = "nxp,se97b", "atmel,24c02"; 501418d1d84SAlexander Stein reg = <0x54>; 502418d1d84SAlexander Stein pagesize = <16>; 503418d1d84SAlexander Stein vcc-supply = <®_vcc_3v3>; 504418d1d84SAlexander Stein }; 505630ecc93SAlexander Stein 506630ecc93SAlexander Stein pcieclk: clock-generator@6a { 507630ecc93SAlexander Stein compatible = "renesas,9fgv0241"; 508630ecc93SAlexander Stein reg = <0x6a>; 509630ecc93SAlexander Stein clocks = <&clk_xtal25>; 510630ecc93SAlexander Stein #clock-cells = <1>; 511630ecc93SAlexander Stein }; 512418d1d84SAlexander Stein}; 513418d1d84SAlexander Stein 514418d1d84SAlexander Stein&i2c4 { 515418d1d84SAlexander Stein clock-frequency = <384000>; 516418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 517418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c4>; 518418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c4_gpio>; 519418d1d84SAlexander Stein scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 520418d1d84SAlexander Stein sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 521418d1d84SAlexander Stein status = "okay"; 522418d1d84SAlexander Stein}; 523418d1d84SAlexander Stein 524418d1d84SAlexander Stein&i2c6 { 525418d1d84SAlexander Stein clock-frequency = <384000>; 526418d1d84SAlexander Stein pinctrl-names = "default", "gpio"; 527418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_i2c6>; 528418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_i2c6_gpio>; 529418d1d84SAlexander Stein scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 530418d1d84SAlexander Stein sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 531418d1d84SAlexander Stein status = "okay"; 532418d1d84SAlexander Stein}; 533418d1d84SAlexander Stein 534418d1d84SAlexander Stein&pcf85063 { 535418d1d84SAlexander Stein /* RTC_EVENT# is connected on MBa8MPxL */ 53645b91a15SAlexander Stein pinctrl-names = "default"; 53745b91a15SAlexander Stein pinctrl-0 = <&pinctrl_pcf85063>; 538418d1d84SAlexander Stein interrupt-parent = <&gpio4>; 539418d1d84SAlexander Stein interrupts = <28 IRQ_TYPE_EDGE_FALLING>; 540418d1d84SAlexander Stein}; 541418d1d84SAlexander Stein 542630ecc93SAlexander Stein&pcie_phy { 543630ecc93SAlexander Stein fsl,clkreq-unsupported; 544630ecc93SAlexander Stein fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; 545630ecc93SAlexander Stein clocks = <&pcieclk 0>; 546630ecc93SAlexander Stein clock-names = "ref"; 547630ecc93SAlexander Stein status = "okay"; 548630ecc93SAlexander Stein}; 549630ecc93SAlexander Stein 550630ecc93SAlexander Stein&pcie { 551630ecc93SAlexander Stein clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, 552630ecc93SAlexander Stein <&clk IMX8MP_CLK_HSIO_AXI>, 553630ecc93SAlexander Stein <&clk IMX8MP_CLK_PCIE_ROOT>; 554630ecc93SAlexander Stein clock-names = "pcie", "pcie_bus", "pcie_aux"; 555630ecc93SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_PCIE_AUX>; 556630ecc93SAlexander Stein assigned-clock-rates = <10000000>; 557630ecc93SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_50M>; 558630ecc93SAlexander Stein status = "okay"; 559630ecc93SAlexander Stein}; 560630ecc93SAlexander Stein 561418d1d84SAlexander Stein&pwm2 { 562418d1d84SAlexander Stein pinctrl-names = "default"; 563418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_pwm2>; 564418d1d84SAlexander Stein status = "disabled"; 565418d1d84SAlexander Stein}; 566418d1d84SAlexander Stein 567418d1d84SAlexander Stein&pwm3 { 568418d1d84SAlexander Stein pinctrl-names = "default"; 569418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_pwm3>; 570418d1d84SAlexander Stein status = "okay"; 571418d1d84SAlexander Stein}; 572418d1d84SAlexander Stein 573d8f9d812SAlexander Stein&sai3 { 574d8f9d812SAlexander Stein pinctrl-names = "default"; 575d8f9d812SAlexander Stein pinctrl-0 = <&pinctrl_sai3>; 576d8f9d812SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_SAI3>; 577d8f9d812SAlexander Stein assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>; 578d8f9d812SAlexander Stein assigned-clock-rates = <12288000>; 579d8f9d812SAlexander Stein fsl,sai-mclk-direction-output; 580d8f9d812SAlexander Stein status = "okay"; 581d8f9d812SAlexander Stein}; 582d8f9d812SAlexander Stein 583418d1d84SAlexander Stein&snvs_pwrkey { 584418d1d84SAlexander Stein status = "okay"; 585418d1d84SAlexander Stein}; 586418d1d84SAlexander Stein 587418d1d84SAlexander Stein&uart1 { 588418d1d84SAlexander Stein pinctrl-names = "default"; 589418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart1>; 590418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART1>; 591418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 592418d1d84SAlexander Stein status = "okay"; 593418d1d84SAlexander Stein}; 594418d1d84SAlexander Stein 595418d1d84SAlexander Stein&uart2 { 596418d1d84SAlexander Stein pinctrl-names = "default"; 597418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart2>; 598418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART2>; 599418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 600418d1d84SAlexander Stein status = "okay"; 601418d1d84SAlexander Stein}; 602418d1d84SAlexander Stein 603418d1d84SAlexander Stein&uart3 { 604418d1d84SAlexander Stein pinctrl-names = "default"; 605418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart3>; 606418d1d84SAlexander Stein assigned-clocks = <&clk IMX8MP_CLK_UART3>; 607418d1d84SAlexander Stein assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; 608418d1d84SAlexander Stein status = "okay"; 609418d1d84SAlexander Stein}; 610418d1d84SAlexander Stein 611418d1d84SAlexander Stein&uart4 { 612418d1d84SAlexander Stein /* console */ 613418d1d84SAlexander Stein pinctrl-names = "default"; 614418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_uart4>; 615418d1d84SAlexander Stein status = "okay"; 616418d1d84SAlexander Stein}; 617418d1d84SAlexander Stein 618fb4f0b69SAlexander Stein&usb3_0 { 619fb4f0b69SAlexander Stein pinctrl-names = "default"; 620fb4f0b69SAlexander Stein pinctrl-0 = <&pinctrl_usb0>; 621fb4f0b69SAlexander Stein fsl,over-current-active-low; 622fb4f0b69SAlexander Stein status = "okay"; 623fb4f0b69SAlexander Stein}; 624fb4f0b69SAlexander Stein 625ca69b6c7SAlexander Stein&usb3_1 { 626ca69b6c7SAlexander Stein fsl,disable-port-power-control; 627ca69b6c7SAlexander Stein fsl,permanently-attached; 628ca69b6c7SAlexander Stein status = "okay"; 629ca69b6c7SAlexander Stein}; 630ca69b6c7SAlexander Stein 631fb4f0b69SAlexander Stein&usb3_phy0 { 632fb4f0b69SAlexander Stein vbus-supply = <®_vcc_5v0>; 633fb4f0b69SAlexander Stein status = "okay"; 634fb4f0b69SAlexander Stein}; 635fb4f0b69SAlexander Stein 636ca69b6c7SAlexander Stein&usb3_phy1 { 637ca69b6c7SAlexander Stein vbus-supply = <®_vcc_5v0>; 638ca69b6c7SAlexander Stein status = "okay"; 639ca69b6c7SAlexander Stein}; 640ca69b6c7SAlexander Stein 641fb4f0b69SAlexander Stein&usb_dwc3_0 { 642fb4f0b69SAlexander Stein /* dual role is implemented, but not a full featured OTG */ 643fb4f0b69SAlexander Stein hnp-disable; 644fb4f0b69SAlexander Stein srp-disable; 645fb4f0b69SAlexander Stein adp-disable; 646fb4f0b69SAlexander Stein dr_mode = "otg"; 647fb4f0b69SAlexander Stein usb-role-switch; 648fb4f0b69SAlexander Stein role-switch-default-mode = "peripheral"; 649fb4f0b69SAlexander Stein status = "okay"; 650fb4f0b69SAlexander Stein 65118783f5cSFabio Estevam port { 65218783f5cSFabio Estevam usb3_dwc: endpoint { 65318783f5cSFabio Estevam remote-endpoint = <&usb_dr_connector>; 65418783f5cSFabio Estevam }; 655fb4f0b69SAlexander Stein }; 656fb4f0b69SAlexander Stein}; 657fb4f0b69SAlexander Stein 658ca69b6c7SAlexander Stein&usb_dwc3_1 { 659ca69b6c7SAlexander Stein dr_mode = "host"; 660ca69b6c7SAlexander Stein #address-cells = <1>; 661ca69b6c7SAlexander Stein #size-cells = <0>; 662ca69b6c7SAlexander Stein pinctrl-names = "default"; 663ca69b6c7SAlexander Stein pinctrl-0 = <&pinctrl_usbhub>; 664ca69b6c7SAlexander Stein status = "okay"; 665ca69b6c7SAlexander Stein 666ca69b6c7SAlexander Stein hub_2_0: hub@1 { 667ca69b6c7SAlexander Stein compatible = "usb451,8142"; 668ca69b6c7SAlexander Stein reg = <1>; 669ca69b6c7SAlexander Stein peer-hub = <&hub_3_0>; 670ca69b6c7SAlexander Stein reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 671ca69b6c7SAlexander Stein vdd-supply = <®_vcc_3v3>; 672ca69b6c7SAlexander Stein }; 673ca69b6c7SAlexander Stein 674ca69b6c7SAlexander Stein hub_3_0: hub@2 { 675ca69b6c7SAlexander Stein compatible = "usb451,8140"; 676ca69b6c7SAlexander Stein reg = <2>; 677ca69b6c7SAlexander Stein peer-hub = <&hub_2_0>; 678ca69b6c7SAlexander Stein reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 679ca69b6c7SAlexander Stein vdd-supply = <®_vcc_3v3>; 680ca69b6c7SAlexander Stein }; 681ca69b6c7SAlexander Stein}; 682ca69b6c7SAlexander Stein 683418d1d84SAlexander Stein&usdhc2 { 684418d1d84SAlexander Stein pinctrl-names = "default", "state_100mhz", "state_200mhz"; 685418d1d84SAlexander Stein pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 686418d1d84SAlexander Stein pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 687418d1d84SAlexander Stein pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 688418d1d84SAlexander Stein cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 689418d1d84SAlexander Stein vmmc-supply = <®_usdhc2_vmmc>; 690418d1d84SAlexander Stein no-mmc; 691418d1d84SAlexander Stein no-sdio; 692418d1d84SAlexander Stein disable-wp; 693418d1d84SAlexander Stein bus-width = <4>; 694418d1d84SAlexander Stein status = "okay"; 695418d1d84SAlexander Stein}; 696418d1d84SAlexander Stein 697418d1d84SAlexander Stein&iomuxc { 698418d1d84SAlexander Stein pinctrl_backlight: backlightgrp { 699418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x14>; 700418d1d84SAlexander Stein }; 701418d1d84SAlexander Stein 702418d1d84SAlexander Stein pinctrl_flexcan1: flexcan1grp { 703418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD1__CAN1_TX 0x150>, 704418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI5_RXD2__CAN1_RX 0x150>; 705418d1d84SAlexander Stein }; 706418d1d84SAlexander Stein 707418d1d84SAlexander Stein pinctrl_flexcan2: flexcan2grp { 708418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x150>, 709418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX 0x150>; 710418d1d84SAlexander Stein }; 711418d1d84SAlexander Stein 712418d1d84SAlexander Stein /* only on X57, primary used as CSI0 control signals */ 713418d1d84SAlexander Stein pinctrl_ecspi1: ecspi1grp { 714418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO 0x1c0>, 715418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI 0x1c0>, 716418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK 0x1c0>, 717418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09 0x1c0>; 718418d1d84SAlexander Stein }; 719418d1d84SAlexander Stein 720418d1d84SAlexander Stein /* on X63 and optionally on X57, can also be used as CSI1 control signals */ 721418d1d84SAlexander Stein pinctrl_ecspi2: ecspi2grp { 722418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x1c0>, 723418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x1c0>, 724418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x1c0>, 725418d1d84SAlexander Stein <MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x1c0>; 726418d1d84SAlexander Stein }; 727418d1d84SAlexander Stein 728418d1d84SAlexander Stein pinctrl_ecspi3: ecspi3grp { 729418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART1_TXD__ECSPI3_MOSI 0x1c0>, 730418d1d84SAlexander Stein <MX8MP_IOMUXC_UART1_RXD__ECSPI3_SCLK 0x1c0>, 731418d1d84SAlexander Stein <MX8MP_IOMUXC_UART2_RXD__ECSPI3_MISO 0x1c0>, 732418d1d84SAlexander Stein <MX8MP_IOMUXC_UART2_TXD__GPIO5_IO25 0x1c0>; 733418d1d84SAlexander Stein }; 734418d1d84SAlexander Stein 735418d1d84SAlexander Stein pinctrl_eqos: eqosgrp { 736418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x40000044>, 737418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x40000044>, 738418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x90>, 739418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x90>, 740418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x90>, 741418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x90>, 742418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x90>, 743418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x90>, 744418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x12>, 745418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x12>, 746418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x12>, 747418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x12>, 748418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x12>, 749418d1d84SAlexander Stein <MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x14>; 750418d1d84SAlexander Stein }; 751418d1d84SAlexander Stein 752418d1d84SAlexander Stein pinctrl_eqos_event: eqosevtgrp { 753418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_RXD0__ENET_QOS_1588_EVENT2_OUT 0x100>, 754418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_TXD0__ENET_QOS_1588_EVENT2_IN 0x1c0>; 755418d1d84SAlexander Stein }; 756418d1d84SAlexander Stein 757418d1d84SAlexander Stein pinctrl_eqos_phy: eqosphygrp { 758418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x100>, 759418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x1c0>; 760418d1d84SAlexander Stein }; 761418d1d84SAlexander Stein 762418d1d84SAlexander Stein pinctrl_fec: fecgrp { 763418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x40000044>, 764418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x40000044>, 765418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x90>, 766418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x90>, 767418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x90>, 768418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x90>, 769418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x90>, 770418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x90>, 771418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x12>, 772418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x12>, 773418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x12>, 774418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x12>, 775418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x12>, 776418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x14>; 777418d1d84SAlexander Stein }; 778418d1d84SAlexander Stein 779418d1d84SAlexander Stein pinctrl_fec_event: fecevtgrp { 780418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN 0x100>, 781418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT 0x1c0>; 782418d1d84SAlexander Stein }; 783418d1d84SAlexander Stein 784418d1d84SAlexander Stein pinctrl_fec_phy: fecphygrp { 785418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00 0x100>, 786418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x1c0>; 787418d1d84SAlexander Stein }; 788418d1d84SAlexander Stein 789418d1d84SAlexander Stein pinctrl_fec_phyalt: fecphyaltgrp { 790418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_TXFS__GPIO4_IO24 0x180>, 791418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25 0x180>; 792418d1d84SAlexander Stein }; 793418d1d84SAlexander Stein 794418d1d84SAlexander Stein pinctrl_gpiobutton: gpiobuttongrp { 795418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART3_RXD__GPIO5_IO26 0x10>, 796418d1d84SAlexander Stein <MX8MP_IOMUXC_UART3_TXD__GPIO5_IO27 0x10>; 797418d1d84SAlexander Stein }; 798418d1d84SAlexander Stein 799418d1d84SAlexander Stein pinctrl_gpioled: gpioledgrp { 800418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x14>, 801418d1d84SAlexander Stein <MX8MP_IOMUXC_SPDIF_RX__GPIO5_IO04 0x14>, 802418d1d84SAlexander Stein <MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO03 0x14>; 803418d1d84SAlexander Stein }; 804418d1d84SAlexander Stein 805418d1d84SAlexander Stein pinctrl_gpio1: gpio1grp { 806418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x10>, 807418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01 0x10>, 808418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x10>, 809418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x10>, 810418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x80>, 811418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 0x80>, 812418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x80>, 813418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO15__GPIO1_IO15 0x80>; 814418d1d84SAlexander Stein }; 815418d1d84SAlexander Stein 816418d1d84SAlexander Stein pinctrl_gpio4: gpio4grp { 817418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x180>, 818418d1d84SAlexander Stein <MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x180>; 819418d1d84SAlexander Stein }; 820418d1d84SAlexander Stein 821418d1d84SAlexander Stein pinctrl_hdmi: hdmigrp { 822418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c2>, 823418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c2>, 824418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000010>, 825418d1d84SAlexander Stein <MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000010>; 826418d1d84SAlexander Stein }; 827418d1d84SAlexander Stein 828418d1d84SAlexander Stein pinctrl_hoggpio2: hoggpio2grp { 829418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07 0x140>, 830418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10 0x140>, 831418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x140>; 832418d1d84SAlexander Stein }; 833418d1d84SAlexander Stein 834418d1d84SAlexander Stein pinctrl_i2c2: i2c2grp { 835418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001e2>, 836418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001e2>; 837418d1d84SAlexander Stein }; 838418d1d84SAlexander Stein 839418d1d84SAlexander Stein pinctrl_i2c2_gpio: i2c2-gpiogrp { 840418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16 0x400001e2>, 841418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x400001e2>; 842418d1d84SAlexander Stein }; 843418d1d84SAlexander Stein 844418d1d84SAlexander Stein pinctrl_i2c4: i2c4grp { 845418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x400001e2>, 846418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x400001e2>; 847418d1d84SAlexander Stein }; 848418d1d84SAlexander Stein 849418d1d84SAlexander Stein pinctrl_i2c4_gpio: i2c4-gpiogrp { 850418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20 0x400001e2>, 851418d1d84SAlexander Stein <MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x400001e2>; 852418d1d84SAlexander Stein }; 853418d1d84SAlexander Stein 854418d1d84SAlexander Stein pinctrl_i2c6: i2c6grp { 855418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__I2C6_SCL 0x400001e2>, 856418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA1__I2C6_SDA 0x400001e2>; 857418d1d84SAlexander Stein }; 858418d1d84SAlexander Stein 859418d1d84SAlexander Stein pinctrl_i2c6_gpio: i2c6-gpiogrp { 860418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__GPIO2_IO02 0x400001e2>, 861418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA1__GPIO2_IO03 0x400001e2>; 862418d1d84SAlexander Stein }; 863418d1d84SAlexander Stein 864418d1d84SAlexander Stein pinctrl_lvdsdisplay: lvdsdisplaygrp { 865418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x10>; /* Power enable */ 866418d1d84SAlexander Stein }; 867418d1d84SAlexander Stein 86845b91a15SAlexander Stein pinctrl_pcf85063: pcf85063grp { 86945b91a15SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28 0x80>; 87045b91a15SAlexander Stein }; 87145b91a15SAlexander Stein 872418d1d84SAlexander Stein /* LVDS Backlight */ 873418d1d84SAlexander Stein pinctrl_pwm2: pwm2grp { 874418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI5_RXD0__PWM2_OUT 0x14>; 875418d1d84SAlexander Stein }; 876418d1d84SAlexander Stein 877418d1d84SAlexander Stein /* FAN */ 878418d1d84SAlexander Stein pinctrl_pwm3: pwm3grp { 879418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C3_SDA__PWM3_OUT 0x14>; 880418d1d84SAlexander Stein }; 881418d1d84SAlexander Stein 882534d4f66SAlexander Stein pinctrl_pwmfan: pwmfangrp { 883534d4f66SAlexander Stein fsl,pins = <MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x80>; /* FAN RPM */ 884534d4f66SAlexander Stein }; 885534d4f66SAlexander Stein 886418d1d84SAlexander Stein pinctrl_reg12v0: reg12v0grp { 887418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x140>; /* VCC12V enable */ 888418d1d84SAlexander Stein }; 889418d1d84SAlexander Stein 890534d4f66SAlexander Stein pinctrl_regpwmfan: regpwmfangrp { 891534d4f66SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x80>; 892534d4f66SAlexander Stein }; 893534d4f66SAlexander Stein 894d8f9d812SAlexander Stein pinctrl_sai3: sai3grp { 895d8f9d812SAlexander Stein fsl,pins = < 896d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC 0x94 897d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXC__AUDIOMIX_SAI3_TX_BCLK 0x94 898d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_RXD__AUDIOMIX_SAI3_RX_DATA00 0x94 899d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_TXD__AUDIOMIX_SAI3_TX_DATA00 0x94 900d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_MCLK__AUDIOMIX_SAI3_MCLK 0x94 901d8f9d812SAlexander Stein >; 902d8f9d812SAlexander Stein }; 903d8f9d812SAlexander Stein 904d8f9d812SAlexander Stein pinctrl_tlv320aic3x04: tlv320aic3x04grp { 905d8f9d812SAlexander Stein fsl,pins = < 906d8f9d812SAlexander Stein /* CODEC RST# */ 907d8f9d812SAlexander Stein MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29 0x180 908d8f9d812SAlexander Stein >; 909d8f9d812SAlexander Stein }; 910d8f9d812SAlexander Stein 911418d1d84SAlexander Stein /* X61 */ 912418d1d84SAlexander Stein pinctrl_uart1: uart1grp { 913418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_CLK__UART1_DCE_TX 0x140>, 914418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_CMD__UART1_DCE_RX 0x140>; 915418d1d84SAlexander Stein }; 916418d1d84SAlexander Stein 917418d1d84SAlexander Stein /* X61 */ 918418d1d84SAlexander Stein pinctrl_uart2: uart2grp { 919418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA2__UART2_DCE_TX 0x140>, 920418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA3__UART2_DCE_RX 0x140>; 921418d1d84SAlexander Stein }; 922418d1d84SAlexander Stein 923418d1d84SAlexander Stein pinctrl_uart3: uart3grp { 924418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD1_DATA6__UART3_DCE_TX 0x140>, 925418d1d84SAlexander Stein <MX8MP_IOMUXC_SD1_DATA7__UART3_DCE_RX 0x140>; 926418d1d84SAlexander Stein }; 927418d1d84SAlexander Stein 928418d1d84SAlexander Stein pinctrl_uart4: uart4grp { 929418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x140>, 930418d1d84SAlexander Stein <MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x140>; 931418d1d84SAlexander Stein }; 932418d1d84SAlexander Stein 933fb4f0b69SAlexander Stein pinctrl_usb0: usb0grp { 934fb4f0b69SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC 0x1c0>, 935fb4f0b69SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO12__USB1_OTG_PWR 0x1c0>; 936fb4f0b69SAlexander Stein }; 937fb4f0b69SAlexander Stein 938fb4f0b69SAlexander Stein pinctrl_usbcon0: usb0congrp { 939fb4f0b69SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x1c0>; 940fb4f0b69SAlexander Stein }; 941fb4f0b69SAlexander Stein 942ca69b6c7SAlexander Stein pinctrl_usbhub: usbhubgrp { 943ca69b6c7SAlexander Stein fsl,pins = <MX8MP_IOMUXC_GPIO1_IO11__GPIO1_IO11 0x10>; 944ca69b6c7SAlexander Stein }; 945ca69b6c7SAlexander Stein 946418d1d84SAlexander Stein pinctrl_usdhc2: usdhc2grp { 947418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x192>, 948418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d2>, 949418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d2>, 950418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d2>, 951418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d2>, 952418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d2>, 953418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 954418d1d84SAlexander Stein }; 955418d1d84SAlexander Stein 956418d1d84SAlexander Stein pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 957418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, 958418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, 959418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 960418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 961418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 962418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 963418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 964418d1d84SAlexander Stein }; 965418d1d84SAlexander Stein 966418d1d84SAlexander Stein pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 967418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, 968418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, 969418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 970418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 971418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 972418d1d84SAlexander Stein <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 973418d1d84SAlexander Stein <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 974418d1d84SAlexander Stein }; 975418d1d84SAlexander Stein 976418d1d84SAlexander Stein pinctrl_usdhc2_gpio: usdhc2-gpiogrp { 977418d1d84SAlexander Stein fsl,pins = <MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c0>; 978418d1d84SAlexander Stein }; 979418d1d84SAlexander Stein}; 980