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 | |
Tim Harvey | 5051bff | 2016-11-16 11:40:45 -0800 | [diff] [blame] | 75 | reg_1p0v: regulator-1p0v { |
| 76 | compatible = "regulator-fixed"; |
| 77 | regulator-name = "1P0V"; |
| 78 | regulator-min-microvolt = <1000000>; |
| 79 | regulator-max-microvolt = <1000000>; |
| 80 | regulator-always-on; |
| 81 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 82 | |
Tim Harvey | 5051bff | 2016-11-16 11:40:45 -0800 | [diff] [blame] | 83 | reg_3p3v: regulator-3p3v { |
| 84 | compatible = "regulator-fixed"; |
| 85 | regulator-name = "3P3V"; |
| 86 | regulator-min-microvolt = <3300000>; |
| 87 | regulator-max-microvolt = <3300000>; |
| 88 | regulator-always-on; |
| 89 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 90 | |
Tim Harvey | 5051bff | 2016-11-16 11:40:45 -0800 | [diff] [blame] | 91 | reg_usb_h1_vbus: regulator-usb-h1-vbus { |
| 92 | compatible = "regulator-fixed"; |
| 93 | regulator-name = "usb_h1_vbus"; |
| 94 | regulator-min-microvolt = <5000000>; |
| 95 | regulator-max-microvolt = <5000000>; |
| 96 | regulator-always-on; |
| 97 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 98 | |
Tim Harvey | 5051bff | 2016-11-16 11:40:45 -0800 | [diff] [blame] | 99 | reg_usb_otg_vbus: regulator-usb-otg-vbus { |
| 100 | compatible = "regulator-fixed"; |
| 101 | regulator-name = "usb_otg_vbus"; |
| 102 | regulator-min-microvolt = <5000000>; |
| 103 | regulator-max-microvolt = <5000000>; |
| 104 | gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; |
| 105 | enable-active-high; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 106 | }; |
| 107 | |
| 108 | sound { |
Tim Harvey | b12d1e9 | 2014-05-21 23:04:54 -0700 | [diff] [blame] | 109 | compatible = "fsl,imx6q-ventana-sgtl5000", |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 110 | "fsl,imx-audio-sgtl5000"; |
Tim Harvey | b12d1e9 | 2014-05-21 23:04:54 -0700 | [diff] [blame] | 111 | model = "sgtl5000-audio"; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 112 | ssi-controller = <&ssi1>; |
| 113 | audio-codec = <&codec>; |
| 114 | audio-routing = |
| 115 | "MIC_IN", "Mic Jack", |
| 116 | "Mic Jack", "Mic Bias", |
| 117 | "Headphone Jack", "HP_OUT"; |
| 118 | mux-int-port = <1>; |
| 119 | mux-ext-port = <4>; |
| 120 | }; |
| 121 | }; |
| 122 | |
| 123 | &audmux { |
| 124 | pinctrl-names = "default"; |
| 125 | pinctrl-0 = <&pinctrl_audmux>; |
| 126 | status = "okay"; |
| 127 | }; |
| 128 | |
| 129 | &can1 { |
| 130 | pinctrl-names = "default"; |
| 131 | pinctrl-0 = <&pinctrl_flexcan1>; |
| 132 | status = "okay"; |
| 133 | }; |
| 134 | |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 135 | &clks { |
| 136 | assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, |
Jagan Teki | bf5393c | 2016-10-14 15:09:29 +0530 | [diff] [blame] | 137 | <&clks IMX6QDL_CLK_LDB_DI1_SEL>; |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 138 | assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>, |
Jagan Teki | bf5393c | 2016-10-14 15:09:29 +0530 | [diff] [blame] | 139 | <&clks IMX6QDL_CLK_PLL3_USB_OTG>; |
Tim Harvey | e726a9f | 2015-11-06 14:40:32 -0800 | [diff] [blame] | 140 | }; |
| 141 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 142 | &fec { |
| 143 | pinctrl-names = "default"; |
| 144 | pinctrl-0 = <&pinctrl_enet>; |
Krzysztof Hałasa | 3a35e47 | 2015-12-11 14:22:04 +0100 | [diff] [blame] | 145 | phy-mode = "rgmii-id"; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 146 | phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 147 | status = "okay"; |
| 148 | }; |
| 149 | |
| 150 | &gpmi { |
| 151 | pinctrl-names = "default"; |
| 152 | pinctrl-0 = <&pinctrl_gpmi_nand>; |
| 153 | status = "okay"; |
| 154 | }; |
| 155 | |
Tim Harvey | aef15db | 2014-04-23 00:47:51 -0700 | [diff] [blame] | 156 | &hdmi { |
| 157 | ddc-i2c-bus = <&i2c3>; |
| 158 | status = "okay"; |
| 159 | }; |
| 160 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 161 | &i2c1 { |
| 162 | clock-frequency = <100000>; |
| 163 | pinctrl-names = "default"; |
| 164 | pinctrl-0 = <&pinctrl_i2c1>; |
| 165 | status = "okay"; |
| 166 | |
| 167 | eeprom1: eeprom@50 { |
| 168 | compatible = "atmel,24c02"; |
| 169 | reg = <0x50>; |
| 170 | pagesize = <16>; |
| 171 | }; |
| 172 | |
| 173 | eeprom2: eeprom@51 { |
| 174 | compatible = "atmel,24c02"; |
| 175 | reg = <0x51>; |
| 176 | pagesize = <16>; |
| 177 | }; |
| 178 | |
| 179 | eeprom3: eeprom@52 { |
| 180 | compatible = "atmel,24c02"; |
| 181 | reg = <0x52>; |
| 182 | pagesize = <16>; |
| 183 | }; |
| 184 | |
| 185 | eeprom4: eeprom@53 { |
| 186 | compatible = "atmel,24c02"; |
| 187 | reg = <0x53>; |
| 188 | pagesize = <16>; |
| 189 | }; |
| 190 | |
| 191 | gpio: pca9555@23 { |
| 192 | compatible = "nxp,pca9555"; |
| 193 | reg = <0x23>; |
| 194 | gpio-controller; |
| 195 | #gpio-cells = <2>; |
| 196 | }; |
| 197 | |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 198 | rtc: ds1672@68 { |
| 199 | compatible = "dallas,ds1672"; |
| 200 | reg = <0x68>; |
| 201 | }; |
| 202 | }; |
| 203 | |
| 204 | &i2c2 { |
| 205 | clock-frequency = <100000>; |
| 206 | pinctrl-names = "default"; |
| 207 | pinctrl-0 = <&pinctrl_i2c2>; |
| 208 | status = "okay"; |
Tim Harvey | 5051bff | 2016-11-16 11:40:45 -0800 | [diff] [blame] | 209 | |
| 210 | ltc3676: pmic@3c { |
| 211 | compatible = "lltc,ltc3676"; |
| 212 | reg = <0x3c>; |
| 213 | interrupt-parent = <&gpio1>; |
| 214 | interrupts = <8 IRQ_TYPE_EDGE_FALLING>; |
| 215 | |
| 216 | regulators { |
| 217 | /* VDD_SOC (1+R1/R2 = 1.635) */ |
| 218 | reg_vdd_soc: sw1 { |
| 219 | regulator-name = "vddsoc"; |
| 220 | regulator-min-microvolt = <674400>; |
| 221 | regulator-max-microvolt = <1308000>; |
| 222 | lltc,fb-voltage-divider = <127000 200000>; |
| 223 | regulator-ramp-delay = <7000>; |
| 224 | regulator-boot-on; |
| 225 | regulator-always-on; |
| 226 | }; |
| 227 | |
| 228 | /* VDD_1P8 (1+R1/R2 = 2.505): GPS/VideoIn/ENET-PHY */ |
| 229 | reg_1p8v: sw2 { |
Jagan Teki | ca38f9c | 2017-01-20 00:09:33 +0100 | [diff] [blame] | 230 | regulator-name = "vdd1p8"; |
Tim Harvey | 5051bff | 2016-11-16 11:40:45 -0800 | [diff] [blame] | 231 | regulator-min-microvolt = <1033310>; |
| 232 | regulator-max-microvolt = <2004000>; |
| 233 | lltc,fb-voltage-divider = <301000 200000>; |
| 234 | regulator-ramp-delay = <7000>; |
| 235 | regulator-boot-on; |
| 236 | regulator-always-on; |
| 237 | }; |
| 238 | |
| 239 | /* VDD_ARM (1+R1/R2 = 1.635) */ |
| 240 | reg_vdd_arm: sw3 { |
| 241 | regulator-name = "vddarm"; |
| 242 | regulator-min-microvolt = <674400>; |
| 243 | regulator-max-microvolt = <1308000>; |
| 244 | lltc,fb-voltage-divider = <127000 200000>; |
| 245 | regulator-ramp-delay = <7000>; |
| 246 | regulator-boot-on; |
| 247 | regulator-always-on; |
| 248 | }; |
| 249 | |
| 250 | /* VDD_DDR (1+R1/R2 = 2.105) */ |
| 251 | reg_vdd_ddr: sw4 { |
| 252 | regulator-name = "vddddr"; |
| 253 | regulator-min-microvolt = <868310>; |
| 254 | regulator-max-microvolt = <1684000>; |
| 255 | lltc,fb-voltage-divider = <221000 200000>; |
| 256 | regulator-ramp-delay = <7000>; |
| 257 | regulator-boot-on; |
| 258 | regulator-always-on; |
| 259 | }; |
| 260 | |
| 261 | /* VDD_2P5 (1+R1/R2 = 3.435): PCIe/ENET-PHY */ |
| 262 | reg_2p5v: ldo2 { |
| 263 | regulator-name = "vdd2p5"; |
| 264 | regulator-min-microvolt = <2490375>; |
| 265 | regulator-max-microvolt = <2490375>; |
| 266 | lltc,fb-voltage-divider = <487000 200000>; |
| 267 | regulator-boot-on; |
| 268 | regulator-always-on; |
| 269 | }; |
| 270 | |
| 271 | /* VDD_AUD_1P8: Audio codec */ |
| 272 | reg_aud_1p8v: ldo3 { |
| 273 | regulator-name = "vdd1p8a"; |
| 274 | regulator-min-microvolt = <1800000>; |
| 275 | regulator-max-microvolt = <1800000>; |
| 276 | regulator-boot-on; |
| 277 | }; |
| 278 | |
| 279 | /* VDD_HIGH (1+R1/R2 = 4.17) */ |
| 280 | reg_3p0v: ldo4 { |
| 281 | regulator-name = "vdd3p0"; |
| 282 | regulator-min-microvolt = <3023250>; |
| 283 | regulator-max-microvolt = <3023250>; |
| 284 | lltc,fb-voltage-divider = <634000 200000>; |
| 285 | regulator-boot-on; |
| 286 | regulator-always-on; |
| 287 | }; |
| 288 | }; |
| 289 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 290 | }; |
| 291 | |
| 292 | &i2c3 { |
| 293 | clock-frequency = <100000>; |
| 294 | pinctrl-names = "default"; |
| 295 | pinctrl-0 = <&pinctrl_i2c3>; |
| 296 | status = "okay"; |
| 297 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 298 | codec: sgtl5000@a { |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 299 | compatible = "fsl,sgtl5000"; |
| 300 | reg = <0x0a>; |
Fabio Estevam | b26a68c | 2016-04-26 22:28:29 -0300 | [diff] [blame] | 301 | clocks = <&clks IMX6QDL_CLK_CKO>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 302 | VDDA-supply = <®_1p8v>; |
| 303 | VDDIO-supply = <®_3p3v>; |
| 304 | }; |
| 305 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 306 | touchscreen: egalax_ts@4 { |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 307 | compatible = "eeti,egalax_ts"; |
| 308 | reg = <0x04>; |
| 309 | interrupt-parent = <&gpio1>; |
Tim Harvey | 326cdb1 | 2014-09-08 23:07:28 -0700 | [diff] [blame] | 310 | interrupts = <11 2>; |
| 311 | wakeup-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 312 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 313 | }; |
| 314 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 315 | &ldb { |
| 316 | status = "okay"; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 317 | |
Tim Harvey | a7668fd | 2015-11-06 14:40:31 -0800 | [diff] [blame] | 318 | lvds-channel@0 { |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 319 | fsl,data-mapping = "spwg"; |
| 320 | fsl,data-width = <18>; |
| 321 | status = "okay"; |
| 322 | |
| 323 | display-timings { |
| 324 | native-mode = <&timing0>; |
| 325 | timing0: hsd100pxn1 { |
| 326 | clock-frequency = <65000000>; |
| 327 | hactive = <1024>; |
| 328 | vactive = <768>; |
| 329 | hback-porch = <220>; |
| 330 | hfront-porch = <40>; |
| 331 | vback-porch = <21>; |
| 332 | vfront-porch = <7>; |
| 333 | hsync-len = <60>; |
| 334 | vsync-len = <10>; |
| 335 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 336 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 337 | }; |
| 338 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 339 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 340 | &pcie { |
| 341 | pinctrl-names = "default"; |
| 342 | pinctrl-0 = <&pinctrl_pcie>; |
| 343 | reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>; |
| 344 | status = "okay"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 345 | }; |
| 346 | |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 347 | &pwm2 { |
| 348 | pinctrl-names = "default"; |
| 349 | pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */ |
| 350 | status = "disabled"; |
| 351 | }; |
| 352 | |
| 353 | &pwm3 { |
| 354 | pinctrl-names = "default"; |
| 355 | pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */ |
| 356 | status = "disabled"; |
| 357 | }; |
| 358 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 359 | &pwm4 { |
| 360 | pinctrl-names = "default"; |
| 361 | pinctrl-0 = <&pinctrl_pwm4>; |
| 362 | status = "okay"; |
| 363 | }; |
| 364 | |
| 365 | &ssi1 { |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 366 | status = "okay"; |
| 367 | }; |
| 368 | |
| 369 | &uart1 { |
| 370 | pinctrl-names = "default"; |
| 371 | pinctrl-0 = <&pinctrl_uart1>; |
Tim Harvey | 82515ff | 2016-08-09 12:18:49 -0700 | [diff] [blame] | 372 | rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 373 | status = "okay"; |
| 374 | }; |
| 375 | |
| 376 | &uart2 { |
| 377 | pinctrl-names = "default"; |
| 378 | pinctrl-0 = <&pinctrl_uart2>; |
| 379 | status = "okay"; |
| 380 | }; |
| 381 | |
| 382 | &uart5 { |
| 383 | pinctrl-names = "default"; |
| 384 | pinctrl-0 = <&pinctrl_uart5>; |
| 385 | status = "okay"; |
| 386 | }; |
| 387 | |
| 388 | &usbotg { |
| 389 | vbus-supply = <®_usb_otg_vbus>; |
| 390 | pinctrl-names = "default"; |
| 391 | pinctrl-0 = <&pinctrl_usbotg>; |
| 392 | disable-over-current; |
| 393 | status = "okay"; |
| 394 | }; |
| 395 | |
| 396 | &usbh1 { |
| 397 | vbus-supply = <®_usb_h1_vbus>; |
| 398 | status = "okay"; |
| 399 | }; |
| 400 | |
| 401 | &usdhc3 { |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 402 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 403 | pinctrl-0 = <&pinctrl_usdhc3>; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 404 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; |
| 405 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
Dong Aisheng | 89c1a8cf | 2015-07-22 20:53:02 +0800 | [diff] [blame] | 406 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 407 | vmmc-supply = <®_3p3v>; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 408 | no-1-8-v; /* firmware will remove if board revision supports */ |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 409 | status = "okay"; |
| 410 | }; |
| 411 | |
Tim Harvey | 51a012b | 2016-06-29 06:31:03 -0700 | [diff] [blame] | 412 | &wdog1 { |
| 413 | pinctrl-names = "default"; |
| 414 | pinctrl-0 = <&pinctrl_wdog>; |
| 415 | fsl,ext-reset-output; |
| 416 | }; |
| 417 | |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 418 | &iomuxc { |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 419 | pinctrl_audmux: audmuxgrp { |
| 420 | fsl,pins = < |
| 421 | MX6QDL_PAD_SD2_DAT0__AUD4_RXD 0x130b0 |
| 422 | MX6QDL_PAD_SD2_DAT3__AUD4_TXC 0x130b0 |
| 423 | MX6QDL_PAD_SD2_DAT2__AUD4_TXD 0x110b0 |
| 424 | MX6QDL_PAD_SD2_DAT1__AUD4_TXFS 0x130b0 |
| 425 | MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 /* AUD4_MCK */ |
| 426 | >; |
| 427 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 428 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 429 | pinctrl_enet: enetgrp { |
| 430 | fsl,pins = < |
| 431 | MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 |
| 432 | MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 |
| 433 | MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 |
| 434 | MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 |
| 435 | MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 |
| 436 | MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 |
| 437 | MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030 |
| 438 | MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030 |
| 439 | MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030 |
| 440 | MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030 |
| 441 | MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030 |
| 442 | MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030 |
| 443 | MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 |
| 444 | MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 |
| 445 | MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 |
| 446 | MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 |
| 447 | >; |
| 448 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 449 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 450 | pinctrl_flexcan1: flexcan1grp { |
| 451 | fsl,pins = < |
| 452 | MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1 |
| 453 | MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b1 |
| 454 | MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x4001b0b0 /* CAN_STBY */ |
| 455 | >; |
| 456 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 457 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 458 | pinctrl_gpio_leds: gpioledsgrp { |
| 459 | fsl,pins = < |
| 460 | MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 |
| 461 | MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0 |
| 462 | MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0 |
| 463 | >; |
| 464 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 465 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 466 | pinctrl_gpmi_nand: gpminandgrp { |
| 467 | fsl,pins = < |
| 468 | MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 |
| 469 | MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 |
| 470 | MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 |
| 471 | MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 |
| 472 | MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 |
| 473 | MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 |
| 474 | MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 |
| 475 | MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 |
| 476 | MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 |
| 477 | MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 |
| 478 | MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 |
| 479 | MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 |
| 480 | MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 |
| 481 | MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 |
| 482 | MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 |
| 483 | >; |
| 484 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 485 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 486 | pinctrl_i2c1: i2c1grp { |
| 487 | fsl,pins = < |
| 488 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 489 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 490 | >; |
| 491 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 492 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 493 | pinctrl_i2c2: i2c2grp { |
| 494 | fsl,pins = < |
| 495 | MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 |
| 496 | MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 |
| 497 | >; |
| 498 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 499 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 500 | pinctrl_i2c3: i2c3grp { |
| 501 | fsl,pins = < |
| 502 | MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 |
| 503 | MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 |
| 504 | >; |
| 505 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 506 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 507 | pinctrl_pcie: pciegrp { |
| 508 | fsl,pins = < |
| 509 | MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 /* PCIE IRQ */ |
| 510 | MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 /* PCIE RST */ |
| 511 | >; |
| 512 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 513 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 514 | pinctrl_pmic: pmicgrp { |
| 515 | fsl,pins = < |
| 516 | MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0001b0b0 /* PMIC_IRQ# */ |
| 517 | >; |
| 518 | }; |
Tim Harvey | 5051bff | 2016-11-16 11:40:45 -0800 | [diff] [blame] | 519 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 520 | pinctrl_pps: ppsgrp { |
| 521 | fsl,pins = < |
| 522 | MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1 |
| 523 | >; |
| 524 | }; |
Tim Harvey | b5f37b7 | 2014-09-08 23:07:30 -0700 | [diff] [blame] | 525 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 526 | pinctrl_pwm2: pwm2grp { |
| 527 | fsl,pins = < |
| 528 | MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1 |
| 529 | >; |
| 530 | }; |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 531 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 532 | pinctrl_pwm3: pwm3grp { |
| 533 | fsl,pins = < |
| 534 | MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1 |
| 535 | >; |
| 536 | }; |
Tim Harvey | aa2b217 | 2015-11-19 12:02:03 -0800 | [diff] [blame] | 537 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 538 | pinctrl_pwm4: pwm4grp { |
| 539 | fsl,pins = < |
| 540 | MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 |
| 541 | >; |
| 542 | }; |
Tim Harvey | b325324 | 2014-04-30 23:32:30 -0700 | [diff] [blame] | 543 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 544 | pinctrl_uart1: uart1grp { |
| 545 | fsl,pins = < |
| 546 | MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 |
| 547 | MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 |
| 548 | MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ |
| 549 | >; |
| 550 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 551 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 552 | pinctrl_uart2: uart2grp { |
| 553 | fsl,pins = < |
| 554 | MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1 |
| 555 | MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1 |
| 556 | >; |
| 557 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 558 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 559 | pinctrl_uart5: uart5grp { |
| 560 | fsl,pins = < |
| 561 | MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1 |
| 562 | MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1 |
| 563 | >; |
| 564 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 565 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 566 | pinctrl_usbotg: usbotggrp { |
| 567 | fsl,pins = < |
| 568 | MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 |
| 569 | MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* PWR_EN */ |
| 570 | MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x1b0b0 /* OC */ |
| 571 | >; |
| 572 | }; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 573 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 574 | pinctrl_usdhc3: usdhc3grp { |
| 575 | fsl,pins = < |
| 576 | MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 |
| 577 | MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 |
| 578 | MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 |
| 579 | MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 |
| 580 | MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 |
| 581 | MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 |
| 582 | MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x17059 /* CD */ |
| 583 | MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x17059 |
| 584 | >; |
| 585 | }; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 586 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 587 | pinctrl_usdhc3_100mhz: usdhc3grp100mhz { |
| 588 | fsl,pins = < |
| 589 | MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170b9 |
| 590 | MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b9 |
| 591 | MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170b9 |
| 592 | MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170b9 |
| 593 | MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170b9 |
| 594 | MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170b9 |
| 595 | MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x170b9 /* CD */ |
| 596 | MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x170b9 |
| 597 | >; |
| 598 | }; |
Tim Harvey | 3ee12d8 | 2015-06-29 20:08:56 +0800 | [diff] [blame] | 599 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 600 | pinctrl_usdhc3_200mhz: usdhc3grp200mhz { |
| 601 | fsl,pins = < |
| 602 | MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170f9 |
| 603 | MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100f9 |
| 604 | MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170f9 |
| 605 | MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170f9 |
| 606 | MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170f9 |
| 607 | MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170f9 |
| 608 | MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x170f9 /* CD */ |
| 609 | MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x170f9 |
| 610 | >; |
| 611 | }; |
Tim Harvey | 51a012b | 2016-06-29 06:31:03 -0700 | [diff] [blame] | 612 | |
Tim Harvey | d31c46c | 2017-09-18 13:11:01 -0700 | [diff] [blame] | 613 | pinctrl_wdog: wdoggrp { |
| 614 | fsl,pins = < |
| 615 | MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0 |
| 616 | >; |
Tim Harvey | e3946fe | 2014-02-07 15:24:56 +0800 | [diff] [blame] | 617 | }; |
| 618 | }; |