1f126890aSEmmanuel Vadot/* 2f126890aSEmmanuel Vadot * Support for imx6 based Advantech DMS-BA16 Qseven module 3f126890aSEmmanuel Vadot * 4f126890aSEmmanuel Vadot * Copyright 2015 Timesys Corporation. 5f126890aSEmmanuel Vadot * Copyright 2015 General Electric Company 6f126890aSEmmanuel Vadot * 7f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms 8f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual 9f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a 10f126890aSEmmanuel Vadot * whole. 11f126890aSEmmanuel Vadot * 12f126890aSEmmanuel Vadot * a) This file is free software; you can redistribute it and/or 13f126890aSEmmanuel Vadot * modify it under the terms of the GNU General Public License 14f126890aSEmmanuel Vadot * version 2 as published by the Free Software Foundation. 15f126890aSEmmanuel Vadot * 16f126890aSEmmanuel Vadot * This file is distributed in the hope that it will be useful, 17f126890aSEmmanuel Vadot * but WITHOUT ANY WARRANTY; without even the implied warranty of 18f126890aSEmmanuel Vadot * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19f126890aSEmmanuel Vadot * GNU General Public License for more details. 20f126890aSEmmanuel Vadot * 21f126890aSEmmanuel Vadot * Or, alternatively, 22f126890aSEmmanuel Vadot * 23f126890aSEmmanuel Vadot * b) Permission is hereby granted, free of charge, to any person 24f126890aSEmmanuel Vadot * obtaining a copy of this software and associated documentation 25f126890aSEmmanuel Vadot * files (the "Software"), to deal in the Software without 26f126890aSEmmanuel Vadot * restriction, including without limitation the rights to use, 27f126890aSEmmanuel Vadot * copy, modify, merge, publish, distribute, sublicense, and/or 28f126890aSEmmanuel Vadot * sell copies of the Software, and to permit persons to whom the 29f126890aSEmmanuel Vadot * Software is furnished to do so, subject to the following 30f126890aSEmmanuel Vadot * conditions: 31f126890aSEmmanuel Vadot * 32f126890aSEmmanuel Vadot * The above copyright notice and this permission notice shall be 33f126890aSEmmanuel Vadot * included in all copies or substantial portions of the Software. 34f126890aSEmmanuel Vadot * 35f126890aSEmmanuel Vadot * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 36f126890aSEmmanuel Vadot * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 37f126890aSEmmanuel Vadot * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 38f126890aSEmmanuel Vadot * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 39f126890aSEmmanuel Vadot * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 40f126890aSEmmanuel Vadot * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 41f126890aSEmmanuel Vadot * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 42f126890aSEmmanuel Vadot * OTHER DEALINGS IN THE SOFTWARE. 43f126890aSEmmanuel Vadot */ 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot#include "imx6q.dtsi" 46f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 47f126890aSEmmanuel Vadot 48f126890aSEmmanuel Vadot/ { 49f126890aSEmmanuel Vadot memory@10000000 { 50f126890aSEmmanuel Vadot device_type = "memory"; 51f126890aSEmmanuel Vadot reg = <0x10000000 0x40000000>; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot backlight_lvds: backlight { 55f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 56f126890aSEmmanuel Vadot pinctrl-names = "default"; 57f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_display>; 58*7d0873ebSEmmanuel Vadot pwms = <&pwm1 0 5000000 0>; 59f126890aSEmmanuel Vadot brightness-levels = < 0 1 2 3 4 5 6 7 8 9 60f126890aSEmmanuel Vadot 10 11 12 13 14 15 16 17 18 19 61f126890aSEmmanuel Vadot 20 21 22 23 24 25 26 27 28 29 62f126890aSEmmanuel Vadot 30 31 32 33 34 35 36 37 38 39 63f126890aSEmmanuel Vadot 40 41 42 43 44 45 46 47 48 49 64f126890aSEmmanuel Vadot 50 51 52 53 54 55 56 57 58 59 65f126890aSEmmanuel Vadot 60 61 62 63 64 65 66 67 68 69 66f126890aSEmmanuel Vadot 70 71 72 73 74 75 76 77 78 79 67f126890aSEmmanuel Vadot 80 81 82 83 84 85 86 87 88 89 68f126890aSEmmanuel Vadot 90 91 92 93 94 95 96 97 98 99 69f126890aSEmmanuel Vadot 100 101 102 103 104 105 106 107 108 109 70f126890aSEmmanuel Vadot 110 111 112 113 114 115 116 117 118 119 71f126890aSEmmanuel Vadot 120 121 122 123 124 125 126 127 128 129 72f126890aSEmmanuel Vadot 130 131 132 133 134 135 136 137 138 139 73f126890aSEmmanuel Vadot 140 141 142 143 144 145 146 147 148 149 74f126890aSEmmanuel Vadot 150 151 152 153 154 155 156 157 158 159 75f126890aSEmmanuel Vadot 160 161 162 163 164 165 166 167 168 169 76f126890aSEmmanuel Vadot 170 171 172 173 174 175 176 177 178 179 77f126890aSEmmanuel Vadot 180 181 182 183 184 185 186 187 188 189 78f126890aSEmmanuel Vadot 190 191 192 193 194 195 196 197 198 199 79f126890aSEmmanuel Vadot 200 201 202 203 204 205 206 207 208 209 80f126890aSEmmanuel Vadot 210 211 212 213 214 215 216 217 218 219 81f126890aSEmmanuel Vadot 220 221 222 223 224 225 226 227 228 229 82f126890aSEmmanuel Vadot 230 231 232 233 234 235 236 237 238 239 83f126890aSEmmanuel Vadot 240 241 242 243 244 245 246 247 248 249 84f126890aSEmmanuel Vadot 250 251 252 253 254 255>; 85f126890aSEmmanuel Vadot default-brightness-level = <255>; 86f126890aSEmmanuel Vadot enable-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; 87f126890aSEmmanuel Vadot }; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot reg_1p8v: regulator-1p8v { 90f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 91f126890aSEmmanuel Vadot regulator-name = "1P8V"; 92f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 93f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 94f126890aSEmmanuel Vadot regulator-always-on; 95f126890aSEmmanuel Vadot }; 96f126890aSEmmanuel Vadot 97f126890aSEmmanuel Vadot reg_3p3v: regulator-3p3v { 98f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 99f126890aSEmmanuel Vadot regulator-name = "3P3V"; 100f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 101f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 102f126890aSEmmanuel Vadot regulator-always-on; 103f126890aSEmmanuel Vadot }; 104f126890aSEmmanuel Vadot 105f126890aSEmmanuel Vadot reg_lvds: regulator-lvds { 106f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 107f126890aSEmmanuel Vadot regulator-name = "lvds_ppen"; 108f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 109f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 110f126890aSEmmanuel Vadot regulator-boot-on; 111f126890aSEmmanuel Vadot gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; 112f126890aSEmmanuel Vadot enable-active-high; 113f126890aSEmmanuel Vadot }; 114f126890aSEmmanuel Vadot 115f126890aSEmmanuel Vadot reg_usb_h1_vbus: regulator-usbh1vbus { 116f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 117f126890aSEmmanuel Vadot regulator-name = "usb_h1_vbus"; 118f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 119f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 120f126890aSEmmanuel Vadot }; 121f126890aSEmmanuel Vadot 122f126890aSEmmanuel Vadot reg_usb_otg_vbus: regulator-usbotgvbus { 123f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 124f126890aSEmmanuel Vadot regulator-name = "usb_otg_vbus"; 125f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 126f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 127f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg_vbus>; 128f126890aSEmmanuel Vadot gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; 129f126890aSEmmanuel Vadot enable-active-high; 130f126890aSEmmanuel Vadot }; 131f126890aSEmmanuel Vadot}; 132f126890aSEmmanuel Vadot 133f126890aSEmmanuel Vadot&audmux { 134f126890aSEmmanuel Vadot pinctrl-names = "default"; 135f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_audmux>; 136f126890aSEmmanuel Vadot status = "okay"; 137f126890aSEmmanuel Vadot}; 138f126890aSEmmanuel Vadot 139f126890aSEmmanuel Vadot&ecspi1 { 140f126890aSEmmanuel Vadot cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>; 141f126890aSEmmanuel Vadot pinctrl-names = "default"; 142f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi1>; 143f126890aSEmmanuel Vadot status = "okay"; 144f126890aSEmmanuel Vadot 145f126890aSEmmanuel Vadot flash: flash@0 { 146f126890aSEmmanuel Vadot compatible = "jedec,spi-nor"; 147f126890aSEmmanuel Vadot #address-cells = <1>; 148f126890aSEmmanuel Vadot #size-cells = <1>; 149f126890aSEmmanuel Vadot spi-max-frequency = <20000000>; 150f126890aSEmmanuel Vadot reg = <0>; 151f126890aSEmmanuel Vadot 152f126890aSEmmanuel Vadot partition@0 { 153f126890aSEmmanuel Vadot label = "U-Boot"; 154f126890aSEmmanuel Vadot reg = <0x0 0xc0000>; 155f126890aSEmmanuel Vadot }; 156f126890aSEmmanuel Vadot 157f126890aSEmmanuel Vadot partition@c0000 { 158f126890aSEmmanuel Vadot label = "env"; 159f126890aSEmmanuel Vadot reg = <0xc0000 0x10000>; 160f126890aSEmmanuel Vadot }; 161f126890aSEmmanuel Vadot 162f126890aSEmmanuel Vadot partition@d0000 { 163f126890aSEmmanuel Vadot label = "spare"; 164f126890aSEmmanuel Vadot reg = <0xd0000 0x320000>; 165f126890aSEmmanuel Vadot }; 166f126890aSEmmanuel Vadot 167f126890aSEmmanuel Vadot partition@3f0000 { 168f126890aSEmmanuel Vadot label = "mfg"; 169f126890aSEmmanuel Vadot reg = <0x3f0000 0x10000>; 170f126890aSEmmanuel Vadot }; 171f126890aSEmmanuel Vadot }; 172f126890aSEmmanuel Vadot}; 173f126890aSEmmanuel Vadot 174f126890aSEmmanuel Vadot&fec { 175f126890aSEmmanuel Vadot pinctrl-names = "default"; 176f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet>; 177f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 178f126890aSEmmanuel Vadot phy-supply = <®_3p3v>; 179f126890aSEmmanuel Vadot phy-handle = <&phy0>; 180f126890aSEmmanuel Vadot status = "okay"; 181f126890aSEmmanuel Vadot 182f126890aSEmmanuel Vadot mdio { 183f126890aSEmmanuel Vadot #address-cells = <1>; 184f126890aSEmmanuel Vadot #size-cells = <0>; 185f126890aSEmmanuel Vadot 186f126890aSEmmanuel Vadot phy0: ethernet-phy@4 { 187f126890aSEmmanuel Vadot reg = <4>; 188f126890aSEmmanuel Vadot qca,clk-out-frequency = <125000000>; 189f126890aSEmmanuel Vadot }; 190f126890aSEmmanuel Vadot }; 191f126890aSEmmanuel Vadot}; 192f126890aSEmmanuel Vadot 193f126890aSEmmanuel Vadot&hdmi { 194f126890aSEmmanuel Vadot ddc-i2c-bus = <&i2c2>; 195f126890aSEmmanuel Vadot status = "okay"; 196f126890aSEmmanuel Vadot}; 197f126890aSEmmanuel Vadot 198f126890aSEmmanuel Vadot&i2c1 { 199f126890aSEmmanuel Vadot clock-frequency = <100000>; 200f126890aSEmmanuel Vadot pinctrl-names = "default"; 201f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 202f126890aSEmmanuel Vadot status = "okay"; 203f126890aSEmmanuel Vadot}; 204f126890aSEmmanuel Vadot 205f126890aSEmmanuel Vadot&i2c2 { 206f126890aSEmmanuel Vadot clock-frequency = <100000>; 207f126890aSEmmanuel Vadot pinctrl-names = "default"; 208f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 209f126890aSEmmanuel Vadot status = "okay"; 210f126890aSEmmanuel Vadot}; 211f126890aSEmmanuel Vadot 212f126890aSEmmanuel Vadot&i2c3 { 213f126890aSEmmanuel Vadot clock-frequency = <100000>; 214f126890aSEmmanuel Vadot pinctrl-names = "default"; 215f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c3>; 216f126890aSEmmanuel Vadot status = "okay"; 217f126890aSEmmanuel Vadot 218f126890aSEmmanuel Vadot pmic@58 { 219f126890aSEmmanuel Vadot compatible = "dlg,da9063"; 220f126890aSEmmanuel Vadot reg = <0x58>; 221f126890aSEmmanuel Vadot pinctrl-names = "default"; 222f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pmic>; 223f126890aSEmmanuel Vadot interrupt-parent = <&gpio7>; 224f126890aSEmmanuel Vadot interrupts = <13 IRQ_TYPE_LEVEL_LOW>; 225f126890aSEmmanuel Vadot 226f126890aSEmmanuel Vadot onkey { 227f126890aSEmmanuel Vadot compatible = "dlg,da9063-onkey"; 228f126890aSEmmanuel Vadot }; 229f126890aSEmmanuel Vadot 230f126890aSEmmanuel Vadot regulators { 231f126890aSEmmanuel Vadot vdd_bcore1: bcore1 { 232f126890aSEmmanuel Vadot regulator-min-microvolt = <1420000>; 233f126890aSEmmanuel Vadot regulator-max-microvolt = <1420000>; 234f126890aSEmmanuel Vadot regulator-always-on; 235f126890aSEmmanuel Vadot regulator-boot-on; 236f126890aSEmmanuel Vadot }; 237f126890aSEmmanuel Vadot 238f126890aSEmmanuel Vadot vdd_bcore2: bcore2 { 239f126890aSEmmanuel Vadot regulator-min-microvolt = <1420000>; 240f126890aSEmmanuel Vadot regulator-max-microvolt = <1420000>; 241f126890aSEmmanuel Vadot regulator-always-on; 242f126890aSEmmanuel Vadot regulator-boot-on; 243f126890aSEmmanuel Vadot }; 244f126890aSEmmanuel Vadot 245f126890aSEmmanuel Vadot vdd_bpro: bpro { 246f126890aSEmmanuel Vadot regulator-min-microvolt = <1500000>; 247f126890aSEmmanuel Vadot regulator-max-microvolt = <1500000>; 248f126890aSEmmanuel Vadot regulator-always-on; 249f126890aSEmmanuel Vadot regulator-boot-on; 250f126890aSEmmanuel Vadot }; 251f126890aSEmmanuel Vadot 252f126890aSEmmanuel Vadot vdd_bmem: bmem { 253f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 254f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 255f126890aSEmmanuel Vadot regulator-always-on; 256f126890aSEmmanuel Vadot regulator-boot-on; 257f126890aSEmmanuel Vadot }; 258f126890aSEmmanuel Vadot 259f126890aSEmmanuel Vadot vdd_bio: bio { 260f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 261f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 262f126890aSEmmanuel Vadot regulator-always-on; 263f126890aSEmmanuel Vadot regulator-boot-on; 264f126890aSEmmanuel Vadot }; 265f126890aSEmmanuel Vadot 266f126890aSEmmanuel Vadot vdd_bperi: bperi { 267f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 268f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 269f126890aSEmmanuel Vadot regulator-always-on; 270f126890aSEmmanuel Vadot regulator-boot-on; 271f126890aSEmmanuel Vadot }; 272f126890aSEmmanuel Vadot 273f126890aSEmmanuel Vadot vdd_ldo1: ldo1 { 274f126890aSEmmanuel Vadot regulator-min-microvolt = <600000>; 275f126890aSEmmanuel Vadot regulator-max-microvolt = <1860000>; 276f126890aSEmmanuel Vadot }; 277f126890aSEmmanuel Vadot 278f126890aSEmmanuel Vadot vdd_ldo2: ldo2 { 279f126890aSEmmanuel Vadot regulator-min-microvolt = <600000>; 280f126890aSEmmanuel Vadot regulator-max-microvolt = <1860000>; 281f126890aSEmmanuel Vadot }; 282f126890aSEmmanuel Vadot 283f126890aSEmmanuel Vadot vdd_ldo3: ldo3 { 284f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 285f126890aSEmmanuel Vadot regulator-max-microvolt = <3440000>; 286f126890aSEmmanuel Vadot }; 287f126890aSEmmanuel Vadot 288f126890aSEmmanuel Vadot vdd_ldo4: ldo4 { 289f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 290f126890aSEmmanuel Vadot regulator-max-microvolt = <3440000>; 291f126890aSEmmanuel Vadot }; 292f126890aSEmmanuel Vadot 293f126890aSEmmanuel Vadot vdd_ldo5: ldo5 { 294f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 295f126890aSEmmanuel Vadot regulator-max-microvolt = <3600000>; 296f126890aSEmmanuel Vadot }; 297f126890aSEmmanuel Vadot 298f126890aSEmmanuel Vadot vdd_ldo6: ldo6 { 299f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 300f126890aSEmmanuel Vadot regulator-max-microvolt = <3600000>; 301f126890aSEmmanuel Vadot }; 302f126890aSEmmanuel Vadot 303f126890aSEmmanuel Vadot vdd_ldo7: ldo7 { 304f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 305f126890aSEmmanuel Vadot regulator-max-microvolt = <3600000>; 306f126890aSEmmanuel Vadot }; 307f126890aSEmmanuel Vadot 308f126890aSEmmanuel Vadot vdd_ldo8: ldo8 { 309f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 310f126890aSEmmanuel Vadot regulator-max-microvolt = <3600000>; 311f126890aSEmmanuel Vadot }; 312f126890aSEmmanuel Vadot 313f126890aSEmmanuel Vadot vdd_ldo9: ldo9 { 314f126890aSEmmanuel Vadot regulator-min-microvolt = <950000>; 315f126890aSEmmanuel Vadot regulator-max-microvolt = <3600000>; 316f126890aSEmmanuel Vadot }; 317f126890aSEmmanuel Vadot 318f126890aSEmmanuel Vadot vdd_ldo10: ldo10 { 319f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 320f126890aSEmmanuel Vadot regulator-max-microvolt = <3600000>; 321f126890aSEmmanuel Vadot }; 322f126890aSEmmanuel Vadot 323f126890aSEmmanuel Vadot vdd_ldo11: ldo11 { 324f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 325f126890aSEmmanuel Vadot regulator-max-microvolt = <3600000>; 326f126890aSEmmanuel Vadot regulator-always-on; 327f126890aSEmmanuel Vadot regulator-boot-on; 328f126890aSEmmanuel Vadot }; 329f126890aSEmmanuel Vadot }; 330f126890aSEmmanuel Vadot }; 331f126890aSEmmanuel Vadot 332f126890aSEmmanuel Vadot rtc@32 { 333f126890aSEmmanuel Vadot compatible = "epson,rx8010"; 334f126890aSEmmanuel Vadot pinctrl-names = "default"; 335f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_rtc>; 336f126890aSEmmanuel Vadot reg = <0x32>; 337f126890aSEmmanuel Vadot interrupt-parent = <&gpio4>; 338f126890aSEmmanuel Vadot interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; 339f126890aSEmmanuel Vadot }; 340f126890aSEmmanuel Vadot}; 341f126890aSEmmanuel Vadot 342f126890aSEmmanuel Vadot&pcie { 343f126890aSEmmanuel Vadot pinctrl-names = "default"; 344f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pcie>; 345f126890aSEmmanuel Vadot reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>; 346f126890aSEmmanuel Vadot fsl,tx-swing-full = <103>; 347f126890aSEmmanuel Vadot fsl,tx-swing-low = <103>; 348f126890aSEmmanuel Vadot status = "okay"; 349f126890aSEmmanuel Vadot}; 350f126890aSEmmanuel Vadot 351f126890aSEmmanuel Vadot&pwm1 { 352f126890aSEmmanuel Vadot pinctrl-names = "default"; 353f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm1>; 354f126890aSEmmanuel Vadot status = "okay"; 355f126890aSEmmanuel Vadot}; 356f126890aSEmmanuel Vadot 357f126890aSEmmanuel Vadot&pwm2 { 358f126890aSEmmanuel Vadot pinctrl-names = "default"; 359f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm2>; 360f126890aSEmmanuel Vadot status = "disabled"; 361f126890aSEmmanuel Vadot}; 362f126890aSEmmanuel Vadot 363f126890aSEmmanuel Vadot&sata { 364f126890aSEmmanuel Vadot status = "okay"; 365f126890aSEmmanuel Vadot}; 366f126890aSEmmanuel Vadot 367f126890aSEmmanuel Vadot&ssi1 { 368f126890aSEmmanuel Vadot status = "okay"; 369f126890aSEmmanuel Vadot}; 370f126890aSEmmanuel Vadot 371f126890aSEmmanuel Vadot&uart3 { 372f126890aSEmmanuel Vadot pinctrl-names = "default"; 373f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>; 374f126890aSEmmanuel Vadot uart-has-rtscts; 375f126890aSEmmanuel Vadot status = "okay"; 376f126890aSEmmanuel Vadot}; 377f126890aSEmmanuel Vadot 378f126890aSEmmanuel Vadot&uart4 { 379f126890aSEmmanuel Vadot pinctrl-names = "default"; 380f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart4>; 381f126890aSEmmanuel Vadot status = "okay"; 382f126890aSEmmanuel Vadot}; 383f126890aSEmmanuel Vadot 384f126890aSEmmanuel Vadot&usbh1 { 385f126890aSEmmanuel Vadot pinctrl-names = "default"; 386f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbhub>; 387f126890aSEmmanuel Vadot vbus-supply = <®_usb_h1_vbus>; 388f126890aSEmmanuel Vadot reset-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>; 389f126890aSEmmanuel Vadot status = "okay"; 390f126890aSEmmanuel Vadot}; 391f126890aSEmmanuel Vadot 392f126890aSEmmanuel Vadot&usbotg { 393f126890aSEmmanuel Vadot vbus-supply = <®_usb_otg_vbus>; 394f126890aSEmmanuel Vadot pinctrl-names = "default"; 395f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg>; 396f126890aSEmmanuel Vadot disable-over-current; 397f126890aSEmmanuel Vadot status = "okay"; 398f126890aSEmmanuel Vadot}; 399f126890aSEmmanuel Vadot 400f126890aSEmmanuel Vadot&usdhc2 { 401f126890aSEmmanuel Vadot pinctrl-names = "default"; 402f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>; 403f126890aSEmmanuel Vadot cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 404f126890aSEmmanuel Vadot no-1-8-v; 405f126890aSEmmanuel Vadot keep-power-in-suspend; 406f126890aSEmmanuel Vadot wakeup-source; 407f126890aSEmmanuel Vadot status = "okay"; 408f126890aSEmmanuel Vadot}; 409f126890aSEmmanuel Vadot 410f126890aSEmmanuel Vadot&usdhc3 { 411f126890aSEmmanuel Vadot pinctrl-names = "default"; 412f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc3 &pinctrl_usdhc3_reset>; 413f126890aSEmmanuel Vadot bus-width = <8>; 414f126890aSEmmanuel Vadot vmmc-supply = <&vdd_bperi>; 415f126890aSEmmanuel Vadot non-removable; 416f126890aSEmmanuel Vadot keep-power-in-suspend; 417f126890aSEmmanuel Vadot status = "okay"; 418f126890aSEmmanuel Vadot}; 419f126890aSEmmanuel Vadot 420f126890aSEmmanuel Vadot&wdog1 { 421f126890aSEmmanuel Vadot pinctrl-names = "default"; 422f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wdog>; 423f126890aSEmmanuel Vadot fsl,ext-reset-output; 424f126890aSEmmanuel Vadot}; 425f126890aSEmmanuel Vadot 426f126890aSEmmanuel Vadot&iomuxc { 427f126890aSEmmanuel Vadot pinctrl-names = "default"; 428f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hog>; 429f126890aSEmmanuel Vadot 430f126890aSEmmanuel Vadot pinctrl_audmux: audmuxgrp { 431f126890aSEmmanuel Vadot fsl,pins = < 432f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT20__AUD4_TXC 0x130b0 433f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT21__AUD4_TXD 0x130b0 434f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS 0x130b0 435f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT23__AUD4_RXD 0x130b0 436f126890aSEmmanuel Vadot >; 437f126890aSEmmanuel Vadot }; 438f126890aSEmmanuel Vadot 439f126890aSEmmanuel Vadot pinctrl_display: dispgrp { 440f126890aSEmmanuel Vadot fsl,pins = < 441f126890aSEmmanuel Vadot /* BLEN_OUT */ 442f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 443f126890aSEmmanuel Vadot /* LVDS_PPEN_OUT */ 444f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 445f126890aSEmmanuel Vadot >; 446f126890aSEmmanuel Vadot }; 447f126890aSEmmanuel Vadot 448f126890aSEmmanuel Vadot pinctrl_ecspi1: ecspi1grp { 449f126890aSEmmanuel Vadot fsl,pins = < 450f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 451f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 452f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 453f126890aSEmmanuel Vadot /* SPI1 CS */ 454f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_EB2__GPIO2_IO30 0x1b0b0 455f126890aSEmmanuel Vadot >; 456f126890aSEmmanuel Vadot }; 457f126890aSEmmanuel Vadot 458f126890aSEmmanuel Vadot pinctrl_ecspi5: ecspi5grp { 459f126890aSEmmanuel Vadot fsl,pins = < 460f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x1b0b0 461f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0x1b0b0 462f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0x1b0b0 463f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT1__GPIO1_IO17 0x1b0b0 464f126890aSEmmanuel Vadot >; 465f126890aSEmmanuel Vadot }; 466f126890aSEmmanuel Vadot 467f126890aSEmmanuel Vadot pinctrl_enet: enetgrp { 468f126890aSEmmanuel Vadot fsl,pins = < 469f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0 470f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0 471f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x10030 472f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x10030 473f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x10030 474f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x10030 475f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x10030 476f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x10030 477f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0 478f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 479f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 480f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 481f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 482f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 483f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 484f126890aSEmmanuel Vadot /* FEC Reset */ 485f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 486f126890aSEmmanuel Vadot /* AR8033 Interrupt */ 487f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 488f126890aSEmmanuel Vadot >; 489f126890aSEmmanuel Vadot }; 490f126890aSEmmanuel Vadot 491f126890aSEmmanuel Vadot pinctrl_hog: hoggrp { 492f126890aSEmmanuel Vadot fsl,pins = < 493f126890aSEmmanuel Vadot /* GPIO 0-7 */ 494f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x1b0b0 495f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 496f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 497f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0 498f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0 499f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D5__GPIO2_IO05 0x1b0b0 500f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0 501f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D7__GPIO2_IO07 0x1b0b0 502f126890aSEmmanuel Vadot /* SUS_S3_OUT to CPLD */ 503f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x1b0b0 504f126890aSEmmanuel Vadot >; 505f126890aSEmmanuel Vadot }; 506f126890aSEmmanuel Vadot 507f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1grp { 508f126890aSEmmanuel Vadot fsl,pins = < 509f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 510f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 511f126890aSEmmanuel Vadot >; 512f126890aSEmmanuel Vadot }; 513f126890aSEmmanuel Vadot 514f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2grp { 515f126890aSEmmanuel Vadot fsl,pins = < 516f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 517f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 518f126890aSEmmanuel Vadot >; 519f126890aSEmmanuel Vadot }; 520f126890aSEmmanuel Vadot 521f126890aSEmmanuel Vadot pinctrl_i2c3: i2c3grp { 522f126890aSEmmanuel Vadot fsl,pins = < 523f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 524f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 525f126890aSEmmanuel Vadot >; 526f126890aSEmmanuel Vadot }; 527f126890aSEmmanuel Vadot 528f126890aSEmmanuel Vadot pinctrl_pcie: pciegrp { 529f126890aSEmmanuel Vadot fsl,pins = < 530f126890aSEmmanuel Vadot /* PCIe Reset */ 531f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 532f126890aSEmmanuel Vadot /* PCIe Wake */ 533f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x1b0b0 534f126890aSEmmanuel Vadot >; 535f126890aSEmmanuel Vadot }; 536f126890aSEmmanuel Vadot 537f126890aSEmmanuel Vadot pinctrl_pmic: pmicgrp { 538f126890aSEmmanuel Vadot fsl,pins = < 539f126890aSEmmanuel Vadot /* PMIC Interrupt */ 540f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 541f126890aSEmmanuel Vadot >; 542f126890aSEmmanuel Vadot }; 543f126890aSEmmanuel Vadot 544f126890aSEmmanuel Vadot pinctrl_pwm1: pwm1grp { 545f126890aSEmmanuel Vadot fsl,pins = < 546f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1 547f126890aSEmmanuel Vadot >; 548f126890aSEmmanuel Vadot }; 549f126890aSEmmanuel Vadot 550f126890aSEmmanuel Vadot pinctrl_pwm2: pwm2grp { 551f126890aSEmmanuel Vadot fsl,pins = < 552f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_1__PWM2_OUT 0x1b0b1 553f126890aSEmmanuel Vadot >; 554f126890aSEmmanuel Vadot }; 555f126890aSEmmanuel Vadot 556f126890aSEmmanuel Vadot pinctrl_rtc: rtcgrp { 557f126890aSEmmanuel Vadot fsl,pins = < 558f126890aSEmmanuel Vadot /* RTC_INT */ 559f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0 560f126890aSEmmanuel Vadot >; 561f126890aSEmmanuel Vadot }; 562f126890aSEmmanuel Vadot 563f126890aSEmmanuel Vadot pinctrl_uart3: uart3grp { 564f126890aSEmmanuel Vadot fsl,pins = < 565f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 566f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 567f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1 568f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1 569f126890aSEmmanuel Vadot >; 570f126890aSEmmanuel Vadot }; 571f126890aSEmmanuel Vadot 572f126890aSEmmanuel Vadot pinctrl_uart4: uart4grp { 573f126890aSEmmanuel Vadot fsl,pins = < 574f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 575f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 576f126890aSEmmanuel Vadot >; 577f126890aSEmmanuel Vadot }; 578f126890aSEmmanuel Vadot 579f126890aSEmmanuel Vadot pinctrl_usbhub: usbhubgrp { 580f126890aSEmmanuel Vadot fsl,pins = < 581f126890aSEmmanuel Vadot /* HUB_RESET */ 582f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_16__GPIO7_IO11 0x1b0b0 583f126890aSEmmanuel Vadot >; 584f126890aSEmmanuel Vadot }; 585f126890aSEmmanuel Vadot 586f126890aSEmmanuel Vadot pinctrl_usbotg: usbotggrp { 587f126890aSEmmanuel Vadot fsl,pins = < 588f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059 589f126890aSEmmanuel Vadot >; 590f126890aSEmmanuel Vadot }; 591f126890aSEmmanuel Vadot 592f126890aSEmmanuel Vadot pinctrl_usbotg_vbus: usbotgvbusgrp { 593f126890aSEmmanuel Vadot fsl,pins = < 594f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x000b0 595f126890aSEmmanuel Vadot >; 596f126890aSEmmanuel Vadot }; 597f126890aSEmmanuel Vadot 598f126890aSEmmanuel Vadot pinctrl_usdhc2: usdhc2grp { 599f126890aSEmmanuel Vadot fsl,pins = < 600f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 601f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059 602f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059 603f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 604f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 605f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059 606f126890aSEmmanuel Vadot /* uSDHC2 CD */ 607f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0 608f126890aSEmmanuel Vadot >; 609f126890aSEmmanuel Vadot }; 610f126890aSEmmanuel Vadot 611f126890aSEmmanuel Vadot pinctrl_usdhc3: usdhc3grp { 612f126890aSEmmanuel Vadot fsl,pins = < 613f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 614f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 615f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 616f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 617f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 618f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 619f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059 620f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059 621f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059 622f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059 623f126890aSEmmanuel Vadot >; 624f126890aSEmmanuel Vadot }; 625f126890aSEmmanuel Vadot 626f126890aSEmmanuel Vadot pinctrl_usdhc3_reset: usdhc3grp-reset { 627f126890aSEmmanuel Vadot fsl,pins = < 628f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_RST__SD3_RESET 0x170F9 629f126890aSEmmanuel Vadot >; 630f126890aSEmmanuel Vadot }; 631f126890aSEmmanuel Vadot 632f126890aSEmmanuel Vadot pinctrl_usdhc4: usdhc4grp { 633f126890aSEmmanuel Vadot fsl,pins = < 634f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059 635f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CLK__SD4_CLK 0x17059 636f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059 637f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059 638f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059 639f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059 640f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059 641f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059 642f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059 643f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059 644f126890aSEmmanuel Vadot /* uSDHC4 CD */ 645f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x1b0b0 646f126890aSEmmanuel Vadot /* uSDHC4 SDIO PWR */ 647f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x1b0b0 648f126890aSEmmanuel Vadot /* uSDHC4 SDIO WP */ 649f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x1b0b0 650f126890aSEmmanuel Vadot /* uSDHC4 SDIO LED */ 651f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x1b0b0 652f126890aSEmmanuel Vadot >; 653f126890aSEmmanuel Vadot }; 654f126890aSEmmanuel Vadot 655f126890aSEmmanuel Vadot pinctrl_wdog: wdoggrp { 656f126890aSEmmanuel Vadot fsl,pins = < 657f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_9__WDOG1_B 0x1b0b0 658f126890aSEmmanuel Vadot >; 659f126890aSEmmanuel Vadot }; 660f126890aSEmmanuel Vadot}; 661