.. | .. |
---|
32 | 32 | status = "okay"; |
---|
33 | 33 | }; |
---|
34 | 34 | |
---|
| 35 | + leds { |
---|
| 36 | + compatible = "gpio-leds"; |
---|
| 37 | + pinctrl-names = "default"; |
---|
| 38 | + pinctrl-0 = <&pinctrl_led>; |
---|
| 39 | + |
---|
| 40 | + user { |
---|
| 41 | + label = "debug"; |
---|
| 42 | + gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; |
---|
| 43 | + linux,default-trigger = "heartbeat"; |
---|
| 44 | + }; |
---|
| 45 | + }; |
---|
| 46 | + |
---|
35 | 47 | reg_usb_otg1_vbus: regulator-otg1-vbus { |
---|
36 | 48 | compatible = "regulator-fixed"; |
---|
37 | 49 | pinctrl-names = "default"; |
---|
.. | .. |
---|
120 | 132 | }; |
---|
121 | 133 | }; |
---|
122 | 134 | }; |
---|
| 135 | + |
---|
| 136 | + sound { |
---|
| 137 | + compatible = "fsl,imx6sl-evk-wm8962", "fsl,imx-audio-wm8962"; |
---|
| 138 | + pinctrl-names = "default"; |
---|
| 139 | + pinctrl-0 = <&pinctrl_hp>; |
---|
| 140 | + model = "wm8962-audio"; |
---|
| 141 | + audio-cpu = <&ssi2>; |
---|
| 142 | + audio-codec = <&wm8962>; |
---|
| 143 | + audio-routing = |
---|
| 144 | + "Headphone Jack", "HPOUTL", |
---|
| 145 | + "Headphone Jack", "HPOUTR", |
---|
| 146 | + "Ext Spk", "SPKOUTL", |
---|
| 147 | + "Ext Spk", "SPKOUTR", |
---|
| 148 | + "AMIC", "MICBIAS", |
---|
| 149 | + "IN3R", "AMIC"; |
---|
| 150 | + mux-int-port = <2>; |
---|
| 151 | + mux-ext-port = <3>; |
---|
| 152 | + hp-det-gpio = <&gpio4 24 GPIO_ACTIVE_LOW>; |
---|
| 153 | + }; |
---|
| 154 | +}; |
---|
| 155 | + |
---|
| 156 | +&audmux { |
---|
| 157 | + pinctrl-names = "default"; |
---|
| 158 | + pinctrl-0 = <&pinctrl_audmux3>; |
---|
| 159 | + status = "okay"; |
---|
123 | 160 | }; |
---|
124 | 161 | |
---|
125 | 162 | &cpu0 { |
---|
.. | .. |
---|
235 | 272 | }; |
---|
236 | 273 | }; |
---|
237 | 274 | |
---|
| 275 | +&i2c3 { |
---|
| 276 | + clock-frequency = <100000>; |
---|
| 277 | + pinctrl-names = "default"; |
---|
| 278 | + pinctrl-0 = <&pinctrl_i2c3>; |
---|
| 279 | + status = "okay"; |
---|
| 280 | + |
---|
| 281 | + wm8962: audio-codec@1a { |
---|
| 282 | + compatible = "wlf,wm8962"; |
---|
| 283 | + reg = <0x1a>; |
---|
| 284 | + clocks = <&clks IMX6SLL_CLK_EXTERN_AUDIO>; |
---|
| 285 | + DCVDD-supply = <&vgen3_reg>; |
---|
| 286 | + DBVDD-supply = <®_aud3v>; |
---|
| 287 | + AVDD-supply = <&vgen3_reg>; |
---|
| 288 | + CPVDD-supply = <&vgen3_reg>; |
---|
| 289 | + MICVDD-supply = <®_aud3v>; |
---|
| 290 | + PLLVDD-supply = <&vgen3_reg>; |
---|
| 291 | + SPKVDD1-supply = <®_aud4v>; |
---|
| 292 | + SPKVDD2-supply = <®_aud4v>; |
---|
| 293 | + }; |
---|
| 294 | +}; |
---|
| 295 | + |
---|
238 | 296 | &lcdif { |
---|
239 | 297 | pinctrl-names = "default"; |
---|
240 | 298 | pinctrl-0 = <&pinctrl_lcd>; |
---|
.. | .. |
---|
248 | 306 | }; |
---|
249 | 307 | |
---|
250 | 308 | &pwm1 { |
---|
| 309 | + #pwm-cells = <2>; |
---|
251 | 310 | pinctrl-names = "default"; |
---|
252 | 311 | pinctrl-0 = <&pinctrl_pwm1>; |
---|
| 312 | + status = "okay"; |
---|
| 313 | +}; |
---|
| 314 | + |
---|
| 315 | +&snvs_poweroff { |
---|
| 316 | + status = "okay"; |
---|
| 317 | +}; |
---|
| 318 | + |
---|
| 319 | +&snvs_pwrkey { |
---|
| 320 | + status = "okay"; |
---|
| 321 | +}; |
---|
| 322 | + |
---|
| 323 | +&ssi2 { |
---|
253 | 324 | status = "okay"; |
---|
254 | 325 | }; |
---|
255 | 326 | |
---|
.. | .. |
---|
297 | 368 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
---|
298 | 369 | cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; |
---|
299 | 370 | keep-power-in-suspend; |
---|
300 | | - enable-sdio-wakeup; |
---|
| 371 | + wakeup-source; |
---|
301 | 372 | vmmc-supply = <®_sd3_vmmc>; |
---|
302 | 373 | status = "okay"; |
---|
303 | 374 | }; |
---|
304 | 375 | |
---|
| 376 | +&wdog1 { |
---|
| 377 | + pinctrl-names = "default"; |
---|
| 378 | + pinctrl-0 = <&pinctrl_wdog1>; |
---|
| 379 | + fsl,ext-reset-output; |
---|
| 380 | +}; |
---|
| 381 | + |
---|
305 | 382 | &iomuxc { |
---|
| 383 | + pinctrl_audmux3: audmux3grp { |
---|
| 384 | + fsl,pins = < |
---|
| 385 | + MX6SLL_PAD_AUD_TXC__AUD3_TXC 0x4130b0 |
---|
| 386 | + MX6SLL_PAD_AUD_TXFS__AUD3_TXFS 0x4130b0 |
---|
| 387 | + MX6SLL_PAD_AUD_TXD__AUD3_TXD 0x4110b0 |
---|
| 388 | + MX6SLL_PAD_AUD_RXD__AUD3_RXD 0x4130b0 |
---|
| 389 | + MX6SLL_PAD_AUD_MCLK__AUDIO_CLK_OUT 0x4130b0 |
---|
| 390 | + >; |
---|
| 391 | + }; |
---|
| 392 | + |
---|
| 393 | + pinctrl_hp: hpgrp { |
---|
| 394 | + fsl,pins = < |
---|
| 395 | + MX6SLL_PAD_GPIO4_IO24__GPIO4_IO24 0x17059 /* HP DETECT */ |
---|
| 396 | + >; |
---|
| 397 | + }; |
---|
| 398 | + |
---|
306 | 399 | pinctrl_reg_sd3_vmmc: sd3vmmcgrp { |
---|
307 | 400 | fsl,pins = < |
---|
308 | 401 | MX6SLL_PAD_KEY_COL6__GPIO4_IO04 0x17059 |
---|
.. | .. |
---|
422 | 515 | >; |
---|
423 | 516 | }; |
---|
424 | 517 | |
---|
| 518 | + pinctrl_i2c3: i2c3grp { |
---|
| 519 | + fsl,pins = < |
---|
| 520 | + MX6SLL_PAD_AUD_RXFS__I2C3_SCL 0x4041b8b1 |
---|
| 521 | + MX6SLL_PAD_AUD_RXC__I2C3_SDA 0x4041b8b1 |
---|
| 522 | + >; |
---|
| 523 | + }; |
---|
| 524 | + |
---|
425 | 525 | pinctrl_lcd: lcdgrp { |
---|
426 | 526 | fsl,pins = < |
---|
427 | 527 | MX6SLL_PAD_LCD_DATA00__LCD_DATA00 0x79 |
---|
.. | .. |
---|
456 | 556 | >; |
---|
457 | 557 | }; |
---|
458 | 558 | |
---|
| 559 | + pinctrl_led: ledgrp { |
---|
| 560 | + fsl,pins = < |
---|
| 561 | + MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 0x17059 |
---|
| 562 | + >; |
---|
| 563 | + }; |
---|
| 564 | + |
---|
459 | 565 | pinctrl_pwm1: pmw1grp { |
---|
460 | 566 | fsl,pins = < |
---|
461 | 567 | MX6SLL_PAD_PWM1__PWM1_OUT 0x110b0 |
---|
462 | 568 | >; |
---|
463 | 569 | }; |
---|
| 570 | + |
---|
| 571 | + pinctrl_wdog1: wdog1grp { |
---|
| 572 | + fsl,pins = < |
---|
| 573 | + MX6SLL_PAD_WDOG_B__WDOG1_B 0x170b0 |
---|
| 574 | + >; |
---|
| 575 | + }; |
---|
464 | 576 | }; |
---|