GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / qcom-apq8064-pins.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2
3 &tlmm_pinmux {
4         sdc4_gpios: sdc4-gpios {
5                 pios {
6                         pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
7                         function = "sdc4";
8                 };
9         };
10
11         sdcc1_pins: sdcc1-pin-active {
12                 clk {
13                         pins = "sdc1_clk";
14                         drive-strengh = <16>;
15                         bias-disable;
16                 };
17
18                 cmd {
19                         pins = "sdc1_cmd";
20                         drive-strengh = <10>;
21                         bias-pull-up;
22                 };
23
24                 data {
25                         pins = "sdc1_data";
26                         drive-strengh = <10>;
27                         bias-pull-up;
28                 };
29         };
30
31         sdcc3_pins: sdcc3-pin-active {
32                 clk {
33                         pins = "sdc3_clk";
34                         drive-strengh = <8>;
35                         bias-disable;
36                 };
37
38                 cmd {
39                         pins = "sdc3_cmd";
40                         drive-strengh = <8>;
41                         bias-pull-up;
42                 };
43
44                 data {
45                         pins = "sdc3_data";
46                         drive-strengh = <8>;
47                         bias-pull-up;
48                 };
49         };
50
51         ps_hold: ps_hold {
52                 mux {
53                         pins = "gpio78";
54                         function = "ps_hold";
55                 };
56         };
57
58         i2c1_pins: i2c1 {
59                 mux {
60                         pins = "gpio20", "gpio21";
61                         function = "gsbi1";
62                 };
63
64                 pinconf {
65                         pins = "gpio20", "gpio21";
66                         drive-strength = <16>;
67                         bias-disable;
68                 };
69         };
70
71         i2c1_pins_sleep: i2c1_pins_sleep {
72                 mux {
73                         pins = "gpio20", "gpio21";
74                         function = "gpio";
75                 };
76                 pinconf {
77                         pins = "gpio20", "gpio21";
78                         drive-strength = <2>;
79                         bias-disable = <0>;
80                 };
81         };
82
83         gsbi1_uart_2pins: gsbi1_uart_2pins {
84                 mux {
85                         pins = "gpio18", "gpio19";
86                         function = "gsbi1";
87                 };
88         };
89
90         gsbi1_uart_4pins: gsbi1_uart_4pins {
91                 mux {
92                         pins = "gpio18", "gpio19", "gpio20", "gpio21";
93                         function = "gsbi1";
94                 };
95         };
96
97         i2c2_pins: i2c2 {
98                 mux {
99                         pins = "gpio24", "gpio25";
100                         function = "gsbi2";
101                 };
102
103                 pinconf {
104                         pins = "gpio24", "gpio25";
105                         drive-strength = <16>;
106                         bias-disable;
107                 };
108         };
109
110         i2c2_pins_sleep: i2c2_pins_sleep {
111                 mux {
112                         pins = "gpio24", "gpio25";
113                         function = "gpio";
114                 };
115
116                 pinconf {
117                         pins = "gpio24", "gpio25";
118                         drive-strength = <2>;
119                         bias-disable = <0>;
120                 };
121         };
122
123         i2c3_pins: i2c3 {
124                 mux {
125                         pins = "gpio8", "gpio9";
126                         function = "gsbi3";
127                 };
128
129                 pinconf {
130                         pins = "gpio8", "gpio9";
131                         drive-strength = <16>;
132                         bias-disable;
133                 };
134         };
135
136         i2c3_pins_sleep: i2c3_pins_sleep {
137                 mux {
138                         pins = "gpio8", "gpio9";
139                         function = "gpio";
140                 };
141                 pinconf {
142                         pins = "gpio8", "gpio9";
143                         drive-strength = <2>;
144                         bias-disable = <0>;
145                 };
146         };
147
148         i2c4_pins: i2c4 {
149                 mux {
150                         pins = "gpio12", "gpio13";
151                         function = "gsbi4";
152                 };
153
154                 pinconf {
155                         pins = "gpio12", "gpio13";
156                         drive-strength = <16>;
157                         bias-disable;
158                 };
159         };
160
161         i2c4_pins_sleep: i2c4_pins_sleep {
162                 mux {
163                         pins = "gpio12", "gpio13";
164                         function = "gpio";
165                 };
166                 pinconf {
167                         pins = "gpio12", "gpio13";
168                         drive-strength = <2>;
169                         bias-disable = <0>;
170                 };
171         };
172
173         spi5_default: spi5_default {
174                 pinmux {
175                         pins = "gpio51", "gpio52", "gpio54";
176                         function = "gsbi5";
177                 };
178
179                 pinmux_cs {
180                         function = "gpio";
181                         pins = "gpio53";
182                 };
183
184                 pinconf {
185                         pins = "gpio51", "gpio52", "gpio54";
186                         drive-strength = <16>;
187                         bias-disable;
188                 };
189
190                 pinconf_cs {
191                         pins = "gpio53";
192                         drive-strength = <16>;
193                         bias-disable;
194                         output-high;
195                 };
196         };
197
198         spi5_sleep: spi5_sleep {
199                 pinmux {
200                         function = "gpio";
201                         pins = "gpio51", "gpio52", "gpio53", "gpio54";
202                 };
203
204                 pinconf {
205                         pins = "gpio51", "gpio52", "gpio53", "gpio54";
206                         drive-strength = <2>;
207                         bias-pull-down;
208                 };
209         };
210
211         i2c6_pins: i2c6 {
212                 mux {
213                         pins = "gpio16", "gpio17";
214                         function = "gsbi6";
215                 };
216
217                 pinconf {
218                         pins = "gpio16", "gpio17";
219                         drive-strength = <16>;
220                         bias-disable;
221                 };
222         };
223
224         i2c6_pins_sleep: i2c6_pins_sleep {
225                 mux {
226                         pins = "gpio16", "gpio17";
227                         function = "gpio";
228                 };
229                 pinconf {
230                         pins = "gpio16", "gpio17";
231                         drive-strength = <2>;
232                         bias-disable = <0>;
233                 };
234         };
235
236         gsbi6_uart_2pins: gsbi6_uart_2pins {
237                 mux {
238                         pins = "gpio14", "gpio15";
239                         function = "gsbi6";
240                 };
241         };
242
243         gsbi6_uart_4pins: gsbi6_uart_4pins {
244                 mux {
245                         pins = "gpio14", "gpio15", "gpio16", "gpio17";
246                         function = "gsbi6";
247                 };
248         };
249
250         gsbi7_uart_2pins: gsbi7_uart_2pins {
251                 mux {
252                         pins = "gpio82", "gpio83";
253                         function = "gsbi7";
254                 };
255         };
256
257         gsbi7_uart_4pins: gsbi7_uart_4pins {
258                 mux {
259                         pins = "gpio82", "gpio83", "gpio84", "gpio85";
260                         function = "gsbi7";
261                 };
262         };
263
264         i2c7_pins: i2c7 {
265                 mux {
266                         pins = "gpio84", "gpio85";
267                         function = "gsbi7";
268                 };
269
270                 pinconf {
271                         pins = "gpio84", "gpio85";
272                         drive-strength = <16>;
273                         bias-disable;
274                 };
275         };
276
277         i2c7_pins_sleep: i2c7_pins_sleep {
278                 mux {
279                         pins = "gpio84", "gpio85";
280                         function = "gpio";
281                 };
282                 pinconf {
283                         pins = "gpio84", "gpio85";
284                         drive-strength = <2>;
285                         bias-disable = <0>;
286                 };
287         };
288
289         riva_fm_pin_a: riva-fm-active {
290                 pins = "gpio14", "gpio15";
291                 function = "riva_fm";
292         };
293
294         riva_bt_pin_a: riva-bt-active {
295                 pins = "gpio16", "gpio17";
296                 function = "riva_bt";
297         };
298
299         riva_wlan_pin_a: riva-wlan-active {
300                 pins = "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
301                 function = "riva_wlan";
302
303                 drive-strength = <6>;
304                 bias-pull-down;
305         };
306
307         hdmi_pinctrl: hdmi-pinctrl {
308                 mux {
309                         pins = "gpio70", "gpio71", "gpio72";
310                         function = "hdmi";
311                 };
312
313                 pinconf_ddc {
314                         pins = "gpio70", "gpio71";
315                         bias-pull-up;
316                         drive-strength = <2>;
317                 };
318
319                 pinconf_hpd {
320                         pins = "gpio72";
321                         bias-pull-down;
322                         drive-strength = <16>;
323                 };
324         };
325 };