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
13 #include <dt-bindings/gpio/gpio.h>
17 model = "Gateworks Ventana GW5400-A";
18 compatible = "gw,imx6q-gw5400-a", "gw,ventana", "fsl,imx6q";
20 /* these are used by bootloader for disabling nodes */
35 bootargs = "console=ttymxc1,115200";
39 compatible = "gpio-leds";
40 pinctrl-names = "default";
41 pinctrl-0 = <&pinctrl_gpio_leds>;
45 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 -> MX6_PANLEDG */
47 linux,default-trigger = "heartbeat";
52 gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; /* 106 -> MX6_PANLEDR */
53 default-state = "off";
58 gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* 111 -> MX6_LOCLED# */
59 default-state = "off";
64 reg = <0x10000000 0x40000000>;
68 compatible = "pps-gpio";
69 pinctrl-names = "default";
70 pinctrl-0 = <&pinctrl_gpio_leds>;
71 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
76 compatible = "simple-bus";
80 reg_1p0v: regulator@0 {
81 compatible = "regulator-fixed";
83 regulator-name = "1P0V";
84 regulator-min-microvolt = <1000000>;
85 regulator-max-microvolt = <1000000>;
89 reg_3p3v: regulator@1 {
90 compatible = "regulator-fixed";
92 regulator-name = "3P3V";
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
98 reg_usb_h1_vbus: regulator@2 {
99 compatible = "regulator-fixed";
101 regulator-name = "usb_h1_vbus";
102 regulator-min-microvolt = <5000000>;
103 regulator-max-microvolt = <5000000>;
107 reg_usb_otg_vbus: regulator@3 {
108 compatible = "regulator-fixed";
110 regulator-name = "usb_otg_vbus";
111 regulator-min-microvolt = <5000000>;
112 regulator-max-microvolt = <5000000>;
113 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
119 compatible = "fsl,imx6q-ventana-sgtl5000",
120 "fsl,imx-audio-sgtl5000";
121 model = "sgtl5000-audio";
122 ssi-controller = <&ssi1>;
123 audio-codec = <&codec>;
125 "MIC_IN", "Mic Jack",
126 "Mic Jack", "Mic Bias",
127 "Headphone Jack", "HP_OUT";
134 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_audmux>;
140 cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
141 pinctrl-names = "default";
142 pinctrl-0 = <&pinctrl_ecspi1>;
146 compatible = "sst,w25q256", "jedec,spi-nor";
147 spi-max-frequency = <30000000>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&pinctrl_enet>;
155 phy-mode = "rgmii-id";
156 phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
161 ddc-i2c-bus = <&i2c3>;
166 clock-frequency = <100000>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_i2c1>;
172 compatible = "atmel,24c02";
178 compatible = "atmel,24c02";
184 compatible = "atmel,24c02";
190 compatible = "atmel,24c02";
196 compatible = "nxp,pca9555";
203 compatible = "dallas,ds1672";
209 clock-frequency = <100000>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_i2c2>;
215 compatible = "fsl,pfuze100";
220 regulator-min-microvolt = <300000>;
221 regulator-max-microvolt = <1875000>;
224 regulator-ramp-delay = <6250>;
228 regulator-min-microvolt = <300000>;
229 regulator-max-microvolt = <1875000>;
232 regulator-ramp-delay = <6250>;
236 regulator-min-microvolt = <800000>;
237 regulator-max-microvolt = <3950000>;
243 regulator-min-microvolt = <400000>;
244 regulator-max-microvolt = <1975000>;
250 regulator-min-microvolt = <400000>;
251 regulator-max-microvolt = <1975000>;
257 regulator-min-microvolt = <800000>;
258 regulator-max-microvolt = <3300000>;
262 regulator-min-microvolt = <5000000>;
263 regulator-max-microvolt = <5150000>;
267 regulator-min-microvolt = <1000000>;
268 regulator-max-microvolt = <3000000>;
279 regulator-min-microvolt = <800000>;
280 regulator-max-microvolt = <1550000>;
284 regulator-min-microvolt = <800000>;
285 regulator-max-microvolt = <1550000>;
289 regulator-min-microvolt = <1800000>;
290 regulator-max-microvolt = <3300000>;
294 regulator-min-microvolt = <1800000>;
295 regulator-max-microvolt = <3300000>;
300 regulator-min-microvolt = <1800000>;
301 regulator-max-microvolt = <3300000>;
306 regulator-min-microvolt = <1800000>;
307 regulator-max-microvolt = <3300000>;
315 clock-frequency = <100000>;
316 pinctrl-names = "default";
317 pinctrl-0 = <&pinctrl_i2c3>;
320 accelerometer: mma8450@1c {
321 compatible = "fsl,mma8450";
326 compatible = "fsl,sgtl5000";
328 clocks = <&clks IMX6QDL_CLK_CKO>;
329 VDDA-supply = <&sw4_reg>;
330 VDDIO-supply = <®_3p3v>;
333 touchscreen: egalax_ts@4 {
334 compatible = "eeti,egalax_ts";
336 interrupt-parent = <&gpio7>;
338 wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
347 reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>;
356 pinctrl-names = "default";
357 pinctrl-0 = <&pinctrl_uart1>;
362 pinctrl-names = "default";
363 pinctrl-0 = <&pinctrl_uart2>;
368 pinctrl-names = "default";
369 pinctrl-0 = <&pinctrl_uart5>;
374 vbus-supply = <®_usb_otg_vbus>;
375 pinctrl-names = "default";
376 pinctrl-0 = <&pinctrl_usbotg>;
377 disable-over-current;
382 vbus-supply = <®_usb_h1_vbus>;
387 pinctrl-names = "default";
388 pinctrl-0 = <&pinctrl_usdhc3>;
389 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
390 vmmc-supply = <®_3p3v>;
395 pinctrl_audmux: audmuxgrp {
397 MX6QDL_PAD_SD2_DAT0__AUD4_RXD 0x130b0
398 MX6QDL_PAD_SD2_DAT3__AUD4_TXC 0x130b0
399 MX6QDL_PAD_SD2_DAT2__AUD4_TXD 0x110b0
400 MX6QDL_PAD_SD2_DAT1__AUD4_TXFS 0x130b0
401 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 /* AUD4_MCK */
405 pinctrl_ecspi1: ecspi1grp {
407 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
408 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
409 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
410 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b0 /* SPINOR_CS0# */
414 pinctrl_enet: enetgrp {
416 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
417 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
418 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
419 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
420 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
421 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
422 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
423 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
424 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
425 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
426 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
427 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
428 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
429 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
430 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
431 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
435 pinctrl_gpio_leds: gpioledsgrp {
437 MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 /* user1 led */
438 MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0 /* user2 led */
439 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0 /* user3 led */
443 pinctrl_i2c1: i2c1grp {
445 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
446 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
450 pinctrl_i2c2: i2c2grp {
452 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
453 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
457 pinctrl_i2c3: i2c3grp {
459 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
460 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
464 pinctrl_pcie: pciegrp {
466 MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 /* PCIE IRQ */
467 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 /* PCIE RST */
471 pinctrl_pps: ppsgrp {
473 MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x1b0b0 /* GPS_PPS */
477 pinctrl_uart1: uart1grp {
479 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
480 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
484 pinctrl_uart2: uart2grp {
486 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
487 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
491 pinctrl_uart5: uart5grp {
493 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
494 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
498 pinctrl_usbotg: usbotggrp {
500 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
501 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* OTG_PWR_EN */
505 pinctrl_usdhc3: usdhc3grp {
507 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
508 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
509 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
510 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
511 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
512 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059