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 | |
Marco Franchi | ad00e08 | 2018-01-24 11:22:14 -0200 | [diff] [blame] | 62 | memory@10000000 { |
Marco Franchi | 404c0c9 | 2018-12-05 16:10:03 -0200 | [diff] [blame^] | 63 | device_type = "memory"; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 64 | reg = <0x10000000 0x40000000>; |
| 65 | }; |
| 66 | |
| 67 | pps { |
| 68 | compatible = "pps-gpio"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 69 | pinctrl-names = "default"; |
| 70 | pinctrl-0 = <&pinctrl_pps>; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 71 | gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 72 | status = "okay"; |
| 73 | }; |
| 74 | |
| 75 | regulators { |
| 76 | compatible = "simple-bus"; |
| 77 | #address-cells = <1>; |
| 78 | #size-cells = <0>; |
| 79 | |
| 80 | reg_1p0v: regulator@0 { |
| 81 | compatible = "regulator-fixed"; |
| 82 | reg = <0>; |
| 83 | regulator-name = "1P0V"; |
| 84 | regulator-min-microvolt = <1000000>; |
| 85 | regulator-max-microvolt = <1000000>; |
| 86 | regulator-always-on; |
| 87 | }; |
| 88 | |
| 89 | reg_3p3v: regulator@1 { |
| 90 | compatible = "regulator-fixed"; |
| 91 | reg = <1>; |
| 92 | regulator-name = "3P3V"; |
| 93 | regulator-min-microvolt = <3300000>; |
| 94 | regulator-max-microvolt = <3300000>; |
| 95 | regulator-always-on; |
| 96 | }; |
| 97 | |
| 98 | reg_usb_h1_vbus: regulator@2 { |
| 99 | compatible = "regulator-fixed"; |
| 100 | reg = <2>; |
| 101 | regulator-name = "usb_h1_vbus"; |
| 102 | regulator-min-microvolt = <5000000>; |
| 103 | regulator-max-microvolt = <5000000>; |
| 104 | regulator-always-on; |
| 105 | }; |
| 106 | |
| 107 | reg_usb_otg_vbus: regulator@3 { |
| 108 | compatible = "regulator-fixed"; |
| 109 | reg = <3>; |
| 110 | regulator-name = "usb_otg_vbus"; |
| 111 | regulator-min-microvolt = <5000000>; |
| 112 | regulator-max-microvolt = <5000000>; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 113 | gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 114 | enable-active-high; |
| 115 | }; |
| 116 | }; |
| 117 | |
| 118 | sound { |
Tim Harvey | b12d1e9 | 2014-05-21 23:04:54 -0700 | [diff] [blame] | 119 | compatible = "fsl,imx6q-ventana-sgtl5000", |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 120 | "fsl,imx-audio-sgtl5000"; |
Tim Harvey | b12d1e9 | 2014-05-21 23:04:54 -0700 | [diff] [blame] | 121 | model = "sgtl5000-audio"; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 122 | ssi-controller = <&ssi1>; |
| 123 | audio-codec = <&codec>; |
| 124 | audio-routing = |
| 125 | "MIC_IN", "Mic Jack", |
| 126 | "Mic Jack", "Mic Bias", |
| 127 | "Headphone Jack", "HP_OUT"; |
| 128 | mux-int-port = <1>; |
| 129 | mux-ext-port = <4>; |
| 130 | }; |
| 131 | }; |
| 132 | |
| 133 | &audmux { |
| 134 | pinctrl-names = "default"; |
| 135 | pinctrl-0 = <&pinctrl_audmux>; /* AUD4<->sgtl5000 */ |
| 136 | status = "okay"; |
| 137 | }; |
| 138 | |
| 139 | &can1 { |
| 140 | pinctrl-names = "default"; |
| 141 | pinctrl-0 = <&pinctrl_flexcan1>; |
| 142 | status = "okay"; |
| 143 | }; |
| 144 | |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 145 | &clks { |
| 146 | assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, |
Jagan Teki | bf5393c | 2016-10-14 15:09:29 +0530 | [diff] [blame] | 147 | <&clks IMX6QDL_CLK_LDB_DI1_SEL>; |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 148 | assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>, |
Jagan Teki | bf5393c | 2016-10-14 15:09:29 +0530 | [diff] [blame] | 149 | <&clks IMX6QDL_CLK_PLL3_USB_OTG>; |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 150 | }; |
| 151 | |
Tim Harvey | b0a5c46 | 2016-11-16 08:26:40 -0800 | [diff] [blame] | 152 | &ecspi2 { |
Tim Harvey | b0a5c46 | 2016-11-16 08:26:40 -0800 | [diff] [blame] | 153 | cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; |
| 154 | pinctrl-names = "default"; |
| 155 | pinctrl-0 = <&pinctrl_ecspi2>; |
| 156 | status = "okay"; |
| 157 | }; |
| 158 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 159 | &fec { |
| 160 | pinctrl-names = "default"; |
| 161 | pinctrl-0 = <&pinctrl_enet>; |
Krzysztof Hałasa | 3a35e47 | 2015-12-11 14:22:04 +0100 | [diff] [blame] | 162 | phy-mode = "rgmii-id"; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 163 | phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 164 | status = "okay"; |
| 165 | }; |
| 166 | |
| 167 | &gpmi { |
| 168 | pinctrl-names = "default"; |
| 169 | pinctrl-0 = <&pinctrl_gpmi_nand>; |
| 170 | status = "okay"; |
| 171 | }; |
| 172 | |
Tim Harvey | aef15db | 2014-04-23 00:47:51 -0700 | [diff] [blame] | 173 | &hdmi { |
| 174 | ddc-i2c-bus = <&i2c3>; |
| 175 | status = "okay"; |
| 176 | }; |
| 177 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 178 | &i2c1 { |
| 179 | clock-frequency = <100000>; |
| 180 | pinctrl-names = "default"; |
| 181 | pinctrl-0 = <&pinctrl_i2c1>; |
| 182 | status = "okay"; |
| 183 | |
| 184 | eeprom1: eeprom@50 { |
| 185 | compatible = "atmel,24c02"; |
| 186 | reg = <0x50>; |
| 187 | pagesize = <16>; |
| 188 | }; |
| 189 | |
| 190 | eeprom2: eeprom@51 { |
| 191 | compatible = "atmel,24c02"; |
| 192 | reg = <0x51>; |
| 193 | pagesize = <16>; |
| 194 | }; |
| 195 | |
| 196 | eeprom3: eeprom@52 { |
| 197 | compatible = "atmel,24c02"; |
| 198 | reg = <0x52>; |
| 199 | pagesize = <16>; |
| 200 | }; |
| 201 | |
| 202 | eeprom4: eeprom@53 { |
| 203 | compatible = "atmel,24c02"; |
| 204 | reg = <0x53>; |
| 205 | pagesize = <16>; |
| 206 | }; |
| 207 | |
| 208 | gpio: pca9555@23 { |
| 209 | compatible = "nxp,pca9555"; |
| 210 | reg = <0x23>; |
| 211 | gpio-controller; |
| 212 | #gpio-cells = <2>; |
| 213 | }; |
| 214 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 215 | rtc: ds1672@68 { |
| 216 | compatible = "dallas,ds1672"; |
| 217 | reg = <0x68>; |
| 218 | }; |
| 219 | }; |
| 220 | |
| 221 | &i2c2 { |
| 222 | clock-frequency = <100000>; |
| 223 | pinctrl-names = "default"; |
| 224 | pinctrl-0 = <&pinctrl_i2c2>; |
| 225 | status = "okay"; |
| 226 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 227 | pmic: pfuze100@8 { |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 228 | compatible = "fsl,pfuze100"; |
| 229 | reg = <0x08>; |
| 230 | |
| 231 | regulators { |
| 232 | sw1a_reg: sw1ab { |
| 233 | regulator-min-microvolt = <300000>; |
| 234 | regulator-max-microvolt = <1875000>; |
| 235 | regulator-boot-on; |
| 236 | regulator-always-on; |
| 237 | regulator-ramp-delay = <6250>; |
| 238 | }; |
| 239 | |
| 240 | sw1c_reg: sw1c { |
| 241 | regulator-min-microvolt = <300000>; |
| 242 | regulator-max-microvolt = <1875000>; |
| 243 | regulator-boot-on; |
| 244 | regulator-always-on; |
| 245 | regulator-ramp-delay = <6250>; |
| 246 | }; |
| 247 | |
| 248 | sw2_reg: sw2 { |
| 249 | regulator-min-microvolt = <800000>; |
| 250 | regulator-max-microvolt = <3950000>; |
| 251 | regulator-boot-on; |
| 252 | regulator-always-on; |
| 253 | }; |
| 254 | |
| 255 | sw3a_reg: sw3a { |
| 256 | regulator-min-microvolt = <400000>; |
| 257 | regulator-max-microvolt = <1975000>; |
| 258 | regulator-boot-on; |
| 259 | regulator-always-on; |
| 260 | }; |
| 261 | |
| 262 | sw3b_reg: sw3b { |
| 263 | regulator-min-microvolt = <400000>; |
| 264 | regulator-max-microvolt = <1975000>; |
| 265 | regulator-boot-on; |
| 266 | regulator-always-on; |
| 267 | }; |
| 268 | |
| 269 | sw4_reg: sw4 { |
| 270 | regulator-min-microvolt = <800000>; |
| 271 | regulator-max-microvolt = <3300000>; |
| 272 | }; |
| 273 | |
| 274 | swbst_reg: swbst { |
| 275 | regulator-min-microvolt = <5000000>; |
| 276 | regulator-max-microvolt = <5150000>; |
Tim Harvey | 70b6b43 | 2015-11-06 14:40:30 -0800 | [diff] [blame] | 277 | regulator-boot-on; |
| 278 | regulator-always-on; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 279 | }; |
| 280 | |
| 281 | snvs_reg: vsnvs { |
| 282 | regulator-min-microvolt = <1000000>; |
| 283 | regulator-max-microvolt = <3000000>; |
| 284 | regulator-boot-on; |
| 285 | regulator-always-on; |
| 286 | }; |
| 287 | |
| 288 | vref_reg: vrefddr { |
| 289 | regulator-boot-on; |
| 290 | regulator-always-on; |
| 291 | }; |
| 292 | |
| 293 | vgen1_reg: vgen1 { |
| 294 | regulator-min-microvolt = <800000>; |
| 295 | regulator-max-microvolt = <1550000>; |
| 296 | }; |
| 297 | |
| 298 | vgen2_reg: vgen2 { |
| 299 | regulator-min-microvolt = <800000>; |
| 300 | regulator-max-microvolt = <1550000>; |
| 301 | }; |
| 302 | |
| 303 | vgen3_reg: vgen3 { |
| 304 | regulator-min-microvolt = <1800000>; |
| 305 | regulator-max-microvolt = <3300000>; |
| 306 | }; |
| 307 | |
| 308 | vgen4_reg: vgen4 { |
| 309 | regulator-min-microvolt = <1800000>; |
| 310 | regulator-max-microvolt = <3300000>; |
| 311 | regulator-always-on; |
| 312 | }; |
| 313 | |
| 314 | vgen5_reg: vgen5 { |
| 315 | regulator-min-microvolt = <1800000>; |
| 316 | regulator-max-microvolt = <3300000>; |
| 317 | regulator-always-on; |
| 318 | }; |
| 319 | |
| 320 | vgen6_reg: vgen6 { |
| 321 | regulator-min-microvolt = <1800000>; |
| 322 | regulator-max-microvolt = <3300000>; |
| 323 | regulator-always-on; |
| 324 | }; |
| 325 | }; |
| 326 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 327 | }; |
| 328 | |
| 329 | &i2c3 { |
| 330 | clock-frequency = <100000>; |
| 331 | pinctrl-names = "default"; |
| 332 | pinctrl-0 = <&pinctrl_i2c3>; |
| 333 | status = "okay"; |
| 334 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 335 | codec: sgtl5000@a { |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 336 | compatible = "fsl,sgtl5000"; |
| 337 | reg = <0x0a>; |
Fabio Estevam | b26a68c | 2016-04-26 22:28:29 -0300 | [diff] [blame] | 338 | clocks = <&clks IMX6QDL_CLK_CKO>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 339 | VDDA-supply = <&sw4_reg>; |
| 340 | VDDIO-supply = <®_3p3v>; |
| 341 | }; |
| 342 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 343 | touchscreen: egalax_ts@4 { |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 344 | compatible = "eeti,egalax_ts"; |
| 345 | reg = <0x04>; |
| 346 | interrupt-parent = <&gpio7>; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 347 | interrupts = <12 2>; |
| 348 | wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 349 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 350 | }; |
| 351 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 352 | &ldb { |
| 353 | status = "okay"; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 354 | |
Tim Harvey | a7668fd | 2015-11-06 14:40:31 -0800 | [diff] [blame] | 355 | lvds-channel@0 { |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 356 | fsl,data-mapping = "spwg"; |
| 357 | fsl,data-width = <18>; |
| 358 | status = "okay"; |
| 359 | |
| 360 | display-timings { |
| 361 | native-mode = <&timing0>; |
| 362 | timing0: hsd100pxn1 { |
| 363 | clock-frequency = <65000000>; |
| 364 | hactive = <1024>; |
| 365 | vactive = <768>; |
| 366 | hback-porch = <220>; |
| 367 | hfront-porch = <40>; |
| 368 | vback-porch = <21>; |
| 369 | vfront-porch = <7>; |
| 370 | hsync-len = <60>; |
| 371 | vsync-len = <10>; |
| 372 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 373 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 374 | }; |
| 375 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 376 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 377 | &pcie { |
| 378 | pinctrl-names = "default"; |
| 379 | pinctrl-0 = <&pinctrl_pcie>; |
| 380 | reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>; |
| 381 | status = "okay"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 382 | }; |
| 383 | |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 384 | &pwm1 { |
| 385 | pinctrl-names = "default"; |
| 386 | pinctrl-0 = <&pinctrl_pwm1>; /* MX6_DIO0 */ |
| 387 | status = "disabled"; |
| 388 | }; |
| 389 | |
| 390 | &pwm2 { |
| 391 | pinctrl-names = "default"; |
| 392 | pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */ |
| 393 | status = "disabled"; |
| 394 | }; |
| 395 | |
| 396 | &pwm3 { |
| 397 | pinctrl-names = "default"; |
| 398 | pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */ |
| 399 | status = "disabled"; |
| 400 | }; |
| 401 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 402 | &pwm4 { |
Tim Harvey | f8ea256 | 2016-01-07 09:58:09 -0800 | [diff] [blame] | 403 | pinctrl-names = "default", "state_dio"; |
| 404 | pinctrl-0 = <&pinctrl_pwm4_backlight>; |
| 405 | pinctrl-1 = <&pinctrl_pwm4_dio>; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 406 | status = "okay"; |
| 407 | }; |
| 408 | |
| 409 | &ssi1 { |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 410 | status = "okay"; |
| 411 | }; |
| 412 | |
| 413 | &ssi2 { |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 414 | status = "okay"; |
| 415 | }; |
| 416 | |
| 417 | &uart1 { |
| 418 | pinctrl-names = "default"; |
| 419 | pinctrl-0 = <&pinctrl_uart1>; |
Tim Harvey | 82515ff | 2016-08-09 12:18:49 -0700 | [diff] [blame] | 420 | rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 421 | status = "okay"; |
| 422 | }; |
| 423 | |
| 424 | &uart2 { |
| 425 | pinctrl-names = "default"; |
| 426 | pinctrl-0 = <&pinctrl_uart2>; |
| 427 | status = "okay"; |
| 428 | }; |
| 429 | |
| 430 | &uart5 { |
| 431 | pinctrl-names = "default"; |
| 432 | pinctrl-0 = <&pinctrl_uart5>; |
| 433 | status = "okay"; |
| 434 | }; |
| 435 | |
| 436 | &usbotg { |
| 437 | vbus-supply = <®_usb_otg_vbus>; |
| 438 | pinctrl-names = "default"; |
| 439 | pinctrl-0 = <&pinctrl_usbotg>; |
| 440 | disable-over-current; |
| 441 | status = "okay"; |
| 442 | }; |
| 443 | |
| 444 | &usbh1 { |
| 445 | vbus-supply = <®_usb_h1_vbus>; |
| 446 | status = "okay"; |
| 447 | }; |
| 448 | |
| 449 | &usdhc3 { |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 450 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 451 | pinctrl-0 = <&pinctrl_usdhc3>; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 452 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; |
| 453 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
Dong Aisheng | 89c1a8cf | 2015-07-22 20:53:02 +0800 | [diff] [blame] | 454 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 455 | vmmc-supply = <®_3p3v>; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 456 | no-1-8-v; /* firmware will remove if board revision supports */ |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 457 | status = "okay"; |
| 458 | }; |
| 459 | |
Tim Harvey | 51a012b | 2016-06-29 06:31:03 -0700 | [diff] [blame] | 460 | &wdog1 { |
| 461 | status = "disabled"; |
| 462 | }; |
| 463 | |
| 464 | &wdog2 { |
| 465 | pinctrl-names = "default"; |
| 466 | pinctrl-0 = <&pinctrl_wdog>; |
| 467 | fsl,ext-reset-output; |
| 468 | status = "okay"; |
| 469 | }; |
| 470 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 471 | &iomuxc { |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [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 |
| 478 | MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 /* AUD4_MCK */ |
| 479 | >; |
| 480 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 481 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 482 | pinctrl_enet: enetgrp { |
| 483 | fsl,pins = < |
| 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 |
| 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 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 502 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [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 | }; |
Tim Harvey | b0a5c46 | 2016-11-16 08:26:40 -0800 | [diff] [blame] | 511 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 512 | pinctrl_flexcan1: flexcan1grp { |
| 513 | fsl,pins = < |
| 514 | MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1 |
| 515 | MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b1 |
| 516 | MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x4001b0b0 /* CAN_STBY */ |
| 517 | >; |
| 518 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 519 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 |
| 525 | >; |
| 526 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 527 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 |
| 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 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 547 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 554 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 561 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 568 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -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 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 575 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 576 | pinctrl_pps: ppsgrp { |
| 577 | fsl,pins = < |
| 578 | MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1 |
| 579 | >; |
| 580 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 581 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 582 | pinctrl_pwm1: pwm1grp { |
| 583 | fsl,pins = < |
| 584 | MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b1 |
| 585 | >; |
| 586 | }; |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 587 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 588 | pinctrl_pwm2: pwm2grp { |
| 589 | fsl,pins = < |
| 590 | MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1 |
| 591 | >; |
| 592 | }; |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 593 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 594 | pinctrl_pwm3: pwm3grp { |
| 595 | fsl,pins = < |
| 596 | MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1 |
| 597 | >; |
| 598 | }; |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 599 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 600 | pinctrl_pwm4_backlight: pwm4grpbacklight { |
| 601 | fsl,pins = < |
| 602 | /* LVDS_PWM J6.5 */ |
| 603 | MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 |
| 604 | >; |
| 605 | }; |
Tim Harvey | b325324 | 2014-04-30 23:32:30 -0700 | [diff] [blame] | 606 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 607 | pinctrl_pwm4_dio: pwm4grpdio { |
| 608 | fsl,pins = < |
| 609 | /* DIO3 J16.4 */ |
| 610 | MX6QDL_PAD_SD4_DAT2__PWM4_OUT 0x1b0b1 |
| 611 | >; |
| 612 | }; |
Tim Harvey | f8ea256 | 2016-01-07 09:58:09 -0800 | [diff] [blame] | 613 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [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 |
| 618 | MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ |
| 619 | >; |
| 620 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 621 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 628 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 635 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 636 | pinctrl_usbotg: usbotggrp { |
| 637 | fsl,pins = < |
| 638 | MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 |
| 639 | MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* PWR_EN */ |
| 640 | >; |
| 641 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 642 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 |
| 651 | MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x17059 /* CD */ |
| 652 | MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x17059 |
| 653 | >; |
| 654 | }; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 655 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 | }; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 668 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 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 |
| 679 | >; |
| 680 | }; |
Tim Harvey | 51a012b | 2016-06-29 06:31:03 -0700 | [diff] [blame] | 681 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 682 | pinctrl_wdog: wdoggrp { |
| 683 | fsl,pins = < |
| 684 | MX6QDL_PAD_SD1_DAT3__WDOG2_B 0x1b0b0 |
| 685 | >; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 686 | }; |
| 687 | }; |