1724ba675SRob Herring/* 2724ba675SRob Herring * Copyright 2015 Technologic Systems 3724ba675SRob Herring * Copyright 2017 Savoir-Faire Linux 4724ba675SRob Herring * 5724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms 6724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual 7724ba675SRob Herring * licensing only applies to this file, and not this project as a 8724ba675SRob Herring * whole. 9724ba675SRob Herring * 10724ba675SRob Herring * a) This file is free software; you can redistribute it and/or 11724ba675SRob Herring * modify it under the terms of the GNU General Public License 12724ba675SRob Herring * version 2 as published by the Free Software Foundation. 13724ba675SRob Herring * 14724ba675SRob Herring * This file is distributed in the hope that it will be useful, 15724ba675SRob Herring * but WITHOUT ANY WARRANTY; without even the implied warranty of 16724ba675SRob Herring * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17724ba675SRob Herring * GNU General Public License for more details. 18724ba675SRob Herring * 19724ba675SRob Herring * Or, alternatively, 20724ba675SRob Herring * 21724ba675SRob Herring * b) Permission is hereby granted, free of charge, to any person 22724ba675SRob Herring * obtaining a copy of this software and associated documentation 23724ba675SRob Herring * files (the "Software"), to deal in the Software without 24724ba675SRob Herring * restriction, including without limitation the rights to use, 25724ba675SRob Herring * copy, modify, merge, publish, distribute, sublicense, and/or 26724ba675SRob Herring * sell copies of the Software, and to permit persons to whom the 27724ba675SRob Herring * Software is furnished to do so, subject to the following 28724ba675SRob Herring * conditions: 29724ba675SRob Herring * 30724ba675SRob Herring * The above copyright notice and this permission notice shall be 31724ba675SRob Herring * included in all copies or substantial portions of the Software. 32724ba675SRob Herring * 33724ba675SRob Herring * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34724ba675SRob Herring * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35724ba675SRob Herring * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36724ba675SRob Herring * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 37724ba675SRob Herring * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38724ba675SRob Herring * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39724ba675SRob Herring * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40724ba675SRob Herring * OTHER DEALINGS IN THE SOFTWARE. 41724ba675SRob Herring */ 42724ba675SRob Herring 43724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 44724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 45724ba675SRob Herring 46724ba675SRob Herring/ { 47724ba675SRob Herring leds { 48724ba675SRob Herring pinctrl-names = "default"; 49724ba675SRob Herring pinctrl-0 = <&pinctrl_leds1>; 50724ba675SRob Herring compatible = "gpio-leds"; 51724ba675SRob Herring 52724ba675SRob Herring green-led { 53724ba675SRob Herring label = "green-led"; 54724ba675SRob Herring gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; 55724ba675SRob Herring default-state = "on"; 56724ba675SRob Herring }; 57724ba675SRob Herring 58724ba675SRob Herring red-led { 59724ba675SRob Herring label = "red-led"; 60724ba675SRob Herring gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; 61724ba675SRob Herring default-state = "off"; 62724ba675SRob Herring }; 63724ba675SRob Herring 64724ba675SRob Herring yel-led { 65724ba675SRob Herring label = "yellow-led"; 66724ba675SRob Herring gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 67724ba675SRob Herring default-state = "off"; 68724ba675SRob Herring }; 69724ba675SRob Herring 70724ba675SRob Herring blue-led { 71724ba675SRob Herring label = "blue-led"; 72724ba675SRob Herring gpios = <&gpio4 25 GPIO_ACTIVE_LOW>; 73724ba675SRob Herring default-state = "off"; 74724ba675SRob Herring }; 75724ba675SRob Herring 76724ba675SRob Herring en-usb-5v-led { 77724ba675SRob Herring label = "en-usb-5v"; 78724ba675SRob Herring gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; 79724ba675SRob Herring default-state = "on"; 80724ba675SRob Herring }; 81724ba675SRob Herring 82724ba675SRob Herring sel-dc-usb-led { 83724ba675SRob Herring label = "sel_dc_usb"; 84724ba675SRob Herring gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; 85724ba675SRob Herring default-state = "off"; 86724ba675SRob Herring }; 87724ba675SRob Herring 88724ba675SRob Herring }; 89724ba675SRob Herring 90724ba675SRob Herring reg_3p3v: regulator-3p3v { 91724ba675SRob Herring compatible = "regulator-fixed"; 92724ba675SRob Herring regulator-name = "3p3v"; 93724ba675SRob Herring regulator-min-microvolt = <3300000>; 94724ba675SRob Herring regulator-max-microvolt = <3300000>; 95724ba675SRob Herring regulator-always-on; 96724ba675SRob Herring }; 97724ba675SRob Herring 98724ba675SRob Herring reg_can1_3v3: reg_can1_3v3 { 99724ba675SRob Herring compatible = "regulator-fixed"; 100724ba675SRob Herring regulator-name = "reg_can1_3v3"; 101724ba675SRob Herring regulator-min-microvolt = <3300000>; 102724ba675SRob Herring regulator-max-microvolt = <3300000>; 103724ba675SRob Herring gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>; 104724ba675SRob Herring enable-active-high; 105724ba675SRob Herring }; 106724ba675SRob Herring 107724ba675SRob Herring reg_can2_3v3: en-reg_can2_3v3 { 108724ba675SRob Herring compatible = "regulator-fixed"; 109724ba675SRob Herring regulator-name = "reg_can2_3v3"; 110724ba675SRob Herring regulator-min-microvolt = <3300000>; 111724ba675SRob Herring regulator-max-microvolt = <3300000>; 112724ba675SRob Herring gpio = <&gpio6 31 GPIO_ACTIVE_HIGH>; 113724ba675SRob Herring enable-active-high; 114724ba675SRob Herring }; 115724ba675SRob Herring 116724ba675SRob Herring reg_usb_otg_vbus: regulator-usb-otg-vbus { 117724ba675SRob Herring compatible = "regulator-fixed"; 118724ba675SRob Herring regulator-name = "usb_otg_vbus"; 119724ba675SRob Herring regulator-min-microvolt = <5000000>; 120724ba675SRob Herring regulator-max-microvolt = <5000000>; 121724ba675SRob Herring gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; 122724ba675SRob Herring enable-active-high; 123724ba675SRob Herring }; 124724ba675SRob Herring 125724ba675SRob Herring reg_wlan_vmmc: regulator_wlan_vmmc { 126724ba675SRob Herring compatible = "regulator-fixed"; 127724ba675SRob Herring regulator-name = "wlan_vmmc"; 128724ba675SRob Herring regulator-min-microvolt = <1800000>; 129724ba675SRob Herring regulator-max-microvolt = <1800000>; 130724ba675SRob Herring gpio = <&gpio8 14 GPIO_ACTIVE_HIGH>; 131724ba675SRob Herring startup-delay-us = <70000>; 132724ba675SRob Herring enable-active-high; 133724ba675SRob Herring }; 134724ba675SRob Herring 135724ba675SRob Herring sound-sgtl5000 { 136724ba675SRob Herring audio-codec = <&sgtl5000>; 137724ba675SRob Herring audio-routing = 138724ba675SRob Herring "MIC_IN", "Mic Jack", 139724ba675SRob Herring "Mic Jack", "Mic Bias", 140724ba675SRob Herring "Headphone Jack", "HP_OUT"; 141724ba675SRob Herring compatible = "fsl,imx-audio-sgtl5000"; 142724ba675SRob Herring model = "On-board Codec"; 143724ba675SRob Herring mux-ext-port = <3>; 144724ba675SRob Herring mux-int-port = <1>; 145724ba675SRob Herring ssi-controller = <&ssi1>; 146724ba675SRob Herring }; 147724ba675SRob Herring}; 148724ba675SRob Herring 149724ba675SRob Herring&audmux { 150724ba675SRob Herring status = "okay"; 151724ba675SRob Herring}; 152724ba675SRob Herring 153724ba675SRob Herring&can1 { 154724ba675SRob Herring pinctrl-names = "default"; 155724ba675SRob Herring pinctrl-0 = <&pinctrl_flexcan1>; 156724ba675SRob Herring xceiver-supply = <®_can1_3v3>; 157724ba675SRob Herring status = "okay"; 158724ba675SRob Herring}; 159724ba675SRob Herring 160724ba675SRob Herring&can2 { 161724ba675SRob Herring pinctrl-names = "default"; 162724ba675SRob Herring pinctrl-0 = <&pinctrl_flexcan2>; 163724ba675SRob Herring xceiver-supply = <®_can2_3v3>; 164724ba675SRob Herring status = "okay"; 165724ba675SRob Herring}; 166724ba675SRob Herring 167724ba675SRob Herring&ecspi1 { 168724ba675SRob Herring cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 169724ba675SRob Herring pinctrl-names = "default"; 170724ba675SRob Herring pinctrl-0 = <&pinctrl_ecspi1>; 171724ba675SRob Herring status = "okay"; 172724ba675SRob Herring 173724ba675SRob Herring n25q064: flash@0 { 174724ba675SRob Herring compatible = "micron,n25q064", "jedec,spi-nor"; 175724ba675SRob Herring reg = <0>; 176724ba675SRob Herring spi-max-frequency = <20000000>; 177724ba675SRob Herring }; 178724ba675SRob Herring}; 179724ba675SRob Herring 180724ba675SRob Herring&ecspi2 { 181724ba675SRob Herring cs-gpios = < 182724ba675SRob Herring &gpio5 31 GPIO_ACTIVE_LOW 183724ba675SRob Herring &gpio7 12 GPIO_ACTIVE_LOW 184724ba675SRob Herring &gpio5 18 GPIO_ACTIVE_LOW 185724ba675SRob Herring >; 186724ba675SRob Herring pinctrl-names = "default"; 187724ba675SRob Herring pinctrl-0 = <&pinctrl_ecspi2>; 188724ba675SRob Herring status = "okay"; 189724ba675SRob Herring}; 190724ba675SRob Herring 191724ba675SRob Herring&fec { 192724ba675SRob Herring pinctrl-names = "default"; 193724ba675SRob Herring pinctrl-0 = <&pinctrl_enet>; 194724ba675SRob Herring phy-mode = "rgmii"; 195724ba675SRob Herring /delete-property/ interrupts; 196724ba675SRob Herring interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>, 197724ba675SRob Herring <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>; 198724ba675SRob Herring fsl,err006687-workaround-present; 199724ba675SRob Herring status = "okay"; 200724ba675SRob Herring}; 201724ba675SRob Herring 202724ba675SRob Herring&hdmi { 203724ba675SRob Herring status = "okay"; 204724ba675SRob Herring}; 205724ba675SRob Herring 206724ba675SRob Herring&i2c1 { 207724ba675SRob Herring clock-frequency = <100000>; 208724ba675SRob Herring pinctrl-names = "default", "gpio"; 209724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c1>; 210724ba675SRob Herring pinctrl-1 = <&pinctrl_i2c1_gpio>; 211724ba675SRob Herring scl-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 212724ba675SRob Herring sda-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>; 213724ba675SRob Herring status = "okay"; 214724ba675SRob Herring 215724ba675SRob Herring m41t00s: rtc@68 { 216724ba675SRob Herring compatible = "m41t00"; 217724ba675SRob Herring reg = <0x68>; 218724ba675SRob Herring }; 219724ba675SRob Herring 220724ba675SRob Herring isl12022: rtc@6f { 221724ba675SRob Herring compatible = "isl,isl12022"; 222724ba675SRob Herring reg = <0x6f>; 223724ba675SRob Herring }; 224724ba675SRob Herring 225724ba675SRob Herring gpio8: gpio@28 { 226724ba675SRob Herring compatible = "technologic,ts7970-gpio"; 227724ba675SRob Herring reg = <0x28>; 228724ba675SRob Herring #gpio-cells = <2>; 229724ba675SRob Herring gpio-controller; 230724ba675SRob Herring ngpios = <62>; 231724ba675SRob Herring }; 232724ba675SRob Herring 233724ba675SRob Herring sgtl5000: codec@a { 234724ba675SRob Herring compatible = "fsl,sgtl5000"; 235724ba675SRob Herring pinctrl-names = "default"; 236724ba675SRob Herring pinctrl-0 = <&pinctrl_sgtl5000>; 237724ba675SRob Herring reg = <0x0a>; 238*d54bcc3aSFabio Estevam #sound-dai-cells = <0>; 239724ba675SRob Herring clocks = <&clks IMX6QDL_CLK_CKO>; 240724ba675SRob Herring VDDA-supply = <®_3p3v>; 241724ba675SRob Herring VDDIO-supply = <®_3p3v>; 242724ba675SRob Herring }; 243724ba675SRob Herring}; 244724ba675SRob Herring 245724ba675SRob Herring&i2c2 { 246724ba675SRob Herring clock-frequency = <100000>; 247724ba675SRob Herring pinctrl-names = "default", "gpio"; 248724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c2>; 249724ba675SRob Herring pinctrl-1 = <&pinctrl_i2c2_gpio>; 250724ba675SRob Herring scl-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>; 251724ba675SRob Herring sda-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>; 252724ba675SRob Herring status = "okay"; 253724ba675SRob Herring}; 254724ba675SRob Herring 255724ba675SRob Herring&iomuxc { 256724ba675SRob Herring pinctrl-names = "default"; 257724ba675SRob Herring pinctrl-0 = <&pinctrl_hog>; 258724ba675SRob Herring 259724ba675SRob Herring pinctrl_ecspi1: ecspi1grp { 260724ba675SRob Herring fsl,pins = < 261724ba675SRob Herring MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 262724ba675SRob Herring MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 263724ba675SRob Herring MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 264724ba675SRob Herring MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x100b1 /* Onboard Flash CS */ 265724ba675SRob Herring >; 266724ba675SRob Herring }; 267724ba675SRob Herring 268724ba675SRob Herring pinctrl_ecspi2: ecspi2 { 269724ba675SRob Herring fsl,pins = < 270724ba675SRob Herring MX6QDL_PAD_CSI0_DAT8__ECSPI2_SCLK 0x100b1 271724ba675SRob Herring MX6QDL_PAD_CSI0_DAT9__ECSPI2_MOSI 0x100b1 272724ba675SRob Herring MX6QDL_PAD_CSI0_DAT10__ECSPI2_MISO 0x100b1 273724ba675SRob Herring MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x100b1 /* FPGA_SPI_CS0 */ 274724ba675SRob Herring MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x100b1 /* FPGA_SPI_CS1 */ 275724ba675SRob Herring MX6QDL_PAD_CSI0_PIXCLK__GPIO5_IO18 0x100b1 /* HD1_SPI_CS */ 276724ba675SRob Herring MX6QDL_PAD_CSI0_VSYNC__GPIO5_IO21 0x1b088 /* FPGA_RESET */ 277724ba675SRob Herring MX6QDL_PAD_GPIO_3__XTALOSC_REF_CLK_24M 0x10 /* FPGA 24MHZ */ 278724ba675SRob Herring MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x1b088 /* FPGA_IRQ_0 */ 279724ba675SRob Herring MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b088 /* FPGA_IRQ_1 */ 280724ba675SRob Herring >; 281724ba675SRob Herring }; 282724ba675SRob Herring 283724ba675SRob Herring pinctrl_enet: enet { 284724ba675SRob Herring fsl,pins = < 285724ba675SRob Herring MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 286724ba675SRob Herring MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 287724ba675SRob Herring MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0 288724ba675SRob Herring MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0 289724ba675SRob Herring MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0 290724ba675SRob Herring MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0 291724ba675SRob Herring MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0 292724ba675SRob Herring MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0 293724ba675SRob Herring MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0 294724ba675SRob Herring MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0 295724ba675SRob Herring MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0 296724ba675SRob Herring MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0 297724ba675SRob Herring MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 298724ba675SRob Herring MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 299724ba675SRob Herring MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 300724ba675SRob Herring MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b088 301724ba675SRob Herring MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b088 /* ETH_PHY_RESET */ 302724ba675SRob Herring MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 303724ba675SRob Herring >; 304724ba675SRob Herring }; 305724ba675SRob Herring 306724ba675SRob Herring pinctrl_flexcan1: flexcan1grp { 307724ba675SRob Herring fsl,pins = < 308724ba675SRob Herring MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b088 309724ba675SRob Herring MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b088 310724ba675SRob Herring MX6QDL_PAD_DISP0_DAT0__GPIO4_IO21 0x1b088 /* EN_CAN_1 */ 311724ba675SRob Herring >; 312724ba675SRob Herring }; 313724ba675SRob Herring 314724ba675SRob Herring pinctrl_flexcan2: flexcan2grp { 315724ba675SRob Herring fsl,pins = < 316724ba675SRob Herring MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b088 317724ba675SRob Herring MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b088 318724ba675SRob Herring MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x1b088 /* EN_CAN_2 */ 319724ba675SRob Herring >; 320724ba675SRob Herring }; 321724ba675SRob Herring 322724ba675SRob Herring pinctrl_hog: hoggrp { 323724ba675SRob Herring fsl,pins = < 324724ba675SRob Herring /* Onboard */ 325724ba675SRob Herring MX6QDL_PAD_SD4_DAT3__GPIO2_IO11 0x1b088 /* USB_HUB_RESET */ 326724ba675SRob Herring MX6QDL_PAD_DISP0_DAT23__GPIO5_IO17 0x1b088 /* SEL_DC_USB */ 327724ba675SRob Herring MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x1b088 /* EN_USB_5V */ 328724ba675SRob Herring MX6QDL_PAD_DISP0_DAT14__GPIO5_IO08 0x1b088 /* JTAG_FPGA_TMS */ 329724ba675SRob Herring MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11 0x1b088 /* JTAG_FPGA_TCK */ 330724ba675SRob Herring MX6QDL_PAD_DISP0_DAT18__GPIO5_IO12 0x1b088 /* JTAG_FPGA_TDO */ 331724ba675SRob Herring MX6QDL_PAD_DISP0_DAT22__GPIO5_IO16 0x1b088 /* JTAG_FPGA_TDI */ 332724ba675SRob Herring MX6QDL_PAD_DISP0_DAT20__GPIO5_IO14 0x1b088 /* GYRO_INT */ 333724ba675SRob Herring MX6QDL_PAD_EIM_OE__GPIO2_IO25 0x1b088 /* MODBUS_FAULT */ 334724ba675SRob Herring MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x1b088 /* BUS_DIR/JP_SD_BOOT */ 335724ba675SRob Herring MX6QDL_PAD_EIM_A19__GPIO2_IO19 0x1b088 /* EN_MODBUS_24V */ 336724ba675SRob Herring MX6QDL_PAD_DISP0_DAT5__GPIO4_IO26 0x1b088 /* EN_MODBUS_3V */ 337724ba675SRob Herring MX6QDL_PAD_EIM_A17__GPIO2_IO21 0x1b088 /* I210_RESET */ 338724ba675SRob Herring MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x1b088 /* EN_RTC_PWR */ 339724ba675SRob Herring MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1b088 /* REVSTRAP1 */ 340724ba675SRob Herring 341724ba675SRob Herring /* Offboard */ 342724ba675SRob Herring MX6QDL_PAD_DISP0_DAT7__GPIO4_IO28 0x1b088 /* LCD_D09 */ 343724ba675SRob Herring MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b088 /* HD1_IRQ */ 344724ba675SRob Herring MX6QDL_PAD_DISP0_DAT10__GPIO4_IO31 0x1b088 /* LCD_D10 */ 345724ba675SRob Herring MX6QDL_PAD_DISP0_DAT11__GPIO5_IO05 0x1b088 /* LCD_D11 */ 346724ba675SRob Herring MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x1b088 /* BUS_BHE */ 347724ba675SRob Herring MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x1b088 /* BUS_ALE */ 348724ba675SRob Herring MX6QDL_PAD_EIM_CS0__GPIO2_IO23 0x1b088 /* BUS_CS */ 349724ba675SRob Herring MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x1b088 /* DIO_20 */ 350724ba675SRob Herring MX6QDL_PAD_EIM_WAIT__GPIO5_IO00 0x1b088 /* BUS_WAIT */ 351724ba675SRob Herring MX6QDL_PAD_EIM_DA0__GPIO3_IO00 0x1b088 /* MUX_AD_00 */ 352724ba675SRob Herring MX6QDL_PAD_EIM_DA1__GPIO3_IO01 0x1b088 /* MUX_AD_01 */ 353724ba675SRob Herring MX6QDL_PAD_EIM_DA2__GPIO3_IO02 0x1b088 /* MUX_AD_02 */ 354724ba675SRob Herring MX6QDL_PAD_EIM_DA3__GPIO3_IO03 0x1b088 /* MUX_AD_03 */ 355724ba675SRob Herring MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x1b088 /* MUX_AD_04 */ 356724ba675SRob Herring MX6QDL_PAD_EIM_DA5__GPIO3_IO05 0x1b088 /* MUX_AD_05 */ 357724ba675SRob Herring MX6QDL_PAD_EIM_DA6__GPIO3_IO06 0x1b088 /* MUX_AD_06 */ 358724ba675SRob Herring MX6QDL_PAD_EIM_DA7__GPIO3_IO07 0x1b088 /* MUX_AD_07 */ 359724ba675SRob Herring MX6QDL_PAD_EIM_DA8__GPIO3_IO08 0x1b088 /* MUX_AD_08 */ 360724ba675SRob Herring MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x1b088 /* MUX_AD_09 */ 361724ba675SRob Herring MX6QDL_PAD_EIM_DA10__GPIO3_IO10 0x1b088 /* MUX_AD_10 */ 362724ba675SRob Herring MX6QDL_PAD_EIM_DA11__GPIO3_IO11 0x1b088 /* MUX_AD_11 */ 363724ba675SRob Herring MX6QDL_PAD_EIM_DA12__GPIO3_IO12 0x1b088 /* MUX_AD_12 */ 364724ba675SRob Herring MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x1b088 /* MUX_AD_13 */ 365724ba675SRob Herring MX6QDL_PAD_EIM_DA14__GPIO3_IO14 0x1b088 /* MUX_AD_14 */ 366724ba675SRob Herring MX6QDL_PAD_EIM_DA15__GPIO3_IO15 0x1b088 /* MUX_AD_15 */ 367724ba675SRob Herring 368724ba675SRob Herring /* Strapping only */ 369724ba675SRob Herring MX6QDL_PAD_EIM_A18__GPIO2_IO20 0x1b088 370724ba675SRob Herring MX6QDL_PAD_EIM_A21__GPIO2_IO17 0x1b088 371724ba675SRob Herring >; 372724ba675SRob Herring }; 373724ba675SRob Herring 374724ba675SRob Herring pinctrl_i2c1: i2c1grp { 375724ba675SRob Herring fsl,pins = < 376724ba675SRob Herring MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 377724ba675SRob Herring MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 378724ba675SRob Herring >; 379724ba675SRob Herring }; 380724ba675SRob Herring 381724ba675SRob Herring pinctrl_i2c1_gpio: i2c1gpiogrp { 382724ba675SRob Herring fsl,pins = < 383724ba675SRob Herring MX6QDL_PAD_EIM_D21__GPIO3_IO21 0x4001b8b1 384724ba675SRob Herring MX6QDL_PAD_EIM_D28__GPIO3_IO28 0x4001b8b1 385724ba675SRob Herring >; 386724ba675SRob Herring }; 387724ba675SRob Herring 388724ba675SRob Herring pinctrl_i2c2: i2c2grp { 389724ba675SRob Herring fsl,pins = < 390724ba675SRob Herring MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 391724ba675SRob Herring MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 392724ba675SRob Herring >; 393724ba675SRob Herring }; 394724ba675SRob Herring 395724ba675SRob Herring pinctrl_i2c2_gpio: i2c2gpiogrp { 396724ba675SRob Herring fsl,pins = < 397724ba675SRob Herring MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x4001b8b1 398724ba675SRob Herring MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x4001b8b1 399724ba675SRob Herring >; 400724ba675SRob Herring }; 401724ba675SRob Herring 402724ba675SRob Herring pinctrl_leds1: leds1grp { 403724ba675SRob Herring fsl,pins = < 404724ba675SRob Herring MX6QDL_PAD_EIM_D27__GPIO3_IO27 0x1b088 /* GREEN_LED */ 405724ba675SRob Herring MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b088 /* RED_LED */ 406724ba675SRob Herring MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b088 /* YEL_LED */ 407724ba675SRob Herring MX6QDL_PAD_DISP0_DAT4__GPIO4_IO25 0x1b088 /* IMX6_BLUE_LED */ 408724ba675SRob Herring >; 409724ba675SRob Herring }; 410724ba675SRob Herring 411724ba675SRob Herring pinctrl_sgtl5000: sgtl5000grp { 412724ba675SRob Herring fsl,pins = < 413724ba675SRob Herring MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0 414724ba675SRob Herring MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0 415724ba675SRob Herring MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0 416724ba675SRob Herring MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0 417724ba675SRob Herring MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 /* Audio CLK */ 418724ba675SRob Herring >; 419724ba675SRob Herring }; 420724ba675SRob Herring 421724ba675SRob Herring pinctrl_uart1: uart1grp { 422724ba675SRob Herring fsl,pins = < 423724ba675SRob Herring MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b088 424724ba675SRob Herring MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b088 425724ba675SRob Herring >; 426724ba675SRob Herring }; 427724ba675SRob Herring 428724ba675SRob Herring pinctrl_uart2: uart2grp { 429724ba675SRob Herring fsl,pins = < 430724ba675SRob Herring MX6QDL_PAD_GPIO_7__UART2_TX_DATA 0x1b088 431724ba675SRob Herring MX6QDL_PAD_GPIO_8__UART2_RX_DATA 0x1b088 432724ba675SRob Herring MX6QDL_PAD_SD4_DAT6__UART2_CTS_B 0x1b088 433724ba675SRob Herring MX6QDL_PAD_SD4_DAT5__UART2_RTS_B 0x1b088 434724ba675SRob Herring >; 435724ba675SRob Herring }; 436724ba675SRob Herring 437724ba675SRob Herring pinctrl_uart3: uart3grp { 438724ba675SRob Herring fsl,pins = < 439724ba675SRob Herring MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b088 440724ba675SRob Herring MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b088 441724ba675SRob Herring MX6QDL_PAD_EIM_D30__UART3_RTS_B 0x1b088 442724ba675SRob Herring MX6QDL_PAD_EIM_D31__UART3_CTS_B 0x1b088 443724ba675SRob Herring >; 444724ba675SRob Herring }; 445724ba675SRob Herring 446724ba675SRob Herring pinctrl_uart4: uart4grp { 447724ba675SRob Herring fsl,pins = < 448724ba675SRob Herring MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b088 449724ba675SRob Herring MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b088 450724ba675SRob Herring >; 451724ba675SRob Herring }; 452724ba675SRob Herring 453724ba675SRob Herring pinctrl_uart5: uart5grp { 454724ba675SRob Herring fsl,pins = < 455724ba675SRob Herring MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b088 456724ba675SRob Herring MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b088 457724ba675SRob Herring >; 458724ba675SRob Herring }; 459724ba675SRob Herring 460724ba675SRob Herring pinctrl_usbotg: usbotggrp { 461724ba675SRob Herring fsl,pins = < 462724ba675SRob Herring MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 463724ba675SRob Herring >; 464724ba675SRob Herring }; 465724ba675SRob Herring 466724ba675SRob Herring pinctrl_usdhc1: usdhc1grp { 467724ba675SRob Herring fsl,pins = < 468724ba675SRob Herring MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059 469724ba675SRob Herring MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059 470724ba675SRob Herring MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059 471724ba675SRob Herring MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059 472724ba675SRob Herring MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059 473724ba675SRob Herring MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059 474724ba675SRob Herring MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x17059 /* WIFI IRQ */ 475724ba675SRob Herring >; 476724ba675SRob Herring }; 477724ba675SRob Herring 478724ba675SRob Herring pinctrl_usdhc2: usdhc2grp { 479724ba675SRob Herring fsl,pins = < 480724ba675SRob Herring MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 481724ba675SRob Herring MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059 482724ba675SRob Herring MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059 483724ba675SRob Herring MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 484724ba675SRob Herring MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 485724ba675SRob Herring MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059 486724ba675SRob Herring MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x1b088 /* EN_SD_POWER */ 487724ba675SRob Herring >; 488724ba675SRob Herring }; 489724ba675SRob Herring 490724ba675SRob Herring pinctrl_usdhc3: usdhc3grp { 491724ba675SRob Herring fsl,pins = < 492724ba675SRob Herring MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 493724ba675SRob Herring MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 494724ba675SRob Herring MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 495724ba675SRob Herring MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 496724ba675SRob Herring MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 497724ba675SRob Herring MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 498724ba675SRob Herring >; 499724ba675SRob Herring }; 500724ba675SRob Herring}; 501724ba675SRob Herring 502724ba675SRob Herring&pcie { 503724ba675SRob Herring status = "okay"; 504724ba675SRob Herring}; 505724ba675SRob Herring 506724ba675SRob Herring&snvs_rtc { 507724ba675SRob Herring status = "disabled"; 508724ba675SRob Herring}; 509724ba675SRob Herring 510724ba675SRob Herring&ssi1 { 511724ba675SRob Herring status = "okay"; 512724ba675SRob Herring}; 513724ba675SRob Herring 514724ba675SRob Herring&uart1 { 515724ba675SRob Herring pinctrl-names = "default"; 516724ba675SRob Herring pinctrl-0 = <&pinctrl_uart1>; 517724ba675SRob Herring status = "okay"; 518724ba675SRob Herring}; 519724ba675SRob Herring 520724ba675SRob Herring&uart2 { 521724ba675SRob Herring pinctrl-names = "default"; 522724ba675SRob Herring pinctrl-0 = <&pinctrl_uart2>; 523724ba675SRob Herring uart-has-rtscts; 524724ba675SRob Herring status = "okay"; 525724ba675SRob Herring}; 526724ba675SRob Herring 527724ba675SRob Herring&uart3 { 528724ba675SRob Herring pinctrl-names = "default"; 529724ba675SRob Herring pinctrl-0 = <&pinctrl_uart3>; 530724ba675SRob Herring status = "okay"; 531724ba675SRob Herring}; 532724ba675SRob Herring 533724ba675SRob Herring&uart4 { 534724ba675SRob Herring pinctrl-names = "default"; 535724ba675SRob Herring pinctrl-0 = <&pinctrl_uart4>; 536724ba675SRob Herring status = "okay"; 537724ba675SRob Herring}; 538724ba675SRob Herring 539724ba675SRob Herring&uart5 { 540724ba675SRob Herring pinctrl-names = "default"; 541724ba675SRob Herring pinctrl-0 = <&pinctrl_uart5>; 542724ba675SRob Herring status = "okay"; 543724ba675SRob Herring}; 544724ba675SRob Herring 545724ba675SRob Herring&usbh1 { 546724ba675SRob Herring status = "okay"; 547724ba675SRob Herring}; 548724ba675SRob Herring 549724ba675SRob Herring&usbotg { 550724ba675SRob Herring vbus-supply = <®_usb_otg_vbus>; 551724ba675SRob Herring pinctrl-names = "default"; 552724ba675SRob Herring pinctrl-0 = <&pinctrl_usbotg>; 553724ba675SRob Herring disable-over-current; 554724ba675SRob Herring status = "okay"; 555724ba675SRob Herring}; 556724ba675SRob Herring 557724ba675SRob Herring/* WIFI */ 558724ba675SRob Herring&usdhc1 { 559724ba675SRob Herring pinctrl-names = "default"; 560724ba675SRob Herring pinctrl-0 = <&pinctrl_usdhc1>; 561724ba675SRob Herring vmmc-supply = <®_wlan_vmmc>; 562724ba675SRob Herring bus-width = <4>; 563724ba675SRob Herring non-removable; 564724ba675SRob Herring #address-cells = <1>; 565724ba675SRob Herring #size-cells = <0>; 566724ba675SRob Herring status = "okay"; 567724ba675SRob Herring 568724ba675SRob Herring wlcore: wlcore@2 { 569724ba675SRob Herring compatible = "ti,wl1271"; 570724ba675SRob Herring reg = <2>; 571724ba675SRob Herring interrupt-parent = <&gpio1>; 572724ba675SRob Herring interrupts = <26 IRQ_TYPE_LEVEL_HIGH>; 573724ba675SRob Herring ref-clock-frequency = <38400000>; 574724ba675SRob Herring }; 575724ba675SRob Herring}; 576724ba675SRob Herring 577724ba675SRob Herring/* SD */ 578724ba675SRob Herring&usdhc2 { 579724ba675SRob Herring pinctrl-names = "default"; 580724ba675SRob Herring pinctrl-0 = <&pinctrl_usdhc2>; 581724ba675SRob Herring vmmc-supply = <®_3p3v>; 582724ba675SRob Herring bus-width = <4>; 583724ba675SRob Herring fsl,wp-controller; 584724ba675SRob Herring status = "okay"; 585724ba675SRob Herring}; 586724ba675SRob Herring 587724ba675SRob Herring/* eMMC */ 588724ba675SRob Herring&usdhc3 { 589724ba675SRob Herring pinctrl-names = "default"; 590724ba675SRob Herring pinctrl-0 = <&pinctrl_usdhc3>; 591724ba675SRob Herring vmmc-supply = <®_3p3v>; 592724ba675SRob Herring bus-width = <4>; 593724ba675SRob Herring non-removable; 594724ba675SRob Herring status = "okay"; 595724ba675SRob Herring}; 596