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