1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 OR X11 2724ba675SRob Herring/* 3724ba675SRob Herring * Device Tree Include file for TQ-Systems MBa7 carrier board. 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (C) 2016 TQ-Systems GmbH 6724ba675SRob Herring * Author: Markus Niebel <Markus.Niebel@tq-group.com> 7724ba675SRob Herring * Copyright (C) 2019 Bruno Thomsen <bruno.thomsen@gmail.com> 8724ba675SRob Herring * 9724ba675SRob Herring * Note: This file does not include nodes for all peripheral devices. 10724ba675SRob Herring * As device driver coverage increases additional nodes can be added. 11724ba675SRob Herring */ 12724ba675SRob Herring 13724ba675SRob Herring#include <dt-bindings/input/input.h> 14724ba675SRob Herring#include <dt-bindings/net/ti-dp83867.h> 15724ba675SRob Herring 16724ba675SRob Herring/ { 17724ba675SRob Herring aliases { 18724ba675SRob Herring mmc0 = &usdhc3; 19724ba675SRob Herring mmc1 = &usdhc1; 20724ba675SRob Herring /delete-property/ mmc2; 21123098a1SAlexander Stein rtc0 = &ds1339; 22123098a1SAlexander Stein rtc1 = &snvs_rtc; 23724ba675SRob Herring }; 24724ba675SRob Herring 25724ba675SRob Herring beeper { 26724ba675SRob Herring compatible = "gpio-beeper"; 27724ba675SRob Herring gpios = <&pca9555 0 GPIO_ACTIVE_HIGH>; 28724ba675SRob Herring }; 29724ba675SRob Herring 30724ba675SRob Herring chosen { 31724ba675SRob Herring stdout-path = &uart6; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring gpio_buttons: gpio-keys { 35724ba675SRob Herring compatible = "gpio-keys"; 36724ba675SRob Herring 37d78dd847SAlexander Stein /* 38d78dd847SAlexander Stein * NOTE: These buttons are attached to a GPIO-expander. 39d78dd847SAlexander Stein * Enabling wakeup-source, enables wakeup on all inputs. 40d78dd847SAlexander Stein * If PE_GPIO[3..6] are used as inputs, they cause a 41d78dd847SAlexander Stein * wakeup as well. 42d78dd847SAlexander Stein */ 43724ba675SRob Herring button-0 { 44724ba675SRob Herring /* #SWITCH_A */ 45724ba675SRob Herring label = "S11"; 46724ba675SRob Herring linux,code = <KEY_1>; 47724ba675SRob Herring gpios = <&pca9555 13 GPIO_ACTIVE_LOW>; 48d78dd847SAlexander Stein wakeup-source; 49724ba675SRob Herring }; 50724ba675SRob Herring 51724ba675SRob Herring button-1 { 52724ba675SRob Herring /* #SWITCH_B */ 53724ba675SRob Herring label = "S12"; 54724ba675SRob Herring linux,code = <KEY_2>; 55724ba675SRob Herring gpios = <&pca9555 14 GPIO_ACTIVE_LOW>; 56d78dd847SAlexander Stein wakeup-source; 57724ba675SRob Herring }; 58724ba675SRob Herring 59724ba675SRob Herring button-2 { 60724ba675SRob Herring /* #SWITCH_C */ 61724ba675SRob Herring label = "S13"; 62724ba675SRob Herring linux,code = <KEY_3>; 63724ba675SRob Herring gpios = <&pca9555 15 GPIO_ACTIVE_LOW>; 64d78dd847SAlexander Stein wakeup-source; 65724ba675SRob Herring }; 66724ba675SRob Herring }; 67724ba675SRob Herring 68724ba675SRob Herring gpio-leds { 69724ba675SRob Herring compatible = "gpio-leds"; 70724ba675SRob Herring 71724ba675SRob Herring led1 { 72724ba675SRob Herring label = "led1"; 73724ba675SRob Herring gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; 74724ba675SRob Herring linux,default-trigger = "default-on"; 75724ba675SRob Herring }; 76724ba675SRob Herring 77724ba675SRob Herring led2 { 78724ba675SRob Herring label = "led2"; 79724ba675SRob Herring gpios = <&pca9555 9 GPIO_ACTIVE_HIGH>; 80724ba675SRob Herring linux,default-trigger = "heartbeat"; 81724ba675SRob Herring }; 82724ba675SRob Herring }; 83724ba675SRob Herring 84*d8ae1cdeSMarkus Niebel iio-hwmon { 85*d8ae1cdeSMarkus Niebel compatible = "iio-hwmon"; 86*d8ae1cdeSMarkus Niebel io-channels = <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>, 87*d8ae1cdeSMarkus Niebel <&adc2 0>, <&adc2 1>, <&adc2 2>, <&adc2 3>; 88*d8ae1cdeSMarkus Niebel }; 89*d8ae1cdeSMarkus Niebel 90724ba675SRob Herring reg_sd1_vmmc: regulator-sd1-vmmc { 91724ba675SRob Herring compatible = "regulator-fixed"; 92724ba675SRob Herring regulator-name = "VCC3V3_SD1"; 93724ba675SRob Herring regulator-min-microvolt = <3300000>; 94724ba675SRob Herring regulator-max-microvolt = <3300000>; 95724ba675SRob Herring regulator-always-on; 96724ba675SRob Herring }; 97724ba675SRob Herring 98724ba675SRob Herring reg_fec1_pwdn: regulator-fec1-pwdn { 99724ba675SRob Herring compatible = "regulator-fixed"; 100724ba675SRob Herring regulator-name = "PWDN_FEC1"; 101724ba675SRob Herring regulator-min-microvolt = <3300000>; 102724ba675SRob Herring regulator-max-microvolt = <3300000>; 103724ba675SRob Herring regulator-always-on; 104724ba675SRob Herring gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; 105724ba675SRob Herring enable-active-high; 106724ba675SRob Herring }; 107724ba675SRob Herring 108724ba675SRob Herring reg_fec2_pwdn: regulator-fec2-pwdn { 109724ba675SRob Herring compatible = "regulator-fixed"; 110724ba675SRob Herring regulator-name = "PWDN_FEC2"; 111724ba675SRob Herring regulator-min-microvolt = <3300000>; 112724ba675SRob Herring regulator-max-microvolt = <3300000>; 113724ba675SRob Herring regulator-always-on; 114724ba675SRob Herring gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>; 115724ba675SRob Herring enable-active-high; 116724ba675SRob Herring }; 117724ba675SRob Herring 118724ba675SRob Herring reg_usb_otg1_vbus: regulator-usb-otg1-vbus { 119724ba675SRob Herring compatible = "regulator-fixed"; 120724ba675SRob Herring regulator-name = "VBUS_USBOTG1"; 121724ba675SRob Herring regulator-min-microvolt = <5000000>; 122724ba675SRob Herring regulator-max-microvolt = <5000000>; 123724ba675SRob Herring gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>; 124724ba675SRob Herring enable-active-high; 125724ba675SRob Herring }; 126724ba675SRob Herring 127724ba675SRob Herring reg_usb_otg2_vbus: regulator-usb-otg2-vbus { 128724ba675SRob Herring compatible = "regulator-fixed"; 129724ba675SRob Herring regulator-name = "VBUS_USBOTG2"; 130724ba675SRob Herring regulator-min-microvolt = <5000000>; 131724ba675SRob Herring regulator-max-microvolt = <5000000>; 132724ba675SRob Herring gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; 133724ba675SRob Herring enable-active-high; 134724ba675SRob Herring }; 135724ba675SRob Herring 136724ba675SRob Herring reg_mpcie_1v5: regulator-mpcie-1v5 { 137724ba675SRob Herring compatible = "regulator-fixed"; 138724ba675SRob Herring regulator-name = "VCC1V5_MPCIE"; 139724ba675SRob Herring regulator-min-microvolt = <1500000>; 140724ba675SRob Herring regulator-max-microvolt = <1500000>; 141724ba675SRob Herring gpio = <&pca9555 12 GPIO_ACTIVE_HIGH>; 142724ba675SRob Herring enable-active-high; 143724ba675SRob Herring regulator-always-on; 144724ba675SRob Herring }; 145724ba675SRob Herring 146724ba675SRob Herring reg_mpcie_3v3: regulator-mpcie-3v3 { 147724ba675SRob Herring compatible = "regulator-fixed"; 148724ba675SRob Herring regulator-name = "VCC3V3_MPCIE"; 149724ba675SRob Herring regulator-min-microvolt = <3300000>; 150724ba675SRob Herring regulator-max-microvolt = <3300000>; 151724ba675SRob Herring gpio = <&pca9555 10 GPIO_ACTIVE_HIGH>; 152724ba675SRob Herring enable-active-high; 153724ba675SRob Herring regulator-always-on; 154724ba675SRob Herring }; 155724ba675SRob Herring 156724ba675SRob Herring reg_mba_12v0: regulator-mba-12v0 { 157724ba675SRob Herring compatible = "regulator-fixed"; 158724ba675SRob Herring regulator-name = "VCC12V0_MBA7"; 159724ba675SRob Herring regulator-min-microvolt = <12000000>; 160724ba675SRob Herring regulator-max-microvolt = <12000000>; 161724ba675SRob Herring gpio = <&pca9555 11 GPIO_ACTIVE_HIGH>; 162724ba675SRob Herring enable-active-high; 163724ba675SRob Herring }; 164724ba675SRob Herring 165724ba675SRob Herring reg_lvds_transmitter: regulator-lvds-transmitter { 166724ba675SRob Herring compatible = "regulator-fixed"; 167724ba675SRob Herring regulator-name = "#SHTDN_LVDS"; 168724ba675SRob Herring regulator-min-microvolt = <3300000>; 169724ba675SRob Herring regulator-max-microvolt = <3300000>; 170724ba675SRob Herring gpio = <&pca9555 1 GPIO_ACTIVE_HIGH>; 171724ba675SRob Herring enable-active-high; 172724ba675SRob Herring }; 173724ba675SRob Herring 174724ba675SRob Herring reg_vref_1v8: regulator-vref-1v8 { 175724ba675SRob Herring compatible = "regulator-fixed"; 176724ba675SRob Herring regulator-name = "VCC1V8_REF"; 177724ba675SRob Herring regulator-min-microvolt = <1800000>; 178724ba675SRob Herring regulator-max-microvolt = <1800000>; 179724ba675SRob Herring regulator-always-on; 180724ba675SRob Herring vin-supply = <&sw2_reg>; 181724ba675SRob Herring }; 182724ba675SRob Herring 183724ba675SRob Herring reg_audio_3v3: regulator-audio-3v3 { 184724ba675SRob Herring compatible = "regulator-fixed"; 185724ba675SRob Herring regulator-name = "VCC3V3_AUDIO"; 186724ba675SRob Herring regulator-min-microvolt = <3300000>; 187724ba675SRob Herring regulator-max-microvolt = <3300000>; 188724ba675SRob Herring regulator-always-on; 189724ba675SRob Herring }; 190724ba675SRob Herring 1914afd9904SAlexander Stein reg_vcc_3v3: regulator-vcc-3v3 { 1924afd9904SAlexander Stein compatible = "regulator-fixed"; 1934afd9904SAlexander Stein regulator-name = "VCC3V3"; 1944afd9904SAlexander Stein regulator-min-microvolt = <3300000>; 1954afd9904SAlexander Stein regulator-max-microvolt = <3300000>; 1964afd9904SAlexander Stein regulator-always-on; 1974afd9904SAlexander Stein }; 1984afd9904SAlexander Stein 199724ba675SRob Herring sound { 200724ba675SRob Herring compatible = "fsl,imx-audio-tlv320aic32x4"; 201724ba675SRob Herring model = "imx-audio-tlv320aic32x4"; 202724ba675SRob Herring ssi-controller = <&sai1>; 203724ba675SRob Herring audio-codec = <&tlv320aic32x4>; 204724ba675SRob Herring audio-routing = 205724ba675SRob Herring "IN3_L", "Mic Jack", 206724ba675SRob Herring "Mic Jack", "Mic Bias", 207724ba675SRob Herring "IN1_L", "Line In Jack", 208724ba675SRob Herring "IN1_R", "Line In Jack", 209724ba675SRob Herring "Line Out Jack", "LOL", 210724ba675SRob Herring "Line Out Jack", "LOR"; 211724ba675SRob Herring }; 212724ba675SRob Herring}; 213724ba675SRob Herring 214724ba675SRob Herring&adc1 { 215724ba675SRob Herring vref-supply = <®_vref_1v8>; 216724ba675SRob Herring status = "okay"; 217724ba675SRob Herring}; 218724ba675SRob Herring 219724ba675SRob Herring&adc2 { 220724ba675SRob Herring vref-supply = <®_vref_1v8>; 221724ba675SRob Herring status = "okay"; 222724ba675SRob Herring}; 223724ba675SRob Herring 224724ba675SRob Herring&ecspi1 { 225724ba675SRob Herring pinctrl-names = "default"; 2261c8b4df7SAlexander Stein pinctrl-0 = <&pinctrl_ecspi1>, <&pinctrl_ecspi1_ss0>; 227724ba675SRob Herring cs-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>, <&gpio4 1 GPIO_ACTIVE_LOW>, 2281c8b4df7SAlexander Stein <&gpio4 2 GPIO_ACTIVE_LOW>, <&gpio4 19 GPIO_ACTIVE_LOW>; 229724ba675SRob Herring status = "okay"; 230724ba675SRob Herring}; 231724ba675SRob Herring 232724ba675SRob Herring&ecspi2 { 233724ba675SRob Herring pinctrl-names = "default"; 234724ba675SRob Herring pinctrl-0 = <&pinctrl_ecspi2>; 235724ba675SRob Herring status = "okay"; 236724ba675SRob Herring}; 237724ba675SRob Herring 238724ba675SRob Herring&fec1 { 239724ba675SRob Herring pinctrl-names = "default"; 240724ba675SRob Herring pinctrl-0 = <&pinctrl_enet1>; 241724ba675SRob Herring phy-mode = "rgmii-id"; 242724ba675SRob Herring phy-supply = <®_fec1_pwdn>; 243724ba675SRob Herring phy-handle = <ðphy1_0>; 244724ba675SRob Herring fsl,magic-packet; 245724ba675SRob Herring status = "okay"; 246724ba675SRob Herring 247724ba675SRob Herring mdio { 248724ba675SRob Herring #address-cells = <1>; 249724ba675SRob Herring #size-cells = <0>; 250724ba675SRob Herring 251724ba675SRob Herring ethphy1_0: ethernet-phy@0 { 252724ba675SRob Herring compatible = "ethernet-phy-ieee802.3-c22"; 253724ba675SRob Herring reg = <0>; 254d32fb60fSAlexander Stein pinctrl-names = "default"; 255d32fb60fSAlexander Stein pinctrl-0 = <&pinctrl_enet1_phy>; 256724ba675SRob Herring ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>; 257724ba675SRob Herring ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>; 258724ba675SRob Herring ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 259724ba675SRob Herring ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 260d32fb60fSAlexander Stein reset-gpios = <&gpio7 15 GPIO_ACTIVE_LOW>; 261d32fb60fSAlexander Stein reset-assert-us = <1000>; 262d32fb60fSAlexander Stein reset-deassert-us = <500>; 263724ba675SRob Herring }; 264724ba675SRob Herring }; 265724ba675SRob Herring}; 266724ba675SRob Herring 267724ba675SRob Herring&flash0 { 268724ba675SRob Herring partitions { 269724ba675SRob Herring compatible = "fixed-partitions"; 270724ba675SRob Herring #address-cells = <1>; 271724ba675SRob Herring #size-cells = <1>; 272724ba675SRob Herring 273724ba675SRob Herring uboot@0 { 274724ba675SRob Herring label = "U-Boot"; 275724ba675SRob Herring reg = <0x0 0xd0000>; 276724ba675SRob Herring }; 277724ba675SRob Herring 278724ba675SRob Herring env1@d0000 { 279724ba675SRob Herring label = "ENV1"; 280724ba675SRob Herring reg = <0xd0000 0x10000>; 281724ba675SRob Herring }; 282724ba675SRob Herring 283724ba675SRob Herring env2@e0000 { 284724ba675SRob Herring label = "ENV2"; 285724ba675SRob Herring reg = <0xe0000 0x10000>; 286724ba675SRob Herring }; 287724ba675SRob Herring 288724ba675SRob Herring dtb@f0000 { 289724ba675SRob Herring label = "DTB"; 290724ba675SRob Herring reg = <0xf0000 0x10000>; 291724ba675SRob Herring }; 292724ba675SRob Herring 293724ba675SRob Herring linux@100000 { 294724ba675SRob Herring label = "Linux"; 295724ba675SRob Herring reg = <0x100000 0x700000>; 296724ba675SRob Herring }; 297724ba675SRob Herring 298724ba675SRob Herring rootfs@800000 { 299724ba675SRob Herring label = "RootFS"; 300724ba675SRob Herring reg = <0x800000 0x3800000>; 301724ba675SRob Herring }; 302724ba675SRob Herring }; 303724ba675SRob Herring}; 304724ba675SRob Herring 305724ba675SRob Herring&flexcan1 { 306724ba675SRob Herring pinctrl-names = "default"; 307724ba675SRob Herring pinctrl-0 = <&pinctrl_flexcan1>; 308724ba675SRob Herring status = "okay"; 309724ba675SRob Herring}; 310724ba675SRob Herring 311724ba675SRob Herring&flexcan2 { 312724ba675SRob Herring pinctrl-names = "default"; 313724ba675SRob Herring pinctrl-0 = <&pinctrl_flexcan2>; 314724ba675SRob Herring status = "okay"; 315724ba675SRob Herring}; 316724ba675SRob Herring 317724ba675SRob Herring&i2c1 { 318724ba675SRob Herring lm75: temperature-sensor@49 { 319724ba675SRob Herring compatible = "national,lm75"; 320724ba675SRob Herring reg = <0x49>; 3214afd9904SAlexander Stein vs-supply = <®_vcc_3v3>; 322724ba675SRob Herring }; 323724ba675SRob Herring}; 324724ba675SRob Herring 325724ba675SRob Herring&i2c2 { 326724ba675SRob Herring clock-frequency = <100000>; 3278dc2bd48SAlexander Stein pinctrl-names = "default", "gpio"; 328724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c2>; 3298dc2bd48SAlexander Stein pinctrl-1 = <&pinctrl_i2c2_recovery>; 3308dc2bd48SAlexander Stein scl-gpios = <&gpio4 10 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 3318dc2bd48SAlexander Stein sda-gpios = <&gpio4 11 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 332724ba675SRob Herring status = "okay"; 333724ba675SRob Herring 334724ba675SRob Herring tlv320aic32x4: audio-codec@18 { 335724ba675SRob Herring compatible = "ti,tlv320aic32x4"; 336724ba675SRob Herring reg = <0x18>; 337724ba675SRob Herring clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; 338724ba675SRob Herring clock-names = "mclk"; 339724ba675SRob Herring ldoin-supply = <®_audio_3v3>; 340724ba675SRob Herring iov-supply = <®_audio_3v3>; 341724ba675SRob Herring }; 342724ba675SRob Herring 343724ba675SRob Herring pca9555: gpio-expander@20 { 344724ba675SRob Herring compatible = "nxp,pca9555"; 345724ba675SRob Herring reg = <0x20>; 346724ba675SRob Herring pinctrl-names = "default"; 347724ba675SRob Herring pinctrl-0 = <&pinctrl_pca9555>; 348724ba675SRob Herring gpio-controller; 349724ba675SRob Herring #gpio-cells = <2>; 350724ba675SRob Herring interrupt-parent = <&gpio7>; 351724ba675SRob Herring interrupts = <12 IRQ_TYPE_EDGE_FALLING>; 352724ba675SRob Herring interrupt-controller; 353724ba675SRob Herring #interrupt-cells = <2>; 3544afd9904SAlexander Stein vcc-supply = <®_vcc_3v3>; 355724ba675SRob Herring }; 356724ba675SRob Herring}; 357724ba675SRob Herring 358724ba675SRob Herring&i2c3 { 359724ba675SRob Herring clock-frequency = <100000>; 3608dc2bd48SAlexander Stein pinctrl-names = "default", "gpio"; 361724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c3>; 3628dc2bd48SAlexander Stein pinctrl-1 = <&pinctrl_i2c3_recovery>; 3638dc2bd48SAlexander Stein scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 3648dc2bd48SAlexander Stein sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 365724ba675SRob Herring status = "okay"; 366724ba675SRob Herring}; 367724ba675SRob Herring 368724ba675SRob Herring&iomuxc { 369724ba675SRob Herring pinctrl-names = "default"; 370724ba675SRob Herring pinctrl-0 = <&pinctrl_hog_mba7_1>; 371724ba675SRob Herring 372724ba675SRob Herring pinctrl_ecspi1: ecspi1grp { 373e67e40cfSAlexander Stein fsl,pins = 374e67e40cfSAlexander Stein <MX7D_PAD_ECSPI1_MISO__ECSPI1_MISO 0x7c>, 375e67e40cfSAlexander Stein <MX7D_PAD_ECSPI1_MOSI__ECSPI1_MOSI 0x74>, 376e67e40cfSAlexander Stein <MX7D_PAD_ECSPI1_SCLK__ECSPI1_SCLK 0x74>, 377e67e40cfSAlexander Stein <MX7D_PAD_UART1_RX_DATA__GPIO4_IO0 0x74>, 378e67e40cfSAlexander Stein <MX7D_PAD_UART1_TX_DATA__GPIO4_IO1 0x74>, 379e67e40cfSAlexander Stein <MX7D_PAD_UART2_RX_DATA__GPIO4_IO2 0x74>; 380724ba675SRob Herring }; 381724ba675SRob Herring 3821c8b4df7SAlexander Stein pinctrl_ecspi1_ss0: ecspi1ss0grp { 3831c8b4df7SAlexander Stein fsl,pins = < 3841c8b4df7SAlexander Stein MX7D_PAD_ECSPI1_SS0__GPIO4_IO19 0x74 3851c8b4df7SAlexander Stein >; 3861c8b4df7SAlexander Stein }; 3871c8b4df7SAlexander Stein 388724ba675SRob Herring pinctrl_ecspi2: ecspi2grp { 389e67e40cfSAlexander Stein fsl,pins = 390e67e40cfSAlexander Stein <MX7D_PAD_ECSPI2_MISO__ECSPI2_MISO 0x7c>, 391e67e40cfSAlexander Stein <MX7D_PAD_ECSPI2_MOSI__ECSPI2_MOSI 0x74>, 392e67e40cfSAlexander Stein <MX7D_PAD_ECSPI2_SCLK__ECSPI2_SCLK 0x74>, 393e67e40cfSAlexander Stein <MX7D_PAD_ECSPI2_SS0__ECSPI2_SS0 0x74>; 394724ba675SRob Herring }; 395724ba675SRob Herring 396724ba675SRob Herring pinctrl_enet1: enet1grp { 397e67e40cfSAlexander Stein fsl,pins = 398e67e40cfSAlexander Stein <MX7D_PAD_GPIO1_IO10__ENET1_MDIO 0x02>, 399e67e40cfSAlexander Stein <MX7D_PAD_GPIO1_IO11__ENET1_MDC 0x00>, 400e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC 0x71>, 401e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0 0x71>, 402e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1 0x71>, 403e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2 0x71>, 404e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3 0x71>, 405e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL 0x71>, 406e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC 0x79>, 407e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x79>, 408e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x79>, 409e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2 0x79>, 410e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3 0x79>, 411d32fb60fSAlexander Stein <MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x79>; 412d32fb60fSAlexander Stein }; 413d32fb60fSAlexander Stein 414d32fb60fSAlexander Stein pinctrl_enet1_phy: enet1phygrp { 415d32fb60fSAlexander Stein fsl,pins = 416724ba675SRob Herring /* Reset: SION, 100kPU, SRE_FAST, DSE_X1 */ 417e67e40cfSAlexander Stein <MX7D_PAD_ENET1_COL__GPIO7_IO15 0x40000070>, 418724ba675SRob Herring /* INT/PWDN: SION, 100kPU, HYS, SRE_FAST, DSE_X1 */ 419e67e40cfSAlexander Stein <MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x40000078>; 420724ba675SRob Herring }; 421724ba675SRob Herring 422724ba675SRob Herring pinctrl_flexcan1: flexcan1grp { 423e67e40cfSAlexander Stein fsl,pins = 424e67e40cfSAlexander Stein <MX7D_PAD_GPIO1_IO12__FLEXCAN1_RX 0x5a>, 425e67e40cfSAlexander Stein <MX7D_PAD_GPIO1_IO13__FLEXCAN1_TX 0x52>; 426724ba675SRob Herring }; 427724ba675SRob Herring 428724ba675SRob Herring pinctrl_flexcan2: flexcan2grp { 429e67e40cfSAlexander Stein fsl,pins = 430e67e40cfSAlexander Stein <MX7D_PAD_GPIO1_IO14__FLEXCAN2_RX 0x5a>, 431e67e40cfSAlexander Stein <MX7D_PAD_GPIO1_IO15__FLEXCAN2_TX 0x52>; 432724ba675SRob Herring }; 433724ba675SRob Herring 434724ba675SRob Herring pinctrl_hog_mba7_1: hogmba71grp { 435e67e40cfSAlexander Stein fsl,pins = 436724ba675SRob Herring /* Limitation: WDOG2_B / WDOG2_RESET not usable */ 437e67e40cfSAlexander Stein <MX7D_PAD_ENET1_RX_CLK__GPIO7_IO13 0x4000007c>, 438e67e40cfSAlexander Stein <MX7D_PAD_ENET1_CRS__GPIO7_IO14 0x40000074>, 439724ba675SRob Herring /* #BOOT_EN */ 440e67e40cfSAlexander Stein <MX7D_PAD_UART2_TX_DATA__GPIO4_IO3 0x40000010>; 441724ba675SRob Herring }; 442724ba675SRob Herring 443724ba675SRob Herring pinctrl_i2c2: i2c2grp { 444e67e40cfSAlexander Stein fsl,pins = 445e67e40cfSAlexander Stein <MX7D_PAD_I2C2_SCL__I2C2_SCL 0x40000078>, 446e67e40cfSAlexander Stein <MX7D_PAD_I2C2_SDA__I2C2_SDA 0x40000078>; 447724ba675SRob Herring }; 448724ba675SRob Herring 4498dc2bd48SAlexander Stein pinctrl_i2c2_recovery: i2c2recoverygrp { 4508dc2bd48SAlexander Stein fsl,pins = 4518dc2bd48SAlexander Stein <MX7D_PAD_I2C2_SCL__GPIO4_IO10 0x40000078>, 4528dc2bd48SAlexander Stein <MX7D_PAD_I2C2_SDA__GPIO4_IO11 0x40000078>; 4538dc2bd48SAlexander Stein }; 4548dc2bd48SAlexander Stein 455724ba675SRob Herring pinctrl_i2c3: i2c3grp { 456e67e40cfSAlexander Stein fsl,pins = 457e67e40cfSAlexander Stein <MX7D_PAD_I2C3_SCL__I2C3_SCL 0x40000078>, 458e67e40cfSAlexander Stein <MX7D_PAD_I2C3_SDA__I2C3_SDA 0x40000078>; 459724ba675SRob Herring }; 460724ba675SRob Herring 4618dc2bd48SAlexander Stein pinctrl_i2c3_recovery: i2c3recoverygrp { 4628dc2bd48SAlexander Stein fsl,pins = 4638dc2bd48SAlexander Stein <MX7D_PAD_I2C3_SCL__GPIO4_IO12 0x40000078>, 4648dc2bd48SAlexander Stein <MX7D_PAD_I2C3_SDA__GPIO4_IO13 0x40000078>; 4658dc2bd48SAlexander Stein }; 4668dc2bd48SAlexander Stein 467724ba675SRob Herring pinctrl_pca9555: pca95550grp { 468e67e40cfSAlexander Stein fsl,pins = 469e67e40cfSAlexander Stein <MX7D_PAD_ENET1_TX_CLK__GPIO7_IO12 0x78>; 470724ba675SRob Herring }; 471724ba675SRob Herring 472724ba675SRob Herring pinctrl_sai1: sai1grp { 473e67e40cfSAlexander Stein fsl,pins = 474e67e40cfSAlexander Stein <MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x11>, 475e67e40cfSAlexander Stein <MX7D_PAD_SAI1_RX_BCLK__SAI1_RX_BCLK 0x1c>, 476e67e40cfSAlexander Stein <MX7D_PAD_SAI1_RX_DATA__SAI1_RX_DATA0 0x1c>, 477e67e40cfSAlexander Stein <MX7D_PAD_SAI1_RX_SYNC__SAI2_RX_SYNC 0x1c>, 478724ba675SRob Herring 479e67e40cfSAlexander Stein <MX7D_PAD_SAI1_TX_BCLK__SAI1_TX_BCLK 0x1c>, 480e67e40cfSAlexander Stein <MX7D_PAD_SAI1_TX_DATA__SAI1_TX_DATA0 0x14>, 481e67e40cfSAlexander Stein <MX7D_PAD_SAI1_TX_SYNC__SAI1_TX_SYNC 0x14>; 482724ba675SRob Herring }; 483724ba675SRob Herring 484724ba675SRob Herring pinctrl_uart3: uart3grp { 485e67e40cfSAlexander Stein fsl,pins = 486e67e40cfSAlexander Stein <MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x7e>, 487e67e40cfSAlexander Stein <MX7D_PAD_UART3_TX_DATA__UART3_DCE_TX 0x76>, 488e67e40cfSAlexander Stein <MX7D_PAD_UART3_CTS_B__UART3_DCE_CTS 0x76>, 489e67e40cfSAlexander Stein <MX7D_PAD_UART3_RTS_B__UART3_DCE_RTS 0x7e>; 490724ba675SRob Herring }; 491724ba675SRob Herring 492724ba675SRob Herring pinctrl_uart4: uart4grp { 493e67e40cfSAlexander Stein fsl,pins = 494e67e40cfSAlexander Stein <MX7D_PAD_SAI2_TX_SYNC__UART4_DCE_RX 0x7e>, 495e67e40cfSAlexander Stein <MX7D_PAD_SAI2_TX_BCLK__UART4_DCE_TX 0x76>, 496e67e40cfSAlexander Stein <MX7D_PAD_SAI2_RX_DATA__UART4_DCE_CTS 0x76>, 497e67e40cfSAlexander Stein <MX7D_PAD_SAI2_TX_DATA__UART4_DCE_RTS 0x7e>; 498724ba675SRob Herring }; 499724ba675SRob Herring 500724ba675SRob Herring pinctrl_uart5: uart5grp { 501e67e40cfSAlexander Stein fsl,pins = 502e67e40cfSAlexander Stein <MX7D_PAD_I2C4_SCL__UART5_DCE_RX 0x7e>, 503e67e40cfSAlexander Stein <MX7D_PAD_I2C4_SDA__UART5_DCE_TX 0x76>; 504724ba675SRob Herring }; 505724ba675SRob Herring 506724ba675SRob Herring pinctrl_uart6: uart6grp { 507e67e40cfSAlexander Stein fsl,pins = 508e67e40cfSAlexander Stein <MX7D_PAD_EPDC_DATA08__UART6_DCE_RX 0x7d>, 509e67e40cfSAlexander Stein <MX7D_PAD_EPDC_DATA09__UART6_DCE_TX 0x75>, 510e67e40cfSAlexander Stein <MX7D_PAD_EPDC_DATA11__UART6_DCE_CTS 0x75>, 511e67e40cfSAlexander Stein <MX7D_PAD_EPDC_DATA10__UART6_DCE_RTS 0x7d>; 512724ba675SRob Herring }; 513724ba675SRob Herring 514724ba675SRob Herring pinctrl_uart7: uart7grp { 515e67e40cfSAlexander Stein fsl,pins = 516e67e40cfSAlexander Stein <MX7D_PAD_EPDC_DATA12__UART7_DCE_RX 0x7e>, 517e67e40cfSAlexander Stein <MX7D_PAD_EPDC_DATA13__UART7_DCE_TX 0x76>, 518e67e40cfSAlexander Stein <MX7D_PAD_EPDC_DATA15__UART7_DCE_CTS 0x76>, 519724ba675SRob Herring /* Limitation: RTS is not connected */ 520e67e40cfSAlexander Stein <MX7D_PAD_EPDC_DATA14__UART7_DCE_RTS 0x7e>; 521724ba675SRob Herring }; 522724ba675SRob Herring 523cfda4a44SAlexander Stein pinctrl_usdhc1_gpio: usdhc1_gpiogrp { 524e67e40cfSAlexander Stein fsl,pins = 525724ba675SRob Herring /* WP */ 526e67e40cfSAlexander Stein <MX7D_PAD_SD1_WP__GPIO5_IO1 0x7c>, 527724ba675SRob Herring /* CD */ 528e67e40cfSAlexander Stein <MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x7c>, 529724ba675SRob Herring /* VSELECT */ 530e67e40cfSAlexander Stein <MX7D_PAD_GPIO1_IO08__SD1_VSELECT 0x59>; 531724ba675SRob Herring }; 532724ba675SRob Herring 533724ba675SRob Herring pinctrl_usdhc1: usdhc1grp { 534e67e40cfSAlexander Stein fsl,pins = 535e67e40cfSAlexander Stein <MX7D_PAD_SD1_CMD__SD1_CMD 0x5e>, 536e67e40cfSAlexander Stein <MX7D_PAD_SD1_CLK__SD1_CLK 0x57>, 537e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5e>, 538e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5e>, 539e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5e>, 540e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5e>; 541724ba675SRob Herring }; 542724ba675SRob Herring 543cfda4a44SAlexander Stein pinctrl_usdhc1_100mhz: usdhc1_100mhzgrp { 544e67e40cfSAlexander Stein fsl,pins = 545e67e40cfSAlexander Stein <MX7D_PAD_SD1_CMD__SD1_CMD 0x5a>, 546e67e40cfSAlexander Stein <MX7D_PAD_SD1_CLK__SD1_CLK 0x57>, 547e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5a>, 548e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5a>, 549e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5a>, 550e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5a>; 551724ba675SRob Herring }; 552724ba675SRob Herring 553cfda4a44SAlexander Stein pinctrl_usdhc1_200mhz: usdhc1_200mhzgrp { 554e67e40cfSAlexander Stein fsl,pins = 555e67e40cfSAlexander Stein <MX7D_PAD_SD1_CMD__SD1_CMD 0x5b>, 556e67e40cfSAlexander Stein <MX7D_PAD_SD1_CLK__SD1_CLK 0x57>, 557e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5b>, 558e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5b>, 559e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5b>, 560e67e40cfSAlexander Stein <MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5b>; 561724ba675SRob Herring }; 562724ba675SRob Herring}; 563724ba675SRob Herring 564724ba675SRob Herring&iomuxc_lpsr { 565724ba675SRob Herring pinctrl_pwm1: pwm1grp { 566e67e40cfSAlexander Stein fsl,pins = 567724ba675SRob Herring /* LCD_CONTRAST */ 568e67e40cfSAlexander Stein <MX7D_PAD_LPSR_GPIO1_IO01__PWM1_OUT 0x50>; 569724ba675SRob Herring }; 570724ba675SRob Herring 571724ba675SRob Herring pinctrl_usbotg1: usbotg1grp { 572e67e40cfSAlexander Stein fsl,pins = 573e67e40cfSAlexander Stein <MX7D_PAD_LPSR_GPIO1_IO04__USB_OTG1_OC 0x5c>, 574e67e40cfSAlexander Stein <MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x59>; 575724ba675SRob Herring }; 576724ba675SRob Herring 577724ba675SRob Herring pinctrl_wdog1: wdog1grp { 578e67e40cfSAlexander Stein fsl,pins = 579e67e40cfSAlexander Stein <MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x30>; 580724ba675SRob Herring }; 581724ba675SRob Herring}; 582724ba675SRob Herring 583724ba675SRob Herring&pwm1 { 584724ba675SRob Herring pinctrl-names = "default"; 585724ba675SRob Herring pinctrl-0 = <&pinctrl_pwm1>; 586724ba675SRob Herring status = "okay"; 587724ba675SRob Herring}; 588724ba675SRob Herring 589724ba675SRob Herring&sai1 { 590724ba675SRob Herring pinctrl-names = "default"; 591724ba675SRob Herring pinctrl-0 = <&pinctrl_sai1>; 592724ba675SRob Herring assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>, 593724ba675SRob Herring <&clks IMX7D_SAI1_ROOT_CLK>; 594724ba675SRob Herring assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; 595724ba675SRob Herring assigned-clock-rates = <0>, <36864000>; 596724ba675SRob Herring status = "okay"; 597724ba675SRob Herring}; 598724ba675SRob Herring 599f8d998b0SAlexander Stein&snvs_pwrkey { 600f8d998b0SAlexander Stein status = "okay"; 601f8d998b0SAlexander Stein}; 602f8d998b0SAlexander Stein 603724ba675SRob Herring&uart3 { 604724ba675SRob Herring pinctrl-names = "default"; 605724ba675SRob Herring pinctrl-0 = <&pinctrl_uart3>; 606724ba675SRob Herring assigned-clocks = <&clks IMX7D_UART3_ROOT_SRC>; 607724ba675SRob Herring assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; 608724ba675SRob Herring status = "okay"; 609724ba675SRob Herring}; 610724ba675SRob Herring 611724ba675SRob Herring&uart4 { 612724ba675SRob Herring pinctrl-names = "default"; 613724ba675SRob Herring pinctrl-0 = <&pinctrl_uart4>; 614724ba675SRob Herring assigned-clocks = <&clks IMX7D_UART4_ROOT_SRC>; 615724ba675SRob Herring assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; 616724ba675SRob Herring status = "okay"; 617724ba675SRob Herring}; 618724ba675SRob Herring 619724ba675SRob Herring&uart5 { 620724ba675SRob Herring pinctrl-names = "default"; 621724ba675SRob Herring pinctrl-0 = <&pinctrl_uart5>; 622724ba675SRob Herring assigned-clocks = <&clks IMX7D_UART5_ROOT_SRC>; 623724ba675SRob Herring assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; 624724ba675SRob Herring status = "okay"; 625724ba675SRob Herring}; 626724ba675SRob Herring 627724ba675SRob Herring&uart6 { 628724ba675SRob Herring pinctrl-names = "default"; 629724ba675SRob Herring pinctrl-0 = <&pinctrl_uart6>; 630724ba675SRob Herring assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>; 631724ba675SRob Herring assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; 632724ba675SRob Herring status = "okay"; 633724ba675SRob Herring}; 634724ba675SRob Herring 635724ba675SRob Herring&uart7 { 636724ba675SRob Herring pinctrl-names = "default"; 637724ba675SRob Herring pinctrl-0 = <&pinctrl_uart7>; 638724ba675SRob Herring assigned-clocks = <&clks IMX7D_UART7_ROOT_SRC>; 639724ba675SRob Herring assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; 640724ba675SRob Herring uart-has-rtscts; 641724ba675SRob Herring linux,rs485-enabled-at-boot-time; 642724ba675SRob Herring rs485-rts-active-low; 643724ba675SRob Herring rs485-rx-during-tx; 644724ba675SRob Herring status = "okay"; 645724ba675SRob Herring}; 646724ba675SRob Herring 647724ba675SRob Herring&usbh { 6487d37d9dfSAlexander Stein disable-over-current; 649724ba675SRob Herring status = "okay"; 650724ba675SRob Herring}; 651724ba675SRob Herring 652724ba675SRob Herring&usbotg1 { 653724ba675SRob Herring pinctrl-names = "default"; 654724ba675SRob Herring pinctrl-0 = <&pinctrl_usbotg1>; 655724ba675SRob Herring vbus-supply = <®_usb_otg1_vbus>; 656724ba675SRob Herring srp-disable; 657724ba675SRob Herring hnp-disable; 658724ba675SRob Herring adp-disable; 659724ba675SRob Herring over-current-active-low; 660724ba675SRob Herring dr_mode = "otg"; 661724ba675SRob Herring status = "okay"; 662724ba675SRob Herring}; 663724ba675SRob Herring 664724ba675SRob Herring&usdhc1 { 665724ba675SRob Herring pinctrl-names = "default", "state_100mhz", "state_200mhz"; 666724ba675SRob Herring pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>; 667724ba675SRob Herring pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_usdhc1_gpio>; 668724ba675SRob Herring pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_usdhc1_gpio>; 669724ba675SRob Herring cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; 670724ba675SRob Herring wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 671724ba675SRob Herring vmmc-supply = <®_sd1_vmmc>; 672724ba675SRob Herring bus-width = <4>; 673724ba675SRob Herring no-1-8-v; 674d430a7e0SAlexander Stein no-sdio; 675b91695b5SFabio Estevam no-mmc; 676724ba675SRob Herring status = "okay"; 677724ba675SRob Herring}; 678724ba675SRob Herring 679724ba675SRob Herring&wdog1 { 680724ba675SRob Herring pinctrl-names = "default"; 681724ba675SRob Herring pinctrl-0 = <&pinctrl_wdog1>; 682724ba675SRob Herring fsl,ext-reset-output; 683724ba675SRob Herring}; 684