1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2013 Gateworks Corporation
7 #include <dt-bindings/gpio/gpio.h>
11 model = "Gateworks Ventana GW5400-A";
12 compatible = "gw,imx6q-gw5400-a", "gw,ventana", "fsl,imx6q";
14 /* these are used by bootloader for disabling nodes */
29 bootargs = "console=ttymxc1,115200";
33 compatible = "gpio-leds";
34 pinctrl-names = "default";
35 pinctrl-0 = <&pinctrl_gpio_leds>;
39 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 -> MX6_PANLEDG */
41 linux,default-trigger = "heartbeat";
46 gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; /* 106 -> MX6_PANLEDR */
47 default-state = "off";
52 gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* 111 -> MX6_LOCLED# */
53 default-state = "off";
58 device_type = "memory";
59 reg = <0x10000000 0x40000000>;
63 compatible = "pps-gpio";
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_gpio_leds>;
66 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
71 compatible = "simple-bus";
75 reg_1p0v: regulator@0 {
76 compatible = "regulator-fixed";
78 regulator-name = "1P0V";
79 regulator-min-microvolt = <1000000>;
80 regulator-max-microvolt = <1000000>;
84 reg_3p3v: regulator@1 {
85 compatible = "regulator-fixed";
87 regulator-name = "3P3V";
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
93 reg_usb_h1_vbus: regulator@2 {
94 compatible = "regulator-fixed";
96 regulator-name = "usb_h1_vbus";
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
102 reg_usb_otg_vbus: regulator@3 {
103 compatible = "regulator-fixed";
105 regulator-name = "usb_otg_vbus";
106 regulator-min-microvolt = <5000000>;
107 regulator-max-microvolt = <5000000>;
108 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
114 compatible = "fsl,imx6q-ventana-sgtl5000",
115 "fsl,imx-audio-sgtl5000";
116 model = "sgtl5000-audio";
117 ssi-controller = <&ssi1>;
118 audio-codec = <&codec>;
120 "MIC_IN", "Mic Jack",
121 "Mic Jack", "Mic Bias",
122 "Headphone Jack", "HP_OUT";
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_audmux>;
135 cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_ecspi1>;
141 compatible = "sst,w25q256", "jedec,spi-nor";
142 spi-max-frequency = <30000000>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_enet>;
150 phy-mode = "rgmii-id";
151 phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
156 ddc-i2c-bus = <&i2c3>;
161 clock-frequency = <100000>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&pinctrl_i2c1>;
167 compatible = "atmel,24c02";
173 compatible = "atmel,24c02";
179 compatible = "atmel,24c02";
185 compatible = "atmel,24c02";
191 compatible = "nxp,pca9555";
198 compatible = "dallas,ds1672";
204 clock-frequency = <100000>;
205 pinctrl-names = "default";
206 pinctrl-0 = <&pinctrl_i2c2>;
210 compatible = "fsl,pfuze100";
215 regulator-min-microvolt = <300000>;
216 regulator-max-microvolt = <1875000>;
219 regulator-ramp-delay = <6250>;
223 regulator-min-microvolt = <300000>;
224 regulator-max-microvolt = <1875000>;
227 regulator-ramp-delay = <6250>;
231 regulator-min-microvolt = <800000>;
232 regulator-max-microvolt = <3950000>;
238 regulator-min-microvolt = <400000>;
239 regulator-max-microvolt = <1975000>;
245 regulator-min-microvolt = <400000>;
246 regulator-max-microvolt = <1975000>;
252 regulator-min-microvolt = <800000>;
253 regulator-max-microvolt = <3300000>;
257 regulator-min-microvolt = <5000000>;
258 regulator-max-microvolt = <5150000>;
262 regulator-min-microvolt = <1000000>;
263 regulator-max-microvolt = <3000000>;
274 regulator-min-microvolt = <800000>;
275 regulator-max-microvolt = <1550000>;
279 regulator-min-microvolt = <800000>;
280 regulator-max-microvolt = <1550000>;
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <3300000>;
289 regulator-min-microvolt = <1800000>;
290 regulator-max-microvolt = <3300000>;
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <3300000>;
301 regulator-min-microvolt = <1800000>;
302 regulator-max-microvolt = <3300000>;
310 clock-frequency = <100000>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&pinctrl_i2c3>;
315 accelerometer: mma8450@1c {
316 compatible = "fsl,mma8450";
321 compatible = "fsl,sgtl5000";
323 clocks = <&clks IMX6QDL_CLK_CKO>;
324 VDDA-supply = <&sw4_reg>;
325 VDDIO-supply = <®_3p3v>;
328 touchscreen: egalax_ts@4 {
329 compatible = "eeti,egalax_ts";
331 interrupt-parent = <&gpio7>;
333 wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
342 reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&pinctrl_uart1>;
357 pinctrl-names = "default";
358 pinctrl-0 = <&pinctrl_uart2>;
363 pinctrl-names = "default";
364 pinctrl-0 = <&pinctrl_uart5>;
369 vbus-supply = <®_usb_otg_vbus>;
370 pinctrl-names = "default";
371 pinctrl-0 = <&pinctrl_usbotg>;
372 disable-over-current;
377 vbus-supply = <®_usb_h1_vbus>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&pinctrl_usdhc3>;
384 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
385 vmmc-supply = <®_3p3v>;
390 pinctrl_audmux: audmuxgrp {
392 MX6QDL_PAD_SD2_DAT0__AUD4_RXD 0x130b0
393 MX6QDL_PAD_SD2_DAT3__AUD4_TXC 0x130b0
394 MX6QDL_PAD_SD2_DAT2__AUD4_TXD 0x110b0
395 MX6QDL_PAD_SD2_DAT1__AUD4_TXFS 0x130b0
396 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 /* AUD4_MCK */
400 pinctrl_ecspi1: ecspi1grp {
402 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
403 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
404 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
405 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b0 /* SPINOR_CS0# */
409 pinctrl_enet: enetgrp {
411 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
412 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
413 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
414 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
415 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
416 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
417 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
418 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
419 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
420 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
421 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
422 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
423 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
424 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
425 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
426 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
430 pinctrl_gpio_leds: gpioledsgrp {
432 MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 /* user1 led */
433 MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0 /* user2 led */
434 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0 /* user3 led */
438 pinctrl_i2c1: i2c1grp {
440 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
441 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
445 pinctrl_i2c2: i2c2grp {
447 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
448 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
452 pinctrl_i2c3: i2c3grp {
454 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
455 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
459 pinctrl_pcie: pciegrp {
461 MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 /* PCIE IRQ */
462 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 /* PCIE RST */
466 pinctrl_pps: ppsgrp {
468 MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x1b0b0 /* GPS_PPS */
472 pinctrl_uart1: uart1grp {
474 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
475 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
479 pinctrl_uart2: uart2grp {
481 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
482 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
486 pinctrl_uart5: uart5grp {
488 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
489 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
493 pinctrl_usbotg: usbotggrp {
495 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
496 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* OTG_PWR_EN */
500 pinctrl_usdhc3: usdhc3grp {
502 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
503 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
504 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
505 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
506 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
507 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059