blob: 4d0e9a1e67c5a0c87670a980867e83916f8b9624 [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
Tim Harvey9afd20b2023-10-18 11:33:52 -070013&gpio1 {
14 tpm_rst {
15 gpio-hog;
16 output-high;
17 gpios = <11 GPIO_ACTIVE_HIGH>;
18 line-name = "tpm_rst#";
19 };
20};
21
Tim Harveyabe2c342023-08-15 15:01:13 -070022&gpio4 {
23 dio_1 {
24 gpio-hog;
25 input;
26 gpios = <8 GPIO_ACTIVE_HIGH>;
27 line-name = "dio1";
28 };
29
30 dio_0 {
31 gpio-hog;
32 input;
33 gpios = <11 GPIO_ACTIVE_HIGH>;
34 line-name = "dio0";
35 };
36
37 pci_usb_sel {
38 gpio-hog;
39 output-low;
40 gpios = <14 GPIO_ACTIVE_HIGH>;
41 line-name = "pci_usb_sel";
42 };
43
44 mipi_gpio4 {
45 gpio-hog;
46 input;
47 gpios = <17 GPIO_ACTIVE_HIGH>;
48 line-name = "mipi_gpio4";
49 };
50
51 rs485_en {
52 gpio-hog;
53 output-low;
54 gpios = <22 GPIO_ACTIVE_HIGH>;
55 line-name = "rs485_en";
56 };
57
58 rs485_term {
59 gpio-hog;
60 output-low;
61 gpios = <23 GPIO_ACTIVE_HIGH>;
62 line-name = "rs485_term";
63 };
64
65 mipi_gpio1 {
66 gpio-hog;
67 input;
68 gpios = <24 GPIO_ACTIVE_HIGH>;
69 line-name = "mipi_gpio1";
70 };
71
72 mipi_gpio3 {
73 gpio-hog;
74 input;
75 gpios = <25 GPIO_ACTIVE_HIGH>;
76 line-name = "mipi_gpio3";
77 };
78
79 mipi_gpio2 {
80 gpio-hog;
81 input;
82 gpios = <26 GPIO_ACTIVE_HIGH>;
83 line-name = "mipi_gpio2";
84 };
85
86 rs485_hd {
87 gpio-hog;
88 output-low;
89 gpios = <27 GPIO_ACTIVE_HIGH>;
90 line-name = "rs485_hd";
91 };
92
93 pci_wdis {
94 gpio-hog;
95 output-high;
96 gpios = <28 GPIO_ACTIVE_HIGH>;
97 line-name = "pci_wdis#";
98 };
99};
100
101/* gpio-usb-con not supported yet in U-Boot so make this a host for now */
102&usb_dwc3_0 {
103 dr_mode = "host";
104};