Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2011 Linaro Ltd. |
| 4 | * |
| 5 | * The code contained herein is licensed under the GNU General Public |
| 6 | * License. You may obtain a copy of the GNU General Public License |
| 7 | * Version 2 or later at the following locations: |
| 8 | * |
| 9 | * http://www.opensource.org/licenses/gpl-license.html |
| 10 | * http://www.gnu.org/copyleft/gpl.html |
| 11 | */ |
| 12 | |
Anson Huang | 22724cf1 | 2014-01-20 20:02:38 +0800 | [diff] [blame] | 13 | #include <dt-bindings/gpio/gpio.h> |
Anson Huang | 8e4422a | 2013-12-19 16:07:24 -0500 | [diff] [blame] | 14 | #include <dt-bindings/input/input.h> |
| 15 | |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 16 | / { |
Sascha Hauer | 48f5196 | 2014-05-07 15:19:00 +0200 | [diff] [blame] | 17 | chosen { |
| 18 | stdout-path = &uart1; |
| 19 | }; |
| 20 | |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 21 | memory { |
| 22 | reg = <0x10000000 0x40000000>; |
| 23 | }; |
| 24 | |
| 25 | regulators { |
| 26 | compatible = "simple-bus"; |
Shawn Guo | 56160e3 | 2014-02-07 23:22:50 +0800 | [diff] [blame] | 27 | #address-cells = <1>; |
| 28 | #size-cells = <0>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 29 | |
Shawn Guo | 56160e3 | 2014-02-07 23:22:50 +0800 | [diff] [blame] | 30 | reg_usb_otg_vbus: regulator@0 { |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 31 | compatible = "regulator-fixed"; |
Shawn Guo | 56160e3 | 2014-02-07 23:22:50 +0800 | [diff] [blame] | 32 | reg = <0>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 33 | regulator-name = "usb_otg_vbus"; |
| 34 | regulator-min-microvolt = <5000000>; |
| 35 | regulator-max-microvolt = <5000000>; |
| 36 | gpio = <&gpio3 22 0>; |
| 37 | enable-active-high; |
Peter Chen | 40f7377 | 2015-03-06 16:04:20 +0800 | [diff] [blame] | 38 | vin-supply = <&swbst_reg>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 39 | }; |
Nicolin Chen | fdbfb43 | 2013-06-13 19:51:00 +0800 | [diff] [blame] | 40 | |
Shawn Guo | 56160e3 | 2014-02-07 23:22:50 +0800 | [diff] [blame] | 41 | reg_usb_h1_vbus: regulator@1 { |
Peter Chen | 015fa46 | 2013-08-12 16:46:24 +0800 | [diff] [blame] | 42 | compatible = "regulator-fixed"; |
Shawn Guo | 56160e3 | 2014-02-07 23:22:50 +0800 | [diff] [blame] | 43 | reg = <1>; |
Peter Chen | 015fa46 | 2013-08-12 16:46:24 +0800 | [diff] [blame] | 44 | regulator-name = "usb_h1_vbus"; |
| 45 | regulator-min-microvolt = <5000000>; |
| 46 | regulator-max-microvolt = <5000000>; |
| 47 | gpio = <&gpio1 29 0>; |
| 48 | enable-active-high; |
Peter Chen | 40f7377 | 2015-03-06 16:04:20 +0800 | [diff] [blame] | 49 | vin-supply = <&swbst_reg>; |
Peter Chen | 015fa46 | 2013-08-12 16:46:24 +0800 | [diff] [blame] | 50 | }; |
| 51 | |
Shawn Guo | 56160e3 | 2014-02-07 23:22:50 +0800 | [diff] [blame] | 52 | reg_audio: regulator@2 { |
Nicolin Chen | fdbfb43 | 2013-06-13 19:51:00 +0800 | [diff] [blame] | 53 | compatible = "regulator-fixed"; |
Shawn Guo | 56160e3 | 2014-02-07 23:22:50 +0800 | [diff] [blame] | 54 | reg = <2>; |
Nicolin Chen | fdbfb43 | 2013-06-13 19:51:00 +0800 | [diff] [blame] | 55 | regulator-name = "wm8962-supply"; |
| 56 | gpio = <&gpio4 10 0>; |
| 57 | enable-active-high; |
| 58 | }; |
Lucas Stach | 78827ec | 2014-07-23 19:29:11 +0200 | [diff] [blame] | 59 | |
| 60 | reg_pcie: regulator@3 { |
| 61 | compatible = "regulator-fixed"; |
| 62 | reg = <3>; |
| 63 | pinctrl-names = "default"; |
| 64 | pinctrl-0 = <&pinctrl_pcie_reg>; |
| 65 | regulator-name = "MPCIE_3V3"; |
| 66 | regulator-min-microvolt = <3300000>; |
| 67 | regulator-max-microvolt = <3300000>; |
| 68 | gpio = <&gpio3 19 0>; |
| 69 | regulator-always-on; |
| 70 | enable-active-high; |
| 71 | }; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 72 | }; |
| 73 | |
| 74 | gpio-keys { |
| 75 | compatible = "gpio-keys"; |
Anson Huang | 8e4422a | 2013-12-19 16:07:24 -0500 | [diff] [blame] | 76 | pinctrl-names = "default"; |
| 77 | pinctrl-0 = <&pinctrl_gpio_keys>; |
| 78 | |
| 79 | power { |
| 80 | label = "Power Button"; |
Anson Huang | 22724cf1 | 2014-01-20 20:02:38 +0800 | [diff] [blame] | 81 | gpios = <&gpio3 29 GPIO_ACTIVE_LOW>; |
Anson Huang | 8e4422a | 2013-12-19 16:07:24 -0500 | [diff] [blame] | 82 | gpio-key,wakeup; |
| 83 | linux,code = <KEY_POWER>; |
| 84 | }; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 85 | |
| 86 | volume-up { |
| 87 | label = "Volume Up"; |
Anson Huang | 22724cf1 | 2014-01-20 20:02:38 +0800 | [diff] [blame] | 88 | gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
Fabio Estevam | 6c30640 | 2013-07-19 10:40:23 -0300 | [diff] [blame] | 89 | gpio-key,wakeup; |
Anson Huang | 8e4422a | 2013-12-19 16:07:24 -0500 | [diff] [blame] | 90 | linux,code = <KEY_VOLUMEUP>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | volume-down { |
| 94 | label = "Volume Down"; |
Anson Huang | 22724cf1 | 2014-01-20 20:02:38 +0800 | [diff] [blame] | 95 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
Fabio Estevam | 6c30640 | 2013-07-19 10:40:23 -0300 | [diff] [blame] | 96 | gpio-key,wakeup; |
Anson Huang | 8e4422a | 2013-12-19 16:07:24 -0500 | [diff] [blame] | 97 | linux,code = <KEY_VOLUMEDOWN>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 98 | }; |
| 99 | }; |
Nicolin Chen | 77b38fc | 2013-06-14 13:22:46 +0800 | [diff] [blame] | 100 | |
| 101 | sound { |
| 102 | compatible = "fsl,imx6q-sabresd-wm8962", |
| 103 | "fsl,imx-audio-wm8962"; |
| 104 | model = "wm8962-audio"; |
| 105 | ssi-controller = <&ssi2>; |
| 106 | audio-codec = <&codec>; |
| 107 | audio-routing = |
| 108 | "Headphone Jack", "HPOUTL", |
| 109 | "Headphone Jack", "HPOUTR", |
| 110 | "Ext Spk", "SPKOUTL", |
| 111 | "Ext Spk", "SPKOUTR", |
Fabio Estevam | 76e6868 | 2014-11-07 12:08:01 -0200 | [diff] [blame] | 112 | "AMIC", "MICBIAS", |
| 113 | "IN3R", "AMIC"; |
Nicolin Chen | 77b38fc | 2013-06-14 13:22:46 +0800 | [diff] [blame] | 114 | mux-int-port = <2>; |
| 115 | mux-ext-port = <3>; |
| 116 | }; |
Rogerio Pimentel | 2f35c0c | 2013-10-11 16:48:16 -0300 | [diff] [blame] | 117 | |
| 118 | backlight { |
| 119 | compatible = "pwm-backlight"; |
| 120 | pwms = <&pwm1 0 5000000>; |
| 121 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 122 | default-brightness-level = <7>; |
| 123 | status = "okay"; |
| 124 | }; |
Vincent Stehlé | 702bfbe | 2014-03-05 19:58:39 +0100 | [diff] [blame] | 125 | |
| 126 | leds { |
| 127 | compatible = "gpio-leds"; |
| 128 | pinctrl-names = "default"; |
| 129 | pinctrl-0 = <&pinctrl_gpio_leds>; |
| 130 | |
| 131 | red { |
| 132 | gpios = <&gpio1 2 0>; |
| 133 | default-state = "on"; |
| 134 | }; |
| 135 | }; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 136 | }; |
| 137 | |
Nicolin Chen | 4882870 | 2013-06-14 13:19:57 +0800 | [diff] [blame] | 138 | &audmux { |
| 139 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 140 | pinctrl-0 = <&pinctrl_audmux>; |
Nicolin Chen | 4882870 | 2013-06-14 13:19:57 +0800 | [diff] [blame] | 141 | status = "okay"; |
| 142 | }; |
| 143 | |
Huang Shijie | 9110ede | 2013-06-21 10:19:11 +0800 | [diff] [blame] | 144 | &ecspi1 { |
| 145 | fsl,spi-num-chipselects = <1>; |
| 146 | cs-gpios = <&gpio4 9 0>; |
| 147 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 148 | pinctrl-0 = <&pinctrl_ecspi1>; |
Huang Shijie | 9110ede | 2013-06-21 10:19:11 +0800 | [diff] [blame] | 149 | status = "okay"; |
| 150 | |
| 151 | flash: m25p80@0 { |
| 152 | #address-cells = <1>; |
| 153 | #size-cells = <1>; |
| 154 | compatible = "st,m25p32"; |
| 155 | spi-max-frequency = <20000000>; |
| 156 | reg = <0>; |
| 157 | }; |
| 158 | }; |
| 159 | |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 160 | &fec { |
| 161 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 162 | pinctrl-0 = <&pinctrl_enet>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 163 | phy-mode = "rgmii"; |
Fabio Estevam | c5f592d | 2013-09-27 11:12:41 -0300 | [diff] [blame] | 164 | phy-reset-gpios = <&gpio1 25 0>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 165 | status = "okay"; |
| 166 | }; |
| 167 | |
Fabio Estevam | ad70456 | 2014-04-22 10:04:59 -0300 | [diff] [blame] | 168 | &hdmi { |
| 169 | ddc-i2c-bus = <&i2c2>; |
| 170 | status = "okay"; |
| 171 | }; |
| 172 | |
Nicolin Chen | 20426fe | 2013-06-13 19:51:01 +0800 | [diff] [blame] | 173 | &i2c1 { |
| 174 | clock-frequency = <100000>; |
| 175 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 176 | pinctrl-0 = <&pinctrl_i2c1>; |
Nicolin Chen | 20426fe | 2013-06-13 19:51:01 +0800 | [diff] [blame] | 177 | status = "okay"; |
| 178 | |
| 179 | codec: wm8962@1a { |
| 180 | compatible = "wlf,wm8962"; |
| 181 | reg = <0x1a>; |
Fabio Estevam | f029ce3 | 2014-10-20 11:02:13 -0200 | [diff] [blame] | 182 | clocks = <&clks IMX6QDL_CLK_CKO>; |
Nicolin Chen | 20426fe | 2013-06-13 19:51:01 +0800 | [diff] [blame] | 183 | DCVDD-supply = <®_audio>; |
| 184 | DBVDD-supply = <®_audio>; |
| 185 | AVDD-supply = <®_audio>; |
| 186 | CPVDD-supply = <®_audio>; |
| 187 | MICVDD-supply = <®_audio>; |
| 188 | PLLVDD-supply = <®_audio>; |
| 189 | SPKVDD1-supply = <®_audio>; |
| 190 | SPKVDD2-supply = <®_audio>; |
| 191 | gpio-cfg = < |
| 192 | 0x0000 /* 0:Default */ |
| 193 | 0x0000 /* 1:Default */ |
| 194 | 0x0013 /* 2:FN_DMICCLK */ |
| 195 | 0x0000 /* 3:Default */ |
| 196 | 0x8014 /* 4:FN_DMICCDAT */ |
| 197 | 0x0000 /* 5:Default */ |
| 198 | >; |
| 199 | }; |
| 200 | }; |
| 201 | |
Fabio Estevam | 4b444bb | 2013-12-24 01:04:49 -0200 | [diff] [blame] | 202 | &i2c2 { |
| 203 | clock-frequency = <100000>; |
| 204 | pinctrl-names = "default"; |
| 205 | pinctrl-0 = <&pinctrl_i2c2>; |
| 206 | status = "okay"; |
| 207 | |
| 208 | pmic: pfuze100@08 { |
| 209 | compatible = "fsl,pfuze100"; |
| 210 | reg = <0x08>; |
| 211 | |
| 212 | regulators { |
| 213 | sw1a_reg: sw1ab { |
| 214 | regulator-min-microvolt = <300000>; |
| 215 | regulator-max-microvolt = <1875000>; |
| 216 | regulator-boot-on; |
| 217 | regulator-always-on; |
| 218 | regulator-ramp-delay = <6250>; |
| 219 | }; |
| 220 | |
| 221 | sw1c_reg: sw1c { |
| 222 | regulator-min-microvolt = <300000>; |
| 223 | regulator-max-microvolt = <1875000>; |
| 224 | regulator-boot-on; |
| 225 | regulator-always-on; |
| 226 | regulator-ramp-delay = <6250>; |
| 227 | }; |
| 228 | |
| 229 | sw2_reg: sw2 { |
| 230 | regulator-min-microvolt = <800000>; |
| 231 | regulator-max-microvolt = <3300000>; |
| 232 | regulator-boot-on; |
| 233 | regulator-always-on; |
| 234 | }; |
| 235 | |
| 236 | sw3a_reg: sw3a { |
| 237 | regulator-min-microvolt = <400000>; |
| 238 | regulator-max-microvolt = <1975000>; |
| 239 | regulator-boot-on; |
| 240 | regulator-always-on; |
| 241 | }; |
| 242 | |
| 243 | sw3b_reg: sw3b { |
| 244 | regulator-min-microvolt = <400000>; |
| 245 | regulator-max-microvolt = <1975000>; |
| 246 | regulator-boot-on; |
| 247 | regulator-always-on; |
| 248 | }; |
| 249 | |
| 250 | sw4_reg: sw4 { |
| 251 | regulator-min-microvolt = <800000>; |
| 252 | regulator-max-microvolt = <3300000>; |
| 253 | }; |
| 254 | |
| 255 | swbst_reg: swbst { |
| 256 | regulator-min-microvolt = <5000000>; |
| 257 | regulator-max-microvolt = <5150000>; |
| 258 | }; |
| 259 | |
| 260 | snvs_reg: vsnvs { |
| 261 | regulator-min-microvolt = <1000000>; |
| 262 | regulator-max-microvolt = <3000000>; |
| 263 | regulator-boot-on; |
| 264 | regulator-always-on; |
| 265 | }; |
| 266 | |
| 267 | vref_reg: vrefddr { |
| 268 | regulator-boot-on; |
| 269 | regulator-always-on; |
| 270 | }; |
| 271 | |
| 272 | vgen1_reg: vgen1 { |
| 273 | regulator-min-microvolt = <800000>; |
| 274 | regulator-max-microvolt = <1550000>; |
| 275 | }; |
| 276 | |
| 277 | vgen2_reg: vgen2 { |
| 278 | regulator-min-microvolt = <800000>; |
| 279 | regulator-max-microvolt = <1550000>; |
| 280 | }; |
| 281 | |
| 282 | vgen3_reg: vgen3 { |
| 283 | regulator-min-microvolt = <1800000>; |
| 284 | regulator-max-microvolt = <3300000>; |
| 285 | }; |
| 286 | |
| 287 | vgen4_reg: vgen4 { |
| 288 | regulator-min-microvolt = <1800000>; |
| 289 | regulator-max-microvolt = <3300000>; |
| 290 | regulator-always-on; |
| 291 | }; |
| 292 | |
| 293 | vgen5_reg: vgen5 { |
| 294 | regulator-min-microvolt = <1800000>; |
| 295 | regulator-max-microvolt = <3300000>; |
| 296 | regulator-always-on; |
| 297 | }; |
| 298 | |
| 299 | vgen6_reg: vgen6 { |
| 300 | regulator-min-microvolt = <1800000>; |
| 301 | regulator-max-microvolt = <3300000>; |
| 302 | regulator-always-on; |
| 303 | }; |
| 304 | }; |
| 305 | }; |
| 306 | }; |
| 307 | |
Fabio Estevam | 3850117 | 2013-07-24 17:20:03 -0300 | [diff] [blame] | 308 | &i2c3 { |
| 309 | clock-frequency = <100000>; |
| 310 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 311 | pinctrl-0 = <&pinctrl_i2c3>; |
Fabio Estevam | 3850117 | 2013-07-24 17:20:03 -0300 | [diff] [blame] | 312 | status = "okay"; |
| 313 | |
| 314 | egalax_ts@04 { |
| 315 | compatible = "eeti,egalax_ts"; |
| 316 | reg = <0x04>; |
| 317 | interrupt-parent = <&gpio6>; |
| 318 | interrupts = <7 2>; |
| 319 | wakeup-gpios = <&gpio6 7 0>; |
| 320 | }; |
| 321 | }; |
| 322 | |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 323 | &iomuxc { |
| 324 | pinctrl-names = "default"; |
| 325 | pinctrl-0 = <&pinctrl_hog>; |
| 326 | |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 327 | imx6qdl-sabresd { |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 328 | pinctrl_hog: hoggrp { |
| 329 | fsl,pins = < |
Fabio Estevam | 9a060c1 | 2014-09-05 09:46:10 -0300 | [diff] [blame] | 330 | MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x1b0b0 |
| 331 | MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 |
| 332 | MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 |
| 333 | MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0 |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 334 | MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 |
Fabio Estevam | 9a060c1 | 2014-09-05 09:46:10 -0300 | [diff] [blame] | 335 | MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x1b0b0 |
| 336 | MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 |
| 337 | MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 |
| 338 | MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 339 | >; |
| 340 | }; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 341 | |
| 342 | pinctrl_audmux: audmuxgrp { |
| 343 | fsl,pins = < |
Nicolin Chen | 77112dd | 2014-02-08 10:14:28 +0800 | [diff] [blame] | 344 | MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0 |
| 345 | MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0 |
| 346 | MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0 |
| 347 | MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0 |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 348 | >; |
| 349 | }; |
| 350 | |
| 351 | pinctrl_ecspi1: ecspi1grp { |
| 352 | fsl,pins = < |
| 353 | MX6QDL_PAD_KEY_COL1__ECSPI1_MISO 0x100b1 |
| 354 | MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI 0x100b1 |
| 355 | MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK 0x100b1 |
Fabio Estevam | f3c7238 | 2014-05-14 16:53:55 -0300 | [diff] [blame] | 356 | MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x1b0b0 |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 357 | >; |
| 358 | }; |
| 359 | |
| 360 | pinctrl_enet: enetgrp { |
| 361 | fsl,pins = < |
| 362 | MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 |
| 363 | MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 |
| 364 | MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0 |
| 365 | MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0 |
| 366 | MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0 |
| 367 | MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0 |
| 368 | MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0 |
| 369 | MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0 |
| 370 | MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 |
| 371 | MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0 |
| 372 | MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0 |
| 373 | MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0 |
| 374 | MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0 |
| 375 | MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 |
| 376 | MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 |
| 377 | MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 |
| 378 | >; |
| 379 | }; |
| 380 | |
Anson Huang | 8e4422a | 2013-12-19 16:07:24 -0500 | [diff] [blame] | 381 | pinctrl_gpio_keys: gpio_keysgrp { |
| 382 | fsl,pins = < |
Fabio Estevam | 9a060c1 | 2014-09-05 09:46:10 -0300 | [diff] [blame] | 383 | MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0 |
| 384 | MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0 |
| 385 | MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x1b0b0 |
Anson Huang | 8e4422a | 2013-12-19 16:07:24 -0500 | [diff] [blame] | 386 | >; |
| 387 | }; |
| 388 | |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 389 | pinctrl_i2c1: i2c1grp { |
| 390 | fsl,pins = < |
| 391 | MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 |
| 392 | MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 |
| 393 | >; |
| 394 | }; |
| 395 | |
Fabio Estevam | 4b444bb | 2013-12-24 01:04:49 -0200 | [diff] [blame] | 396 | pinctrl_i2c2: i2c2grp { |
| 397 | fsl,pins = < |
| 398 | MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 |
| 399 | MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 |
| 400 | >; |
| 401 | }; |
| 402 | |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 403 | pinctrl_i2c3: i2c3grp { |
| 404 | fsl,pins = < |
| 405 | MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 |
| 406 | MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 |
| 407 | >; |
| 408 | }; |
| 409 | |
Marek Vasut | 9d4ebb3 | 2014-04-21 22:56:49 +0200 | [diff] [blame] | 410 | pinctrl_pcie: pciegrp { |
| 411 | fsl,pins = < |
Fabio Estevam | 9a060c1 | 2014-09-05 09:46:10 -0300 | [diff] [blame] | 412 | MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 |
Marek Vasut | 9d4ebb3 | 2014-04-21 22:56:49 +0200 | [diff] [blame] | 413 | >; |
| 414 | }; |
| 415 | |
Lucas Stach | 78827ec | 2014-07-23 19:29:11 +0200 | [diff] [blame] | 416 | pinctrl_pcie_reg: pciereggrp { |
| 417 | fsl,pins = < |
| 418 | MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b0 |
| 419 | >; |
| 420 | }; |
| 421 | |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 422 | pinctrl_pwm1: pwm1grp { |
| 423 | fsl,pins = < |
| 424 | MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1 |
| 425 | >; |
| 426 | }; |
| 427 | |
| 428 | pinctrl_uart1: uart1grp { |
| 429 | fsl,pins = < |
| 430 | MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 |
| 431 | MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1 |
| 432 | >; |
| 433 | }; |
| 434 | |
| 435 | pinctrl_usbotg: usbotggrp { |
| 436 | fsl,pins = < |
| 437 | MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059 |
| 438 | >; |
| 439 | }; |
| 440 | |
| 441 | pinctrl_usdhc2: usdhc2grp { |
| 442 | fsl,pins = < |
| 443 | MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 |
| 444 | MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059 |
| 445 | MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059 |
| 446 | MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 |
| 447 | MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 |
| 448 | MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059 |
| 449 | MX6QDL_PAD_NANDF_D4__SD2_DATA4 0x17059 |
| 450 | MX6QDL_PAD_NANDF_D5__SD2_DATA5 0x17059 |
| 451 | MX6QDL_PAD_NANDF_D6__SD2_DATA6 0x17059 |
| 452 | MX6QDL_PAD_NANDF_D7__SD2_DATA7 0x17059 |
| 453 | >; |
| 454 | }; |
| 455 | |
| 456 | pinctrl_usdhc3: usdhc3grp { |
| 457 | fsl,pins = < |
| 458 | MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 |
| 459 | MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 |
| 460 | MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 |
| 461 | MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 |
| 462 | MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 |
| 463 | MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 |
| 464 | MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059 |
| 465 | MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059 |
| 466 | MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059 |
| 467 | MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059 |
| 468 | >; |
| 469 | }; |
Fabio Estevam | e02ab39a | 2014-05-08 11:10:56 -0300 | [diff] [blame] | 470 | |
| 471 | pinctrl_usdhc4: usdhc4grp { |
| 472 | fsl,pins = < |
| 473 | MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059 |
| 474 | MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059 |
| 475 | MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059 |
| 476 | MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059 |
| 477 | MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059 |
| 478 | MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059 |
| 479 | MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059 |
| 480 | MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059 |
| 481 | MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059 |
| 482 | MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059 |
| 483 | >; |
| 484 | }; |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 485 | }; |
Vincent Stehlé | 702bfbe | 2014-03-05 19:58:39 +0100 | [diff] [blame] | 486 | |
| 487 | gpio_leds { |
| 488 | pinctrl_gpio_leds: gpioledsgrp { |
| 489 | fsl,pins = < |
Fabio Estevam | 9a060c1 | 2014-09-05 09:46:10 -0300 | [diff] [blame] | 490 | MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0 |
Vincent Stehlé | 702bfbe | 2014-03-05 19:58:39 +0100 | [diff] [blame] | 491 | >; |
| 492 | }; |
| 493 | }; |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 494 | }; |
| 495 | |
Shawn Guo | b7fb710 | 2013-07-16 22:15:18 +0800 | [diff] [blame] | 496 | &ldb { |
| 497 | status = "okay"; |
| 498 | |
| 499 | lvds-channel@1 { |
| 500 | fsl,data-mapping = "spwg"; |
| 501 | fsl,data-width = <18>; |
| 502 | status = "okay"; |
| 503 | |
| 504 | display-timings { |
| 505 | native-mode = <&timing0>; |
| 506 | timing0: hsd100pxn1 { |
| 507 | clock-frequency = <65000000>; |
| 508 | hactive = <1024>; |
| 509 | vactive = <768>; |
| 510 | hback-porch = <220>; |
| 511 | hfront-porch = <40>; |
| 512 | vback-porch = <21>; |
| 513 | vfront-porch = <7>; |
| 514 | hsync-len = <60>; |
| 515 | vsync-len = <10>; |
| 516 | }; |
| 517 | }; |
| 518 | }; |
| 519 | }; |
| 520 | |
Marek Vasut | 9d4ebb3 | 2014-04-21 22:56:49 +0200 | [diff] [blame] | 521 | &pcie { |
| 522 | pinctrl-names = "default"; |
| 523 | pinctrl-0 = <&pinctrl_pcie>; |
Marek Vasut | 9d4ebb3 | 2014-04-21 22:56:49 +0200 | [diff] [blame] | 524 | reset-gpio = <&gpio7 12 0>; |
| 525 | status = "okay"; |
| 526 | }; |
| 527 | |
Rogerio Pimentel | 2f35c0c | 2013-10-11 16:48:16 -0300 | [diff] [blame] | 528 | &pwm1 { |
| 529 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 530 | pinctrl-0 = <&pinctrl_pwm1>; |
Rogerio Pimentel | 2f35c0c | 2013-10-11 16:48:16 -0300 | [diff] [blame] | 531 | status = "okay"; |
| 532 | }; |
| 533 | |
Robin Gong | 422b067 | 2014-11-12 16:20:37 +0800 | [diff] [blame] | 534 | &snvs_poweroff { |
| 535 | status = "okay"; |
| 536 | }; |
| 537 | |
Nicolin Chen | 4882870 | 2013-06-14 13:19:57 +0800 | [diff] [blame] | 538 | &ssi2 { |
Nicolin Chen | 4882870 | 2013-06-14 13:19:57 +0800 | [diff] [blame] | 539 | status = "okay"; |
| 540 | }; |
| 541 | |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 542 | &uart1 { |
| 543 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 544 | pinctrl-0 = <&pinctrl_uart1>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 545 | status = "okay"; |
| 546 | }; |
| 547 | |
| 548 | &usbh1 { |
Peter Chen | 015fa46 | 2013-08-12 16:46:24 +0800 | [diff] [blame] | 549 | vbus-supply = <®_usb_h1_vbus>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 550 | status = "okay"; |
| 551 | }; |
| 552 | |
| 553 | &usbotg { |
| 554 | vbus-supply = <®_usb_otg_vbus>; |
| 555 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 556 | pinctrl-0 = <&pinctrl_usbotg>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 557 | disable-over-current; |
| 558 | status = "okay"; |
| 559 | }; |
| 560 | |
| 561 | &usdhc2 { |
| 562 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 563 | pinctrl-0 = <&pinctrl_usdhc2>; |
Fabio Estevam | e367817 | 2013-09-17 13:46:23 -0300 | [diff] [blame] | 564 | bus-width = <8>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 565 | cd-gpios = <&gpio2 2 0>; |
| 566 | wp-gpios = <&gpio2 3 0>; |
| 567 | status = "okay"; |
| 568 | }; |
| 569 | |
| 570 | &usdhc3 { |
| 571 | pinctrl-names = "default"; |
Shawn Guo | 817c27a | 2013-10-23 15:36:09 +0800 | [diff] [blame] | 572 | pinctrl-0 = <&pinctrl_usdhc3>; |
Fabio Estevam | e367817 | 2013-09-17 13:46:23 -0300 | [diff] [blame] | 573 | bus-width = <8>; |
Shawn Guo | 082d33d | 2013-04-02 13:15:16 +0800 | [diff] [blame] | 574 | cd-gpios = <&gpio2 0 0>; |
| 575 | wp-gpios = <&gpio2 1 0>; |
| 576 | status = "okay"; |
| 577 | }; |
Fabio Estevam | e02ab39a | 2014-05-08 11:10:56 -0300 | [diff] [blame] | 578 | |
| 579 | &usdhc4 { |
| 580 | pinctrl-names = "default"; |
| 581 | pinctrl-0 = <&pinctrl_usdhc4>; |
| 582 | bus-width = <8>; |
| 583 | non-removable; |
| 584 | no-1-8-v; |
| 585 | status = "okay"; |
| 586 | }; |