2 * Copyright 2013 Gateworks Corporation
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:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
12 #include <dt-bindings/gpio/gpio.h>
15 /* these are used by bootloader for disabling nodes */
27 bootargs = "console=ttymxc1,115200";
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>;
38 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&pinctrl_gpio_leds>;
44 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
46 linux,default-trigger = "heartbeat";
51 gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
52 default-state = "off";
57 gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
58 default-state = "off";
63 reg = <0x10000000 0x40000000>;
67 compatible = "pps-gpio";
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_pps>;
70 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
75 compatible = "simple-bus";
79 reg_1p0v: regulator@0 {
80 compatible = "regulator-fixed";
82 regulator-name = "1P0V";
83 regulator-min-microvolt = <1000000>;
84 regulator-max-microvolt = <1000000>;
88 reg_3p3v: regulator@1 {
89 compatible = "regulator-fixed";
91 regulator-name = "3P3V";
92 regulator-min-microvolt = <3300000>;
93 regulator-max-microvolt = <3300000>;
97 reg_usb_h1_vbus: regulator@2 {
98 compatible = "regulator-fixed";
100 regulator-name = "usb_h1_vbus";
101 regulator-min-microvolt = <5000000>;
102 regulator-max-microvolt = <5000000>;
106 reg_usb_otg_vbus: regulator@3 {
107 compatible = "regulator-fixed";
109 regulator-name = "usb_otg_vbus";
110 regulator-min-microvolt = <5000000>;
111 regulator-max-microvolt = <5000000>;
112 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
118 compatible = "fsl,imx6q-ventana-sgtl5000",
119 "fsl,imx-audio-sgtl5000";
120 model = "sgtl5000-audio";
121 ssi-controller = <&ssi1>;
122 audio-codec = <&codec>;
124 "MIC_IN", "Mic Jack",
125 "Mic Jack", "Mic Bias",
126 "Headphone Jack", "HP_OUT";
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_audmux>; /* AUD4<->sgtl5000 */
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_flexcan1>;
145 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
146 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
147 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
148 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
152 cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&pinctrl_ecspi2>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_enet>;
161 phy-mode = "rgmii-id";
162 phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_gpmi_nand>;
173 ddc-i2c-bus = <&i2c3>;
178 clock-frequency = <100000>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&pinctrl_i2c1>;
184 compatible = "atmel,24c02";
190 compatible = "atmel,24c02";
196 compatible = "atmel,24c02";
202 compatible = "atmel,24c02";
208 compatible = "nxp,pca9555";
215 compatible = "dallas,ds1672";
221 clock-frequency = <100000>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_i2c2>;
227 compatible = "fsl,pfuze100";
232 regulator-min-microvolt = <300000>;
233 regulator-max-microvolt = <1875000>;
236 regulator-ramp-delay = <6250>;
240 regulator-min-microvolt = <300000>;
241 regulator-max-microvolt = <1875000>;
244 regulator-ramp-delay = <6250>;
248 regulator-min-microvolt = <800000>;
249 regulator-max-microvolt = <3950000>;
255 regulator-min-microvolt = <400000>;
256 regulator-max-microvolt = <1975000>;
262 regulator-min-microvolt = <400000>;
263 regulator-max-microvolt = <1975000>;
269 regulator-min-microvolt = <800000>;
270 regulator-max-microvolt = <3300000>;
274 regulator-min-microvolt = <5000000>;
275 regulator-max-microvolt = <5150000>;
281 regulator-min-microvolt = <1000000>;
282 regulator-max-microvolt = <3000000>;
293 regulator-min-microvolt = <800000>;
294 regulator-max-microvolt = <1550000>;
298 regulator-min-microvolt = <800000>;
299 regulator-max-microvolt = <1550000>;
303 regulator-min-microvolt = <1800000>;
304 regulator-max-microvolt = <3300000>;
308 regulator-min-microvolt = <1800000>;
309 regulator-max-microvolt = <3300000>;
314 regulator-min-microvolt = <1800000>;
315 regulator-max-microvolt = <3300000>;
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <3300000>;
329 clock-frequency = <100000>;
330 pinctrl-names = "default";
331 pinctrl-0 = <&pinctrl_i2c3>;
335 compatible = "fsl,sgtl5000";
337 clocks = <&clks IMX6QDL_CLK_CKO>;
338 VDDA-supply = <&sw4_reg>;
339 VDDIO-supply = <®_3p3v>;
342 touchscreen: egalax_ts@4 {
343 compatible = "eeti,egalax_ts";
345 interrupt-parent = <&gpio7>;
347 wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
355 fsl,data-mapping = "spwg";
356 fsl,data-width = <18>;
360 native-mode = <&timing0>;
361 timing0: hsd100pxn1 {
362 clock-frequency = <65000000>;
377 pinctrl-names = "default";
378 pinctrl-0 = <&pinctrl_pcie>;
379 reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>;
384 pinctrl-names = "default";
385 pinctrl-0 = <&pinctrl_pwm1>; /* MX6_DIO0 */
390 pinctrl-names = "default";
391 pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
396 pinctrl-names = "default";
397 pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
402 pinctrl-names = "default", "state_dio";
403 pinctrl-0 = <&pinctrl_pwm4_backlight>;
404 pinctrl-1 = <&pinctrl_pwm4_dio>;
417 pinctrl-names = "default";
418 pinctrl-0 = <&pinctrl_uart1>;
419 rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
424 pinctrl-names = "default";
425 pinctrl-0 = <&pinctrl_uart2>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&pinctrl_uart5>;
436 vbus-supply = <®_usb_otg_vbus>;
437 pinctrl-names = "default";
438 pinctrl-0 = <&pinctrl_usbotg>;
439 disable-over-current;
444 vbus-supply = <®_usb_h1_vbus>;
449 pinctrl-names = "default", "state_100mhz", "state_200mhz";
450 pinctrl-0 = <&pinctrl_usdhc3>;
451 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
452 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
453 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
454 vmmc-supply = <®_3p3v>;
455 no-1-8-v; /* firmware will remove if board revision supports */
464 pinctrl-names = "default";
465 pinctrl-0 = <&pinctrl_wdog>;
466 fsl,ext-reset-output;
471 pinctrl_audmux: audmuxgrp {
473 MX6QDL_PAD_SD2_DAT0__AUD4_RXD 0x130b0
474 MX6QDL_PAD_SD2_DAT3__AUD4_TXC 0x130b0
475 MX6QDL_PAD_SD2_DAT2__AUD4_TXD 0x110b0
476 MX6QDL_PAD_SD2_DAT1__AUD4_TXFS 0x130b0
477 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 /* AUD4_MCK */
481 pinctrl_enet: enetgrp {
483 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
484 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
485 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
486 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
487 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
488 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
489 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
490 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
491 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
492 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
493 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
494 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
495 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
496 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
497 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
498 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
502 pinctrl_ecspi2: escpi2grp {
504 MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1
505 MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1
506 MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1
507 MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b1
511 pinctrl_flexcan1: flexcan1grp {
513 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1
514 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b1
515 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x4001b0b0 /* CAN_STBY */
519 pinctrl_gpio_leds: gpioledsgrp {
521 MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0
522 MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0
523 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0
527 pinctrl_gpmi_nand: gpminandgrp {
529 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
530 MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
531 MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
532 MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000
533 MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
534 MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1
535 MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1
536 MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1
537 MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1
538 MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1
539 MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1
540 MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1
541 MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1
542 MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1
543 MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1
547 pinctrl_i2c1: i2c1grp {
549 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
550 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
554 pinctrl_i2c2: i2c2grp {
556 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
557 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
561 pinctrl_i2c3: i2c3grp {
563 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
564 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
568 pinctrl_pcie: pciegrp {
570 MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 /* PCIE IRQ */
571 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 /* PCIE RST */
575 pinctrl_pps: ppsgrp {
577 MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1
581 pinctrl_pwm1: pwm1grp {
583 MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b1
587 pinctrl_pwm2: pwm2grp {
589 MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1
593 pinctrl_pwm3: pwm3grp {
595 MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
599 pinctrl_pwm4_backlight: pwm4grpbacklight {
602 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
606 pinctrl_pwm4_dio: pwm4grpdio {
609 MX6QDL_PAD_SD4_DAT2__PWM4_OUT 0x1b0b1
613 pinctrl_uart1: uart1grp {
615 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
616 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
617 MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */
621 pinctrl_uart2: uart2grp {
623 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
624 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
628 pinctrl_uart5: uart5grp {
630 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
631 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
635 pinctrl_usbotg: usbotggrp {
637 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
638 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* PWR_EN */
642 pinctrl_usdhc3: usdhc3grp {
644 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
645 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
646 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
647 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
648 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
649 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
650 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x17059 /* CD */
651 MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x17059
655 pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
657 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170b9
658 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b9
659 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170b9
660 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170b9
661 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170b9
662 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170b9
663 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x170b9 /* CD */
664 MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x170b9
668 pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
670 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170f9
671 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100f9
672 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170f9
673 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170f9
674 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170f9
675 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170f9
676 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x170f9 /* CD */
677 MX6QDL_PAD_NANDF_CS1__SD3_VSELECT 0x170f9
681 pinctrl_wdog: wdoggrp {
683 MX6QDL_PAD_SD1_DAT3__WDOG2_B 0x1b0b0