1*f126890aSEmmanuel Vadot/* 2*f126890aSEmmanuel Vadot * Copyright (C) 2015 Rabeeh Khoury <rabeeh@solid-run.com> 3*f126890aSEmmanuel Vadot * 4*f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms 5*f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual 6*f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a 7*f126890aSEmmanuel Vadot * whole. 8*f126890aSEmmanuel Vadot * 9*f126890aSEmmanuel Vadot * a) This file is free software; you can redistribute it and/or 10*f126890aSEmmanuel Vadot * modify it under the terms of the GNU General Public License 11*f126890aSEmmanuel Vadot * version 2 as published by the Free Software Foundation. 12*f126890aSEmmanuel Vadot * 13*f126890aSEmmanuel Vadot * This file is distributed in the hope that it will be useful, 14*f126890aSEmmanuel Vadot * but WITHOUT ANY WARRANTY; without even the implied warranty of 15*f126890aSEmmanuel Vadot * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*f126890aSEmmanuel Vadot * GNU General Public License for more details. 17*f126890aSEmmanuel Vadot * 18*f126890aSEmmanuel Vadot * Or, alternatively, 19*f126890aSEmmanuel Vadot * 20*f126890aSEmmanuel Vadot * b) Permission is hereby granted, free of charge, to any person 21*f126890aSEmmanuel Vadot * obtaining a copy of this software and associated documentation 22*f126890aSEmmanuel Vadot * files (the "Software"), to deal in the Software without 23*f126890aSEmmanuel Vadot * restriction, including without limitation the rights to use, 24*f126890aSEmmanuel Vadot * copy, modify, merge, publish, distribute, sublicense, and/or 25*f126890aSEmmanuel Vadot * sell copies of the Software, and to permit persons to whom the 26*f126890aSEmmanuel Vadot * Software is furnished to do so, subject to the following 27*f126890aSEmmanuel Vadot * conditions: 28*f126890aSEmmanuel Vadot * 29*f126890aSEmmanuel Vadot * The above copyright notice and this permission notice shall be 30*f126890aSEmmanuel Vadot * included in all copies or substantial portions of the Software. 31*f126890aSEmmanuel Vadot * 32*f126890aSEmmanuel Vadot * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33*f126890aSEmmanuel Vadot * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 34*f126890aSEmmanuel Vadot * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35*f126890aSEmmanuel Vadot * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 36*f126890aSEmmanuel Vadot * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 37*f126890aSEmmanuel Vadot * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 38*f126890aSEmmanuel Vadot * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 39*f126890aSEmmanuel Vadot * OTHER DEALINGS IN THE SOFTWARE. 40*f126890aSEmmanuel Vadot */ 41*f126890aSEmmanuel Vadot#include <dt-bindings/sound/fsl-imx-audmux.h> 42*f126890aSEmmanuel Vadot 43*f126890aSEmmanuel Vadot/ { 44*f126890aSEmmanuel Vadot /* Will be filled by the bootloader */ 45*f126890aSEmmanuel Vadot memory@10000000 { 46*f126890aSEmmanuel Vadot device_type = "memory"; 47*f126890aSEmmanuel Vadot reg = <0x10000000 0>; 48*f126890aSEmmanuel Vadot }; 49*f126890aSEmmanuel Vadot 50*f126890aSEmmanuel Vadot chosen { 51*f126890aSEmmanuel Vadot stdout-path = &uart1; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot ir_recv: ir-receiver { 55*f126890aSEmmanuel Vadot compatible = "gpio-ir-receiver"; 56*f126890aSEmmanuel Vadot gpios = <&gpio7 9 GPIO_ACTIVE_LOW>; 57*f126890aSEmmanuel Vadot pinctrl-names = "default"; 58*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_gpio7_9>; 59*f126890aSEmmanuel Vadot linux,rc-map-name = "rc-rc6-mce"; 60*f126890aSEmmanuel Vadot }; 61*f126890aSEmmanuel Vadot 62*f126890aSEmmanuel Vadot v_3v2: regulator-v-3v2 { 63*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 64*f126890aSEmmanuel Vadot regulator-always-on; 65*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 66*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 67*f126890aSEmmanuel Vadot regulator-name = "v_3v2"; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot 70*f126890aSEmmanuel Vadot v_5v0: regulator-v-5v0 { 71*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 72*f126890aSEmmanuel Vadot regulator-always-on; 73*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 74*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 75*f126890aSEmmanuel Vadot regulator-name = "v_5v0"; 76*f126890aSEmmanuel Vadot }; 77*f126890aSEmmanuel Vadot 78*f126890aSEmmanuel Vadot vcc_1p8: regulator-vcc-1p8 { 79*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 80*f126890aSEmmanuel Vadot regulator-always-on; 81*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 82*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 83*f126890aSEmmanuel Vadot regulator-name = "vcc_1p8"; 84*f126890aSEmmanuel Vadot vin-supply = <&v_3v2>; 85*f126890aSEmmanuel Vadot }; 86*f126890aSEmmanuel Vadot 87*f126890aSEmmanuel Vadot v_sd: regulator-v-sd { 88*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 89*f126890aSEmmanuel Vadot gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>; 90*f126890aSEmmanuel Vadot pinctrl-names = "default"; 91*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_vmmc>; 92*f126890aSEmmanuel Vadot regulator-boot-on; 93*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 94*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 95*f126890aSEmmanuel Vadot regulator-name = "v_sd"; 96*f126890aSEmmanuel Vadot startup-delay-us = <1000>; 97*f126890aSEmmanuel Vadot vin-supply = <&v_3v2>; 98*f126890aSEmmanuel Vadot }; 99*f126890aSEmmanuel Vadot 100*f126890aSEmmanuel Vadot v_usb1: regulator-v-usb1 { 101*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 102*f126890aSEmmanuel Vadot enable-active-high; 103*f126890aSEmmanuel Vadot gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; 104*f126890aSEmmanuel Vadot pinctrl-names = "default"; 105*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_usbotg_vbus>; 106*f126890aSEmmanuel Vadot regulator-always-on; 107*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 108*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 109*f126890aSEmmanuel Vadot regulator-name = "v_usb1"; 110*f126890aSEmmanuel Vadot vin-supply = <&v_5v0>; 111*f126890aSEmmanuel Vadot }; 112*f126890aSEmmanuel Vadot 113*f126890aSEmmanuel Vadot v_usb2: regulator-v-usb2 { 114*f126890aSEmmanuel Vadot /* USB hub port 1 */ 115*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 116*f126890aSEmmanuel Vadot enable-active-high; 117*f126890aSEmmanuel Vadot gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; 118*f126890aSEmmanuel Vadot pinctrl-names = "default"; 119*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_usbh1_vbus>; 120*f126890aSEmmanuel Vadot regulator-always-on; 121*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 122*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 123*f126890aSEmmanuel Vadot regulator-name = "v_usb2"; 124*f126890aSEmmanuel Vadot vin-supply = <&v_5v0>; 125*f126890aSEmmanuel Vadot }; 126*f126890aSEmmanuel Vadot 127*f126890aSEmmanuel Vadot v_usb3: regulator-v-usb3 { 128*f126890aSEmmanuel Vadot /* USB hub port 3 */ 129*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 130*f126890aSEmmanuel Vadot enable-active-high; 131*f126890aSEmmanuel Vadot gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>; 132*f126890aSEmmanuel Vadot pinctrl-names = "default"; 133*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_usbh2_vbus>; 134*f126890aSEmmanuel Vadot regulator-always-on; 135*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 136*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 137*f126890aSEmmanuel Vadot regulator-name = "v_usb3"; 138*f126890aSEmmanuel Vadot vin-supply = <&v_5v0>; 139*f126890aSEmmanuel Vadot }; 140*f126890aSEmmanuel Vadot 141*f126890aSEmmanuel Vadot v_usb4: regulator-v-usb4 { 142*f126890aSEmmanuel Vadot /* USB hub port 4 */ 143*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 144*f126890aSEmmanuel Vadot enable-active-high; 145*f126890aSEmmanuel Vadot gpio = <&gpio7 10 GPIO_ACTIVE_HIGH>; 146*f126890aSEmmanuel Vadot pinctrl-names = "default"; 147*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_usbh3_vbus>; 148*f126890aSEmmanuel Vadot regulator-always-on; 149*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 150*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 151*f126890aSEmmanuel Vadot regulator-name = "v_usb4"; 152*f126890aSEmmanuel Vadot vin-supply = <&v_5v0>; 153*f126890aSEmmanuel Vadot }; 154*f126890aSEmmanuel Vadot 155*f126890aSEmmanuel Vadot audio: sound-sgtl5000 { 156*f126890aSEmmanuel Vadot compatible = "simple-audio-card"; 157*f126890aSEmmanuel Vadot simple-audio-card,name = "On-board Codec"; 158*f126890aSEmmanuel Vadot simple-audio-card,format = "i2s"; 159*f126890aSEmmanuel Vadot simple-audio-card,bitclock-master = <&sound_codec>; 160*f126890aSEmmanuel Vadot simple-audio-card,frame-master = <&sound_codec>; 161*f126890aSEmmanuel Vadot simple-audio-card,widgets = 162*f126890aSEmmanuel Vadot "Microphone", "Mic Jack", 163*f126890aSEmmanuel Vadot "Headphone", "Headphone Jack"; 164*f126890aSEmmanuel Vadot simple-audio-card,routing = 165*f126890aSEmmanuel Vadot "MIC_IN", "Mic Jack", 166*f126890aSEmmanuel Vadot "Mic Jack", "Mic Bias", 167*f126890aSEmmanuel Vadot "Headphone Jack", "HP_OUT"; 168*f126890aSEmmanuel Vadot 169*f126890aSEmmanuel Vadot sound_cpu: simple-audio-card,cpu { 170*f126890aSEmmanuel Vadot sound-dai = <&ssi1>; 171*f126890aSEmmanuel Vadot }; 172*f126890aSEmmanuel Vadot 173*f126890aSEmmanuel Vadot sound_codec: simple-audio-card,codec { 174*f126890aSEmmanuel Vadot sound-dai = <&sgtl5000>; 175*f126890aSEmmanuel Vadot }; 176*f126890aSEmmanuel Vadot }; 177*f126890aSEmmanuel Vadot}; 178*f126890aSEmmanuel Vadot 179*f126890aSEmmanuel Vadot&audmux { 180*f126890aSEmmanuel Vadot status = "okay"; 181*f126890aSEmmanuel Vadot 182*f126890aSEmmanuel Vadot mux-ssi1 { 183*f126890aSEmmanuel Vadot fsl,audmux-port = <0>; 184*f126890aSEmmanuel Vadot fsl,port-config = < 185*f126890aSEmmanuel Vadot (IMX_AUDMUX_V2_PTCR_SYN | 186*f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_TFSEL(4) | 187*f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_TCSEL(4) | 188*f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_TFSDIR | 189*f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_TCLKDIR) 190*f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PDCR_RXDSEL(4) 191*f126890aSEmmanuel Vadot >; 192*f126890aSEmmanuel Vadot }; 193*f126890aSEmmanuel Vadot 194*f126890aSEmmanuel Vadot mux-pins5 { 195*f126890aSEmmanuel Vadot fsl,audmux-port = <4>; 196*f126890aSEmmanuel Vadot fsl,port-config = < 197*f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_SYN 198*f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PDCR_RXDSEL(0) 199*f126890aSEmmanuel Vadot >; 200*f126890aSEmmanuel Vadot }; 201*f126890aSEmmanuel Vadot}; 202*f126890aSEmmanuel Vadot 203*f126890aSEmmanuel Vadot&ecspi2 { 204*f126890aSEmmanuel Vadot pinctrl-names = "default"; 205*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_ecspi2>; 206*f126890aSEmmanuel Vadot cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 207*f126890aSEmmanuel Vadot status = "okay"; 208*f126890aSEmmanuel Vadot}; 209*f126890aSEmmanuel Vadot 210*f126890aSEmmanuel Vadot&hdmi { 211*f126890aSEmmanuel Vadot pinctrl-names = "default"; 212*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_hdmi>; 213*f126890aSEmmanuel Vadot ddc-i2c-bus = <&i2c2>; 214*f126890aSEmmanuel Vadot status = "okay"; 215*f126890aSEmmanuel Vadot}; 216*f126890aSEmmanuel Vadot 217*f126890aSEmmanuel Vadot&i2c1 { 218*f126890aSEmmanuel Vadot clock-frequency = <100000>; 219*f126890aSEmmanuel Vadot pinctrl-names = "default"; 220*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_i2c1>; 221*f126890aSEmmanuel Vadot status = "okay"; 222*f126890aSEmmanuel Vadot 223*f126890aSEmmanuel Vadot pcf8523: rtc@68 { 224*f126890aSEmmanuel Vadot compatible = "nxp,pcf8523"; 225*f126890aSEmmanuel Vadot reg = <0x68>; 226*f126890aSEmmanuel Vadot }; 227*f126890aSEmmanuel Vadot 228*f126890aSEmmanuel Vadot sgtl5000: codec@a { 229*f126890aSEmmanuel Vadot clocks = <&clks IMX6QDL_CLK_CKO>; 230*f126890aSEmmanuel Vadot compatible = "fsl,sgtl5000"; 231*f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 232*f126890aSEmmanuel Vadot pinctrl-names = "default"; 233*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_sgtl5000>; 234*f126890aSEmmanuel Vadot reg = <0x0a>; 235*f126890aSEmmanuel Vadot VDDA-supply = <&v_3v2>; 236*f126890aSEmmanuel Vadot VDDD-supply = <&vcc_1p8>; 237*f126890aSEmmanuel Vadot VDDIO-supply = <&v_3v2>; 238*f126890aSEmmanuel Vadot }; 239*f126890aSEmmanuel Vadot}; 240*f126890aSEmmanuel Vadot 241*f126890aSEmmanuel Vadot&i2c2 { 242*f126890aSEmmanuel Vadot clock-frequency = <100000>; 243*f126890aSEmmanuel Vadot pinctrl-names = "default"; 244*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_i2c2>; 245*f126890aSEmmanuel Vadot status = "okay"; 246*f126890aSEmmanuel Vadot}; 247*f126890aSEmmanuel Vadot 248*f126890aSEmmanuel Vadot&i2c3 { 249*f126890aSEmmanuel Vadot clock-frequency = <100000>; 250*f126890aSEmmanuel Vadot pinctrl-names = "default"; 251*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_i2c3>; 252*f126890aSEmmanuel Vadot status = "okay"; 253*f126890aSEmmanuel Vadot}; 254*f126890aSEmmanuel Vadot 255*f126890aSEmmanuel Vadot&iomuxc { 256*f126890aSEmmanuel Vadot pinctrl-names = "default"; 257*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hog>; 258*f126890aSEmmanuel Vadot 259*f126890aSEmmanuel Vadot hummingboard2 { 260*f126890aSEmmanuel Vadot pinctrl_hog: hoggrp { 261*f126890aSEmmanuel Vadot fsl,pins = < 262*f126890aSEmmanuel Vadot /* 263*f126890aSEmmanuel Vadot * 36 pin headers GPIO description. The pins 264*f126890aSEmmanuel Vadot * numbering as following - 265*f126890aSEmmanuel Vadot * 266*f126890aSEmmanuel Vadot * 3.2v 5v 74 75 267*f126890aSEmmanuel Vadot * 73 72 71 70 268*f126890aSEmmanuel Vadot * 69 68 67 66 269*f126890aSEmmanuel Vadot * 270*f126890aSEmmanuel Vadot * 77 78 79 76 271*f126890aSEmmanuel Vadot * 65 64 61 60 272*f126890aSEmmanuel Vadot * 53 52 51 50 273*f126890aSEmmanuel Vadot * 49 48 166 132 274*f126890aSEmmanuel Vadot * 95 94 90 91 275*f126890aSEmmanuel Vadot * GND 54 24 204 276*f126890aSEmmanuel Vadot * 277*f126890aSEmmanuel Vadot * The GPIO numbers can be extracted using 278*f126890aSEmmanuel Vadot * signal name from below. 279*f126890aSEmmanuel Vadot * Example - 280*f126890aSEmmanuel Vadot * MX6QDL_PAD_EIM_DA10__GPIO3_IO10 is 281*f126890aSEmmanuel Vadot * GPIO(3,10) which is (3-1)*32+10 = gpio 74 282*f126890aSEmmanuel Vadot * 283*f126890aSEmmanuel Vadot * i.e. The mapping of GPIO(X,Y) to Linux gpio 284*f126890aSEmmanuel Vadot * number is : gpio number = (X-1) * 32 + Y 285*f126890aSEmmanuel Vadot */ 286*f126890aSEmmanuel Vadot /* DI1_PIN15 */ 287*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA10__GPIO3_IO10 0x400130b1 288*f126890aSEmmanuel Vadot /* DI1_PIN02 */ 289*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA11__GPIO3_IO11 0x400130b1 290*f126890aSEmmanuel Vadot /* DISP1_DATA00 */ 291*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x400130b1 292*f126890aSEmmanuel Vadot /* DISP1_DATA01 */ 293*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA8__GPIO3_IO08 0x400130b1 294*f126890aSEmmanuel Vadot /* DISP1_DATA02 */ 295*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA7__GPIO3_IO07 0x400130b1 296*f126890aSEmmanuel Vadot /* DISP1_DATA03 */ 297*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA6__GPIO3_IO06 0x400130b1 298*f126890aSEmmanuel Vadot /* DISP1_DATA04 */ 299*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA5__GPIO3_IO05 0x400130b1 300*f126890aSEmmanuel Vadot /* DISP1_DATA05 */ 301*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x400130b1 302*f126890aSEmmanuel Vadot /* DISP1_DATA06 */ 303*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA3__GPIO3_IO03 0x400130b1 304*f126890aSEmmanuel Vadot /* DISP1_DATA07 */ 305*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA2__GPIO3_IO02 0x400130b1 306*f126890aSEmmanuel Vadot /* DI1_D0_CS */ 307*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x400130b1 308*f126890aSEmmanuel Vadot /* DI1_D1_CS */ 309*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA14__GPIO3_IO14 0x400130b1 310*f126890aSEmmanuel Vadot /* DI1_PIN01 */ 311*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA15__GPIO3_IO15 0x400130b1 312*f126890aSEmmanuel Vadot /* DI1_PIN03 */ 313*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA12__GPIO3_IO12 0x400130b1 314*f126890aSEmmanuel Vadot /* DISP1_DATA08 */ 315*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA1__GPIO3_IO01 0x400130b1 316*f126890aSEmmanuel Vadot /* DISP1_DATA09 */ 317*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_DA0__GPIO3_IO00 0x400130b1 318*f126890aSEmmanuel Vadot /* DISP1_DATA10 */ 319*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x400130b1 320*f126890aSEmmanuel Vadot /* DISP1_DATA11 */ 321*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x400130b1 322*f126890aSEmmanuel Vadot /* DISP1_DATA12 */ 323*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A17__GPIO2_IO21 0x400130b1 324*f126890aSEmmanuel Vadot /* DISP1_DATA13 */ 325*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A18__GPIO2_IO20 0x400130b1 326*f126890aSEmmanuel Vadot /* DISP1_DATA14 */ 327*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A19__GPIO2_IO19 0x400130b1 328*f126890aSEmmanuel Vadot /* DISP1_DATA15 */ 329*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A20__GPIO2_IO18 0x400130b1 330*f126890aSEmmanuel Vadot /* DISP1_DATA16 */ 331*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A21__GPIO2_IO17 0x400130b1 332*f126890aSEmmanuel Vadot /* DISP1_DATA17 */ 333*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A22__GPIO2_IO16 0x400130b1 334*f126890aSEmmanuel Vadot /* DISP1_DATA18 */ 335*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x400130b1 336*f126890aSEmmanuel Vadot /* DISP1_DATA19 */ 337*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x400130b1 338*f126890aSEmmanuel Vadot /* DISP1_DATA20 */ 339*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x400130b1 340*f126890aSEmmanuel Vadot /* DISP1_DATA21 */ 341*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x400130b1 342*f126890aSEmmanuel Vadot /* DISP1_DATA22 */ 343*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D26__GPIO3_IO26 0x400130b1 344*f126890aSEmmanuel Vadot /* DISP1_DATA23 */ 345*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D27__GPIO3_IO27 0x400130b1 346*f126890aSEmmanuel Vadot /* DI1_DISP_CLK */ 347*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x400130b1 348*f126890aSEmmanuel Vadot /* SPDIF_IN */ 349*f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_RX_ER__GPIO1_IO24 0x400130b1 350*f126890aSEmmanuel Vadot /* SPDIF_OUT */ 351*f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x400130b1 352*f126890aSEmmanuel Vadot 353*f126890aSEmmanuel Vadot /* MikroBUS GPIO pin number 10 */ 354*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x400130b1 355*f126890aSEmmanuel Vadot >; 356*f126890aSEmmanuel Vadot }; 357*f126890aSEmmanuel Vadot 358*f126890aSEmmanuel Vadot pinctrl_hummingboard2_ecspi2: hummingboard2-ecspi2grp { 359*f126890aSEmmanuel Vadot fsl,pins = < 360*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 361*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 362*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 363*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x000b1 /* CS */ 364*f126890aSEmmanuel Vadot >; 365*f126890aSEmmanuel Vadot }; 366*f126890aSEmmanuel Vadot 367*f126890aSEmmanuel Vadot pinctrl_hummingboard2_gpio7_9: hummingboard2-gpio7_9 { 368*f126890aSEmmanuel Vadot fsl,pins = < 369*f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CMD__GPIO7_IO09 0x80000000 370*f126890aSEmmanuel Vadot >; 371*f126890aSEmmanuel Vadot }; 372*f126890aSEmmanuel Vadot 373*f126890aSEmmanuel Vadot pinctrl_hummingboard2_hdmi: hummingboard2-hdmi { 374*f126890aSEmmanuel Vadot fsl,pins = < 375*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0 376*f126890aSEmmanuel Vadot >; 377*f126890aSEmmanuel Vadot }; 378*f126890aSEmmanuel Vadot 379*f126890aSEmmanuel Vadot pinctrl_hummingboard2_i2c1: hummingboard2-i2c1 { 380*f126890aSEmmanuel Vadot fsl,pins = < 381*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 382*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 383*f126890aSEmmanuel Vadot >; 384*f126890aSEmmanuel Vadot }; 385*f126890aSEmmanuel Vadot 386*f126890aSEmmanuel Vadot pinctrl_hummingboard2_i2c2: hummingboard2-i2c2 { 387*f126890aSEmmanuel Vadot fsl,pins = < 388*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 389*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 390*f126890aSEmmanuel Vadot >; 391*f126890aSEmmanuel Vadot }; 392*f126890aSEmmanuel Vadot 393*f126890aSEmmanuel Vadot pinctrl_hummingboard2_i2c3: hummingboard2-i2c3 { 394*f126890aSEmmanuel Vadot fsl,pins = < 395*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1 396*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D18__I2C3_SDA 0x4001b8b1 397*f126890aSEmmanuel Vadot >; 398*f126890aSEmmanuel Vadot }; 399*f126890aSEmmanuel Vadot 400*f126890aSEmmanuel Vadot pinctrl_hummingboard2_mipi: hummingboard2_mipi { 401*f126890aSEmmanuel Vadot fsl,pins = < 402*f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x4001b8b1 403*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x4001b8b1 404*f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CS2__CCM_CLKO2 0x130b0 405*f126890aSEmmanuel Vadot >; 406*f126890aSEmmanuel Vadot }; 407*f126890aSEmmanuel Vadot 408*f126890aSEmmanuel Vadot pinctrl_hummingboard2_pcie_reset: hummingboard2-pcie-reset { 409*f126890aSEmmanuel Vadot fsl,pins = < 410*f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT3__GPIO2_IO11 0x1b0b1 411*f126890aSEmmanuel Vadot >; 412*f126890aSEmmanuel Vadot }; 413*f126890aSEmmanuel Vadot 414*f126890aSEmmanuel Vadot pinctrl_hummingboard2_pwm1: pwm1grp { 415*f126890aSEmmanuel Vadot fsl,pins = < 416*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1 417*f126890aSEmmanuel Vadot >; 418*f126890aSEmmanuel Vadot }; 419*f126890aSEmmanuel Vadot 420*f126890aSEmmanuel Vadot pinctrl_hummingboard2_pwm3: pwm3grp { 421*f126890aSEmmanuel Vadot fsl,pins = < 422*f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1 423*f126890aSEmmanuel Vadot >; 424*f126890aSEmmanuel Vadot }; 425*f126890aSEmmanuel Vadot 426*f126890aSEmmanuel Vadot pinctrl_hummingboard2_sgtl5000: hummingboard2-sgtl5000 { 427*f126890aSEmmanuel Vadot fsl,pins = < 428*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0 429*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0 430*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x110b0 431*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0 432*f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_5__CCM_CLKO1 0x130b0 433*f126890aSEmmanuel Vadot >; 434*f126890aSEmmanuel Vadot }; 435*f126890aSEmmanuel Vadot 436*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usbh1_vbus: hummingboard2-usbh1-vbus { 437*f126890aSEmmanuel Vadot fsl,pins = <MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0>; 438*f126890aSEmmanuel Vadot }; 439*f126890aSEmmanuel Vadot 440*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usbh2_vbus: hummingboard2-usbh2-vbus { 441*f126890aSEmmanuel Vadot fsl,pins = <MX6QDL_PAD_SD4_DAT5__GPIO2_IO13 0x1b0b0>; 442*f126890aSEmmanuel Vadot }; 443*f126890aSEmmanuel Vadot 444*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usbh3_vbus: hummingboard2-usbh3-vbus { 445*f126890aSEmmanuel Vadot fsl,pins = <MX6QDL_PAD_SD4_CLK__GPIO7_IO10 0x1b0b0>; 446*f126890aSEmmanuel Vadot }; 447*f126890aSEmmanuel Vadot 448*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usbotg_id: hummingboard2-usbotg-id { 449*f126890aSEmmanuel Vadot /* 450*f126890aSEmmanuel Vadot * We want it pulled down for a fixed host connection. 451*f126890aSEmmanuel Vadot */ 452*f126890aSEmmanuel Vadot fsl,pins = <MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x13059>; 453*f126890aSEmmanuel Vadot }; 454*f126890aSEmmanuel Vadot 455*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usbotg_vbus: hummingboard2-usbotg-vbus { 456*f126890aSEmmanuel Vadot fsl,pins = <MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0>; 457*f126890aSEmmanuel Vadot }; 458*f126890aSEmmanuel Vadot 459*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usdhc2_aux: hummingboard2-usdhc2-aux { 460*f126890aSEmmanuel Vadot fsl,pins = < 461*f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1f071 462*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW1__SD2_VSELECT 0x1b071 463*f126890aSEmmanuel Vadot >; 464*f126890aSEmmanuel Vadot }; 465*f126890aSEmmanuel Vadot 466*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usdhc2: hummingboard2-usdhc2 { 467*f126890aSEmmanuel Vadot fsl,pins = < 468*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 469*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059 470*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059 471*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 472*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 473*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x13059 474*f126890aSEmmanuel Vadot >; 475*f126890aSEmmanuel Vadot }; 476*f126890aSEmmanuel Vadot 477*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usdhc2_100mhz: hummingboard2-usdhc2-100mhz { 478*f126890aSEmmanuel Vadot fsl,pins = < 479*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x170b9 480*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x100b9 481*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170b9 482*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170b9 483*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170b9 484*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x130b9 485*f126890aSEmmanuel Vadot >; 486*f126890aSEmmanuel Vadot }; 487*f126890aSEmmanuel Vadot 488*f126890aSEmmanuel Vadot pinctrl_hummingboard2_usdhc2_200mhz: hummingboard2-usdhc2-200mhz { 489*f126890aSEmmanuel Vadot fsl,pins = < 490*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x170f9 491*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x100f9 492*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170f9 493*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170f9 494*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170f9 495*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x130f9 496*f126890aSEmmanuel Vadot >; 497*f126890aSEmmanuel Vadot }; 498*f126890aSEmmanuel Vadot 499*f126890aSEmmanuel Vadot pinctrl_hummingboard2_vmmc: hummingboard2-vmmc { 500*f126890aSEmmanuel Vadot fsl,pins = < 501*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0 502*f126890aSEmmanuel Vadot >; 503*f126890aSEmmanuel Vadot }; 504*f126890aSEmmanuel Vadot 505*f126890aSEmmanuel Vadot pinctrl_hummingboard2_uart3: hummingboard2-uart3 { 506*f126890aSEmmanuel Vadot fsl,pins = < 507*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D25__UART3_TX_DATA 0x1b0b1 508*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D24__UART3_RX_DATA 0x40013000 509*f126890aSEmmanuel Vadot >; 510*f126890aSEmmanuel Vadot }; 511*f126890aSEmmanuel Vadot }; 512*f126890aSEmmanuel Vadot}; 513*f126890aSEmmanuel Vadot 514*f126890aSEmmanuel Vadot&pcie { 515*f126890aSEmmanuel Vadot pinctrl-names = "default"; 516*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_pcie_reset>; 517*f126890aSEmmanuel Vadot reset-gpio = <&gpio2 11 GPIO_ACTIVE_LOW>; 518*f126890aSEmmanuel Vadot status = "okay"; 519*f126890aSEmmanuel Vadot}; 520*f126890aSEmmanuel Vadot 521*f126890aSEmmanuel Vadot&pwm1 { 522*f126890aSEmmanuel Vadot pinctrl-names = "default"; 523*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_pwm1>; 524*f126890aSEmmanuel Vadot status = "okay"; 525*f126890aSEmmanuel Vadot}; 526*f126890aSEmmanuel Vadot 527*f126890aSEmmanuel Vadot&pwm3 { 528*f126890aSEmmanuel Vadot pinctrl-names = "default"; 529*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_pwm3>; 530*f126890aSEmmanuel Vadot status = "okay"; 531*f126890aSEmmanuel Vadot}; 532*f126890aSEmmanuel Vadot 533*f126890aSEmmanuel Vadot&ssi1 { 534*f126890aSEmmanuel Vadot status = "okay"; 535*f126890aSEmmanuel Vadot}; 536*f126890aSEmmanuel Vadot 537*f126890aSEmmanuel Vadot&usbh1 { 538*f126890aSEmmanuel Vadot disable-over-current; 539*f126890aSEmmanuel Vadot status = "okay"; 540*f126890aSEmmanuel Vadot}; 541*f126890aSEmmanuel Vadot 542*f126890aSEmmanuel Vadot&usbotg { 543*f126890aSEmmanuel Vadot disable-over-current; 544*f126890aSEmmanuel Vadot pinctrl-names = "default"; 545*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_usbotg_id>; 546*f126890aSEmmanuel Vadot vbus-supply = <&v_usb1>; 547*f126890aSEmmanuel Vadot status = "okay"; 548*f126890aSEmmanuel Vadot}; 549*f126890aSEmmanuel Vadot 550*f126890aSEmmanuel Vadot&usdhc2 { 551*f126890aSEmmanuel Vadot pinctrl-names = "default", "state_100mhz", "state_200mhz"; 552*f126890aSEmmanuel Vadot pinctrl-0 = < 553*f126890aSEmmanuel Vadot &pinctrl_hummingboard2_usdhc2_aux 554*f126890aSEmmanuel Vadot &pinctrl_hummingboard2_usdhc2 555*f126890aSEmmanuel Vadot >; 556*f126890aSEmmanuel Vadot pinctrl-1 = < 557*f126890aSEmmanuel Vadot &pinctrl_hummingboard2_usdhc2_aux 558*f126890aSEmmanuel Vadot &pinctrl_hummingboard2_usdhc2_100mhz 559*f126890aSEmmanuel Vadot >; 560*f126890aSEmmanuel Vadot pinctrl-2 = < 561*f126890aSEmmanuel Vadot &pinctrl_hummingboard2_usdhc2_aux 562*f126890aSEmmanuel Vadot &pinctrl_hummingboard2_usdhc2_200mhz 563*f126890aSEmmanuel Vadot >; 564*f126890aSEmmanuel Vadot vmmc-supply = <&v_sd>; 565*f126890aSEmmanuel Vadot cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 566*f126890aSEmmanuel Vadot status = "okay"; 567*f126890aSEmmanuel Vadot}; 568*f126890aSEmmanuel Vadot 569*f126890aSEmmanuel Vadot&uart3 { 570*f126890aSEmmanuel Vadot pinctrl-names = "default"; 571*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hummingboard2_uart3>; 572*f126890aSEmmanuel Vadot status = "okay"; 573*f126890aSEmmanuel Vadot}; 574*f126890aSEmmanuel Vadot 575*f126890aSEmmanuel Vadot&vcc_3v3 { 576*f126890aSEmmanuel Vadot vin-supply = <&v_3v2>; 577*f126890aSEmmanuel Vadot}; 578