1*724ba675SRob Herring/* 2*724ba675SRob Herring * Copyright 2016 Gateworks Corporation 3*724ba675SRob Herring * 4*724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms 5*724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual 6*724ba675SRob Herring * licensing only applies to this file, and not this project as a 7*724ba675SRob Herring * whole. 8*724ba675SRob Herring * 9*724ba675SRob Herring * a) This file is free software; you can redistribute it and/or 10*724ba675SRob Herring * modify it under the terms of the GNU General Public License as 11*724ba675SRob Herring * published by the Free Software Foundation; either version 2 of 12*724ba675SRob Herring * the License, or (at your option) any later version. 13*724ba675SRob Herring * 14*724ba675SRob Herring * This file is distributed in the hope that it will be useful, 15*724ba675SRob Herring * but WITHOUT ANY WARRANTY; without even the implied warranty of 16*724ba675SRob Herring * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*724ba675SRob Herring * GNU General Public License for more details. 18*724ba675SRob Herring * 19*724ba675SRob Herring * You should have received a copy of the GNU General Public 20*724ba675SRob Herring * License along with this file; if not, write to the Free 21*724ba675SRob Herring * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 22*724ba675SRob Herring * MA 02110-1301 USA 23*724ba675SRob Herring * 24*724ba675SRob Herring * Or, alternatively, 25*724ba675SRob Herring * 26*724ba675SRob Herring * b) Permission is hereby granted, free of charge, to any person 27*724ba675SRob Herring * obtaining a copy of this software and associated documentation 28*724ba675SRob Herring * files (the "Software"), to deal in the Software without 29*724ba675SRob Herring * restriction, including without limitation the rights to use, 30*724ba675SRob Herring * copy, modify, merge, publish, distribute, sublicense, and/or 31*724ba675SRob Herring * sell copies of the Software, and to permit persons to whom the 32*724ba675SRob Herring * Software is furnished to do so, subject to the following 33*724ba675SRob Herring * conditions: 34*724ba675SRob Herring * 35*724ba675SRob Herring * The above copyright notice and this permission notice shall be 36*724ba675SRob Herring * included in all copies or substantial portions of the Software. 37*724ba675SRob Herring * 38*724ba675SRob Herring * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 39*724ba675SRob Herring * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 40*724ba675SRob Herring * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 41*724ba675SRob Herring * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 42*724ba675SRob Herring * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 43*724ba675SRob Herring * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 44*724ba675SRob Herring * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45*724ba675SRob Herring * OTHER DEALINGS IN THE SOFTWARE. 46*724ba675SRob Herring */ 47*724ba675SRob Herring 48*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 49*724ba675SRob Herring#include <dt-bindings/input/linux-event-codes.h> 50*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 51*724ba675SRob Herring 52*724ba675SRob Herring/ { 53*724ba675SRob Herring /* these are used by bootloader for disabling nodes */ 54*724ba675SRob Herring aliases { 55*724ba675SRob Herring led0 = &led0; 56*724ba675SRob Herring led1 = &led1; 57*724ba675SRob Herring nand = &gpmi; 58*724ba675SRob Herring usb0 = &usbh1; 59*724ba675SRob Herring usb1 = &usbotg; 60*724ba675SRob Herring }; 61*724ba675SRob Herring 62*724ba675SRob Herring chosen { 63*724ba675SRob Herring stdout-path = &uart2; 64*724ba675SRob Herring }; 65*724ba675SRob Herring 66*724ba675SRob Herring gpio-keys { 67*724ba675SRob Herring compatible = "gpio-keys"; 68*724ba675SRob Herring 69*724ba675SRob Herring user-pb { 70*724ba675SRob Herring label = "user_pb"; 71*724ba675SRob Herring gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; 72*724ba675SRob Herring linux,code = <BTN_0>; 73*724ba675SRob Herring }; 74*724ba675SRob Herring 75*724ba675SRob Herring user-pb1x { 76*724ba675SRob Herring label = "user_pb1x"; 77*724ba675SRob Herring linux,code = <BTN_1>; 78*724ba675SRob Herring interrupt-parent = <&gsc>; 79*724ba675SRob Herring interrupts = <0>; 80*724ba675SRob Herring }; 81*724ba675SRob Herring 82*724ba675SRob Herring key-erased { 83*724ba675SRob Herring label = "key-erased"; 84*724ba675SRob Herring linux,code = <BTN_2>; 85*724ba675SRob Herring interrupt-parent = <&gsc>; 86*724ba675SRob Herring interrupts = <1>; 87*724ba675SRob Herring }; 88*724ba675SRob Herring 89*724ba675SRob Herring eeprom-wp { 90*724ba675SRob Herring label = "eeprom_wp"; 91*724ba675SRob Herring linux,code = <BTN_3>; 92*724ba675SRob Herring interrupt-parent = <&gsc>; 93*724ba675SRob Herring interrupts = <2>; 94*724ba675SRob Herring }; 95*724ba675SRob Herring 96*724ba675SRob Herring tamper { 97*724ba675SRob Herring label = "tamper"; 98*724ba675SRob Herring linux,code = <BTN_4>; 99*724ba675SRob Herring interrupt-parent = <&gsc>; 100*724ba675SRob Herring interrupts = <5>; 101*724ba675SRob Herring }; 102*724ba675SRob Herring 103*724ba675SRob Herring switch-hold { 104*724ba675SRob Herring label = "switch_hold"; 105*724ba675SRob Herring linux,code = <BTN_5>; 106*724ba675SRob Herring interrupt-parent = <&gsc>; 107*724ba675SRob Herring interrupts = <7>; 108*724ba675SRob Herring }; 109*724ba675SRob Herring }; 110*724ba675SRob Herring 111*724ba675SRob Herring leds { 112*724ba675SRob Herring compatible = "gpio-leds"; 113*724ba675SRob Herring pinctrl-names = "default"; 114*724ba675SRob Herring pinctrl-0 = <&pinctrl_gpio_leds>; 115*724ba675SRob Herring 116*724ba675SRob Herring led0: led-user1 { 117*724ba675SRob Herring label = "user1"; 118*724ba675SRob Herring gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ 119*724ba675SRob Herring default-state = "on"; 120*724ba675SRob Herring linux,default-trigger = "heartbeat"; 121*724ba675SRob Herring }; 122*724ba675SRob Herring 123*724ba675SRob Herring led1: led-user2 { 124*724ba675SRob Herring label = "user2"; 125*724ba675SRob Herring gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ 126*724ba675SRob Herring default-state = "off"; 127*724ba675SRob Herring }; 128*724ba675SRob Herring }; 129*724ba675SRob Herring 130*724ba675SRob Herring memory@10000000 { 131*724ba675SRob Herring device_type = "memory"; 132*724ba675SRob Herring reg = <0x10000000 0x20000000>; 133*724ba675SRob Herring }; 134*724ba675SRob Herring 135*724ba675SRob Herring pps { 136*724ba675SRob Herring compatible = "pps-gpio"; 137*724ba675SRob Herring pinctrl-names = "default"; 138*724ba675SRob Herring pinctrl-0 = <&pinctrl_pps>; 139*724ba675SRob Herring gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; 140*724ba675SRob Herring status = "okay"; 141*724ba675SRob Herring }; 142*724ba675SRob Herring 143*724ba675SRob Herring reg_5p0v: regulator-5p0v { 144*724ba675SRob Herring compatible = "regulator-fixed"; 145*724ba675SRob Herring regulator-name = "5P0V"; 146*724ba675SRob Herring regulator-min-microvolt = <5000000>; 147*724ba675SRob Herring regulator-max-microvolt = <5000000>; 148*724ba675SRob Herring regulator-always-on; 149*724ba675SRob Herring }; 150*724ba675SRob Herring 151*724ba675SRob Herring reg_usb_otg_vbus: regulator-usb-otg-vbus { 152*724ba675SRob Herring compatible = "regulator-fixed"; 153*724ba675SRob Herring regulator-name = "usb_otg_vbus"; 154*724ba675SRob Herring regulator-min-microvolt = <5000000>; 155*724ba675SRob Herring regulator-max-microvolt = <5000000>; 156*724ba675SRob Herring gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; 157*724ba675SRob Herring enable-active-high; 158*724ba675SRob Herring }; 159*724ba675SRob Herring}; 160*724ba675SRob Herring 161*724ba675SRob Herring&gpmi { 162*724ba675SRob Herring pinctrl-names = "default"; 163*724ba675SRob Herring pinctrl-0 = <&pinctrl_gpmi_nand>; 164*724ba675SRob Herring status = "okay"; 165*724ba675SRob Herring}; 166*724ba675SRob Herring 167*724ba675SRob Herring&hdmi { 168*724ba675SRob Herring pinctrl-names = "default"; 169*724ba675SRob Herring pinctrl-0 = <&pinctrl_hdmi>; 170*724ba675SRob Herring ddc-i2c-bus = <&i2c3>; 171*724ba675SRob Herring status = "okay"; 172*724ba675SRob Herring}; 173*724ba675SRob Herring 174*724ba675SRob Herring&i2c1 { 175*724ba675SRob Herring clock-frequency = <100000>; 176*724ba675SRob Herring pinctrl-names = "default"; 177*724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c1>; 178*724ba675SRob Herring status = "okay"; 179*724ba675SRob Herring 180*724ba675SRob Herring gsc: gsc@20 { 181*724ba675SRob Herring compatible = "gw,gsc"; 182*724ba675SRob Herring reg = <0x20>; 183*724ba675SRob Herring interrupt-parent = <&gpio1>; 184*724ba675SRob Herring interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 185*724ba675SRob Herring interrupt-controller; 186*724ba675SRob Herring #interrupt-cells = <1>; 187*724ba675SRob Herring #size-cells = <0>; 188*724ba675SRob Herring 189*724ba675SRob Herring adc { 190*724ba675SRob Herring compatible = "gw,gsc-adc"; 191*724ba675SRob Herring #address-cells = <1>; 192*724ba675SRob Herring #size-cells = <0>; 193*724ba675SRob Herring 194*724ba675SRob Herring channel@0 { 195*724ba675SRob Herring gw,mode = <0>; 196*724ba675SRob Herring reg = <0x00>; 197*724ba675SRob Herring label = "temp"; 198*724ba675SRob Herring }; 199*724ba675SRob Herring 200*724ba675SRob Herring channel@2 { 201*724ba675SRob Herring gw,mode = <1>; 202*724ba675SRob Herring reg = <0x02>; 203*724ba675SRob Herring label = "vdd_vin"; 204*724ba675SRob Herring }; 205*724ba675SRob Herring 206*724ba675SRob Herring channel@5 { 207*724ba675SRob Herring gw,mode = <1>; 208*724ba675SRob Herring reg = <0x05>; 209*724ba675SRob Herring label = "vdd_3p3"; 210*724ba675SRob Herring }; 211*724ba675SRob Herring 212*724ba675SRob Herring channel@8 { 213*724ba675SRob Herring gw,mode = <1>; 214*724ba675SRob Herring reg = <0x08>; 215*724ba675SRob Herring label = "vdd_bat"; 216*724ba675SRob Herring }; 217*724ba675SRob Herring 218*724ba675SRob Herring channel@b { 219*724ba675SRob Herring gw,mode = <1>; 220*724ba675SRob Herring reg = <0x0b>; 221*724ba675SRob Herring label = "vdd_5p0"; 222*724ba675SRob Herring }; 223*724ba675SRob Herring 224*724ba675SRob Herring channel@e { 225*724ba675SRob Herring gw,mode = <1>; 226*724ba675SRob Herring reg = <0xe>; 227*724ba675SRob Herring label = "vdd_arm"; 228*724ba675SRob Herring }; 229*724ba675SRob Herring 230*724ba675SRob Herring channel@11 { 231*724ba675SRob Herring gw,mode = <1>; 232*724ba675SRob Herring reg = <0x11>; 233*724ba675SRob Herring label = "vdd_soc"; 234*724ba675SRob Herring }; 235*724ba675SRob Herring 236*724ba675SRob Herring channel@14 { 237*724ba675SRob Herring gw,mode = <1>; 238*724ba675SRob Herring reg = <0x14>; 239*724ba675SRob Herring label = "vdd_3p0"; 240*724ba675SRob Herring }; 241*724ba675SRob Herring 242*724ba675SRob Herring channel@17 { 243*724ba675SRob Herring gw,mode = <1>; 244*724ba675SRob Herring reg = <0x17>; 245*724ba675SRob Herring label = "vdd_1p5"; 246*724ba675SRob Herring }; 247*724ba675SRob Herring 248*724ba675SRob Herring channel@1d { 249*724ba675SRob Herring gw,mode = <1>; 250*724ba675SRob Herring reg = <0x1d>; 251*724ba675SRob Herring label = "vdd_1p8a"; 252*724ba675SRob Herring }; 253*724ba675SRob Herring 254*724ba675SRob Herring channel@20 { 255*724ba675SRob Herring gw,mode = <1>; 256*724ba675SRob Herring reg = <0x20>; 257*724ba675SRob Herring label = "vdd_1p0b"; 258*724ba675SRob Herring }; 259*724ba675SRob Herring 260*724ba675SRob Herring channel@26 { 261*724ba675SRob Herring gw,mode = <1>; 262*724ba675SRob Herring reg = <0x26>; 263*724ba675SRob Herring label = "vdd_an1"; 264*724ba675SRob Herring }; 265*724ba675SRob Herring }; 266*724ba675SRob Herring }; 267*724ba675SRob Herring 268*724ba675SRob Herring gsc_gpio: gpio@23 { 269*724ba675SRob Herring compatible = "nxp,pca9555"; 270*724ba675SRob Herring reg = <0x23>; 271*724ba675SRob Herring gpio-controller; 272*724ba675SRob Herring #gpio-cells = <2>; 273*724ba675SRob Herring interrupt-parent = <&gsc>; 274*724ba675SRob Herring interrupts = <4>; 275*724ba675SRob Herring }; 276*724ba675SRob Herring 277*724ba675SRob Herring eeprom1: eeprom@50 { 278*724ba675SRob Herring compatible = "atmel,24c02"; 279*724ba675SRob Herring reg = <0x50>; 280*724ba675SRob Herring pagesize = <16>; 281*724ba675SRob Herring }; 282*724ba675SRob Herring 283*724ba675SRob Herring eeprom2: eeprom@51 { 284*724ba675SRob Herring compatible = "atmel,24c02"; 285*724ba675SRob Herring reg = <0x51>; 286*724ba675SRob Herring pagesize = <16>; 287*724ba675SRob Herring }; 288*724ba675SRob Herring 289*724ba675SRob Herring eeprom3: eeprom@52 { 290*724ba675SRob Herring compatible = "atmel,24c02"; 291*724ba675SRob Herring reg = <0x52>; 292*724ba675SRob Herring pagesize = <16>; 293*724ba675SRob Herring }; 294*724ba675SRob Herring 295*724ba675SRob Herring eeprom4: eeprom@53 { 296*724ba675SRob Herring compatible = "atmel,24c02"; 297*724ba675SRob Herring reg = <0x53>; 298*724ba675SRob Herring pagesize = <16>; 299*724ba675SRob Herring }; 300*724ba675SRob Herring 301*724ba675SRob Herring rtc: ds1672@68 { 302*724ba675SRob Herring compatible = "dallas,ds1672"; 303*724ba675SRob Herring reg = <0x68>; 304*724ba675SRob Herring }; 305*724ba675SRob Herring}; 306*724ba675SRob Herring 307*724ba675SRob Herring&i2c2 { 308*724ba675SRob Herring clock-frequency = <100000>; 309*724ba675SRob Herring pinctrl-names = "default"; 310*724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c2>; 311*724ba675SRob Herring status = "okay"; 312*724ba675SRob Herring 313*724ba675SRob Herring magn@1c { 314*724ba675SRob Herring compatible = "st,lsm9ds1-magn"; 315*724ba675SRob Herring reg = <0x1c>; 316*724ba675SRob Herring pinctrl-names = "default"; 317*724ba675SRob Herring pinctrl-0 = <&pinctrl_mag>; 318*724ba675SRob Herring interrupt-parent = <&gpio1>; 319*724ba675SRob Herring interrupts = <2 IRQ_TYPE_EDGE_RISING>; 320*724ba675SRob Herring }; 321*724ba675SRob Herring 322*724ba675SRob Herring imu@6a { 323*724ba675SRob Herring compatible = "st,lsm9ds1-imu"; 324*724ba675SRob Herring reg = <0x6a>; 325*724ba675SRob Herring st,drdy-int-pin = <1>; 326*724ba675SRob Herring pinctrl-names = "default"; 327*724ba675SRob Herring pinctrl-0 = <&pinctrl_imu>; 328*724ba675SRob Herring interrupt-parent = <&gpio7>; 329*724ba675SRob Herring interrupts = <13 IRQ_TYPE_LEVEL_HIGH>; 330*724ba675SRob Herring }; 331*724ba675SRob Herring 332*724ba675SRob Herring ltc3676: pmic@3c { 333*724ba675SRob Herring compatible = "lltc,ltc3676"; 334*724ba675SRob Herring reg = <0x3c>; 335*724ba675SRob Herring pinctrl-names = "default"; 336*724ba675SRob Herring pinctrl-0 = <&pinctrl_pmic>; 337*724ba675SRob Herring interrupt-parent = <&gpio1>; 338*724ba675SRob Herring interrupts = <8 IRQ_TYPE_EDGE_FALLING>; 339*724ba675SRob Herring 340*724ba675SRob Herring regulators { 341*724ba675SRob Herring /* VDD_SOC (1+R1/R2 = 1.635) */ 342*724ba675SRob Herring reg_vdd_soc: sw1 { 343*724ba675SRob Herring regulator-name = "vddsoc"; 344*724ba675SRob Herring regulator-min-microvolt = <674400>; 345*724ba675SRob Herring regulator-max-microvolt = <1308000>; 346*724ba675SRob Herring lltc,fb-voltage-divider = <127000 200000>; 347*724ba675SRob Herring regulator-ramp-delay = <7000>; 348*724ba675SRob Herring regulator-boot-on; 349*724ba675SRob Herring regulator-always-on; 350*724ba675SRob Herring }; 351*724ba675SRob Herring 352*724ba675SRob Herring /* VDD_DDR (1+R1/R2 = 2.105) */ 353*724ba675SRob Herring reg_vdd_ddr: sw2 { 354*724ba675SRob Herring regulator-name = "vddddr"; 355*724ba675SRob Herring regulator-min-microvolt = <868310>; 356*724ba675SRob Herring regulator-max-microvolt = <1684000>; 357*724ba675SRob Herring lltc,fb-voltage-divider = <221000 200000>; 358*724ba675SRob Herring regulator-ramp-delay = <7000>; 359*724ba675SRob Herring regulator-boot-on; 360*724ba675SRob Herring regulator-always-on; 361*724ba675SRob Herring }; 362*724ba675SRob Herring 363*724ba675SRob Herring /* VDD_ARM (1+R1/R2 = 1.635) */ 364*724ba675SRob Herring reg_vdd_arm: sw3 { 365*724ba675SRob Herring regulator-name = "vddarm"; 366*724ba675SRob Herring regulator-min-microvolt = <674400>; 367*724ba675SRob Herring regulator-max-microvolt = <1308000>; 368*724ba675SRob Herring lltc,fb-voltage-divider = <127000 200000>; 369*724ba675SRob Herring regulator-ramp-delay = <7000>; 370*724ba675SRob Herring regulator-boot-on; 371*724ba675SRob Herring regulator-always-on; 372*724ba675SRob Herring }; 373*724ba675SRob Herring 374*724ba675SRob Herring /* VDD_3P3 (1+R1/R2 = 1.281) */ 375*724ba675SRob Herring reg_3p3v: sw4 { 376*724ba675SRob Herring regulator-name = "vdd3p3"; 377*724ba675SRob Herring regulator-min-microvolt = <1880000>; 378*724ba675SRob Herring regulator-max-microvolt = <3647000>; 379*724ba675SRob Herring lltc,fb-voltage-divider = <200000 56200>; 380*724ba675SRob Herring regulator-ramp-delay = <7000>; 381*724ba675SRob Herring regulator-boot-on; 382*724ba675SRob Herring regulator-always-on; 383*724ba675SRob Herring }; 384*724ba675SRob Herring 385*724ba675SRob Herring /* VDD_1P8a (1+R1/R2 = 2.505): Analog Video Decoder */ 386*724ba675SRob Herring reg_1p8a: ldo2 { 387*724ba675SRob Herring regulator-name = "vdd1p8a"; 388*724ba675SRob Herring regulator-min-microvolt = <1816125>; 389*724ba675SRob Herring regulator-max-microvolt = <1816125>; 390*724ba675SRob Herring lltc,fb-voltage-divider = <301000 200000>; 391*724ba675SRob Herring regulator-boot-on; 392*724ba675SRob Herring regulator-always-on; 393*724ba675SRob Herring }; 394*724ba675SRob Herring 395*724ba675SRob Herring /* VDD_1P8b: microSD VDD_1P8 */ 396*724ba675SRob Herring reg_1p8b: ldo3 { 397*724ba675SRob Herring regulator-name = "vdd1p8b"; 398*724ba675SRob Herring regulator-min-microvolt = <1800000>; 399*724ba675SRob Herring regulator-max-microvolt = <1800000>; 400*724ba675SRob Herring regulator-boot-on; 401*724ba675SRob Herring }; 402*724ba675SRob Herring 403*724ba675SRob Herring /* VDD_HIGH (1+R1/R2 = 4.17) */ 404*724ba675SRob Herring reg_3p0v: ldo4 { 405*724ba675SRob Herring regulator-name = "vdd3p0"; 406*724ba675SRob Herring regulator-min-microvolt = <3023250>; 407*724ba675SRob Herring regulator-max-microvolt = <3023250>; 408*724ba675SRob Herring lltc,fb-voltage-divider = <634000 200000>; 409*724ba675SRob Herring regulator-boot-on; 410*724ba675SRob Herring regulator-always-on; 411*724ba675SRob Herring }; 412*724ba675SRob Herring }; 413*724ba675SRob Herring }; 414*724ba675SRob Herring}; 415*724ba675SRob Herring 416*724ba675SRob Herring&i2c3 { 417*724ba675SRob Herring clock-frequency = <100000>; 418*724ba675SRob Herring pinctrl-names = "default"; 419*724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c3>; 420*724ba675SRob Herring status = "okay"; 421*724ba675SRob Herring 422*724ba675SRob Herring adv7180: camera@20 { 423*724ba675SRob Herring compatible = "adi,adv7180"; 424*724ba675SRob Herring pinctrl-names = "default"; 425*724ba675SRob Herring pinctrl-0 = <&pinctrl_adv7180>; 426*724ba675SRob Herring reg = <0x20>; 427*724ba675SRob Herring powerdown-gpios = <&gpio5 20 GPIO_ACTIVE_LOW>; 428*724ba675SRob Herring interrupt-parent = <&gpio5>; 429*724ba675SRob Herring interrupts = <23 IRQ_TYPE_LEVEL_LOW>; 430*724ba675SRob Herring 431*724ba675SRob Herring port { 432*724ba675SRob Herring adv7180_to_ipu1_csi0_mux: endpoint { 433*724ba675SRob Herring remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>; 434*724ba675SRob Herring bus-width = <8>; 435*724ba675SRob Herring }; 436*724ba675SRob Herring }; 437*724ba675SRob Herring }; 438*724ba675SRob Herring}; 439*724ba675SRob Herring 440*724ba675SRob Herring&ipu1_csi0_from_ipu1_csi0_mux { 441*724ba675SRob Herring bus-width = <8>; 442*724ba675SRob Herring}; 443*724ba675SRob Herring 444*724ba675SRob Herring&ipu1_csi0_mux_from_parallel_sensor { 445*724ba675SRob Herring remote-endpoint = <&adv7180_to_ipu1_csi0_mux>; 446*724ba675SRob Herring bus-width = <8>; 447*724ba675SRob Herring}; 448*724ba675SRob Herring 449*724ba675SRob Herring&ipu1_csi0 { 450*724ba675SRob Herring pinctrl-names = "default"; 451*724ba675SRob Herring pinctrl-0 = <&pinctrl_ipu1_csi0>; 452*724ba675SRob Herring}; 453*724ba675SRob Herring 454*724ba675SRob Herring&pcie { 455*724ba675SRob Herring pinctrl-names = "default"; 456*724ba675SRob Herring pinctrl-0 = <&pinctrl_pcie>; 457*724ba675SRob Herring reset-gpio = <&gpio1 0 GPIO_ACTIVE_LOW>; 458*724ba675SRob Herring status = "okay"; 459*724ba675SRob Herring}; 460*724ba675SRob Herring 461*724ba675SRob Herring&pwm2 { 462*724ba675SRob Herring pinctrl-names = "default"; 463*724ba675SRob Herring pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */ 464*724ba675SRob Herring status = "disabled"; 465*724ba675SRob Herring}; 466*724ba675SRob Herring 467*724ba675SRob Herring&pwm3 { 468*724ba675SRob Herring pinctrl-names = "default"; 469*724ba675SRob Herring pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */ 470*724ba675SRob Herring status = "disabled"; 471*724ba675SRob Herring}; 472*724ba675SRob Herring 473*724ba675SRob Herring&pwm4 { 474*724ba675SRob Herring pinctrl-names = "default"; 475*724ba675SRob Herring pinctrl-0 = <&pinctrl_pwm4>; /* MX6_DIO3 */ 476*724ba675SRob Herring status = "disabled"; 477*724ba675SRob Herring}; 478*724ba675SRob Herring 479*724ba675SRob Herring&uart2 { 480*724ba675SRob Herring pinctrl-names = "default"; 481*724ba675SRob Herring pinctrl-0 = <&pinctrl_uart2>; 482*724ba675SRob Herring status = "okay"; 483*724ba675SRob Herring}; 484*724ba675SRob Herring 485*724ba675SRob Herring&uart3 { 486*724ba675SRob Herring pinctrl-names = "default"; 487*724ba675SRob Herring pinctrl-0 = <&pinctrl_uart3>; 488*724ba675SRob Herring status = "okay"; 489*724ba675SRob Herring}; 490*724ba675SRob Herring 491*724ba675SRob Herring&uart4 { 492*724ba675SRob Herring pinctrl-names = "default"; 493*724ba675SRob Herring pinctrl-0 = <&pinctrl_uart4>; 494*724ba675SRob Herring status = "okay"; 495*724ba675SRob Herring}; 496*724ba675SRob Herring 497*724ba675SRob Herring&uart5 { 498*724ba675SRob Herring pinctrl-names = "default"; 499*724ba675SRob Herring pinctrl-0 = <&pinctrl_uart5>; 500*724ba675SRob Herring status = "okay"; 501*724ba675SRob Herring}; 502*724ba675SRob Herring 503*724ba675SRob Herring&usbh1 { 504*724ba675SRob Herring status = "okay"; 505*724ba675SRob Herring}; 506*724ba675SRob Herring 507*724ba675SRob Herring&usbotg { 508*724ba675SRob Herring vbus-supply = <®_usb_otg_vbus>; 509*724ba675SRob Herring pinctrl-names = "default"; 510*724ba675SRob Herring pinctrl-0 = <&pinctrl_usbotg>; 511*724ba675SRob Herring disable-over-current; 512*724ba675SRob Herring status = "okay"; 513*724ba675SRob Herring}; 514*724ba675SRob Herring 515*724ba675SRob Herring&usdhc3 { 516*724ba675SRob Herring pinctrl-names = "default", "state_100mhz", "state_200mhz"; 517*724ba675SRob Herring pinctrl-0 = <&pinctrl_usdhc3>; 518*724ba675SRob Herring pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 519*724ba675SRob Herring pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 520*724ba675SRob Herring cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; 521*724ba675SRob Herring status = "okay"; 522*724ba675SRob Herring}; 523*724ba675SRob Herring 524*724ba675SRob Herring&wdog1 { 525*724ba675SRob Herring pinctrl-names = "default"; 526*724ba675SRob Herring pinctrl-0 = <&pinctrl_wdog>; 527*724ba675SRob Herring fsl,ext-reset-output; 528*724ba675SRob Herring}; 529*724ba675SRob Herring 530*724ba675SRob Herring&iomuxc { 531*724ba675SRob Herring pinctrl_adv7180: adv7180grp { 532*724ba675SRob Herring fsl,pins = < 533*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT5__GPIO5_IO23 0x0001b0b0 534*724ba675SRob Herring MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x4001b0b0 535*724ba675SRob Herring >; 536*724ba675SRob Herring }; 537*724ba675SRob Herring 538*724ba675SRob Herring pinctrl_gpmi_nand: gpminandgrp { 539*724ba675SRob Herring fsl,pins = < 540*724ba675SRob Herring MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 541*724ba675SRob Herring MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 542*724ba675SRob Herring MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 543*724ba675SRob Herring MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 544*724ba675SRob Herring MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 545*724ba675SRob Herring MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 546*724ba675SRob Herring MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 547*724ba675SRob Herring MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 548*724ba675SRob Herring MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 549*724ba675SRob Herring MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 550*724ba675SRob Herring MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 551*724ba675SRob Herring MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 552*724ba675SRob Herring MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 553*724ba675SRob Herring MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 554*724ba675SRob Herring MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 555*724ba675SRob Herring >; 556*724ba675SRob Herring }; 557*724ba675SRob Herring 558*724ba675SRob Herring pinctrl_hdmi: hdmigrp { 559*724ba675SRob Herring fsl,pins = < 560*724ba675SRob Herring MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE 0x1f8b0 561*724ba675SRob Herring >; 562*724ba675SRob Herring }; 563*724ba675SRob Herring 564*724ba675SRob Herring pinctrl_i2c1: i2c1grp { 565*724ba675SRob Herring fsl,pins = < 566*724ba675SRob Herring MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 567*724ba675SRob Herring MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 568*724ba675SRob Herring MX6QDL_PAD_GPIO_4__GPIO1_IO04 0xb0b1 569*724ba675SRob Herring >; 570*724ba675SRob Herring }; 571*724ba675SRob Herring 572*724ba675SRob Herring pinctrl_i2c2: i2c2grp { 573*724ba675SRob Herring fsl,pins = < 574*724ba675SRob Herring MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 575*724ba675SRob Herring MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 576*724ba675SRob Herring >; 577*724ba675SRob Herring }; 578*724ba675SRob Herring 579*724ba675SRob Herring pinctrl_i2c3: i2c3grp { 580*724ba675SRob Herring fsl,pins = < 581*724ba675SRob Herring MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 582*724ba675SRob Herring MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 583*724ba675SRob Herring >; 584*724ba675SRob Herring }; 585*724ba675SRob Herring 586*724ba675SRob Herring pinctrl_imu: imugrp { 587*724ba675SRob Herring fsl,pins = < 588*724ba675SRob Herring MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 589*724ba675SRob Herring >; 590*724ba675SRob Herring }; 591*724ba675SRob Herring 592*724ba675SRob Herring pinctrl_ipu1_csi0: ipu1csi0grp { 593*724ba675SRob Herring fsl,pins = < 594*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x1b0b0 595*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13 0x1b0b0 596*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14 0x1b0b0 597*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15 0x1b0b0 598*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16 0x1b0b0 599*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17 0x1b0b0 600*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18 0x1b0b0 601*724ba675SRob Herring MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19 0x1b0b0 602*724ba675SRob Herring MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC 0x1b0b0 603*724ba675SRob Herring MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC 0x1b0b0 604*724ba675SRob Herring MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0x1b0b0 605*724ba675SRob Herring >; 606*724ba675SRob Herring }; 607*724ba675SRob Herring 608*724ba675SRob Herring pinctrl_gpio_leds: gpioledsgrp { 609*724ba675SRob Herring fsl,pins = < 610*724ba675SRob Herring MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0 611*724ba675SRob Herring MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x1b0b0 612*724ba675SRob Herring >; 613*724ba675SRob Herring }; 614*724ba675SRob Herring 615*724ba675SRob Herring pinctrl_mag: maggrp { 616*724ba675SRob Herring fsl,pins = < 617*724ba675SRob Herring MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0 618*724ba675SRob Herring >; 619*724ba675SRob Herring }; 620*724ba675SRob Herring 621*724ba675SRob Herring pinctrl_pcie: pciegrp { 622*724ba675SRob Herring fsl,pins = < 623*724ba675SRob Herring MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 624*724ba675SRob Herring MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x4001b0b0 /* PCIESKT_WDIS# */ 625*724ba675SRob Herring >; 626*724ba675SRob Herring }; 627*724ba675SRob Herring 628*724ba675SRob Herring pinctrl_pmic: pmicgrp { 629*724ba675SRob Herring fsl,pins = < 630*724ba675SRob Herring MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0001b0b0 /* PMIC_IRQ# */ 631*724ba675SRob Herring >; 632*724ba675SRob Herring }; 633*724ba675SRob Herring 634*724ba675SRob Herring pinctrl_pps: ppsgrp { 635*724ba675SRob Herring fsl,pins = < 636*724ba675SRob Herring MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1 637*724ba675SRob Herring >; 638*724ba675SRob Herring }; 639*724ba675SRob Herring 640*724ba675SRob Herring pinctrl_pwm2: pwm2grp { 641*724ba675SRob Herring fsl,pins = < 642*724ba675SRob Herring MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1 643*724ba675SRob Herring >; 644*724ba675SRob Herring }; 645*724ba675SRob Herring 646*724ba675SRob Herring pinctrl_pwm3: pwm3grp { 647*724ba675SRob Herring fsl,pins = < 648*724ba675SRob Herring MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1 649*724ba675SRob Herring >; 650*724ba675SRob Herring }; 651*724ba675SRob Herring 652*724ba675SRob Herring pinctrl_pwm4: pwm4grp { 653*724ba675SRob Herring fsl,pins = < 654*724ba675SRob Herring MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 655*724ba675SRob Herring >; 656*724ba675SRob Herring }; 657*724ba675SRob Herring 658*724ba675SRob Herring pinctrl_uart2: uart2grp { 659*724ba675SRob Herring fsl,pins = < 660*724ba675SRob Herring MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1 661*724ba675SRob Herring MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1 662*724ba675SRob Herring >; 663*724ba675SRob Herring }; 664*724ba675SRob Herring 665*724ba675SRob Herring pinctrl_uart3: uart3grp { 666*724ba675SRob Herring fsl,pins = < 667*724ba675SRob Herring MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 668*724ba675SRob Herring MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 669*724ba675SRob Herring >; 670*724ba675SRob Herring }; 671*724ba675SRob Herring 672*724ba675SRob Herring pinctrl_uart4: uart4grp { 673*724ba675SRob Herring fsl,pins = < 674*724ba675SRob Herring MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 675*724ba675SRob Herring MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 676*724ba675SRob Herring >; 677*724ba675SRob Herring }; 678*724ba675SRob Herring 679*724ba675SRob Herring pinctrl_uart5: uart5grp { 680*724ba675SRob Herring fsl,pins = < 681*724ba675SRob Herring MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1 682*724ba675SRob Herring MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1 683*724ba675SRob Herring >; 684*724ba675SRob Herring }; 685*724ba675SRob Herring 686*724ba675SRob Herring pinctrl_usbotg: usbotggrp { 687*724ba675SRob Herring fsl,pins = < 688*724ba675SRob Herring MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 689*724ba675SRob Herring MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* OTG_PWR_EN */ 690*724ba675SRob Herring MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x17059 691*724ba675SRob Herring >; 692*724ba675SRob Herring }; 693*724ba675SRob Herring 694*724ba675SRob Herring pinctrl_usdhc3: usdhc3grp { 695*724ba675SRob Herring fsl,pins = < 696*724ba675SRob Herring MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 697*724ba675SRob Herring MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 698*724ba675SRob Herring MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 699*724ba675SRob Herring MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 700*724ba675SRob Herring MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 701*724ba675SRob Herring MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 702*724ba675SRob Herring MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x17059 /* CD */ 703*724ba675SRob Herring MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x17059 704*724ba675SRob Herring >; 705*724ba675SRob Herring }; 706*724ba675SRob Herring 707*724ba675SRob Herring pinctrl_usdhc3_100mhz: usdhc3grp100mhz { 708*724ba675SRob Herring fsl,pins = < 709*724ba675SRob Herring MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170b9 710*724ba675SRob Herring MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b9 711*724ba675SRob Herring MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170b9 712*724ba675SRob Herring MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170b9 713*724ba675SRob Herring MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170b9 714*724ba675SRob Herring MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170b9 715*724ba675SRob Herring MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x170b9 /* CD */ 716*724ba675SRob Herring MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x170b9 717*724ba675SRob Herring >; 718*724ba675SRob Herring }; 719*724ba675SRob Herring 720*724ba675SRob Herring pinctrl_usdhc3_200mhz: usdhc3grp200mhz { 721*724ba675SRob Herring fsl,pins = < 722*724ba675SRob Herring MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170f9 723*724ba675SRob Herring MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100f9 724*724ba675SRob Herring MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170f9 725*724ba675SRob Herring MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170f9 726*724ba675SRob Herring MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170f9 727*724ba675SRob Herring MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170f9 728*724ba675SRob Herring MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x170f9 /* CD */ 729*724ba675SRob Herring MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x170f9 730*724ba675SRob Herring >; 731*724ba675SRob Herring }; 732*724ba675SRob Herring 733*724ba675SRob Herring pinctrl_wdog: wdoggrp { 734*724ba675SRob Herring fsl,pins = < 735*724ba675SRob Herring MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0 736*724ba675SRob Herring >; 737*724ba675SRob Herring }; 738*724ba675SRob Herring}; 739