1295011Sandrew/* 2295011Sandrew * support for the imx6 based aristainetos2 board 3295011Sandrew * 4295011Sandrew * Copyright (C) 2015 Heiko Schocher <hs@denx.de> 5295011Sandrew * 6295011Sandrew * This file is dual-licensed: you can use it either under the terms 7295011Sandrew * of the GPL or the X11 license, at your option. Note that this dual 8295011Sandrew * licensing only applies to this file, and not this project as a 9295011Sandrew * whole. 10295011Sandrew * 11295011Sandrew * a) This file is free software; you can redistribute it and/or 12295011Sandrew * modify it under the terms of the GNU General Public License 13295011Sandrew * version 2 as published by the Free Software Foundation. 14295011Sandrew * 15295011Sandrew * This file is distributed in the hope that it will be useful 16295011Sandrew * but WITHOUT ANY WARRANTY; without even the implied warranty of 17295011Sandrew * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18295011Sandrew * GNU General Public License for more details. 19295011Sandrew * 20295011Sandrew * Or, alternatively 21295011Sandrew * 22295011Sandrew * b) Permission is hereby granted, free of charge, to any person 23295011Sandrew * obtaining a copy of this software and associated documentation 24295011Sandrew * files (the "Software"), to deal in the Software without 25295011Sandrew * restriction, including without limitation the rights to use 26295011Sandrew * copy, modify, merge, publish, distribute, sublicense, and/or 27295011Sandrew * sell copies of the Software, and to permit persons to whom the 28295011Sandrew * Software is furnished to do so, subject to the following 29295011Sandrew * conditions: 30295011Sandrew * 31295011Sandrew * The above copyright notice and this permission notice shall be 32295011Sandrew * included in all copies or substantial portions of the Software. 33295011Sandrew * 34295011Sandrew * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND 35295011Sandrew * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 36295011Sandrew * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 37295011Sandrew * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 38295011Sandrew * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY 39295011Sandrew * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 40295011Sandrew * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 41295011Sandrew * OTHER DEALINGS IN THE SOFTWARE. 42295011Sandrew */ 43295011Sandrew#include <dt-bindings/gpio/gpio.h> 44295011Sandrew#include <dt-bindings/clock/imx6qdl-clock.h> 45295011Sandrew 46295011Sandrew/ { 47295011Sandrew backlight: backlight { 48295011Sandrew compatible = "pwm-backlight"; 49295011Sandrew pwms = <&pwm1 0 5000000>; 50295011Sandrew brightness-levels = <0 4 8 16 32 64 128 255>; 51295011Sandrew default-brightness-level = <7>; 52295011Sandrew enable-gpios = <&gpio6 31 GPIO_ACTIVE_HIGH>; 53295011Sandrew }; 54295011Sandrew 55295011Sandrew regulators { 56295011Sandrew compatible = "simple-bus"; 57295011Sandrew 58295011Sandrew reg_2p5v: 2p5v { 59295011Sandrew compatible = "regulator-fixed"; 60295011Sandrew regulator-name = "2P5V"; 61295011Sandrew regulator-min-microvolt = <2500000>; 62295011Sandrew regulator-max-microvolt = <2500000>; 63295011Sandrew regulator-always-on; 64295011Sandrew }; 65295011Sandrew 66295011Sandrew reg_3p3v: 3p3v { 67295011Sandrew compatible = "regulator-fixed"; 68295011Sandrew regulator-name = "3P3V"; 69295011Sandrew regulator-min-microvolt = <3300000>; 70295011Sandrew regulator-max-microvolt = <3300000>; 71295011Sandrew regulator-always-on; 72295011Sandrew }; 73295011Sandrew 74295011Sandrew reg_usbh1_vbus: usb-h1-vbus { 75295011Sandrew compatible = "regulator-fixed"; 76295011Sandrew enable-active-high; 77295011Sandrew gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; 78295011Sandrew pinctrl-names = "default"; 79295011Sandrew pinctrl-0 = <&pinctrl_aristainetos2_usbh1_vbus>; 80295011Sandrew regulator-name = "usb_h1_vbus"; 81295011Sandrew regulator-min-microvolt = <5000000>; 82295011Sandrew regulator-max-microvolt = <5000000>; 83295011Sandrew }; 84295011Sandrew 85295011Sandrew reg_usbotg_vbus: usb-otg-vbus { 86295011Sandrew compatible = "regulator-fixed"; 87295011Sandrew enable-active-high; 88295011Sandrew gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; 89295011Sandrew pinctrl-names = "default"; 90295011Sandrew pinctrl-0 = <&pinctrl_aristainetos2_usbotg_vbus>; 91295011Sandrew regulator-name = "usb_otg_vbus"; 92295011Sandrew regulator-min-microvolt = <5000000>; 93295011Sandrew regulator-max-microvolt = <5000000>; 94295011Sandrew }; 95295011Sandrew }; 96295011Sandrew}; 97295011Sandrew 98295011Sandrew&audmux { 99295011Sandrew pinctrl-names = "default"; 100295011Sandrew pinctrl-0 = <&pinctrl_audmux>; 101295011Sandrew status = "okay"; 102295011Sandrew}; 103295011Sandrew 104295011Sandrew&can1 { 105295011Sandrew pinctrl-names = "default"; 106295011Sandrew pinctrl-0 = <&pinctrl_flexcan1>; 107295011Sandrew status = "okay"; 108295011Sandrew}; 109295011Sandrew 110295011Sandrew&can2 { 111295011Sandrew pinctrl-names = "default"; 112295011Sandrew pinctrl-0 = <&pinctrl_flexcan2>; 113295011Sandrew status = "okay"; 114295011Sandrew}; 115295011Sandrew 116295011Sandrew&ecspi1 { 117295011Sandrew fsl,spi-num-chipselects = <3>; 118295011Sandrew cs-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH 119295011Sandrew &gpio4 10 GPIO_ACTIVE_HIGH 120295011Sandrew &gpio4 11 GPIO_ACTIVE_HIGH>; 121295011Sandrew pinctrl-names = "default"; 122295011Sandrew pinctrl-0 = <&pinctrl_ecspi1>; 123295011Sandrew status = "okay"; 124295011Sandrew}; 125295011Sandrew 126295011Sandrew&ecspi2 { 127295011Sandrew fsl,spi-num-chipselects = <2>; 128295011Sandrew cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH &gpio2 27 GPIO_ACTIVE_HIGH>; 129295011Sandrew pinctrl-names = "default"; 130295011Sandrew pinctrl-0 = <&pinctrl_ecspi2>; 131295011Sandrew status = "okay"; 132295011Sandrew}; 133295011Sandrew 134295011Sandrew&ecspi4 { 135295011Sandrew fsl,spi-num-chipselects = <2>; 136295011Sandrew cs-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH &gpio5 2 GPIO_ACTIVE_HIGH>; 137295011Sandrew pinctrl-names = "default"; 138295011Sandrew pinctrl-0 = <&pinctrl_ecspi4>; 139295011Sandrew status = "okay"; 140295011Sandrew 141295011Sandrew flash: m25p80@1 { 142295011Sandrew #address-cells = <1>; 143295011Sandrew #size-cells = <1>; 144295011Sandrew compatible = "micron,n25q128a11", "jedec,spi-nor"; 145295011Sandrew spi-max-frequency = <20000000>; 146295011Sandrew reg = <1>; 147295011Sandrew }; 148295011Sandrew}; 149295011Sandrew 150295011Sandrew&i2c1 { 151295011Sandrew pinctrl-names = "default"; 152295011Sandrew pinctrl-0 = <&pinctrl_i2c1>; 153295011Sandrew status = "okay"; 154295011Sandrew 155295011Sandrew pmic@58 { 156295011Sandrew compatible = "dlg,da9063"; 157295011Sandrew reg = <0x58>; 158295011Sandrew interrupt-parent = <&gpio1>; 159295011Sandrew interrupts = <04 0x8>; 160295011Sandrew 161295011Sandrew regulators { 162295011Sandrew bcore1 { 163295011Sandrew regulator-name = "bcore1"; 164295011Sandrew regulator-always-on = <1>; 165295011Sandrew regulator-min-microvolt = <300000>; 166295011Sandrew regulator-max-microvolt = <3300000>; 167295011Sandrew }; 168295011Sandrew 169295011Sandrew bcore2 { 170295011Sandrew regulator-name = "bcore2"; 171295011Sandrew regulator-always-on = <1>; 172295011Sandrew regulator-min-microvolt = <300000>; 173295011Sandrew regulator-max-microvolt = <3300000>; 174295011Sandrew }; 175295011Sandrew 176295011Sandrew bpro { 177295011Sandrew regulator-name = "bpro"; 178295011Sandrew regulator-always-on = <1>; 179295011Sandrew regulator-min-microvolt = <300000>; 180295011Sandrew regulator-max-microvolt = <3300000>; 181295011Sandrew }; 182295011Sandrew 183295011Sandrew bperi { 184295011Sandrew regulator-name = "bperi"; 185295011Sandrew regulator-always-on = <1>; 186295011Sandrew regulator-min-microvolt = <300000>; 187295011Sandrew regulator-max-microvolt = <3300000>; 188295011Sandrew }; 189295011Sandrew 190295011Sandrew bmem { 191295011Sandrew regulator-name = "bmem"; 192295011Sandrew regulator-always-on = <1>; 193295011Sandrew regulator-min-microvolt = <300000>; 194295011Sandrew regulator-max-microvolt = <3300000>; 195295011Sandrew }; 196295011Sandrew 197295011Sandrew ldo2 { 198295011Sandrew regulator-name = "ldo2"; 199295011Sandrew regulator-always-on = <1>; 200295011Sandrew regulator-min-microvolt = <300000>; 201295011Sandrew regulator-max-microvolt = <1800000>; 202295011Sandrew }; 203295011Sandrew 204295011Sandrew ldo3 { 205295011Sandrew regulator-name = "ldo3"; 206295011Sandrew regulator-always-on = <1>; 207295011Sandrew regulator-min-microvolt = <300000>; 208295011Sandrew regulator-max-microvolt = <3300000>; 209295011Sandrew }; 210295011Sandrew 211295011Sandrew ldo4 { 212295011Sandrew regulator-name = "ldo4"; 213295011Sandrew regulator-always-on = <1>; 214295011Sandrew regulator-min-microvolt = <300000>; 215295011Sandrew regulator-max-microvolt = <3300000>; 216295011Sandrew }; 217295011Sandrew 218295011Sandrew ldo5 { 219295011Sandrew regulator-name = "ldo5"; 220295011Sandrew regulator-always-on = <1>; 221295011Sandrew regulator-min-microvolt = <300000>; 222295011Sandrew regulator-max-microvolt = <3300000>; 223295011Sandrew }; 224295011Sandrew 225295011Sandrew ldo6 { 226295011Sandrew regulator-name = "ldo6"; 227295011Sandrew regulator-always-on = <1>; 228295011Sandrew regulator-min-microvolt = <300000>; 229295011Sandrew regulator-max-microvolt = <3300000>; 230295011Sandrew }; 231295011Sandrew 232295011Sandrew ldo7 { 233295011Sandrew regulator-name = "ldo7"; 234295011Sandrew regulator-always-on = <1>; 235295011Sandrew regulator-min-microvolt = <300000>; 236295011Sandrew regulator-max-microvolt = <3300000>; 237295011Sandrew }; 238295011Sandrew 239295011Sandrew ldo8 { 240295011Sandrew regulator-name = "ldo8"; 241295011Sandrew regulator-always-on = <1>; 242295011Sandrew regulator-min-microvolt = <300000>; 243295011Sandrew regulator-max-microvolt = <3300000>; 244295011Sandrew }; 245295011Sandrew 246295011Sandrew ldo9 { 247295011Sandrew regulator-name = "ldo9"; 248295011Sandrew regulator-always-on = <1>; 249295011Sandrew regulator-min-microvolt = <300000>; 250295011Sandrew regulator-max-microvolt = <3300000>; 251295011Sandrew }; 252295011Sandrew 253295011Sandrew ldo10 { 254295011Sandrew regulator-name = "ldo10"; 255295011Sandrew regulator-always-on = <1>; 256295011Sandrew regulator-min-microvolt = <300000>; 257295011Sandrew regulator-max-microvolt = <3300000>; 258295011Sandrew }; 259295011Sandrew 260295011Sandrew ldo11 { 261295011Sandrew regulator-name = "ldo11"; 262295011Sandrew regulator-always-on = <1>; 263295011Sandrew regulator-min-microvolt = <300000>; 264295011Sandrew regulator-max-microvolt = <3300000>; 265295011Sandrew }; 266295011Sandrew 267295011Sandrew bio { 268295011Sandrew regulator-name = "bio"; 269295011Sandrew regulator-always-on = <1>; 270295011Sandrew regulator-min-microvolt = <1800000>; 271295011Sandrew regulator-max-microvolt = <1800000>; 272295011Sandrew }; 273295011Sandrew }; 274295011Sandrew }; 275295011Sandrew 276295011Sandrew tmp103: tmp103@71 { 277295011Sandrew compatible = "ti,tmp103"; 278295011Sandrew reg = <0x71>; 279295011Sandrew }; 280295011Sandrew}; 281295011Sandrew 282295011Sandrew&i2c2 { 283295011Sandrew pinctrl-names = "default"; 284295011Sandrew pinctrl-0 = <&pinctrl_i2c2>; 285295011Sandrew status = "okay"; 286295011Sandrew}; 287295011Sandrew 288295011Sandrew&i2c3 { 289295011Sandrew pinctrl-names = "default"; 290295011Sandrew pinctrl-0 = <&pinctrl_i2c3>; 291295011Sandrew status = "okay"; 292295011Sandrew 293295011Sandrew expander: tca6416@20 { 294295011Sandrew compatible = "ti,tca6416"; 295295011Sandrew reg = <0x20>; 296295011Sandrew #gpio-cells = <2>; 297295011Sandrew gpio-controller; 298295011Sandrew }; 299295011Sandrew 300295011Sandrew rtc@68 { 301295011Sandrew compatible = "dallas,m41t00"; 302295011Sandrew reg = <0x68>; 303295011Sandrew }; 304295011Sandrew}; 305295011Sandrew 306295011Sandrew&i2c4 { 307295011Sandrew pinctrl-names = "default"; 308295011Sandrew pinctrl-0 = <&pinctrl_i2c4>; 309295011Sandrew status = "okay"; 310295011Sandrew 311295011Sandrew eeprom@50{ 312295011Sandrew compatible = "atmel,24c64"; 313295011Sandrew reg = <0x50>; 314295011Sandrew }; 315295011Sandrew 316295011Sandrew eeprom@57{ 317295011Sandrew compatible = "atmel,24c64"; 318295011Sandrew reg = <0x57>; 319295011Sandrew }; 320295011Sandrew}; 321295011Sandrew 322295011Sandrew&fec { 323295011Sandrew pinctrl-names = "default"; 324295011Sandrew pinctrl-0 = <&pinctrl_enet>; 325295011Sandrew phy-mode = "rgmii"; 326295011Sandrew phy-reset-gpios = <&gpio7 18 GPIO_ACTIVE_HIGH>; 327295011Sandrew txd0-skew-ps = <0>; 328295011Sandrew txd1-skew-ps = <0>; 329295011Sandrew txd2-skew-ps = <0>; 330295011Sandrew txd3-skew-ps = <0>; 331295011Sandrew status = "okay"; 332295011Sandrew}; 333295011Sandrew 334295011Sandrew&gpmi { 335295011Sandrew pinctrl-names = "default"; 336295011Sandrew pinctrl-0 = <&pinctrl_gpmi_nand>; 337295011Sandrew status = "okay"; 338295011Sandrew}; 339295011Sandrew 340295011Sandrew&pcie { 341295011Sandrew reset-gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>; 342295011Sandrew status = "okay"; 343295011Sandrew}; 344295011Sandrew 345295011Sandrew&pwm1 { 346295011Sandrew pinctrl-names = "default"; 347295011Sandrew pinctrl-0 = <&pinctrl_pwm1>; 348295011Sandrew status = "okay"; 349295011Sandrew}; 350295011Sandrew 351295011Sandrew&uart1 { 352295011Sandrew pinctrl-names = "default"; 353295011Sandrew pinctrl-0 = <&pinctrl_uart1>; 354295011Sandrew fsl,uart-has-rtscts; 355295011Sandrew status = "okay"; 356295011Sandrew}; 357295011Sandrew 358295011Sandrew&uart2 { 359295011Sandrew pinctrl-names = "default"; 360295011Sandrew pinctrl-0 = <&pinctrl_uart2>; 361295011Sandrew status = "okay"; 362295011Sandrew}; 363295011Sandrew 364295011Sandrew&uart3 { 365295011Sandrew pinctrl-names = "default"; 366295011Sandrew pinctrl-0 = <&pinctrl_uart3>; 367295011Sandrew fsl,uart-has-rtscts; 368295011Sandrew status = "okay"; 369295011Sandrew}; 370295011Sandrew 371295011Sandrew&uart4 { 372295011Sandrew pinctrl-names = "default"; 373295011Sandrew pinctrl-0 = <&pinctrl_uart4>; 374295011Sandrew status = "okay"; 375295011Sandrew}; 376295011Sandrew 377295011Sandrew&usbh1 { 378295011Sandrew vbus-supply = <®_usbh1_vbus>; 379295011Sandrew dr_mode = "host"; 380295011Sandrew status = "okay"; 381295011Sandrew}; 382295011Sandrew 383295011Sandrew&usbotg { 384295011Sandrew vbus-supply = <®_usbotg_vbus>; 385295011Sandrew pinctrl-names = "default"; 386295011Sandrew pinctrl-0 = <&pinctrl_usbotg>; 387295011Sandrew disable-over-current; 388295011Sandrew dr_mode = "host"; 389295011Sandrew status = "okay"; 390295011Sandrew}; 391295011Sandrew 392295011Sandrew&usdhc1 { 393295011Sandrew pinctrl-names = "default"; 394295011Sandrew pinctrl-0 = <&pinctrl_usdhc1>; 395295011Sandrew cd-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; 396295011Sandrew no-1-8-v; 397295011Sandrew status = "okay"; 398295011Sandrew}; 399295011Sandrew 400295011Sandrew&usdhc2 { 401295011Sandrew pinctrl-names = "default"; 402295011Sandrew pinctrl-0 = <&pinctrl_usdhc2>; 403295011Sandrew cd-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; 404295011Sandrew wp-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; 405295011Sandrew no-1-8-v; 406295011Sandrew status = "okay"; 407295011Sandrew}; 408295011Sandrew 409295011Sandrew&iomuxc { 410295011Sandrew pinctrl-names = "default"; 411295011Sandrew pinctrl-0 = <&pinctrl_gpio>; 412295011Sandrew 413295011Sandrew pinctrl_audmux: audmux { 414295011Sandrew fsl,pins = < 415295011Sandrew MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x1b0b0 416295011Sandrew MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x1b0b0 417295011Sandrew MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x1b0b0 418295011Sandrew MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x1b0b0 419295011Sandrew >; 420295011Sandrew }; 421295011Sandrew 422295011Sandrew pinctrl_ecspi1: ecspi1grp { 423295011Sandrew fsl,pins = < 424295011Sandrew MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 425295011Sandrew MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 426295011Sandrew MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 427295011Sandrew MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x100b1 /* SS0# */ 428295011Sandrew MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x100b1 /* SS1# */ 429295011Sandrew MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x100b1 /* SS2# */ 430295011Sandrew >; 431295011Sandrew }; 432295011Sandrew 433295011Sandrew pinctrl_ecspi2: ecspi2grp { 434295011Sandrew fsl,pins = < 435295011Sandrew MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 436295011Sandrew MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 437295011Sandrew MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 438295011Sandrew MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b1 /* SS0# */ 439295011Sandrew MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x100b1 /* SS1# */ 440295011Sandrew >; 441295011Sandrew }; 442295011Sandrew 443295011Sandrew pinctrl_ecspi4: ecspi4grp { 444295011Sandrew fsl,pins = < 445295011Sandrew MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1 446295011Sandrew MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 447295011Sandrew MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1 448295011Sandrew MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x100b1 /* SS0# */ 449295011Sandrew MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x100b1 /* SS1# */ 450295011Sandrew MX6QDL_PAD_SD4_DAT7__GPIO2_IO15 0x1b0b0 /* WP pin */ 451295011Sandrew >; 452295011Sandrew }; 453295011Sandrew 454295011Sandrew pinctrl_enet: enetgrp { 455295011Sandrew fsl,pins = < 456295011Sandrew MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 457295011Sandrew MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 458295011Sandrew MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0 459295011Sandrew MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0 460295011Sandrew MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0 461295011Sandrew MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0 462295011Sandrew MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0 463295011Sandrew MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0 464295011Sandrew MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 465295011Sandrew MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0 466295011Sandrew MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0 467295011Sandrew MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0 468295011Sandrew MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0 469295011Sandrew MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 470295011Sandrew MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 471295011Sandrew >; 472295011Sandrew }; 473295011Sandrew 474295011Sandrew pinctrl_flexcan1: flexcan1grp { 475295011Sandrew fsl,pins = < 476295011Sandrew MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x1b0b0 477295011Sandrew MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x1b0b0 478295011Sandrew >; 479295011Sandrew }; 480295011Sandrew 481295011Sandrew pinctrl_flexcan2: flexcan2grp { 482295011Sandrew fsl,pins = < 483295011Sandrew MX6QDL_PAD_SD3_DAT0__FLEXCAN2_TX 0x1b0b0 484295011Sandrew MX6QDL_PAD_SD3_DAT1__FLEXCAN2_RX 0x1b0b0 485295011Sandrew >; 486295011Sandrew }; 487295011Sandrew 488295011Sandrew pinctrl_gpio: gpiogrp { 489295011Sandrew fsl,pins = < 490295011Sandrew MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* led enable */ 491295011Sandrew MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x1b0b0 /* LCD power enable */ 492295011Sandrew MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x1b0b0 /* led yellow */ 493295011Sandrew MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x1b0b0 /* led red */ 494295011Sandrew MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x1b0b0 /* led green */ 495295011Sandrew MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x1b0b0 /* led blue */ 496295011Sandrew MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* Profibus IRQ */ 497295011Sandrew MX6QDL_PAD_SD3_DAT6__GPIO6_IO18 0x1b0b0 /* FPGA IRQ */ 498295011Sandrew MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x1b0b0 /* spi bus #2 SS driver enable */ 499295011Sandrew MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 /* RST_LOC# PHY reset input (has pull-down!)*/ 500295011Sandrew MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x1b0b0 /* USB_OTG_ID = GPIO1_24*/ 501295011Sandrew MX6QDL_PAD_SD4_DAT1__GPIO2_IO09 0x1b0b0 /* Touchscreen IRQ */ 502295011Sandrew MX6QDL_PAD_EIM_A22__GPIO2_IO16 0x1b0b0 /* PCIe reset */ 503295011Sandrew >; 504295011Sandrew }; 505295011Sandrew 506295011Sandrew pinctrl_gpmi_nand: gpmi-nand { 507295011Sandrew fsl,pins = < 508295011Sandrew MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 509295011Sandrew MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 510295011Sandrew MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 511295011Sandrew MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 512295011Sandrew MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 513295011Sandrew MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 514295011Sandrew MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 515295011Sandrew MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 516295011Sandrew MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 517295011Sandrew MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 518295011Sandrew MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 519295011Sandrew MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 520295011Sandrew MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 521295011Sandrew MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 522295011Sandrew MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 523295011Sandrew >; 524295011Sandrew }; 525295011Sandrew 526295011Sandrew pinctrl_i2c1: i2c1grp { 527295011Sandrew fsl,pins = < 528295011Sandrew MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 529295011Sandrew MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 530295011Sandrew >; 531295011Sandrew }; 532295011Sandrew 533295011Sandrew pinctrl_i2c2: i2c2grp { 534295011Sandrew fsl,pins = < 535295011Sandrew MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 536295011Sandrew MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 537295011Sandrew >; 538295011Sandrew }; 539295011Sandrew 540295011Sandrew pinctrl_i2c3: i2c3grp { 541295011Sandrew fsl,pins = < 542295011Sandrew MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1 543295011Sandrew MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 544295011Sandrew >; 545295011Sandrew }; 546295011Sandrew 547295011Sandrew pinctrl_i2c4: i2c4grp { 548295011Sandrew fsl,pins = < 549295011Sandrew MX6QDL_PAD_GPIO_7__I2C4_SCL 0x4001b8b1 550295011Sandrew MX6QDL_PAD_GPIO_8__I2C4_SDA 0x4001b8b1 551295011Sandrew >; 552295011Sandrew }; 553295011Sandrew 554295011Sandrew pinctrl_pwm1: pwm1grp { 555295011Sandrew fsl,pins = < 556295011Sandrew MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b0 557295011Sandrew MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x1b0b0 /* backlight enable */ 558295011Sandrew >; 559295011Sandrew }; 560295011Sandrew 561295011Sandrew pinctrl_uart1: uart1grp { 562295011Sandrew fsl,pins = < 563295011Sandrew MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 564295011Sandrew MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1 565295011Sandrew MX6QDL_PAD_EIM_D20__UART1_RTS_B 0x1b0b1 566295011Sandrew MX6QDL_PAD_EIM_D19__UART1_CTS_B 0x1b0b1 567295011Sandrew >; 568295011Sandrew }; 569295011Sandrew 570295011Sandrew pinctrl_uart2: uart2grp { 571295011Sandrew fsl,pins = < 572295011Sandrew MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1 573295011Sandrew MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1 574295011Sandrew >; 575295011Sandrew }; 576295011Sandrew 577295011Sandrew pinctrl_uart3: uart3grp { 578295011Sandrew fsl,pins = < 579295011Sandrew MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 580295011Sandrew MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 581295011Sandrew MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1 582295011Sandrew MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1 583295011Sandrew >; 584295011Sandrew }; 585295011Sandrew 586295011Sandrew pinctrl_uart4: uart4grp { 587295011Sandrew fsl,pins = < 588295011Sandrew MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 589295011Sandrew MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 590295011Sandrew >; 591295011Sandrew }; 592295011Sandrew 593295011Sandrew pinctrl_usbotg: usbotggrp { 594295011Sandrew fsl,pins = < 595295011Sandrew MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 596295011Sandrew >; 597295011Sandrew }; 598295011Sandrew 599295011Sandrew pinctrl_aristainetos2_usbh1_vbus: aristainetos-usbh1-vbus { 600295011Sandrew fsl,pins = <MX6QDL_PAD_GPIO_0__USB_H1_PWR 0x130b0>; 601295011Sandrew }; 602295011Sandrew 603295011Sandrew pinctrl_aristainetos2_usbotg_vbus: aristainetos-usbotg-vbus { 604295011Sandrew fsl,pins = <MX6QDL_PAD_KEY_ROW4__USB_OTG_PWR 0x130b0>; 605295011Sandrew }; 606295011Sandrew 607295011Sandrew pinctrl_usdhc1: usdhc1grp { 608295011Sandrew fsl,pins = < 609295011Sandrew MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059 610295011Sandrew MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059 611295011Sandrew MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059 612295011Sandrew MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059 613295011Sandrew MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059 614295011Sandrew MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059 615295011Sandrew MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x1b0b0 /* SD1 card detect input */ 616295011Sandrew MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b0b0 /* SD1 write protect input */ 617295011Sandrew >; 618295011Sandrew }; 619295011Sandrew 620295011Sandrew pinctrl_usdhc2: usdhc2grp { 621295011Sandrew fsl,pins = < 622295011Sandrew MX6QDL_PAD_SD2_CMD__SD2_CMD 0x71 623295011Sandrew MX6QDL_PAD_SD2_CLK__SD2_CLK 0x71 624295011Sandrew MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x71 625295011Sandrew MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x71 626295011Sandrew MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x71 627295011Sandrew MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x71 628295011Sandrew MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x1b0b0 /* SD2 level shifter output enable */ 629295011Sandrew MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 /* SD2 card detect input */ 630295011Sandrew MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SD2 write protect input */ 631295011Sandrew >; 632295011Sandrew }; 633295011Sandrew}; 634