1f126890aSEmmanuel Vadot/* 2f126890aSEmmanuel Vadot * support for the imx6 based aristainetos2 board 3f126890aSEmmanuel Vadot * 4f126890aSEmmanuel Vadot * Copyright (C) 2015 Heiko Schocher <hs@denx.de> 5f126890aSEmmanuel Vadot * 6f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms 7f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual 8f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a 9f126890aSEmmanuel Vadot * whole. 10f126890aSEmmanuel Vadot * 11f126890aSEmmanuel Vadot * a) This file is free software; you can redistribute it and/or 12f126890aSEmmanuel Vadot * modify it under the terms of the GNU General Public License 13f126890aSEmmanuel Vadot * version 2 as published by the Free Software Foundation. 14f126890aSEmmanuel Vadot * 15f126890aSEmmanuel Vadot * This file is distributed in the hope that it will be useful, 16f126890aSEmmanuel Vadot * but WITHOUT ANY WARRANTY; without even the implied warranty of 17f126890aSEmmanuel Vadot * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18f126890aSEmmanuel Vadot * GNU General Public License for more details. 19f126890aSEmmanuel Vadot * 20f126890aSEmmanuel Vadot * Or, alternatively, 21f126890aSEmmanuel Vadot * 22f126890aSEmmanuel Vadot * b) Permission is hereby granted, free of charge, to any person 23f126890aSEmmanuel Vadot * obtaining a copy of this software and associated documentation 24f126890aSEmmanuel Vadot * files (the "Software"), to deal in the Software without 25f126890aSEmmanuel Vadot * restriction, including without limitation the rights to use, 26f126890aSEmmanuel Vadot * copy, modify, merge, publish, distribute, sublicense, and/or 27f126890aSEmmanuel Vadot * sell copies of the Software, and to permit persons to whom the 28f126890aSEmmanuel Vadot * Software is furnished to do so, subject to the following 29f126890aSEmmanuel Vadot * conditions: 30f126890aSEmmanuel Vadot * 31f126890aSEmmanuel Vadot * The above copyright notice and this permission notice shall be 32f126890aSEmmanuel Vadot * included in all copies or substantial portions of the Software. 33f126890aSEmmanuel Vadot * 34f126890aSEmmanuel Vadot * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 35f126890aSEmmanuel Vadot * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 36f126890aSEmmanuel Vadot * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 37f126890aSEmmanuel Vadot * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 38f126890aSEmmanuel Vadot * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 39f126890aSEmmanuel Vadot * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 40f126890aSEmmanuel Vadot * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 41f126890aSEmmanuel Vadot * OTHER DEALINGS IN THE SOFTWARE. 42f126890aSEmmanuel Vadot */ 43f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 44f126890aSEmmanuel Vadot#include <dt-bindings/clock/imx6qdl-clock.h> 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot/ { 47f126890aSEmmanuel Vadot backlight: backlight { 48f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 497d0873ebSEmmanuel Vadot pwms = <&pwm1 0 5000000 0>; 50f126890aSEmmanuel Vadot brightness-levels = <0 4 8 16 32 64 128 255>; 51f126890aSEmmanuel Vadot default-brightness-level = <7>; 52f126890aSEmmanuel Vadot enable-gpios = <&gpio6 31 GPIO_ACTIVE_HIGH>; 53f126890aSEmmanuel Vadot }; 54f126890aSEmmanuel Vadot 55f126890aSEmmanuel Vadot reg_2p5v: regulator-2p5v { 56f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 57f126890aSEmmanuel Vadot regulator-name = "2P5V"; 58f126890aSEmmanuel Vadot regulator-min-microvolt = <2500000>; 59f126890aSEmmanuel Vadot regulator-max-microvolt = <2500000>; 60f126890aSEmmanuel Vadot regulator-always-on; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot reg_3p3v: regulator-3p3v { 64f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 65f126890aSEmmanuel Vadot regulator-name = "3P3V"; 66f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 67f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 68f126890aSEmmanuel Vadot regulator-always-on; 69f126890aSEmmanuel Vadot }; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot reg_usbh1_vbus: regulator-usbh1-vbus { 72f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 73f126890aSEmmanuel Vadot enable-active-high; 74f126890aSEmmanuel Vadot gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; 75f126890aSEmmanuel Vadot pinctrl-names = "default"; 76f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_aristainetos2_usbh1_vbus>; 77f126890aSEmmanuel Vadot regulator-name = "usb_h1_vbus"; 78f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 79f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 80f126890aSEmmanuel Vadot }; 81f126890aSEmmanuel Vadot 82f126890aSEmmanuel Vadot reg_usbotg_vbus: regulator-usbotg-vbus { 83f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 84f126890aSEmmanuel Vadot enable-active-high; 85f126890aSEmmanuel Vadot gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; 86f126890aSEmmanuel Vadot pinctrl-names = "default"; 87f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_aristainetos2_usbotg_vbus>; 88f126890aSEmmanuel Vadot regulator-name = "usb_otg_vbus"; 89f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 90f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 91f126890aSEmmanuel Vadot }; 92f126890aSEmmanuel Vadot}; 93f126890aSEmmanuel Vadot 94f126890aSEmmanuel Vadot&audmux { 95f126890aSEmmanuel Vadot pinctrl-names = "default"; 96f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_audmux>; 97f126890aSEmmanuel Vadot status = "okay"; 98f126890aSEmmanuel Vadot}; 99f126890aSEmmanuel Vadot 100f126890aSEmmanuel Vadot&can1 { 101f126890aSEmmanuel Vadot pinctrl-names = "default"; 102f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_flexcan1>; 103f126890aSEmmanuel Vadot status = "okay"; 104f126890aSEmmanuel Vadot}; 105f126890aSEmmanuel Vadot 106f126890aSEmmanuel Vadot&can2 { 107f126890aSEmmanuel Vadot pinctrl-names = "default"; 108f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_flexcan2>; 109f126890aSEmmanuel Vadot status = "okay"; 110f126890aSEmmanuel Vadot}; 111f126890aSEmmanuel Vadot 112f126890aSEmmanuel Vadot&ecspi1 { 113f126890aSEmmanuel Vadot cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW 114f126890aSEmmanuel Vadot &gpio4 10 GPIO_ACTIVE_LOW 115f126890aSEmmanuel Vadot &gpio4 11 GPIO_ACTIVE_LOW>; 116f126890aSEmmanuel Vadot pinctrl-names = "default"; 117f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi1>; 118f126890aSEmmanuel Vadot status = "okay"; 119f126890aSEmmanuel Vadot}; 120f126890aSEmmanuel Vadot 121f126890aSEmmanuel Vadot&ecspi2 { 122f126890aSEmmanuel Vadot cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW &gpio2 27 GPIO_ACTIVE_LOW>; 123f126890aSEmmanuel Vadot pinctrl-names = "default"; 124f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi2>; 125f126890aSEmmanuel Vadot status = "okay"; 126f126890aSEmmanuel Vadot}; 127f126890aSEmmanuel Vadot 128f126890aSEmmanuel Vadot&ecspi4 { 129f126890aSEmmanuel Vadot cs-gpios = <&gpio3 29 GPIO_ACTIVE_LOW &gpio5 2 GPIO_ACTIVE_LOW>; 130f126890aSEmmanuel Vadot pinctrl-names = "default"; 131f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi4>; 132f126890aSEmmanuel Vadot status = "okay"; 133f126890aSEmmanuel Vadot 134f126890aSEmmanuel Vadot flash: flash@1 { 135f126890aSEmmanuel Vadot #address-cells = <1>; 136f126890aSEmmanuel Vadot #size-cells = <1>; 137f126890aSEmmanuel Vadot compatible = "micron,n25q128a11", "jedec,spi-nor"; 138f126890aSEmmanuel Vadot spi-max-frequency = <20000000>; 139f126890aSEmmanuel Vadot reg = <1>; 140f126890aSEmmanuel Vadot }; 141f126890aSEmmanuel Vadot}; 142f126890aSEmmanuel Vadot 143f126890aSEmmanuel Vadot&i2c1 { 144f126890aSEmmanuel Vadot pinctrl-names = "default"; 145f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 146f126890aSEmmanuel Vadot status = "okay"; 147f126890aSEmmanuel Vadot 148f126890aSEmmanuel Vadot pmic@58 { 149f126890aSEmmanuel Vadot compatible = "dlg,da9063"; 150f126890aSEmmanuel Vadot reg = <0x58>; 151f126890aSEmmanuel Vadot interrupt-parent = <&gpio1>; 152f126890aSEmmanuel Vadot interrupts = <04 0x8>; 153f126890aSEmmanuel Vadot 154f126890aSEmmanuel Vadot regulators { 155f126890aSEmmanuel Vadot bcore1 { 156f126890aSEmmanuel Vadot regulator-name = "bcore1"; 157f126890aSEmmanuel Vadot regulator-always-on; 158f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 159f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 160f126890aSEmmanuel Vadot }; 161f126890aSEmmanuel Vadot 162f126890aSEmmanuel Vadot bcore2 { 163f126890aSEmmanuel Vadot regulator-name = "bcore2"; 164f126890aSEmmanuel Vadot regulator-always-on; 165f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 166f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 167f126890aSEmmanuel Vadot }; 168f126890aSEmmanuel Vadot 169f126890aSEmmanuel Vadot bpro { 170f126890aSEmmanuel Vadot regulator-name = "bpro"; 171f126890aSEmmanuel Vadot regulator-always-on; 172f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 173f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 174f126890aSEmmanuel Vadot }; 175f126890aSEmmanuel Vadot 176f126890aSEmmanuel Vadot bperi { 177f126890aSEmmanuel Vadot regulator-name = "bperi"; 178f126890aSEmmanuel Vadot regulator-always-on; 179f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 180f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 181f126890aSEmmanuel Vadot }; 182f126890aSEmmanuel Vadot 183f126890aSEmmanuel Vadot bmem { 184f126890aSEmmanuel Vadot regulator-name = "bmem"; 185f126890aSEmmanuel Vadot regulator-always-on; 186f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 187f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 188f126890aSEmmanuel Vadot }; 189f126890aSEmmanuel Vadot 190f126890aSEmmanuel Vadot ldo2 { 191f126890aSEmmanuel Vadot regulator-name = "ldo2"; 192f126890aSEmmanuel Vadot regulator-always-on; 193f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 194f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 195f126890aSEmmanuel Vadot }; 196f126890aSEmmanuel Vadot 197f126890aSEmmanuel Vadot ldo3 { 198f126890aSEmmanuel Vadot regulator-name = "ldo3"; 199f126890aSEmmanuel Vadot regulator-always-on; 200f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 201f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 202f126890aSEmmanuel Vadot }; 203f126890aSEmmanuel Vadot 204f126890aSEmmanuel Vadot ldo4 { 205f126890aSEmmanuel Vadot regulator-name = "ldo4"; 206f126890aSEmmanuel Vadot regulator-always-on; 207f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 208f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 209f126890aSEmmanuel Vadot }; 210f126890aSEmmanuel Vadot 211f126890aSEmmanuel Vadot ldo5 { 212f126890aSEmmanuel Vadot regulator-name = "ldo5"; 213f126890aSEmmanuel Vadot regulator-always-on; 214f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 215f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 216f126890aSEmmanuel Vadot }; 217f126890aSEmmanuel Vadot 218f126890aSEmmanuel Vadot ldo6 { 219f126890aSEmmanuel Vadot regulator-name = "ldo6"; 220f126890aSEmmanuel Vadot regulator-always-on; 221f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 222f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 223f126890aSEmmanuel Vadot }; 224f126890aSEmmanuel Vadot 225f126890aSEmmanuel Vadot ldo7 { 226f126890aSEmmanuel Vadot regulator-name = "ldo7"; 227f126890aSEmmanuel Vadot regulator-always-on; 228f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 229f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 230f126890aSEmmanuel Vadot }; 231f126890aSEmmanuel Vadot 232f126890aSEmmanuel Vadot ldo8 { 233f126890aSEmmanuel Vadot regulator-name = "ldo8"; 234f126890aSEmmanuel Vadot regulator-always-on; 235f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 236f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 237f126890aSEmmanuel Vadot }; 238f126890aSEmmanuel Vadot 239f126890aSEmmanuel Vadot ldo9 { 240f126890aSEmmanuel Vadot regulator-name = "ldo9"; 241f126890aSEmmanuel Vadot regulator-always-on; 242f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 243f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 244f126890aSEmmanuel Vadot }; 245f126890aSEmmanuel Vadot 246f126890aSEmmanuel Vadot ldo10 { 247f126890aSEmmanuel Vadot regulator-name = "ldo10"; 248f126890aSEmmanuel Vadot regulator-always-on; 249f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 250f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 251f126890aSEmmanuel Vadot }; 252f126890aSEmmanuel Vadot 253f126890aSEmmanuel Vadot ldo11 { 254f126890aSEmmanuel Vadot regulator-name = "ldo11"; 255f126890aSEmmanuel Vadot regulator-always-on; 256f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 257f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 258f126890aSEmmanuel Vadot }; 259f126890aSEmmanuel Vadot 260f126890aSEmmanuel Vadot bio { 261f126890aSEmmanuel Vadot regulator-name = "bio"; 262f126890aSEmmanuel Vadot regulator-always-on; 263f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 264f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 265f126890aSEmmanuel Vadot }; 266f126890aSEmmanuel Vadot }; 267f126890aSEmmanuel Vadot }; 268f126890aSEmmanuel Vadot 269f126890aSEmmanuel Vadot tmp103: tmp103@71 { 270f126890aSEmmanuel Vadot compatible = "ti,tmp103"; 271f126890aSEmmanuel Vadot reg = <0x71>; 272f126890aSEmmanuel Vadot }; 273f126890aSEmmanuel Vadot}; 274f126890aSEmmanuel Vadot 275f126890aSEmmanuel Vadot&i2c2 { 276f126890aSEmmanuel Vadot pinctrl-names = "default"; 277f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 278f126890aSEmmanuel Vadot status = "okay"; 279f126890aSEmmanuel Vadot}; 280f126890aSEmmanuel Vadot 281f126890aSEmmanuel Vadot&i2c3 { 282f126890aSEmmanuel Vadot pinctrl-names = "default"; 283f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c3>; 284f126890aSEmmanuel Vadot status = "okay"; 285f126890aSEmmanuel Vadot 286f126890aSEmmanuel Vadot expander: tca6416@20 { 287f126890aSEmmanuel Vadot compatible = "ti,tca6416"; 288f126890aSEmmanuel Vadot reg = <0x20>; 289f126890aSEmmanuel Vadot #gpio-cells = <2>; 290f126890aSEmmanuel Vadot gpio-controller; 291f126890aSEmmanuel Vadot }; 292f126890aSEmmanuel Vadot 293f126890aSEmmanuel Vadot rtc@68 { 294f126890aSEmmanuel Vadot compatible = "dallas,m41t00"; 295f126890aSEmmanuel Vadot reg = <0x68>; 296f126890aSEmmanuel Vadot }; 297f126890aSEmmanuel Vadot}; 298f126890aSEmmanuel Vadot 299f126890aSEmmanuel Vadot&i2c4 { 300f126890aSEmmanuel Vadot pinctrl-names = "default"; 301f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c4>; 302f126890aSEmmanuel Vadot status = "okay"; 303f126890aSEmmanuel Vadot 304f126890aSEmmanuel Vadot eeprom@50 { 305f126890aSEmmanuel Vadot compatible = "atmel,24c64"; 306f126890aSEmmanuel Vadot reg = <0x50>; 307f126890aSEmmanuel Vadot }; 308f126890aSEmmanuel Vadot 309f126890aSEmmanuel Vadot eeprom@57 { 310f126890aSEmmanuel Vadot compatible = "atmel,24c64"; 311f126890aSEmmanuel Vadot reg = <0x57>; 312f126890aSEmmanuel Vadot }; 313f126890aSEmmanuel Vadot}; 314f126890aSEmmanuel Vadot 315f126890aSEmmanuel Vadot&fec { 316f126890aSEmmanuel Vadot pinctrl-names = "default"; 317f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet>; 318f126890aSEmmanuel Vadot phy-mode = "rgmii"; 319f126890aSEmmanuel Vadot phy-handle = <ðphy>; 320f126890aSEmmanuel Vadot phy-reset-gpios = <&gpio7 18 GPIO_ACTIVE_LOW>; 321f126890aSEmmanuel Vadot status = "okay"; 322f126890aSEmmanuel Vadot 323f126890aSEmmanuel Vadot mdio { 324f126890aSEmmanuel Vadot #address-cells = <1>; 325f126890aSEmmanuel Vadot #size-cells = <0>; 326f126890aSEmmanuel Vadot 327f126890aSEmmanuel Vadot ethphy: ethernet-phy { 328f126890aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c22"; 329f126890aSEmmanuel Vadot txd0-skew-ps = <0>; 330f126890aSEmmanuel Vadot txd1-skew-ps = <0>; 331f126890aSEmmanuel Vadot txd2-skew-ps = <0>; 332f126890aSEmmanuel Vadot txd3-skew-ps = <0>; 333f126890aSEmmanuel Vadot }; 334f126890aSEmmanuel Vadot }; 335f126890aSEmmanuel Vadot}; 336f126890aSEmmanuel Vadot 337f126890aSEmmanuel Vadot&gpmi { 338f126890aSEmmanuel Vadot pinctrl-names = "default"; 339f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_gpmi_nand>; 340f126890aSEmmanuel Vadot status = "okay"; 341f126890aSEmmanuel Vadot}; 342f126890aSEmmanuel Vadot 343f126890aSEmmanuel Vadot&pcie { 344f126890aSEmmanuel Vadot reset-gpio = <&gpio2 16 GPIO_ACTIVE_LOW>; 345f126890aSEmmanuel Vadot status = "okay"; 346f126890aSEmmanuel Vadot}; 347f126890aSEmmanuel Vadot 348f126890aSEmmanuel Vadot&pwm1 { 349f126890aSEmmanuel Vadot pinctrl-names = "default"; 350f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm1>; 351f126890aSEmmanuel Vadot status = "okay"; 352f126890aSEmmanuel Vadot}; 353f126890aSEmmanuel Vadot 354f126890aSEmmanuel Vadot&uart1 { 355f126890aSEmmanuel Vadot pinctrl-names = "default"; 356f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 357f126890aSEmmanuel Vadot uart-has-rtscts; 358f126890aSEmmanuel Vadot status = "okay"; 359f126890aSEmmanuel Vadot}; 360f126890aSEmmanuel Vadot 361f126890aSEmmanuel Vadot&uart2 { 362f126890aSEmmanuel Vadot pinctrl-names = "default"; 363f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart2>; 364f126890aSEmmanuel Vadot status = "okay"; 365f126890aSEmmanuel Vadot}; 366f126890aSEmmanuel Vadot 367f126890aSEmmanuel Vadot&uart3 { 368f126890aSEmmanuel Vadot pinctrl-names = "default"; 369f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>; 370f126890aSEmmanuel Vadot uart-has-rtscts; 371f126890aSEmmanuel Vadot status = "okay"; 372f126890aSEmmanuel Vadot}; 373f126890aSEmmanuel Vadot 374f126890aSEmmanuel Vadot&uart4 { 375f126890aSEmmanuel Vadot pinctrl-names = "default"; 376f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart4>; 377f126890aSEmmanuel Vadot status = "okay"; 378f126890aSEmmanuel Vadot}; 379f126890aSEmmanuel Vadot 380f126890aSEmmanuel Vadot&usbh1 { 381f126890aSEmmanuel Vadot vbus-supply = <®_usbh1_vbus>; 382f126890aSEmmanuel Vadot dr_mode = "host"; 383f126890aSEmmanuel Vadot status = "okay"; 384f126890aSEmmanuel Vadot}; 385f126890aSEmmanuel Vadot 386f126890aSEmmanuel Vadot&usbotg { 387f126890aSEmmanuel Vadot vbus-supply = <®_usbotg_vbus>; 388f126890aSEmmanuel Vadot pinctrl-names = "default"; 389f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg>; 390f126890aSEmmanuel Vadot disable-over-current; 391f126890aSEmmanuel Vadot dr_mode = "host"; 392f126890aSEmmanuel Vadot status = "okay"; 393f126890aSEmmanuel Vadot}; 394f126890aSEmmanuel Vadot 395f126890aSEmmanuel Vadot&usdhc1 { 396f126890aSEmmanuel Vadot pinctrl-names = "default"; 397f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc1>; 398f126890aSEmmanuel Vadot cd-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; 399f126890aSEmmanuel Vadot no-1-8-v; 400f126890aSEmmanuel Vadot status = "okay"; 401f126890aSEmmanuel Vadot}; 402f126890aSEmmanuel Vadot 403f126890aSEmmanuel Vadot&usdhc2 { 404f126890aSEmmanuel Vadot pinctrl-names = "default"; 405f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>; 406f126890aSEmmanuel Vadot cd-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; 407f126890aSEmmanuel Vadot wp-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; 408f126890aSEmmanuel Vadot no-1-8-v; 409f126890aSEmmanuel Vadot status = "okay"; 410f126890aSEmmanuel Vadot}; 411f126890aSEmmanuel Vadot 412f126890aSEmmanuel Vadot&iomuxc { 413f126890aSEmmanuel Vadot pinctrl-names = "default"; 414f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_gpio>; 415f126890aSEmmanuel Vadot 416f126890aSEmmanuel Vadot pinctrl_audmux: audmux { 417f126890aSEmmanuel Vadot fsl,pins = < 418f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x1b0b0 419f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x1b0b0 420f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x1b0b0 421f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x1b0b0 422f126890aSEmmanuel Vadot >; 423f126890aSEmmanuel Vadot }; 424f126890aSEmmanuel Vadot 425f126890aSEmmanuel Vadot pinctrl_ecspi1: ecspi1grp { 426f126890aSEmmanuel Vadot fsl,pins = < 427f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 428f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 429f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 430f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x100b1 /* SS0# */ 431f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x100b1 /* SS1# */ 432f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x100b1 /* SS2# */ 433f126890aSEmmanuel Vadot >; 434f126890aSEmmanuel Vadot }; 435f126890aSEmmanuel Vadot 436f126890aSEmmanuel Vadot pinctrl_ecspi2: ecspi2grp { 437f126890aSEmmanuel Vadot fsl,pins = < 438f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 439f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 440f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 441f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b1 /* SS0# */ 442f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x100b1 /* SS1# */ 443f126890aSEmmanuel Vadot >; 444f126890aSEmmanuel Vadot }; 445f126890aSEmmanuel Vadot 446f126890aSEmmanuel Vadot pinctrl_ecspi4: ecspi4grp { 447f126890aSEmmanuel Vadot fsl,pins = < 448f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1 449f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 450f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1 451f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x100b1 /* SS0# */ 452f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x100b1 /* SS1# */ 453f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT7__GPIO2_IO15 0x1b0b0 /* WP pin */ 454f126890aSEmmanuel Vadot >; 455f126890aSEmmanuel Vadot }; 456f126890aSEmmanuel Vadot 457f126890aSEmmanuel Vadot pinctrl_enet: enetgrp { 458f126890aSEmmanuel Vadot fsl,pins = < 459f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 460f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 461f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0 462f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0 463f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0 464f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0 465f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0 466f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0 467f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 468f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0 469f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0 470f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0 471f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0 472f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 473f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 474f126890aSEmmanuel Vadot >; 475f126890aSEmmanuel Vadot }; 476f126890aSEmmanuel Vadot 477f126890aSEmmanuel Vadot pinctrl_flexcan1: flexcan1grp { 478f126890aSEmmanuel Vadot fsl,pins = < 479f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x1b0b0 480f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x1b0b0 481f126890aSEmmanuel Vadot >; 482f126890aSEmmanuel Vadot }; 483f126890aSEmmanuel Vadot 484f126890aSEmmanuel Vadot pinctrl_flexcan2: flexcan2grp { 485f126890aSEmmanuel Vadot fsl,pins = < 486f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT0__FLEXCAN2_TX 0x1b0b0 487f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT1__FLEXCAN2_RX 0x1b0b0 488f126890aSEmmanuel Vadot >; 489f126890aSEmmanuel Vadot }; 490f126890aSEmmanuel Vadot 491f126890aSEmmanuel Vadot pinctrl_gpio: gpiogrp { 492f126890aSEmmanuel Vadot fsl,pins = < 493f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* led enable */ 494f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x1b0b0 /* LCD power enable */ 495f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x1b0b0 /* led yellow */ 496f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x1b0b0 /* led red */ 497f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x1b0b0 /* led green */ 498f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x1b0b0 /* led blue */ 499f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* Profibus IRQ */ 500f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT6__GPIO6_IO18 0x1b0b0 /* FPGA IRQ */ 501f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x1b0b0 /* spi bus #2 SS driver enable */ 502f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 /* RST_LOC# PHY reset input (has pull-down!)*/ 503f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x1b0b0 /* USB_OTG_ID = GPIO1_24*/ 504f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT1__GPIO2_IO09 0x1b0b0 /* Touchscreen IRQ */ 505f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A22__GPIO2_IO16 0x1b0b0 /* PCIe reset */ 506f126890aSEmmanuel Vadot >; 507f126890aSEmmanuel Vadot }; 508f126890aSEmmanuel Vadot 509*b2d2a78aSEmmanuel Vadot pinctrl_gpmi_nand: gpminandgrp { 510f126890aSEmmanuel Vadot fsl,pins = < 511f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 512f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 513f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 514f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 515f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 516f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 517f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 518f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 519f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 520f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 521f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 522f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 523f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 524f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 525f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 526f126890aSEmmanuel Vadot >; 527f126890aSEmmanuel Vadot }; 528f126890aSEmmanuel Vadot 529f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1grp { 530f126890aSEmmanuel Vadot fsl,pins = < 531f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 532f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 533f126890aSEmmanuel Vadot >; 534f126890aSEmmanuel Vadot }; 535f126890aSEmmanuel Vadot 536f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2grp { 537f126890aSEmmanuel Vadot fsl,pins = < 538f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 539f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 540f126890aSEmmanuel Vadot >; 541f126890aSEmmanuel Vadot }; 542f126890aSEmmanuel Vadot 543f126890aSEmmanuel Vadot pinctrl_i2c3: i2c3grp { 544f126890aSEmmanuel Vadot fsl,pins = < 545f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1 546f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 547f126890aSEmmanuel Vadot >; 548f126890aSEmmanuel Vadot }; 549f126890aSEmmanuel Vadot 550f126890aSEmmanuel Vadot pinctrl_i2c4: i2c4grp { 551f126890aSEmmanuel Vadot fsl,pins = < 552f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_7__I2C4_SCL 0x4001b8b1 553f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_8__I2C4_SDA 0x4001b8b1 554f126890aSEmmanuel Vadot >; 555f126890aSEmmanuel Vadot }; 556f126890aSEmmanuel Vadot 557f126890aSEmmanuel Vadot pinctrl_pwm1: pwm1grp { 558f126890aSEmmanuel Vadot fsl,pins = < 559f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b0 560f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x1b0b0 /* backlight enable */ 561f126890aSEmmanuel Vadot >; 562f126890aSEmmanuel Vadot }; 563f126890aSEmmanuel Vadot 564f126890aSEmmanuel Vadot pinctrl_uart1: uart1grp { 565f126890aSEmmanuel Vadot fsl,pins = < 566f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 567f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1 568f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D20__UART1_RTS_B 0x1b0b1 569f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D19__UART1_CTS_B 0x1b0b1 570f126890aSEmmanuel Vadot >; 571f126890aSEmmanuel Vadot }; 572f126890aSEmmanuel Vadot 573f126890aSEmmanuel Vadot pinctrl_uart2: uart2grp { 574f126890aSEmmanuel Vadot fsl,pins = < 575f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1 576f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1 577f126890aSEmmanuel Vadot >; 578f126890aSEmmanuel Vadot }; 579f126890aSEmmanuel Vadot 580f126890aSEmmanuel Vadot pinctrl_uart3: uart3grp { 581f126890aSEmmanuel Vadot fsl,pins = < 582f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 583f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 584f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1 585f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1 586f126890aSEmmanuel Vadot >; 587f126890aSEmmanuel Vadot }; 588f126890aSEmmanuel Vadot 589f126890aSEmmanuel Vadot pinctrl_uart4: uart4grp { 590f126890aSEmmanuel Vadot fsl,pins = < 591f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 592f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 593f126890aSEmmanuel Vadot >; 594f126890aSEmmanuel Vadot }; 595f126890aSEmmanuel Vadot 596f126890aSEmmanuel Vadot pinctrl_usbotg: usbotggrp { 597f126890aSEmmanuel Vadot fsl,pins = < 598f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 599f126890aSEmmanuel Vadot >; 600f126890aSEmmanuel Vadot }; 601f126890aSEmmanuel Vadot 602f126890aSEmmanuel Vadot pinctrl_aristainetos2_usbh1_vbus: aristainetos-usbh1-vbus { 603f126890aSEmmanuel Vadot fsl,pins = <MX6QDL_PAD_GPIO_0__USB_H1_PWR 0x130b0>; 604f126890aSEmmanuel Vadot }; 605f126890aSEmmanuel Vadot 606f126890aSEmmanuel Vadot pinctrl_aristainetos2_usbotg_vbus: aristainetos-usbotg-vbus { 607f126890aSEmmanuel Vadot fsl,pins = <MX6QDL_PAD_KEY_ROW4__USB_OTG_PWR 0x130b0>; 608f126890aSEmmanuel Vadot }; 609f126890aSEmmanuel Vadot 610f126890aSEmmanuel Vadot pinctrl_usdhc1: usdhc1grp { 611f126890aSEmmanuel Vadot fsl,pins = < 612f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059 613f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059 614f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059 615f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059 616f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059 617f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059 618f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x1b0b0 /* SD1 card detect input */ 619f126890aSEmmanuel Vadot MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b0b0 /* SD1 write protect input */ 620f126890aSEmmanuel Vadot >; 621f126890aSEmmanuel Vadot }; 622f126890aSEmmanuel Vadot 623f126890aSEmmanuel Vadot pinctrl_usdhc2: usdhc2grp { 624f126890aSEmmanuel Vadot fsl,pins = < 625f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x71 626f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x71 627f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x71 628f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x71 629f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x71 630f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x71 631f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x1b0b0 /* SD2 level shifter output enable */ 632f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 /* SD2 card detect input */ 633f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SD2 write protect input */ 634f126890aSEmmanuel Vadot >; 635f126890aSEmmanuel Vadot }; 636f126890aSEmmanuel Vadot}; 637