1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2019 Gateworks Corporation
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
10 /* these are used by bootloader for disabling nodes */
24 compatible = "gpio-keys";
30 gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
37 interrupt-parent = <&gsc>;
44 interrupt-parent = <&gsc>;
51 interrupt-parent = <&gsc>;
58 interrupt-parent = <&gsc>;
63 label = "switch_hold";
65 interrupt-parent = <&gsc>;
71 compatible = "gpio-leds";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_gpio_leds>;
77 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
79 linux,default-trigger = "heartbeat";
84 gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
85 default-state = "off";
90 device_type = "memory";
91 reg = <0x10000000 0x20000000>;
95 compatible = "pps-gpio";
96 pinctrl-names = "default";
97 pinctrl-0 = <&pinctrl_pps>;
98 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
102 reg_3p3v: regulator-3p3v {
103 compatible = "regulator-fixed";
104 regulator-name = "3P3V";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
110 reg_5p0v: regulator-5p0v {
111 compatible = "regulator-fixed";
112 regulator-name = "5P0V";
113 regulator-min-microvolt = <5000000>;
114 regulator-max-microvolt = <5000000>;
118 reg_usb_otg_vbus: regulator-usb-otg-vbus {
119 compatible = "regulator-fixed";
120 regulator-name = "usb_otg_vbus";
121 regulator-min-microvolt = <5000000>;
122 regulator-max-microvolt = <5000000>;
123 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_enet>;
131 phy-mode = "rgmii-id";
132 phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
137 pinctrl-names = "default";
138 pinctrl-0 = <&pinctrl_gpmi_nand>;
143 ddc-i2c-bus = <&i2c3>;
148 clock-frequency = <100000>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_i2c1>;
154 compatible = "gw,gsc";
156 interrupt-parent = <&gpio1>;
157 interrupts = <4 GPIO_ACTIVE_LOW>;
158 interrupt-controller;
159 #interrupt-cells = <1>;
163 compatible = "gw,gsc-adc";
164 #address-cells = <1>;
242 compatible = "nxp,pca9555";
246 interrupt-parent = <&gsc>;
251 compatible = "atmel,24c02";
257 compatible = "atmel,24c02";
263 compatible = "atmel,24c02";
269 compatible = "atmel,24c02";
275 compatible = "dallas,ds1672";
281 clock-frequency = <100000>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&pinctrl_i2c2>;
288 clock-frequency = <100000>;
289 pinctrl-names = "default";
290 pinctrl-0 = <&pinctrl_i2c3>;
294 compatible = "nxp,pca9555";
301 compatible = "ti,ads1015";
303 #address-cells = <1>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_pcie>;
329 reset-gpio = <&gpio1 0 GPIO_ACTIVE_LOW>;
334 pinctrl-names = "default";
335 pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
340 pinctrl-names = "default";
341 pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
346 pinctrl-names = "default";
347 pinctrl-0 = <&pinctrl_pwm4>; /* MX6_DIO3 */
352 pinctrl-names = "default";
353 pinctrl-0 = <&pinctrl_uart1>;
358 pinctrl-names = "default";
359 pinctrl-0 = <&pinctrl_uart2>;
364 pinctrl-names = "default";
365 pinctrl-0 = <&pinctrl_uart3>;
370 pinctrl-names = "default";
371 pinctrl-0 = <&pinctrl_uart5>;
376 vbus-supply = <®_usb_otg_vbus>;
377 pinctrl-names = "default";
378 pinctrl-0 = <&pinctrl_usbotg>;
379 disable-over-current;
388 pinctrl-names = "default";
389 pinctrl-0 = <&pinctrl_wdog>;
390 fsl,ext-reset-output;
394 pinctrl_enet: enetgrp {
396 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
397 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
398 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
399 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
400 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
401 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
402 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0
403 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0
404 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0
405 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0
406 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0
407 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0
408 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
409 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
410 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
411 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
412 MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x1b0b0
416 pinctrl_gpio_leds: gpioledsgrp {
418 MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0
419 MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0
423 pinctrl_gpmi_nand: gpminandgrp {
425 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
426 MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
427 MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
428 MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000
429 MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
430 MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1
431 MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1
432 MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1
433 MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1
434 MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1
435 MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1
436 MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1
437 MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1
438 MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1
439 MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1
443 pinctrl_i2c1: i2c1grp {
445 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
446 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
447 MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x0001b0b0
451 pinctrl_i2c2: i2c2grp {
453 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
454 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
458 pinctrl_i2c3: i2c3grp {
460 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
461 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
462 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0
463 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0
467 pinctrl_pcie: pciegrp {
469 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0
473 pinctrl_pps: ppsgrp {
475 MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1
479 pinctrl_pwm2: pwm2grp {
481 MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1
485 pinctrl_pwm3: pwm3grp {
487 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
491 pinctrl_pwm4: pwm4grp {
493 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
497 pinctrl_uart1: uart1grp {
499 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
500 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
504 pinctrl_uart2: uart2grp {
506 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
507 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
511 pinctrl_uart3: uart3grp {
513 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
514 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
518 pinctrl_uart5: uart5grp {
520 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
521 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
525 pinctrl_usbotg: usbotggrp {
527 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
528 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0
532 pinctrl_wdog: wdoggrp {
534 MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0