blob: 7f2609ab5469f2bb735bdf825a56eef78398cd3e [file] [log] [blame]
Tim Harvey7e0bfc62023-08-15 15:01:12 -07001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2023 Gateworks Corporation
4 */
5#include "imx8mp-venice-gw702x-u-boot.dtsi"
6
7&gpio4 {
8 dio_1 {
9 gpio-hog;
10 input;
11 gpios = <8 GPIO_ACTIVE_HIGH>;
12 line-name = "dio1";
13 };
14
15 dio_0 {
16 gpio-hog;
17 input;
18 gpios = <11 GPIO_ACTIVE_HIGH>;
19 line-name = "dio0";
20 };
21
22 pci_usb_sel {
23 gpio-hog;
24 output-low;
25 gpios = <14 GPIO_ACTIVE_HIGH>;
26 line-name = "pci_usb_sel";
27 };
28
29 mipi_gpio4 {
30 gpio-hog;
31 input;
32 gpios = <17 GPIO_ACTIVE_HIGH>;
33 line-name = "mipi_gpio4";
34 };
35
36 rs485_en {
37 gpio-hog;
38 output-low;
39 gpios = <22 GPIO_ACTIVE_HIGH>;
40 line-name = "rs485_en";
41 };
42
43 rs485_term {
44 gpio-hog;
45 output-low;
46 gpios = <23 GPIO_ACTIVE_HIGH>;
47 line-name = "rs485_term";
48 };
49
50 mipi_gpio1 {
51 gpio-hog;
52 input;
53 gpios = <24 GPIO_ACTIVE_HIGH>;
54 line-name = "mipi_gpio1";
55 };
56
57 mipi_gpio3 {
58 gpio-hog;
59 input;
60 gpios = <25 GPIO_ACTIVE_HIGH>;
61 line-name = "mipi_gpio3";
62 };
63
64 mipi_gpio2 {
65 gpio-hog;
66 input;
67 gpios = <26 GPIO_ACTIVE_HIGH>;
68 line-name = "mipi_gpio2";
69 };
70
71 rs485_hd {
72 gpio-hog;
73 output-low;
74 gpios = <27 GPIO_ACTIVE_HIGH>;
75 line-name = "rs485_hd";
76 };
77
78 pci_wdis {
79 gpio-hog;
80 output-high;
81 gpios = <28 GPIO_ACTIVE_HIGH>;
82 line-name = "pci_wdis#";
83 };
84};
85
86/* gpio-usb-con not supported yet in U-Boot so make this a host for now */
87&usb_dwc3_0 {
88 dr_mode = "host";
89};