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