1 // SPDX-License-Identifier: GPL-2.0
3 //Copyright (C) 2013 Freescale Semiconductor, Inc.
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
12 model = "Freescale i.MX6 SoloLite EVK Board";
13 compatible = "fsl,imx6sl-evk", "fsl,imx6sl";
20 device_type = "memory";
21 reg = <0x80000000 0x40000000>;
24 backlight_display: backlight_display {
25 compatible = "pwm-backlight";
26 pwms = <&pwm1 0 5000000>;
27 brightness-levels = <0 4 8 16 32 64 128 255>;
28 default-brightness-level = <6>;
32 compatible = "gpio-leds";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_led>;
38 gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
39 linux,default-trigger = "heartbeat";
43 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
44 compatible = "regulator-fixed";
45 regulator-name = "usb_otg1_vbus";
46 regulator-min-microvolt = <5000000>;
47 regulator-max-microvolt = <5000000>;
48 gpio = <&gpio4 0 GPIO_ACTIVE_HIGH>;
50 vin-supply = <&swbst_reg>;
53 reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
54 compatible = "regulator-fixed";
55 regulator-name = "usb_otg2_vbus";
56 regulator-min-microvolt = <5000000>;
57 regulator-max-microvolt = <5000000>;
58 gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>;
60 vin-supply = <&swbst_reg>;
63 reg_aud3v: regulator-aud3v {
64 compatible = "regulator-fixed";
65 regulator-name = "wm8962-supply-3v15";
66 regulator-min-microvolt = <3150000>;
67 regulator-max-microvolt = <3150000>;
71 reg_aud4v: regulator-aud4v {
72 compatible = "regulator-fixed";
73 regulator-name = "wm8962-supply-4v2";
74 regulator-min-microvolt = <4325000>;
75 regulator-max-microvolt = <4325000>;
79 reg_lcd_3v3: regulator-lcd-3v3 {
80 compatible = "regulator-fixed";
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_reg_lcd_3v3>;
83 regulator-name = "lcd-3v3";
84 gpio = <&gpio4 3 GPIO_ACTIVE_HIGH>;
88 reg_lcd_5v: regulator-lcd-5v {
89 compatible = "regulator-fixed";
90 regulator-name = "lcd-5v0";
91 regulator-min-microvolt = <5000000>;
92 regulator-max-microvolt = <5000000>;
96 compatible = "fsl,imx6sl-evk-wm8962", "fsl,imx-audio-wm8962";
97 model = "wm8962-audio";
98 ssi-controller = <&ssi2>;
99 audio-codec = <&codec>;
101 "Headphone Jack", "HPOUTL",
102 "Headphone Jack", "HPOUTR",
103 "Ext Spk", "SPKOUTL",
104 "Ext Spk", "SPKOUTR",
112 compatible = "sii,43wvf1g";
113 backlight = <&backlight_display>;
114 dvdd-supply = <®_lcd_3v3>;
115 avdd-supply = <®_lcd_5v>;
119 remote-endpoint = <&display_out>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_audmux3>;
132 cs-gpios = <&gpio4 11 0>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_ecspi1>;
138 #address-cells = <1>;
140 compatible = "st,m25p32", "jedec,spi-nor";
141 spi-max-frequency = <20000000>;
147 pinctrl-names = "default", "sleep";
148 pinctrl-0 = <&pinctrl_fec>;
149 pinctrl-1 = <&pinctrl_fec_sleep>;
155 clock-frequency = <100000>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&pinctrl_i2c1>;
161 compatible = "fsl,pfuze100";
166 regulator-min-microvolt = <300000>;
167 regulator-max-microvolt = <1875000>;
170 regulator-ramp-delay = <6250>;
174 regulator-min-microvolt = <300000>;
175 regulator-max-microvolt = <1875000>;
178 regulator-ramp-delay = <6250>;
182 regulator-min-microvolt = <800000>;
183 regulator-max-microvolt = <3300000>;
189 regulator-min-microvolt = <400000>;
190 regulator-max-microvolt = <1975000>;
196 regulator-min-microvolt = <400000>;
197 regulator-max-microvolt = <1975000>;
203 regulator-min-microvolt = <800000>;
204 regulator-max-microvolt = <3300000>;
209 regulator-min-microvolt = <5000000>;
210 regulator-max-microvolt = <5150000>;
214 regulator-min-microvolt = <1000000>;
215 regulator-max-microvolt = <3000000>;
226 regulator-min-microvolt = <800000>;
227 regulator-max-microvolt = <1550000>;
232 regulator-min-microvolt = <800000>;
233 regulator-max-microvolt = <1550000>;
237 regulator-min-microvolt = <1800000>;
238 regulator-max-microvolt = <3300000>;
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <3300000>;
248 regulator-min-microvolt = <1800000>;
249 regulator-max-microvolt = <3300000>;
254 regulator-min-microvolt = <1800000>;
255 regulator-max-microvolt = <3300000>;
263 clock-frequency = <100000>;
264 pinctrl-names = "default";
265 pinctrl-0 = <&pinctrl_i2c2>;
269 compatible = "wlf,wm8962";
271 clocks = <&clks IMX6SL_CLK_EXTERN_AUDIO>;
272 DCVDD-supply = <&vgen3_reg>;
273 DBVDD-supply = <®_aud3v>;
274 AVDD-supply = <&vgen3_reg>;
275 CPVDD-supply = <&vgen3_reg>;
276 MICVDD-supply = <®_aud3v>;
277 PLLVDD-supply = <&vgen3_reg>;
278 SPKVDD1-supply = <®_aud4v>;
279 SPKVDD2-supply = <®_aud4v>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_hog>;
288 pinctrl_hog: hoggrp {
290 MX6SL_PAD_KEY_ROW7__GPIO4_IO07 0x17059
291 MX6SL_PAD_KEY_COL7__GPIO4_IO06 0x17059
292 MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x17059
293 MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x17059
294 MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059
295 MX6SL_PAD_KEY_COL4__GPIO4_IO00 0x80000000
296 MX6SL_PAD_KEY_COL5__GPIO4_IO02 0x80000000
297 MX6SL_PAD_AUD_MCLK__AUDIO_CLK_OUT 0x4130b0
301 pinctrl_audmux3: audmux3grp {
303 MX6SL_PAD_AUD_RXD__AUD3_RXD 0x4130b0
304 MX6SL_PAD_AUD_TXC__AUD3_TXC 0x4130b0
305 MX6SL_PAD_AUD_TXD__AUD3_TXD 0x4110b0
306 MX6SL_PAD_AUD_TXFS__AUD3_TXFS 0x4130b0
310 pinctrl_ecspi1: ecspi1grp {
312 MX6SL_PAD_ECSPI1_MISO__ECSPI1_MISO 0x100b1
313 MX6SL_PAD_ECSPI1_MOSI__ECSPI1_MOSI 0x100b1
314 MX6SL_PAD_ECSPI1_SCLK__ECSPI1_SCLK 0x100b1
315 MX6SL_PAD_ECSPI1_SS0__GPIO4_IO11 0x80000000
319 pinctrl_fec: fecgrp {
321 MX6SL_PAD_FEC_MDC__FEC_MDC 0x1b0b0
322 MX6SL_PAD_FEC_MDIO__FEC_MDIO 0x1b0b0
323 MX6SL_PAD_FEC_CRS_DV__FEC_RX_DV 0x1b0b0
324 MX6SL_PAD_FEC_RXD0__FEC_RX_DATA0 0x1b0b0
325 MX6SL_PAD_FEC_RXD1__FEC_RX_DATA1 0x1b0b0
326 MX6SL_PAD_FEC_TX_EN__FEC_TX_EN 0x1b0b0
327 MX6SL_PAD_FEC_TXD0__FEC_TX_DATA0 0x1b0b0
328 MX6SL_PAD_FEC_TXD1__FEC_TX_DATA1 0x1b0b0
329 MX6SL_PAD_FEC_REF_CLK__FEC_REF_OUT 0x4001b0a8
333 pinctrl_fec_sleep: fecgrp-sleep {
335 MX6SL_PAD_FEC_MDC__GPIO4_IO23 0x3080
336 MX6SL_PAD_FEC_CRS_DV__GPIO4_IO25 0x3080
337 MX6SL_PAD_FEC_RXD0__GPIO4_IO17 0x3080
338 MX6SL_PAD_FEC_RXD1__GPIO4_IO18 0x3080
339 MX6SL_PAD_FEC_TX_EN__GPIO4_IO22 0x3080
340 MX6SL_PAD_FEC_TXD0__GPIO4_IO24 0x3080
341 MX6SL_PAD_FEC_TXD1__GPIO4_IO16 0x3080
342 MX6SL_PAD_FEC_REF_CLK__GPIO4_IO26 0x3080
346 pinctrl_i2c1: i2c1grp {
348 MX6SL_PAD_I2C1_SCL__I2C1_SCL 0x4001b8b1
349 MX6SL_PAD_I2C1_SDA__I2C1_SDA 0x4001b8b1
354 pinctrl_i2c2: i2c2grp {
356 MX6SL_PAD_I2C2_SCL__I2C2_SCL 0x4001b8b1
357 MX6SL_PAD_I2C2_SDA__I2C2_SDA 0x4001b8b1
361 pinctrl_kpp: kppgrp {
363 MX6SL_PAD_KEY_ROW0__KEY_ROW0 0x1b010
364 MX6SL_PAD_KEY_ROW1__KEY_ROW1 0x1b010
365 MX6SL_PAD_KEY_ROW2__KEY_ROW2 0x1b0b0
366 MX6SL_PAD_KEY_COL0__KEY_COL0 0x110b0
367 MX6SL_PAD_KEY_COL1__KEY_COL1 0x110b0
368 MX6SL_PAD_KEY_COL2__KEY_COL2 0x110b0
372 pinctrl_lcd: lcdgrp {
374 MX6SL_PAD_LCD_DAT0__LCD_DATA00 0x1b0b0
375 MX6SL_PAD_LCD_DAT1__LCD_DATA01 0x1b0b0
376 MX6SL_PAD_LCD_DAT2__LCD_DATA02 0x1b0b0
377 MX6SL_PAD_LCD_DAT3__LCD_DATA03 0x1b0b0
378 MX6SL_PAD_LCD_DAT4__LCD_DATA04 0x1b0b0
379 MX6SL_PAD_LCD_DAT5__LCD_DATA05 0x1b0b0
380 MX6SL_PAD_LCD_DAT6__LCD_DATA06 0x1b0b0
381 MX6SL_PAD_LCD_DAT7__LCD_DATA07 0x1b0b0
382 MX6SL_PAD_LCD_DAT8__LCD_DATA08 0x1b0b0
383 MX6SL_PAD_LCD_DAT9__LCD_DATA09 0x1b0b0
384 MX6SL_PAD_LCD_DAT10__LCD_DATA10 0x1b0b0
385 MX6SL_PAD_LCD_DAT11__LCD_DATA11 0x1b0b0
386 MX6SL_PAD_LCD_DAT12__LCD_DATA12 0x1b0b0
387 MX6SL_PAD_LCD_DAT13__LCD_DATA13 0x1b0b0
388 MX6SL_PAD_LCD_DAT14__LCD_DATA14 0x1b0b0
389 MX6SL_PAD_LCD_DAT15__LCD_DATA15 0x1b0b0
390 MX6SL_PAD_LCD_DAT16__LCD_DATA16 0x1b0b0
391 MX6SL_PAD_LCD_DAT17__LCD_DATA17 0x1b0b0
392 MX6SL_PAD_LCD_DAT18__LCD_DATA18 0x1b0b0
393 MX6SL_PAD_LCD_DAT19__LCD_DATA19 0x1b0b0
394 MX6SL_PAD_LCD_DAT20__LCD_DATA20 0x1b0b0
395 MX6SL_PAD_LCD_DAT21__LCD_DATA21 0x1b0b0
396 MX6SL_PAD_LCD_DAT22__LCD_DATA22 0x1b0b0
397 MX6SL_PAD_LCD_DAT23__LCD_DATA23 0x1b0b0
398 MX6SL_PAD_LCD_CLK__LCD_CLK 0x1b0b0
399 MX6SL_PAD_LCD_ENABLE__LCD_ENABLE 0x1b0b0
400 MX6SL_PAD_LCD_HSYNC__LCD_HSYNC 0x1b0b0
401 MX6SL_PAD_LCD_VSYNC__LCD_VSYNC 0x1b0b0
405 pinctrl_led: ledgrp {
407 MX6SL_PAD_HSIC_STROBE__GPIO3_IO20 0x17059
411 pinctrl_pwm1: pwmgrp {
413 MX6SL_PAD_PWM1__PWM1_OUT 0x110b0
417 pinctrl_reg_lcd_3v3: reglcd3v3grp {
419 MX6SL_PAD_KEY_ROW5__GPIO4_IO03 0x17059
423 pinctrl_uart1: uart1grp {
425 MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x1b0b1
426 MX6SL_PAD_UART1_TXD__UART1_TX_DATA 0x1b0b1
430 pinctrl_usbotg1: usbotg1grp {
432 MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059
436 pinctrl_usdhc1: usdhc1grp {
438 MX6SL_PAD_SD1_CMD__SD1_CMD 0x17059
439 MX6SL_PAD_SD1_CLK__SD1_CLK 0x10059
440 MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x17059
441 MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x17059
442 MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x17059
443 MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x17059
444 MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x17059
445 MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x17059
446 MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x17059
447 MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x17059
451 pinctrl_usdhc1_100mhz: usdhc1grp100mhz {
453 MX6SL_PAD_SD1_CMD__SD1_CMD 0x170b9
454 MX6SL_PAD_SD1_CLK__SD1_CLK 0x100b9
455 MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x170b9
456 MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x170b9
457 MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x170b9
458 MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x170b9
459 MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x170b9
460 MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x170b9
461 MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x170b9
462 MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x170b9
466 pinctrl_usdhc1_200mhz: usdhc1grp200mhz {
468 MX6SL_PAD_SD1_CMD__SD1_CMD 0x170f9
469 MX6SL_PAD_SD1_CLK__SD1_CLK 0x100f9
470 MX6SL_PAD_SD1_DAT0__SD1_DATA0 0x170f9
471 MX6SL_PAD_SD1_DAT1__SD1_DATA1 0x170f9
472 MX6SL_PAD_SD1_DAT2__SD1_DATA2 0x170f9
473 MX6SL_PAD_SD1_DAT3__SD1_DATA3 0x170f9
474 MX6SL_PAD_SD1_DAT4__SD1_DATA4 0x170f9
475 MX6SL_PAD_SD1_DAT5__SD1_DATA5 0x170f9
476 MX6SL_PAD_SD1_DAT6__SD1_DATA6 0x170f9
477 MX6SL_PAD_SD1_DAT7__SD1_DATA7 0x170f9
481 pinctrl_usdhc2: usdhc2grp {
483 MX6SL_PAD_SD2_CMD__SD2_CMD 0x17059
484 MX6SL_PAD_SD2_CLK__SD2_CLK 0x10059
485 MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x17059
486 MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x17059
487 MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x17059
488 MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x17059
492 pinctrl_usdhc2_100mhz: usdhc2grp100mhz {
494 MX6SL_PAD_SD2_CMD__SD2_CMD 0x170b9
495 MX6SL_PAD_SD2_CLK__SD2_CLK 0x100b9
496 MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x170b9
497 MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x170b9
498 MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x170b9
499 MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x170b9
503 pinctrl_usdhc2_200mhz: usdhc2grp200mhz {
505 MX6SL_PAD_SD2_CMD__SD2_CMD 0x170f9
506 MX6SL_PAD_SD2_CLK__SD2_CLK 0x100f9
507 MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x170f9
508 MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x170f9
509 MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x170f9
510 MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x170f9
514 pinctrl_usdhc3: usdhc3grp {
516 MX6SL_PAD_SD3_CMD__SD3_CMD 0x17059
517 MX6SL_PAD_SD3_CLK__SD3_CLK 0x10059
518 MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x17059
519 MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x17059
520 MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x17059
521 MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x17059
525 pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
527 MX6SL_PAD_SD3_CMD__SD3_CMD 0x170b9
528 MX6SL_PAD_SD3_CLK__SD3_CLK 0x100b9
529 MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x170b9
530 MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x170b9
531 MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x170b9
532 MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x170b9
536 pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
538 MX6SL_PAD_SD3_CMD__SD3_CMD 0x170f9
539 MX6SL_PAD_SD3_CLK__SD3_CLK 0x100f9
540 MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x170f9
541 MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x170f9
542 MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x170f9
543 MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x170f9
550 pinctrl-names = "default";
551 pinctrl-0 = <&pinctrl_kpp>;
553 MATRIX_KEY(0x0, 0x0, KEY_UP) /* ROW0, COL0 */
554 MATRIX_KEY(0x0, 0x1, KEY_DOWN) /* ROW0, COL1 */
555 MATRIX_KEY(0x0, 0x2, KEY_ENTER) /* ROW0, COL2 */
556 MATRIX_KEY(0x1, 0x0, KEY_HOME) /* ROW1, COL0 */
557 MATRIX_KEY(0x1, 0x1, KEY_RIGHT) /* ROW1, COL1 */
558 MATRIX_KEY(0x1, 0x2, KEY_LEFT) /* ROW1, COL2 */
559 MATRIX_KEY(0x2, 0x0, KEY_VOLUMEDOWN) /* ROW2, COL0 */
560 MATRIX_KEY(0x2, 0x1, KEY_VOLUMEUP) /* ROW2, COL1 */
566 pinctrl-names = "default";
567 pinctrl-0 = <&pinctrl_lcd>;
571 display_out: endpoint {
572 remote-endpoint = <&panel_in>;
578 pinctrl-names = "default";
579 pinctrl-0 = <&pinctrl_pwm1>;
584 vin-supply = <&sw2_reg>;
588 vin-supply = <&sw2_reg>;
600 pinctrl-names = "default";
601 pinctrl-0 = <&pinctrl_uart1>;
606 vbus-supply = <®_usb_otg1_vbus>;
607 pinctrl-names = "default";
608 pinctrl-0 = <&pinctrl_usbotg1>;
609 disable-over-current;
614 vbus-supply = <®_usb_otg2_vbus>;
616 disable-over-current;
621 pinctrl-names = "default", "state_100mhz", "state_200mhz";
622 pinctrl-0 = <&pinctrl_usdhc1>;
623 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
624 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
626 cd-gpios = <&gpio4 7 GPIO_ACTIVE_LOW>;
627 wp-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
632 pinctrl-names = "default", "state_100mhz", "state_200mhz";
633 pinctrl-0 = <&pinctrl_usdhc2>;
634 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
635 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
636 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
637 wp-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
642 pinctrl-names = "default", "state_100mhz", "state_200mhz";
643 pinctrl-0 = <&pinctrl_usdhc3>;
644 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
645 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
646 cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;