blob: 92e44d4ba96ba1fdc462bcbacd3772a795d19462 [file] [log] [blame]
Tim Harvey03bf8432021-03-02 14:00:21 -08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2021 Gateworks Corporation
4 */
5#include "imx8mm-venice-gw700x-u-boot.dtsi"
Tim Harveyd5cc2342022-04-13 09:02:44 -07006
7&gpio1 {
8 rs485_term {
9 gpio-hog;
10 output-low;
11 gpios = <0 GPIO_ACTIVE_HIGH>;
12 line-name = "rs485_term";
13 };
14
15 mipi_gpio4 {
16 gpio-hog;
17 input;
18 gpios = <1 GPIO_ACTIVE_HIGH>;
19 line-name = "mipi_gpio4";
20 };
21
22 pci_usb_sel {
23 gpio-hog;
24 output-low;
25 gpios = <6 GPIO_ACTIVE_HIGH>;
26 line-name = "pci_usb_sel";
27 };
28
29 dio_0 {
30 gpio-hog;
31 input;
32 gpios = <7 GPIO_ACTIVE_HIGH>;
33 line-name = "dio0";
34 };
35
36 dio_1 {
37 gpio-hog;
38 input;
39 gpios = <9 GPIO_ACTIVE_HIGH>;
40 line-name = "dio1";
41 };
42};
43
44&gpio4 {
45 rs485_en {
46 gpio-hog;
47 output-low;
48 gpios = <0 GPIO_ACTIVE_HIGH>;
49 line-name = "rs485_en";
50 };
51
52 mipi_gpio3 {
53 gpio-hog;
54 input;
55 gpios = <1 GPIO_ACTIVE_HIGH>;
56 line-name = "mipi_gpio3";
57 };
58
59 rs485_half {
60 gpio-hog;
61 output-low;
62 gpios = <2 GPIO_ACTIVE_HIGH>;
63 line-name = "rs485_hd";
64 };
65
66 mipi_gpio2 {
67 gpio-hog;
68 input;
69 gpios = <3 GPIO_ACTIVE_HIGH>;
70 line-name = "mipi_gpio2";
71 };
72
73 mipi_gpio1 {
74 gpio-hog;
75 input;
76 gpios = <4 GPIO_ACTIVE_HIGH>;
77 line-name = "mipi_gpio1";
78 };
79
80 pci_wdis {
81 gpio-hog;
82 output-high;
83 gpios = <7 GPIO_ACTIVE_HIGH>;
84 line-name = "pci_wdis#";
85 };
86};