Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 Gateworks Corporation |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 12 | #include <dt-bindings/gpio/gpio.h> |
| 13 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 14 | / { |
| 15 | /* these are used by bootloader for disabling nodes */ |
| 16 | aliases { |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 17 | led0 = &led0; |
| 18 | led1 = &led1; |
| 19 | led2 = &led2; |
| 20 | nand = &gpmi; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 21 | ssi0 = &ssi1; |
| 22 | usb0 = &usbh1; |
| 23 | usb1 = &usbotg; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | chosen { |
| 27 | bootargs = "console=ttymxc1,115200"; |
| 28 | }; |
| 29 | |
Tim Harvey | b325324 | 2014-04-30 23:32:30 -0700 | [diff] [blame] | 30 | backlight { |
| 31 | compatible = "pwm-backlight"; |
| 32 | pwms = <&pwm4 0 5000000>; |
| 33 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 34 | default-brightness-level = <7>; |
| 35 | }; |
| 36 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 37 | leds { |
| 38 | compatible = "gpio-leds"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 39 | pinctrl-names = "default"; |
| 40 | pinctrl-0 = <&pinctrl_gpio_leds>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 41 | |
| 42 | led0: user1 { |
| 43 | label = "user1"; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 44 | gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 45 | default-state = "on"; |
| 46 | linux,default-trigger = "heartbeat"; |
| 47 | }; |
| 48 | |
| 49 | led1: user2 { |
| 50 | label = "user2"; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 51 | gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 52 | default-state = "off"; |
| 53 | }; |
| 54 | |
| 55 | led2: user3 { |
| 56 | label = "user3"; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 57 | gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 58 | default-state = "off"; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | memory { |
| 63 | reg = <0x10000000 0x40000000>; |
| 64 | }; |
| 65 | |
| 66 | pps { |
| 67 | compatible = "pps-gpio"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 68 | pinctrl-names = "default"; |
| 69 | pinctrl-0 = <&pinctrl_pps>; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 70 | gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 71 | status = "okay"; |
| 72 | }; |
| 73 | |
| 74 | regulators { |
| 75 | compatible = "simple-bus"; |
| 76 | #address-cells = <1>; |
| 77 | #size-cells = <0>; |
| 78 | |
| 79 | reg_1p0v: regulator@0 { |
| 80 | compatible = "regulator-fixed"; |
| 81 | reg = <0>; |
| 82 | regulator-name = "1P0V"; |
| 83 | regulator-min-microvolt = <1000000>; |
| 84 | regulator-max-microvolt = <1000000>; |
| 85 | regulator-always-on; |
| 86 | }; |
| 87 | |
| 88 | reg_3p3v: regulator@1 { |
| 89 | compatible = "regulator-fixed"; |
| 90 | reg = <1>; |
| 91 | regulator-name = "3P3V"; |
| 92 | regulator-min-microvolt = <3300000>; |
| 93 | regulator-max-microvolt = <3300000>; |
| 94 | regulator-always-on; |
| 95 | }; |
| 96 | |
| 97 | reg_usb_h1_vbus: regulator@2 { |
| 98 | compatible = "regulator-fixed"; |
| 99 | reg = <2>; |
| 100 | regulator-name = "usb_h1_vbus"; |
| 101 | regulator-min-microvolt = <5000000>; |
| 102 | regulator-max-microvolt = <5000000>; |
| 103 | regulator-always-on; |
| 104 | }; |
| 105 | |
| 106 | reg_usb_otg_vbus: regulator@3 { |
| 107 | compatible = "regulator-fixed"; |
| 108 | reg = <3>; |
| 109 | regulator-name = "usb_otg_vbus"; |
| 110 | regulator-min-microvolt = <5000000>; |
| 111 | regulator-max-microvolt = <5000000>; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 112 | gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 113 | enable-active-high; |
| 114 | }; |
| 115 | }; |
| 116 | |
| 117 | sound { |
Tim Harvey | b12d1e9 | 2014-05-21 23:04:54 -0700 | [diff] [blame] | 118 | compatible = "fsl,imx6q-ventana-sgtl5000", |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 119 | "fsl,imx-audio-sgtl5000"; |
Tim Harvey | b12d1e9 | 2014-05-21 23:04:54 -0700 | [diff] [blame] | 120 | model = "sgtl5000-audio"; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 121 | ssi-controller = <&ssi1>; |
| 122 | audio-codec = <&codec>; |
| 123 | audio-routing = |
| 124 | "MIC_IN", "Mic Jack", |
| 125 | "Mic Jack", "Mic Bias", |
| 126 | "Headphone Jack", "HP_OUT"; |
| 127 | mux-int-port = <1>; |
| 128 | mux-ext-port = <4>; |
| 129 | }; |
| 130 | }; |
| 131 | |
| 132 | &audmux { |
| 133 | pinctrl-names = "default"; |
| 134 | pinctrl-0 = <&pinctrl_audmux>; /* AUD4<->sgtl5000 */ |
| 135 | status = "okay"; |
| 136 | }; |
| 137 | |
| 138 | &can1 { |
| 139 | pinctrl-names = "default"; |
| 140 | pinctrl-0 = <&pinctrl_flexcan1>; |
| 141 | status = "okay"; |
| 142 | }; |
| 143 | |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 144 | &clks { |
| 145 | assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, |
Jagan Teki | bf5393c | 2016-10-14 15:09:29 +0530 | [diff] [blame] | 146 | <&clks IMX6QDL_CLK_LDB_DI1_SEL>; |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 147 | assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>, |
Jagan Teki | bf5393c | 2016-10-14 15:09:29 +0530 | [diff] [blame] | 148 | <&clks IMX6QDL_CLK_PLL3_USB_OTG>; |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 149 | }; |
| 150 | |
Tim Harvey | b0a5c46 | 2016-11-16 08:26:40 -0800 | [diff] [blame] | 151 | &ecspi2 { |
Tim Harvey | b0a5c46 | 2016-11-16 08:26:40 -0800 | [diff] [blame] | 152 | cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; |
| 153 | pinctrl-names = "default"; |
| 154 | pinctrl-0 = <&pinctrl_ecspi2>; |
| 155 | status = "okay"; |
| 156 | }; |
| 157 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 158 | &fec { |
| 159 | pinctrl-names = "default"; |
| 160 | pinctrl-0 = <&pinctrl_enet>; |
Krzysztof Hałasa | 3a35e47 | 2015-12-11 14:22:04 +0100 | [diff] [blame] | 161 | phy-mode = "rgmii-id"; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 162 | phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 163 | status = "okay"; |
| 164 | }; |
| 165 | |
| 166 | &gpmi { |
| 167 | pinctrl-names = "default"; |
| 168 | pinctrl-0 = <&pinctrl_gpmi_nand>; |
| 169 | status = "okay"; |
| 170 | }; |
| 171 | |
Tim Harvey | aef15db | 2014-04-23 00:47:51 -0700 | [diff] [blame] | 172 | &hdmi { |
| 173 | ddc-i2c-bus = <&i2c3>; |
| 174 | status = "okay"; |
| 175 | }; |
| 176 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 177 | &i2c1 { |
| 178 | clock-frequency = <100000>; |
| 179 | pinctrl-names = "default"; |
| 180 | pinctrl-0 = <&pinctrl_i2c1>; |
| 181 | status = "okay"; |
| 182 | |
| 183 | eeprom1: eeprom@50 { |
| 184 | compatible = "atmel,24c02"; |
| 185 | reg = <0x50>; |
| 186 | pagesize = <16>; |
| 187 | }; |
| 188 | |
| 189 | eeprom2: eeprom@51 { |
| 190 | compatible = "atmel,24c02"; |
| 191 | reg = <0x51>; |
| 192 | pagesize = <16>; |
| 193 | }; |
| 194 | |
| 195 | eeprom3: eeprom@52 { |
| 196 | compatible = "atmel,24c02"; |
| 197 | reg = <0x52>; |
| 198 | pagesize = <16>; |
| 199 | }; |
| 200 | |
| 201 | eeprom4: eeprom@53 { |
| 202 | compatible = "atmel,24c02"; |
| 203 | reg = <0x53>; |
| 204 | pagesize = <16>; |
| 205 | }; |
| 206 | |
| 207 | gpio: pca9555@23 { |
| 208 | compatible = "nxp,pca9555"; |
| 209 | reg = <0x23>; |
| 210 | gpio-controller; |
| 211 | #gpio-cells = <2>; |
| 212 | }; |
| 213 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 214 | rtc: ds1672@68 { |
| 215 | compatible = "dallas,ds1672"; |
| 216 | reg = <0x68>; |
| 217 | }; |
| 218 | }; |
| 219 | |
| 220 | &i2c2 { |
| 221 | clock-frequency = <100000>; |
| 222 | pinctrl-names = "default"; |
| 223 | pinctrl-0 = <&pinctrl_i2c2>; |
| 224 | status = "okay"; |
| 225 | |
| 226 | pmic: pfuze100@08 { |
| 227 | compatible = "fsl,pfuze100"; |
| 228 | reg = <0x08>; |
| 229 | |
| 230 | regulators { |
| 231 | sw1a_reg: sw1ab { |
| 232 | regulator-min-microvolt = <300000>; |
| 233 | regulator-max-microvolt = <1875000>; |
| 234 | regulator-boot-on; |
| 235 | regulator-always-on; |
| 236 | regulator-ramp-delay = <6250>; |
| 237 | }; |
| 238 | |
| 239 | sw1c_reg: sw1c { |
| 240 | regulator-min-microvolt = <300000>; |
| 241 | regulator-max-microvolt = <1875000>; |
| 242 | regulator-boot-on; |
| 243 | regulator-always-on; |
| 244 | regulator-ramp-delay = <6250>; |
| 245 | }; |
| 246 | |
| 247 | sw2_reg: sw2 { |
| 248 | regulator-min-microvolt = <800000>; |
| 249 | regulator-max-microvolt = <3950000>; |
| 250 | regulator-boot-on; |
| 251 | regulator-always-on; |
| 252 | }; |
| 253 | |
| 254 | sw3a_reg: sw3a { |
| 255 | regulator-min-microvolt = <400000>; |
| 256 | regulator-max-microvolt = <1975000>; |
| 257 | regulator-boot-on; |
| 258 | regulator-always-on; |
| 259 | }; |
| 260 | |
| 261 | sw3b_reg: sw3b { |
| 262 | regulator-min-microvolt = <400000>; |
| 263 | regulator-max-microvolt = <1975000>; |
| 264 | regulator-boot-on; |
| 265 | regulator-always-on; |
| 266 | }; |
| 267 | |
| 268 | sw4_reg: sw4 { |
| 269 | regulator-min-microvolt = <800000>; |
| 270 | regulator-max-microvolt = <3300000>; |
| 271 | }; |
| 272 | |
| 273 | swbst_reg: swbst { |
| 274 | regulator-min-microvolt = <5000000>; |
| 275 | regulator-max-microvolt = <5150000>; |
Tim Harvey | 70b6b43 | 2015-11-06 14:40:30 -0800 | [diff] [blame] | 276 | regulator-boot-on; |
| 277 | regulator-always-on; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 278 | }; |
| 279 | |
| 280 | snvs_reg: vsnvs { |
| 281 | regulator-min-microvolt = <1000000>; |
| 282 | regulator-max-microvolt = <3000000>; |
| 283 | regulator-boot-on; |
| 284 | regulator-always-on; |
| 285 | }; |
| 286 | |
| 287 | vref_reg: vrefddr { |
| 288 | regulator-boot-on; |
| 289 | regulator-always-on; |
| 290 | }; |
| 291 | |
| 292 | vgen1_reg: vgen1 { |
| 293 | regulator-min-microvolt = <800000>; |
| 294 | regulator-max-microvolt = <1550000>; |
| 295 | }; |
| 296 | |
| 297 | vgen2_reg: vgen2 { |
| 298 | regulator-min-microvolt = <800000>; |
| 299 | regulator-max-microvolt = <1550000>; |
| 300 | }; |
| 301 | |
| 302 | vgen3_reg: vgen3 { |
| 303 | regulator-min-microvolt = <1800000>; |
| 304 | regulator-max-microvolt = <3300000>; |
| 305 | }; |
| 306 | |
| 307 | vgen4_reg: vgen4 { |
| 308 | regulator-min-microvolt = <1800000>; |
| 309 | regulator-max-microvolt = <3300000>; |
| 310 | regulator-always-on; |
| 311 | }; |
| 312 | |
| 313 | vgen5_reg: vgen5 { |
| 314 | regulator-min-microvolt = <1800000>; |
| 315 | regulator-max-microvolt = <3300000>; |
| 316 | regulator-always-on; |
| 317 | }; |
| 318 | |
| 319 | vgen6_reg: vgen6 { |
| 320 | regulator-min-microvolt = <1800000>; |
| 321 | regulator-max-microvolt = <3300000>; |
| 322 | regulator-always-on; |
| 323 | }; |
| 324 | }; |
| 325 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 326 | }; |
| 327 | |
| 328 | &i2c3 { |
| 329 | clock-frequency = <100000>; |
| 330 | pinctrl-names = "default"; |
| 331 | pinctrl-0 = <&pinctrl_i2c3>; |
| 332 | status = "okay"; |
| 333 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 334 | codec: sgtl5000@0a { |
| 335 | compatible = "fsl,sgtl5000"; |
| 336 | reg = <0x0a>; |
Fabio Estevam | b26a68c | 2016-04-26 22:28:29 -0300 | [diff] [blame] | 337 | clocks = <&clks IMX6QDL_CLK_CKO>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 338 | VDDA-supply = <&sw4_reg>; |
| 339 | VDDIO-supply = <®_3p3v>; |
| 340 | }; |
| 341 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 342 | touchscreen: egalax_ts@04 { |
| 343 | compatible = "eeti,egalax_ts"; |
| 344 | reg = <0x04>; |
| 345 | interrupt-parent = <&gpio7>; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 346 | interrupts = <12 2>; |
| 347 | wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 348 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 349 | }; |
| 350 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 351 | &ldb { |
| 352 | status = "okay"; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 353 | |
Tim Harvey | a7668fd | 2015-11-06 14:40:31 -0800 | [diff] [blame] | 354 | lvds-channel@0 { |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 355 | fsl,data-mapping = "spwg"; |
| 356 | fsl,data-width = <18>; |
| 357 | status = "okay"; |
| 358 | |
| 359 | display-timings { |
| 360 | native-mode = <&timing0>; |
| 361 | timing0: hsd100pxn1 { |
| 362 | clock-frequency = <65000000>; |
| 363 | hactive = <1024>; |
| 364 | vactive = <768>; |
| 365 | hback-porch = <220>; |
| 366 | hfront-porch = <40>; |
| 367 | vback-porch = <21>; |
| 368 | vfront-porch = <7>; |
| 369 | hsync-len = <60>; |
| 370 | vsync-len = <10>; |
| 371 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 372 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 373 | }; |
| 374 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 375 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 376 | &pcie { |
| 377 | pinctrl-names = "default"; |
| 378 | pinctrl-0 = <&pinctrl_pcie>; |
| 379 | reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>; |
| 380 | status = "okay"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 381 | }; |
| 382 | |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 383 | &pwm1 { |
| 384 | pinctrl-names = "default"; |
| 385 | pinctrl-0 = <&pinctrl_pwm1>; /* MX6_DIO0 */ |
| 386 | status = "disabled"; |
| 387 | }; |
| 388 | |
| 389 | &pwm2 { |
| 390 | pinctrl-names = "default"; |
| 391 | pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */ |
| 392 | status = "disabled"; |
| 393 | }; |
| 394 | |
| 395 | &pwm3 { |
| 396 | pinctrl-names = "default"; |
| 397 | pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */ |
| 398 | status = "disabled"; |
| 399 | }; |
| 400 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 401 | &pwm4 { |
Tim Harvey | f8ea256 | 2016-01-07 09:58:09 -0800 | [diff] [blame] | 402 | pinctrl-names = "default", "state_dio"; |
| 403 | pinctrl-0 = <&pinctrl_pwm4_backlight>; |
| 404 | pinctrl-1 = <&pinctrl_pwm4_dio>; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 405 | status = "okay"; |
| 406 | }; |
| 407 | |
| 408 | &ssi1 { |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 409 | status = "okay"; |
| 410 | }; |
| 411 | |
| 412 | &ssi2 { |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 413 | status = "okay"; |
| 414 | }; |
| 415 | |
| 416 | &uart1 { |
| 417 | pinctrl-names = "default"; |
| 418 | pinctrl-0 = <&pinctrl_uart1>; |
Tim Harvey | 82515ff | 2016-08-09 12:18:49 -0700 | [diff] [blame] | 419 | rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 420 | status = "okay"; |
| 421 | }; |
| 422 | |
| 423 | &uart2 { |
| 424 | pinctrl-names = "default"; |
| 425 | pinctrl-0 = <&pinctrl_uart2>; |
| 426 | status = "okay"; |
| 427 | }; |
| 428 | |
| 429 | &uart5 { |
| 430 | pinctrl-names = "default"; |
| 431 | pinctrl-0 = <&pinctrl_uart5>; |
| 432 | status = "okay"; |
| 433 | }; |
| 434 | |
| 435 | &usbotg { |
| 436 | vbus-supply = <®_usb_otg_vbus>; |
| 437 | pinctrl-names = "default"; |
| 438 | pinctrl-0 = <&pinctrl_usbotg>; |
| 439 | disable-over-current; |
| 440 | status = "okay"; |
| 441 | }; |
| 442 | |
| 443 | &usbh1 { |
| 444 | vbus-supply = <®_usb_h1_vbus>; |
| 445 | status = "okay"; |
| 446 | }; |
| 447 | |
| 448 | &usdhc3 { |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 449 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 450 | pinctrl-0 = <&pinctrl_usdhc3>; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 451 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; |
| 452 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
Dong Aisheng | 89c1a8cf | 2015-07-22 20:53:02 +0800 | [diff] [blame] | 453 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 454 | vmmc-supply = <®_3p3v>; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 455 | no-1-8-v; /* firmware will remove if board revision supports */ |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 456 | status = "okay"; |
| 457 | }; |
| 458 | |
Tim Harvey | 51a012b | 2016-06-29 06:31:03 -0700 | [diff] [blame] | 459 | &wdog1 { |
| 460 | status = "disabled"; |
| 461 | }; |
| 462 | |
| 463 | &wdog2 { |
| 464 | pinctrl-names = "default"; |
| 465 | pinctrl-0 = <&pinctrl_wdog>; |
| 466 | fsl,ext-reset-output; |
| 467 | status = "okay"; |
| 468 | }; |
| 469 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 470 | &iomuxc { |
| 471 | imx6qdl-gw54xx { |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 472 | pinctrl_audmux: audmuxgrp { |
| 473 | fsl,pins = < |
| 474 | MX6QDL_PAD_SD2_DAT0__AUD4_RXD 0x130b0 |
| 475 | MX6QDL_PAD_SD2_DAT3__AUD4_TXC 0x130b0 |
| 476 | MX6QDL_PAD_SD2_DAT2__AUD4_TXD 0x110b0 |
| 477 | MX6QDL_PAD_SD2_DAT1__AUD4_TXFS 0x130b0 |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 478 | MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 /* AUD4_MCK */ |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 479 | >; |
| 480 | }; |
| 481 | |
| 482 | pinctrl_enet: enetgrp { |
| 483 | fsl,pins = < |
Uwe Kleine-König | c007b3a | 2016-07-08 23:22:54 +0200 | [diff] [blame] | 484 | MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 |
| 485 | MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 |
| 486 | MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 |
| 487 | MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 |
| 488 | MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 |
| 489 | MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 |
| 490 | MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030 |
| 491 | MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030 |
| 492 | MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030 |
| 493 | MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030 |
| 494 | MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030 |
| 495 | MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030 |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 496 | MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 |
| 497 | MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 |
| 498 | MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 |
| 499 | MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 |
| 500 | >; |
| 501 | }; |
| 502 | |
Tim Harvey | b0a5c46 | 2016-11-16 08:26:40 -0800 | [diff] [blame] | 503 | pinctrl_ecspi2: escpi2grp { |
| 504 | fsl,pins = < |
| 505 | MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 |
| 506 | MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 |
| 507 | MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 |
| 508 | MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b1 |
| 509 | >; |
| 510 | }; |
| 511 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 512 | pinctrl_flexcan1: flexcan1grp { |
| 513 | fsl,pins = < |
Tim Harvey | 73e005c | 2014-09-08 23:07:29 -0700 | [diff] [blame] | 514 | MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1 |
| 515 | MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b1 |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 516 | MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x4001b0b0 /* CAN_STBY */ |
| 517 | >; |
| 518 | }; |
| 519 | |
| 520 | pinctrl_gpio_leds: gpioledsgrp { |
| 521 | fsl,pins = < |
| 522 | MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 |
| 523 | MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0 |
| 524 | MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0 |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 525 | >; |
| 526 | }; |
| 527 | |
| 528 | pinctrl_gpmi_nand: gpminandgrp { |
| 529 | fsl,pins = < |
| 530 | MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 |
| 531 | MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 |
| 532 | MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 |
| 533 | MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 |
| 534 | MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 535 | MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 |
| 536 | MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 |
| 537 | MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 |
| 538 | MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 |
| 539 | MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 |
| 540 | MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 |
| 541 | MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 |
| 542 | MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 |
| 543 | MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 |
| 544 | MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 |
| 545 | >; |
| 546 | }; |
| 547 | |
| 548 | pinctrl_i2c1: i2c1grp { |
| 549 | fsl,pins = < |
| 550 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 551 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 552 | >; |
| 553 | }; |
| 554 | |
| 555 | pinctrl_i2c2: i2c2grp { |
| 556 | fsl,pins = < |
| 557 | MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 |
| 558 | MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 |
| 559 | >; |
| 560 | }; |
| 561 | |
| 562 | pinctrl_i2c3: i2c3grp { |
| 563 | fsl,pins = < |
| 564 | MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 |
| 565 | MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 |
| 566 | >; |
| 567 | }; |
| 568 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 569 | pinctrl_pcie: pciegrp { |
| 570 | fsl,pins = < |
| 571 | MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 /* PCIE IRQ */ |
| 572 | MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 /* PCIE RST */ |
| 573 | >; |
| 574 | }; |
| 575 | |
| 576 | pinctrl_pps: ppsgrp { |
| 577 | fsl,pins = < |
| 578 | MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1 |
| 579 | >; |
| 580 | }; |
| 581 | |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 582 | pinctrl_pwm1: pwm1grp { |
| 583 | fsl,pins = < |
| 584 | MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b1 |
| 585 | >; |
| 586 | }; |
| 587 | |
| 588 | pinctrl_pwm2: pwm2grp { |
| 589 | fsl,pins = < |
| 590 | MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1 |
| 591 | >; |
| 592 | }; |
| 593 | |
| 594 | pinctrl_pwm3: pwm3grp { |
| 595 | fsl,pins = < |
| 596 | MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1 |
| 597 | >; |
| 598 | }; |
| 599 | |
Tim Harvey | f8ea256 | 2016-01-07 09:58:09 -0800 | [diff] [blame] | 600 | pinctrl_pwm4_backlight: pwm4grpbacklight { |
Tim Harvey | b325324 | 2014-04-30 23:32:30 -0700 | [diff] [blame] | 601 | fsl,pins = < |
Tim Harvey | f8ea256 | 2016-01-07 09:58:09 -0800 | [diff] [blame] | 602 | /* LVDS_PWM J6.5 */ |
Tim Harvey | b325324 | 2014-04-30 23:32:30 -0700 | [diff] [blame] | 603 | MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 |
| 604 | >; |
| 605 | }; |
| 606 | |
Tim Harvey | f8ea256 | 2016-01-07 09:58:09 -0800 | [diff] [blame] | 607 | pinctrl_pwm4_dio: pwm4grpdio { |
| 608 | fsl,pins = < |
| 609 | /* DIO3 J16.4 */ |
| 610 | MX6QDL_PAD_SD4_DAT2__PWM4_OUT 0x1b0b1 |
| 611 | >; |
| 612 | }; |
| 613 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 614 | pinctrl_uart1: uart1grp { |
| 615 | fsl,pins = < |
| 616 | MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 |
| 617 | MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 |
Tim Harvey | 82515ff | 2016-08-09 12:18:49 -0700 | [diff] [blame] | 618 | MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 619 | >; |
| 620 | }; |
| 621 | |
| 622 | pinctrl_uart2: uart2grp { |
| 623 | fsl,pins = < |
| 624 | MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1 |
| 625 | MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1 |
| 626 | >; |
| 627 | }; |
| 628 | |
| 629 | pinctrl_uart5: uart5grp { |
| 630 | fsl,pins = < |
| 631 | MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1 |
| 632 | MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1 |
| 633 | >; |
| 634 | }; |
| 635 | |
| 636 | pinctrl_usbotg: usbotggrp { |
| 637 | fsl,pins = < |
| 638 | MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 639 | MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* PWR_EN */ |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 640 | >; |
| 641 | }; |
| 642 | |
| 643 | pinctrl_usdhc3: usdhc3grp { |
| 644 | fsl,pins = < |
| 645 | MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 |
| 646 | MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 |
| 647 | MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 |
| 648 | MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 |
| 649 | MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 |
| 650 | MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 651 | MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x17059 /* CD */ |
| 652 | MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x17059 |
| 653 | >; |
| 654 | }; |
| 655 | |
| 656 | pinctrl_usdhc3_100mhz: usdhc3grp100mhz { |
| 657 | fsl,pins = < |
| 658 | MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170b9 |
| 659 | MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b9 |
| 660 | MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170b9 |
| 661 | MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170b9 |
| 662 | MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170b9 |
| 663 | MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170b9 |
| 664 | MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x170b9 /* CD */ |
| 665 | MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x170b9 |
| 666 | >; |
| 667 | }; |
| 668 | |
| 669 | pinctrl_usdhc3_200mhz: usdhc3grp200mhz { |
| 670 | fsl,pins = < |
| 671 | MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170f9 |
| 672 | MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100f9 |
| 673 | MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170f9 |
| 674 | MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170f9 |
| 675 | MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170f9 |
| 676 | MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170f9 |
| 677 | MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x170f9 /* CD */ |
| 678 | MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x170f9 |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 679 | >; |
| 680 | }; |
Tim Harvey | 51a012b | 2016-06-29 06:31:03 -0700 | [diff] [blame] | 681 | |
| 682 | pinctrl_wdog: wdoggrp { |
| 683 | fsl,pins = < |
| 684 | MX6QDL_PAD_SD1_DAT3__WDOG2_B 0x1b0b0 |
| 685 | >; |
| 686 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 687 | }; |
| 688 | }; |