xref: /linux/arch/arm64/boot/dts/rockchip/rockchip-pinconf.dtsi (revision 762f99f4f3cb41a775b5157dd761217beba65873)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
4 */
5
6&pinctrl {
7	/omit-if-no-ref/
8	pcfg_pull_up: pcfg-pull-up {
9		bias-pull-up;
10	};
11
12	/omit-if-no-ref/
13	pcfg_pull_down: pcfg-pull-down {
14		bias-pull-down;
15	};
16
17	/omit-if-no-ref/
18	pcfg_pull_none: pcfg-pull-none {
19		bias-disable;
20	};
21
22	/omit-if-no-ref/
23	pcfg_pull_none_drv_level_0: pcfg-pull-none-drv-level-0 {
24		bias-disable;
25		drive-strength = <0>;
26	};
27
28	/omit-if-no-ref/
29	pcfg_pull_none_drv_level_1: pcfg-pull-none-drv-level-1 {
30		bias-disable;
31		drive-strength = <1>;
32	};
33
34	/omit-if-no-ref/
35	pcfg_pull_none_drv_level_2: pcfg-pull-none-drv-level-2 {
36		bias-disable;
37		drive-strength = <2>;
38	};
39
40	/omit-if-no-ref/
41	pcfg_pull_none_drv_level_3: pcfg-pull-none-drv-level-3 {
42		bias-disable;
43		drive-strength = <3>;
44	};
45
46	/omit-if-no-ref/
47	pcfg_pull_none_drv_level_4: pcfg-pull-none-drv-level-4 {
48		bias-disable;
49		drive-strength = <4>;
50	};
51
52	/omit-if-no-ref/
53	pcfg_pull_none_drv_level_5: pcfg-pull-none-drv-level-5 {
54		bias-disable;
55		drive-strength = <5>;
56	};
57
58	/omit-if-no-ref/
59	pcfg_pull_none_drv_level_6: pcfg-pull-none-drv-level-6 {
60		bias-disable;
61		drive-strength = <6>;
62	};
63
64	/omit-if-no-ref/
65	pcfg_pull_none_drv_level_7: pcfg-pull-none-drv-level-7 {
66		bias-disable;
67		drive-strength = <7>;
68	};
69
70	/omit-if-no-ref/
71	pcfg_pull_none_drv_level_8: pcfg-pull-none-drv-level-8 {
72		bias-disable;
73		drive-strength = <8>;
74	};
75
76	/omit-if-no-ref/
77	pcfg_pull_none_drv_level_9: pcfg-pull-none-drv-level-9 {
78		bias-disable;
79		drive-strength = <9>;
80	};
81
82	/omit-if-no-ref/
83	pcfg_pull_none_drv_level_10: pcfg-pull-none-drv-level-10 {
84		bias-disable;
85		drive-strength = <10>;
86	};
87
88	/omit-if-no-ref/
89	pcfg_pull_none_drv_level_11: pcfg-pull-none-drv-level-11 {
90		bias-disable;
91		drive-strength = <11>;
92	};
93
94	/omit-if-no-ref/
95	pcfg_pull_none_drv_level_12: pcfg-pull-none-drv-level-12 {
96		bias-disable;
97		drive-strength = <12>;
98	};
99
100	/omit-if-no-ref/
101	pcfg_pull_none_drv_level_13: pcfg-pull-none-drv-level-13 {
102		bias-disable;
103		drive-strength = <13>;
104	};
105
106	/omit-if-no-ref/
107	pcfg_pull_none_drv_level_14: pcfg-pull-none-drv-level-14 {
108		bias-disable;
109		drive-strength = <14>;
110	};
111
112	/omit-if-no-ref/
113	pcfg_pull_none_drv_level_15: pcfg-pull-none-drv-level-15 {
114		bias-disable;
115		drive-strength = <15>;
116	};
117
118	/omit-if-no-ref/
119	pcfg_pull_up_drv_level_0: pcfg-pull-up-drv-level-0 {
120		bias-pull-up;
121		drive-strength = <0>;
122	};
123
124	/omit-if-no-ref/
125	pcfg_pull_up_drv_level_1: pcfg-pull-up-drv-level-1 {
126		bias-pull-up;
127		drive-strength = <1>;
128	};
129
130	/omit-if-no-ref/
131	pcfg_pull_up_drv_level_2: pcfg-pull-up-drv-level-2 {
132		bias-pull-up;
133		drive-strength = <2>;
134	};
135
136	/omit-if-no-ref/
137	pcfg_pull_up_drv_level_3: pcfg-pull-up-drv-level-3 {
138		bias-pull-up;
139		drive-strength = <3>;
140	};
141
142	/omit-if-no-ref/
143	pcfg_pull_up_drv_level_4: pcfg-pull-up-drv-level-4 {
144		bias-pull-up;
145		drive-strength = <4>;
146	};
147
148	/omit-if-no-ref/
149	pcfg_pull_up_drv_level_5: pcfg-pull-up-drv-level-5 {
150		bias-pull-up;
151		drive-strength = <5>;
152	};
153
154	/omit-if-no-ref/
155	pcfg_pull_up_drv_level_6: pcfg-pull-up-drv-level-6 {
156		bias-pull-up;
157		drive-strength = <6>;
158	};
159
160	/omit-if-no-ref/
161	pcfg_pull_up_drv_level_7: pcfg-pull-up-drv-level-7 {
162		bias-pull-up;
163		drive-strength = <7>;
164	};
165
166	/omit-if-no-ref/
167	pcfg_pull_up_drv_level_8: pcfg-pull-up-drv-level-8 {
168		bias-pull-up;
169		drive-strength = <8>;
170	};
171
172	/omit-if-no-ref/
173	pcfg_pull_up_drv_level_9: pcfg-pull-up-drv-level-9 {
174		bias-pull-up;
175		drive-strength = <9>;
176	};
177
178	/omit-if-no-ref/
179	pcfg_pull_up_drv_level_10: pcfg-pull-up-drv-level-10 {
180		bias-pull-up;
181		drive-strength = <10>;
182	};
183
184	/omit-if-no-ref/
185	pcfg_pull_up_drv_level_11: pcfg-pull-up-drv-level-11 {
186		bias-pull-up;
187		drive-strength = <11>;
188	};
189
190	/omit-if-no-ref/
191	pcfg_pull_up_drv_level_12: pcfg-pull-up-drv-level-12 {
192		bias-pull-up;
193		drive-strength = <12>;
194	};
195
196	/omit-if-no-ref/
197	pcfg_pull_up_drv_level_13: pcfg-pull-up-drv-level-13 {
198		bias-pull-up;
199		drive-strength = <13>;
200	};
201
202	/omit-if-no-ref/
203	pcfg_pull_up_drv_level_14: pcfg-pull-up-drv-level-14 {
204		bias-pull-up;
205		drive-strength = <14>;
206	};
207
208	/omit-if-no-ref/
209	pcfg_pull_up_drv_level_15: pcfg-pull-up-drv-level-15 {
210		bias-pull-up;
211		drive-strength = <15>;
212	};
213
214	/omit-if-no-ref/
215	pcfg_pull_down_drv_level_0: pcfg-pull-down-drv-level-0 {
216		bias-pull-down;
217		drive-strength = <0>;
218	};
219
220	/omit-if-no-ref/
221	pcfg_pull_down_drv_level_1: pcfg-pull-down-drv-level-1 {
222		bias-pull-down;
223		drive-strength = <1>;
224	};
225
226	/omit-if-no-ref/
227	pcfg_pull_down_drv_level_2: pcfg-pull-down-drv-level-2 {
228		bias-pull-down;
229		drive-strength = <2>;
230	};
231
232	/omit-if-no-ref/
233	pcfg_pull_down_drv_level_3: pcfg-pull-down-drv-level-3 {
234		bias-pull-down;
235		drive-strength = <3>;
236	};
237
238	/omit-if-no-ref/
239	pcfg_pull_down_drv_level_4: pcfg-pull-down-drv-level-4 {
240		bias-pull-down;
241		drive-strength = <4>;
242	};
243
244	/omit-if-no-ref/
245	pcfg_pull_down_drv_level_5: pcfg-pull-down-drv-level-5 {
246		bias-pull-down;
247		drive-strength = <5>;
248	};
249
250	/omit-if-no-ref/
251	pcfg_pull_down_drv_level_6: pcfg-pull-down-drv-level-6 {
252		bias-pull-down;
253		drive-strength = <6>;
254	};
255
256	/omit-if-no-ref/
257	pcfg_pull_down_drv_level_7: pcfg-pull-down-drv-level-7 {
258		bias-pull-down;
259		drive-strength = <7>;
260	};
261
262	/omit-if-no-ref/
263	pcfg_pull_down_drv_level_8: pcfg-pull-down-drv-level-8 {
264		bias-pull-down;
265		drive-strength = <8>;
266	};
267
268	/omit-if-no-ref/
269	pcfg_pull_down_drv_level_9: pcfg-pull-down-drv-level-9 {
270		bias-pull-down;
271		drive-strength = <9>;
272	};
273
274	/omit-if-no-ref/
275	pcfg_pull_down_drv_level_10: pcfg-pull-down-drv-level-10 {
276		bias-pull-down;
277		drive-strength = <10>;
278	};
279
280	/omit-if-no-ref/
281	pcfg_pull_down_drv_level_11: pcfg-pull-down-drv-level-11 {
282		bias-pull-down;
283		drive-strength = <11>;
284	};
285
286	/omit-if-no-ref/
287	pcfg_pull_down_drv_level_12: pcfg-pull-down-drv-level-12 {
288		bias-pull-down;
289		drive-strength = <12>;
290	};
291
292	/omit-if-no-ref/
293	pcfg_pull_down_drv_level_13: pcfg-pull-down-drv-level-13 {
294		bias-pull-down;
295		drive-strength = <13>;
296	};
297
298	/omit-if-no-ref/
299	pcfg_pull_down_drv_level_14: pcfg-pull-down-drv-level-14 {
300		bias-pull-down;
301		drive-strength = <14>;
302	};
303
304	/omit-if-no-ref/
305	pcfg_pull_down_drv_level_15: pcfg-pull-down-drv-level-15 {
306		bias-pull-down;
307		drive-strength = <15>;
308	};
309
310	/omit-if-no-ref/
311	pcfg_pull_up_smt: pcfg-pull-up-smt {
312		bias-pull-up;
313		input-schmitt-enable;
314	};
315
316	/omit-if-no-ref/
317	pcfg_pull_down_smt: pcfg-pull-down-smt {
318		bias-pull-down;
319		input-schmitt-enable;
320	};
321
322	/omit-if-no-ref/
323	pcfg_pull_none_smt: pcfg-pull-none-smt {
324		bias-disable;
325		input-schmitt-enable;
326	};
327
328	/omit-if-no-ref/
329	pcfg_pull_none_drv_level_0_smt: pcfg-pull-none-drv-level-0-smt {
330		bias-disable;
331		drive-strength = <0>;
332		input-schmitt-enable;
333	};
334
335	/omit-if-no-ref/
336	pcfg_output_high: pcfg-output-high {
337		output-high;
338	};
339
340	/omit-if-no-ref/
341	pcfg_output_low: pcfg-output-low {
342		output-low;
343	};
344};
345