blob: f21e46b12dd77bfebee4bc10e8c9497c95f67ba6 [file] [log] [blame]
Tim Harvey6603b5e2021-07-27 15:19:41 -07001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2021 Gateworks Corporation
4 */
5
Tim Harveyb2da6972021-08-24 12:04:01 -07006#include "imx8mm-venice-u-boot.dtsi"
Tim Harvey6603b5e2021-07-27 15:19:41 -07007
Tim Harveya5953f92022-04-13 09:02:44 -07008&gpio1 {
9 m2rst {
10 gpio-hog;
11 output-low;
12 gpios = <13 GPIO_ACTIVE_HIGH>;
13 line-name = "m2_reset";
14 };
15
16 m2wdis {
17 gpio-hog;
18 output-high;
19 gpios = <15 GPIO_ACTIVE_HIGH>;
20 line-name = "m2_wdis#";
21 };
22};
23
24&gpio2 {
25 uart2en {
26 gpio-hog;
27 output-high;
28 gpios = <8 GPIO_ACTIVE_HIGH>;
29 line-name = "uart2_en#";
30 };
31};
32
33&gpio3 {
34 m2gdis {
35 gpio-hog;
36 output-high;
37 gpios = <1 GPIO_ACTIVE_HIGH>;
38 line-name = "m2_gdis#";
39 };
40
41 m2off {
42 gpio-hog;
43 output-high;
44 gpios = <7 GPIO_ACTIVE_HIGH>;
45 line-name = "m2_off#";
46 };
47};
48
49&gpio4 {
50 ampgpio3 {
51 gpio-hog;
52 input;
53 gpios = <11 GPIO_ACTIVE_HIGH>;
54 line-name = "amp_gpio3";
55 };
56
57 ampgpio2 {
58 gpio-hog;
59 input;
60 gpios = <12 GPIO_ACTIVE_HIGH>;
61 line-name = "amp_gpio2";
62 };
63
64 ampgpio1 {
65 gpio-hog;
66 input;
67 gpios = <14 GPIO_ACTIVE_HIGH>;
68 line-name = "amp_gpio1";
69 };
70
71 ltrpwr {
72 gpio-hog;
73 output-low;
74 gpios = <16 GPIO_ACTIVE_HIGH>;
75 line-name = "lte_pwr#";
76 };
77
78 lterst {
79 gpio-hog;
80 output-low;
81 gpios = <17 GPIO_ACTIVE_HIGH>;
82 line-name = "lte_rst";
83 };
84
85 ampgpio4 {
86 gpio-hog;
87 input;
88 gpios = <20 GPIO_ACTIVE_HIGH>;
89 line-name = "amp_gpio4";
90 };
91
92 appgpio1 {
93 gpio-hog;
94 input;
95 gpios = <21 GPIO_ACTIVE_HIGH>;
96 line-name = "app_gpio1";
97 };
98
99 uart1rs485 {
100 gpio-hog;
101 output-low;
102 gpios = <23 GPIO_ACTIVE_HIGH>;
103 line-name = "uart1_rs485";
104 };
105
106 uart1term {
107 gpio-hog;
108 output-low;
109 gpios = <25 GPIO_ACTIVE_HIGH>;
110 line-name = "uart1_term";
111 };
112
113 uart1half {
114 gpio-hog;
115 output-low;
116 gpios = <26 GPIO_ACTIVE_HIGH>;
117 line-name = "uart1_half";
118 };
119
120 appgpio2 {
121 gpio-hog;
122 input;
123 gpios = <27 GPIO_ACTIVE_HIGH>;
124 line-name = "app_gpio2";
125 };
126
127 mipigpio1 {
128 gpio-hog;
129 input;
130 gpios = <28 GPIO_ACTIVE_HIGH>;
131 line-name = "mipi_gpio1";
132 };
133};
134
135&gpio5 {
136 mipigpio4 {
137 gpio-hog;
138 input;
139 gpios = <3 GPIO_ACTIVE_HIGH>;
140 line-name = "mipi_gpio4";
141 };
142
143 mipigpio3 {
144 gpio-hog;
145 input;
146 gpios = <4 GPIO_ACTIVE_HIGH>;
147 line-name = "mipi_gpio3";
148 };
149
150 mipigpio2 {
151 gpio-hog;
152 input;
153 gpios = <5 GPIO_ACTIVE_HIGH>;
154 line-name = "mipi_gpio2";
155 };
156};
157
Tim Harvey6603b5e2021-07-27 15:19:41 -0700158&fec1 {
159 phy-reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
160 phy-reset-duration = <1>;
Tim Harvey3c436182022-04-13 09:09:49 -0700161 phy-reset-post-delay = <300>;
Tim Harvey6603b5e2021-07-27 15:19:41 -0700162};
163
164&pinctrl_fec1 {
165 u-boot,dm-spl;
166};
167
168&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} {
169 u-boot,dm-spl;
170};
171
172&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} {
173 u-boot,dm-spl;
174};
175
176&pinctrl_pmic {
177 u-boot,dm-spl;
178};