blob: 5c33f8c9cdcf295166b0045bf4597f356b3a596e [file] [log] [blame]
Tim Harvey6db10852023-08-15 15:01:11 -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 dio_3 {
30 gpio-hog;
31 input;
32 gpios = <24 GPIO_ACTIVE_HIGH>;
33 line-name = "dio3";
34 };
35
36 dio_2 {
37 gpio-hog;
38 input;
39 gpios = <26 GPIO_ACTIVE_HIGH>;
40 line-name = "dio2";
41 };
42
43 pci_wdis {
44 gpio-hog;
45 output-high;
46 gpios = <28 GPIO_ACTIVE_HIGH>;
47 line-name = "pci_wdis#";
48 };
49};
50
51/* gpio-usb-con not supported yet in U-Boot so make this a host for now */
52&usb_dwc3_0 {
53 dr_mode = "host";
54};