xref: /OK3568_Linux_fs/u-boot/arch/arm/dts/rk3562-pinctrl.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
4 */
5
6#include <dt-bindings/pinctrl/rockchip.h>
7#include "rockchip-pinconf.dtsi"
8
9/*
10 * This file is auto generated by pin2dts tool, please keep these code
11 * by adding changes at end of this file.
12 */
13&pinctrl {
14	cam {
15		camm0_pins: camm0-pins {
16			rockchip,pins =
17				/* cam_clk0_out_m0 */
18				<3 RK_PB2 2 &pcfg_pull_none>,
19				/* cam_clk1_out_m0 */
20				<3 RK_PB3 2 &pcfg_pull_none>;
21		};
22
23		camm1_pins: camm1-pins {
24			rockchip,pins =
25				/* cam_clk0_out_m1 */
26				<4 RK_PB1 3 &pcfg_pull_none>,
27				/* cam_clk1_out_m1 */
28				<4 RK_PB7 3 &pcfg_pull_none>;
29		};
30
31		cam_clk2_out: cam-clk2-out {
32			rockchip,pins =
33				/* cam_clk2_out */
34				<3 RK_PB4 2 &pcfg_pull_none>;
35		};
36		cam_clk3_out: cam-clk3-out {
37			rockchip,pins =
38				/* cam_clk3_out */
39				<3 RK_PB5 2 &pcfg_pull_none>;
40		};
41	};
42
43	can0 {
44		can0m0_pins: can0m0-pins {
45			rockchip,pins =
46				/* can0_rx_m0 */
47				<3 RK_PA1 4 &pcfg_pull_none>,
48				/* can0_tx_m0 */
49				<3 RK_PA0 4 &pcfg_pull_none>;
50		};
51
52		can0m1_pins: can0m1-pins {
53			rockchip,pins =
54				/* can0_rx_m1 */
55				<3 RK_PB7 6 &pcfg_pull_none>,
56				/* can0_tx_m1 */
57				<3 RK_PB6 6 &pcfg_pull_none>;
58		};
59
60		can0m2_pins: can0m2-pins {
61			rockchip,pins =
62				/* can0_rx_m2 */
63				<0 RK_PC7 2 &pcfg_pull_none>,
64				/* can0_tx_m2 */
65				<0 RK_PC6 2 &pcfg_pull_none>;
66		};
67	};
68
69	can1 {
70		can1m0_pins: can1m0-pins {
71			rockchip,pins =
72				/* can1_rx_m0 */
73				<1 RK_PB7 4 &pcfg_pull_none>,
74				/* can1_tx_m0 */
75				<1 RK_PC0 5 &pcfg_pull_none>;
76		};
77
78		can1m1_pins: can1m1-pins {
79			rockchip,pins =
80				/* can1_rx_m1 */
81				<0 RK_PC1 4 &pcfg_pull_none>,
82				/* can1_tx_m1 */
83				<0 RK_PC0 4 &pcfg_pull_none>;
84		};
85	};
86
87	clk {
88		clk_32k_in: clk-32k-in {
89			rockchip,pins =
90				/* clk_32k_in */
91				<0 RK_PB0 1 &pcfg_pull_none>;
92		};
93	};
94
95	clk0 {
96		clk0_32k_out: clk0-32k-out {
97			rockchip,pins =
98				/* clk0_32k_out */
99				<0 RK_PB0 2 &pcfg_pull_none>;
100		};
101	};
102
103	clk1 {
104		clk1_32k_out: clk1-32k-out {
105			rockchip,pins =
106				/* clk1_32k_out */
107				<2 RK_PA1 3 &pcfg_pull_none>;
108		};
109	};
110
111	cpu {
112		cpu_pins: cpu-pins {
113			rockchip,pins =
114				/* cpu_avs */
115				<0 RK_PB7 3 &pcfg_pull_none>;
116		};
117	};
118
119	dsm {
120		dsm_pins: dsm-pins {
121			rockchip,pins =
122				/* dsm_aud_ln */
123				<1 RK_PB4 5 &pcfg_pull_none>,
124				/* dsm_aud_lp */
125				<1 RK_PB3 5 &pcfg_pull_none>,
126				/* dsm_aud_rn */
127				<1 RK_PB6 6 &pcfg_pull_none>,
128				/* dsm_aud_rp */
129				<1 RK_PB5 6 &pcfg_pull_none>;
130		};
131	};
132
133	emmc {
134		emmc_bus8: emmc-bus8 {
135			rockchip,pins =
136				/* emmc_d0 */
137				<1 RK_PA0 1 &pcfg_pull_up_drv_level_2>,
138				/* emmc_d1 */
139				<1 RK_PA1 1 &pcfg_pull_up_drv_level_2>,
140				/* emmc_d2 */
141				<1 RK_PA2 1 &pcfg_pull_up_drv_level_2>,
142				/* emmc_d3 */
143				<1 RK_PA3 1 &pcfg_pull_up_drv_level_2>,
144				/* emmc_d4 */
145				<1 RK_PA4 1 &pcfg_pull_up_drv_level_2>,
146				/* emmc_d5 */
147				<1 RK_PA5 1 &pcfg_pull_up_drv_level_2>,
148				/* emmc_d6 */
149				<1 RK_PA6 1 &pcfg_pull_up_drv_level_2>,
150				/* emmc_d7 */
151				<1 RK_PA7 1 &pcfg_pull_up_drv_level_2>;
152		};
153
154		emmc_clk: emmc-clk {
155			rockchip,pins =
156				/* emmc_clk */
157				<1 RK_PB1 1 &pcfg_pull_up_drv_level_2>;
158		};
159
160		emmc_cmd: emmc-cmd {
161			rockchip,pins =
162				/* emmc_cmd */
163				<1 RK_PB0 1 &pcfg_pull_up_drv_level_2>;
164		};
165
166		emmc_strb: emmc-strb {
167			rockchip,pins =
168				/* emmc_strb */
169				<1 RK_PB2 1 &pcfg_pull_none>;
170		};
171	};
172
173	eth {
174		ethm0_pins: ethm0-pins {
175			rockchip,pins =
176				/* eth_clk_25m_out_m0 */
177				<4 RK_PB1 2 &pcfg_pull_none>;
178		};
179
180		ethm1_pins: ethm1-pins {
181			rockchip,pins =
182				/* eth_clk_25m_out_m1 */
183				<2 RK_PA1 2 &pcfg_pull_none>;
184		};
185	};
186
187	fspi {
188		fspi_pins: fspi-pins {
189			rockchip,pins =
190				/* fspi_clk */
191				<1 RK_PB1 2 &pcfg_pull_none>,
192				/* fspi_d0 */
193				<1 RK_PA0 2 &pcfg_pull_none>,
194				/* fspi_d1 */
195				<1 RK_PA1 2 &pcfg_pull_none>,
196				/* fspi_d2 */
197				<1 RK_PA2 2 &pcfg_pull_none>,
198				/* fspi_d3 */
199				<1 RK_PA3 2 &pcfg_pull_none>;
200		};
201
202		fspi_csn0: fspi-csn0 {
203			rockchip,pins =
204				/* fspi_csn0 */
205				<1 RK_PB0 2 &pcfg_pull_none>;
206		};
207		fspi_csn1: fspi-csn1 {
208			rockchip,pins =
209				/* fspi_csn1 */
210				<1 RK_PB2 2 &pcfg_pull_none>;
211		};
212	};
213
214	gpu {
215		gpu_pins: gpu-pins {
216			rockchip,pins =
217				/* gpu_avs */
218				<0 RK_PC0 3 &pcfg_pull_none>;
219		};
220	};
221
222	i2c0 {
223		i2c0_xfer: i2c0-xfer {
224			rockchip,pins =
225				/* i2c0_scl */
226				<0 RK_PB1 1 &pcfg_pull_none_smt>,
227				/* i2c0_sda */
228				<0 RK_PB2 1 &pcfg_pull_none_smt>;
229		};
230	};
231
232	i2c1 {
233		i2c1m0_xfer: i2c1m0-xfer {
234			rockchip,pins =
235				/* i2c1_scl_m0 */
236				<0 RK_PB3 1 &pcfg_pull_none_smt>,
237				/* i2c1_sda_m0 */
238				<0 RK_PB4 1 &pcfg_pull_none_smt>;
239		};
240
241		i2c1m1_xfer: i2c1m1-xfer {
242			rockchip,pins =
243				/* i2c1_scl_m1 */
244				<4 RK_PB4 5 &pcfg_pull_none_smt>,
245				/* i2c1_sda_m1 */
246				<4 RK_PB5 5 &pcfg_pull_none_smt>;
247		};
248	};
249
250	i2c2 {
251		i2c2m0_xfer: i2c2m0-xfer {
252			rockchip,pins =
253				/* i2c2_scl_m0 */
254				<0 RK_PB5 1 &pcfg_pull_none_smt>,
255				/* i2c2_sda_m0 */
256				<0 RK_PB6 1 &pcfg_pull_none_smt>;
257		};
258
259		i2c2m1_xfer: i2c2m1-xfer {
260			rockchip,pins =
261				/* i2c2_scl_m1 */
262				<3 RK_PD2 5 &pcfg_pull_none_smt>,
263				/* i2c2_sda_m1 */
264				<3 RK_PD3 5 &pcfg_pull_none_smt>;
265		};
266	};
267
268	i2c3 {
269		i2c3m0_xfer: i2c3m0-xfer {
270			rockchip,pins =
271				/* i2c3_scl_m0 */
272				<3 RK_PA0 1 &pcfg_pull_none_smt>,
273				/* i2c3_sda_m0 */
274				<3 RK_PA1 1 &pcfg_pull_none_smt>;
275		};
276
277		i2c3m1_xfer: i2c3m1-xfer {
278			rockchip,pins =
279				/* i2c3_scl_m1 */
280				<4 RK_PA5 5 &pcfg_pull_none_smt>,
281				/* i2c3_sda_m1 */
282				<4 RK_PA6 5 &pcfg_pull_none_smt>;
283		};
284	};
285
286	i2c4 {
287		i2c4m0_xfer: i2c4m0-xfer {
288			rockchip,pins =
289				/* i2c4_scl_m0 */
290				<3 RK_PB6 5 &pcfg_pull_none_smt>,
291				/* i2c4_sda_m0 */
292				<3 RK_PB7 5 &pcfg_pull_none_smt>;
293		};
294
295		i2c4m1_xfer: i2c4m1-xfer {
296			rockchip,pins =
297				/* i2c4_scl_m1 */
298				<0 RK_PA5 2 &pcfg_pull_none_smt>,
299				/* i2c4_sda_m1 */
300				<0 RK_PA4 2 &pcfg_pull_none_smt>;
301		};
302	};
303
304	i2c5 {
305		i2c5m0_xfer: i2c5m0-xfer {
306			rockchip,pins =
307				/* i2c5_scl_m0 */
308				<3 RK_PC2 1 &pcfg_pull_none_smt>,
309				/* i2c5_sda_m0 */
310				<3 RK_PC3 1 &pcfg_pull_none_smt>;
311		};
312
313		i2c5m1_xfer: i2c5m1-xfer {
314			rockchip,pins =
315				/* i2c5_scl_m1 */
316				<1 RK_PC7 4 &pcfg_pull_none_smt>,
317				/* i2c5_sda_m1 */
318				<1 RK_PD0 4 &pcfg_pull_none_smt>;
319		};
320	};
321
322	i2s0 {
323		i2s0m0_lrck: i2s0m0-lrck {
324			rockchip,pins =
325				/* i2s0_lrck_m0 */
326				<3 RK_PA4 1 &pcfg_pull_none>;
327		};
328
329		i2s0m0_mclk: i2s0m0-mclk {
330			rockchip,pins =
331				/* i2s0_mclk_m0 */
332				<3 RK_PA2 1 &pcfg_pull_none>;
333		};
334
335		i2s0m0_sclk: i2s0m0-sclk {
336			rockchip,pins =
337				/* i2s0_sclk_m0 */
338				<3 RK_PA3 1 &pcfg_pull_none>;
339		};
340
341		i2s0m0_sdi0: i2s0m0-sdi0 {
342			rockchip,pins =
343				/* i2s0_sdi0_m0 */
344				<3 RK_PB1 1 &pcfg_pull_none>;
345		};
346
347		i2s0m0_sdi1: i2s0m0-sdi1 {
348			rockchip,pins =
349				/* i2s0_sdi1_m0 */
350				<3 RK_PB0 2 &pcfg_pull_none>;
351		};
352
353		i2s0m0_sdi2: i2s0m0-sdi2 {
354			rockchip,pins =
355				/* i2s0_sdi2_m0 */
356				<3 RK_PA7 2 &pcfg_pull_none>;
357		};
358
359		i2s0m0_sdi3: i2s0m0-sdi3 {
360			rockchip,pins =
361				/* i2s0_sdi3_m0 */
362				<3 RK_PA6 2 &pcfg_pull_none>;
363		};
364
365		i2s0m0_sdo0: i2s0m0-sdo0 {
366			rockchip,pins =
367				/* i2s0_sdo0_m0 */
368				<3 RK_PA5 1 &pcfg_pull_none>;
369		};
370
371		i2s0m0_sdo1: i2s0m0-sdo1 {
372			rockchip,pins =
373				/* i2s0_sdo1_m0 */
374				<3 RK_PA6 1 &pcfg_pull_none>;
375		};
376
377		i2s0m0_sdo2: i2s0m0-sdo2 {
378			rockchip,pins =
379				/* i2s0_sdo2_m0 */
380				<3 RK_PA7 1 &pcfg_pull_none>;
381		};
382
383		i2s0m0_sdo3: i2s0m0-sdo3 {
384			rockchip,pins =
385				/* i2s0_sdo3_m0 */
386				<3 RK_PB0 1 &pcfg_pull_none>;
387		};
388
389		i2s0m1_lrck: i2s0m1-lrck {
390			rockchip,pins =
391				/* i2s0_lrck_m1 */
392				<1 RK_PC4 3 &pcfg_pull_none>;
393		};
394
395		i2s0m1_mclk: i2s0m1-mclk {
396			rockchip,pins =
397				/* i2s0_mclk_m1 */
398				<1 RK_PC6 3 &pcfg_pull_none>;
399		};
400
401		i2s0m1_sclk: i2s0m1-sclk {
402			rockchip,pins =
403				/* i2s0_sclk_m1 */
404				<1 RK_PC5 3 &pcfg_pull_none>;
405		};
406
407		i2s0m1_sdi0: i2s0m1-sdi0 {
408			rockchip,pins =
409				/* i2s0_sdi0_m1 */
410				<1 RK_PC1 3 &pcfg_pull_none>;
411		};
412
413		i2s0m1_sdi1: i2s0m1-sdi1 {
414			rockchip,pins =
415				/* i2s0_sdi1_m1 */
416				<1 RK_PC2 3 &pcfg_pull_none>;
417		};
418
419		i2s0m1_sdi2: i2s0m1-sdi2 {
420			rockchip,pins =
421				/* i2s0_sdi2_m1 */
422				<1 RK_PD3 3 &pcfg_pull_none>;
423		};
424
425		i2s0m1_sdi3: i2s0m1-sdi3 {
426			rockchip,pins =
427				/* i2s0_sdi3_m1 */
428				<1 RK_PD4 3 &pcfg_pull_none>;
429		};
430
431		i2s0m1_sdo0: i2s0m1-sdo0 {
432			rockchip,pins =
433				/* i2s0_sdo0_m1 */
434				<1 RK_PC3 3 &pcfg_pull_none>;
435		};
436
437		i2s0m1_sdo1: i2s0m1-sdo1 {
438			rockchip,pins =
439				/* i2s0_sdo1_m1 */
440				<1 RK_PD1 3 &pcfg_pull_none>;
441		};
442
443		i2s0m1_sdo2: i2s0m1-sdo2 {
444			rockchip,pins =
445				/* i2s0_sdo2_m1 */
446				<1 RK_PD2 3 &pcfg_pull_none>;
447		};
448
449		i2s0m1_sdo3: i2s0m1-sdo3 {
450			rockchip,pins =
451				/* i2s0_sdo3_m1 */
452				<2 RK_PA1 5 &pcfg_pull_none>;
453		};
454	};
455
456	i2s1 {
457		i2s1m0_lrck: i2s1m0-lrck {
458			rockchip,pins =
459				/* i2s1_lrck_m0 */
460				<3 RK_PC6 2 &pcfg_pull_none>;
461		};
462
463		i2s1m0_mclk: i2s1m0-mclk {
464			rockchip,pins =
465				/* i2s1_mclk_m0 */
466				<3 RK_PC4 2 &pcfg_pull_none>;
467		};
468
469		i2s1m0_sclk: i2s1m0-sclk {
470			rockchip,pins =
471				/* i2s1_sclk_m0 */
472				<3 RK_PC5 2 &pcfg_pull_none>;
473		};
474
475		i2s1m0_sdi0: i2s1m0-sdi0 {
476			rockchip,pins =
477				/* i2s1_sdi0_m0 */
478				<3 RK_PD0 2 &pcfg_pull_none>;
479		};
480
481		i2s1m0_sdi1: i2s1m0-sdi1 {
482			rockchip,pins =
483				/* i2s1_sdi1_m0 */
484				<3 RK_PD1 2 &pcfg_pull_none>;
485		};
486
487		i2s1m0_sdi2: i2s1m0-sdi2 {
488			rockchip,pins =
489				/* i2s1_sdi2_m0 */
490				<3 RK_PD2 2 &pcfg_pull_none>;
491		};
492
493		i2s1m0_sdi3: i2s1m0-sdi3 {
494			rockchip,pins =
495				/* i2s1_sdi3_m0 */
496				<3 RK_PD3 2 &pcfg_pull_none>;
497		};
498
499		i2s1m0_sdo0: i2s1m0-sdo0 {
500			rockchip,pins =
501				/* i2s1_sdo0_m0 */
502				<3 RK_PC7 2 &pcfg_pull_none>;
503		};
504
505		i2s1m0_sdo1: i2s1m0-sdo1 {
506			rockchip,pins =
507				/* i2s1_sdo1_m0 */
508				<4 RK_PB4 2 &pcfg_pull_none>;
509		};
510
511		i2s1m0_sdo2: i2s1m0-sdo2 {
512			rockchip,pins =
513				/* i2s1_sdo2_m0 */
514				<4 RK_PB5 2 &pcfg_pull_none>;
515		};
516
517		i2s1m0_sdo3: i2s1m0-sdo3 {
518			rockchip,pins =
519				/* i2s1_sdo3_m0 */
520				<4 RK_PB6 2 &pcfg_pull_none>;
521		};
522
523		i2s1m1_lrck: i2s1m1-lrck {
524			rockchip,pins =
525				/* i2s1_lrck_m1 */
526				<3 RK_PB4 1 &pcfg_pull_none>;
527		};
528
529		i2s1m1_mclk: i2s1m1-mclk {
530			rockchip,pins =
531				/* i2s1_mclk_m1 */
532				<3 RK_PB2 1 &pcfg_pull_none>;
533		};
534
535		i2s1m1_sclk: i2s1m1-sclk {
536			rockchip,pins =
537				/* i2s1_sclk_m1 */
538				<3 RK_PB3 1 &pcfg_pull_none>;
539		};
540
541		i2s1m1_sdi0: i2s1m1-sdi0 {
542			rockchip,pins =
543				/* i2s1_sdi0_m1 */
544				<3 RK_PC1 1 &pcfg_pull_none>;
545		};
546
547		i2s1m1_sdi1: i2s1m1-sdi1 {
548			rockchip,pins =
549				/* i2s1_sdi1_m1 */
550				<3 RK_PC0 2 &pcfg_pull_none>;
551		};
552
553		i2s1m1_sdi2: i2s1m1-sdi2 {
554			rockchip,pins =
555				/* i2s1_sdi2_m1 */
556				<3 RK_PB7 2 &pcfg_pull_none>;
557		};
558
559		i2s1m1_sdi3: i2s1m1-sdi3 {
560			rockchip,pins =
561				/* i2s1_sdi3_m1 */
562				<3 RK_PB6 2 &pcfg_pull_none>;
563		};
564
565		i2s1m1_sdo0: i2s1m1-sdo0 {
566			rockchip,pins =
567				/* i2s1_sdo0_m1 */
568				<3 RK_PB5 1 &pcfg_pull_none>;
569		};
570
571		i2s1m1_sdo1: i2s1m1-sdo1 {
572			rockchip,pins =
573				/* i2s1_sdo1_m1 */
574				<3 RK_PB6 1 &pcfg_pull_none>;
575		};
576
577		i2s1m1_sdo2: i2s1m1-sdo2 {
578			rockchip,pins =
579				/* i2s1_sdo2_m1 */
580				<3 RK_PB7 1 &pcfg_pull_none>;
581		};
582
583		i2s1m1_sdo3: i2s1m1-sdo3 {
584			rockchip,pins =
585				/* i2s1_sdo3_m1 */
586				<3 RK_PC0 1 &pcfg_pull_none>;
587		};
588	};
589
590	i2s2 {
591		i2s2m0_lrck: i2s2m0-lrck {
592			rockchip,pins =
593				/* i2s2_lrck_m0 */
594				<1 RK_PD6 1 &pcfg_pull_none>;
595		};
596
597		i2s2m0_mclk: i2s2m0-mclk {
598			rockchip,pins =
599				/* i2s2_mclk_m0 */
600				<2 RK_PA1 1 &pcfg_pull_none>;
601		};
602
603		i2s2m0_sclk: i2s2m0-sclk {
604			rockchip,pins =
605				/* i2s2_sclk_m0 */
606				<1 RK_PD5 1 &pcfg_pull_none>;
607		};
608
609		i2s2m0_sdi: i2s2m0-sdi {
610			rockchip,pins =
611				/* i2s2_sdi_m0 */
612				<2 RK_PA0 1 &pcfg_pull_none>;
613		};
614
615		i2s2m0_sdo: i2s2m0-sdo {
616			rockchip,pins =
617				/* i2s2_sdo_m0 */
618				<1 RK_PD7 1 &pcfg_pull_none>;
619		};
620
621		i2s2m1_lrck: i2s2m1-lrck {
622			rockchip,pins =
623				/* i2s2_lrck_m1 */
624				<4 RK_PA1 3 &pcfg_pull_none>;
625		};
626
627		i2s2m1_mclk: i2s2m1-mclk {
628			rockchip,pins =
629				/* i2s2_mclk_m1 */
630				<3 RK_PD6 3 &pcfg_pull_none>;
631		};
632
633		i2s2m1_sclk: i2s2m1-sclk {
634			rockchip,pins =
635				/* i2s2_sclk_m1 */
636				<4 RK_PB1 4 &pcfg_pull_none>;
637		};
638
639		i2s2m1_sdi: i2s2m1-sdi {
640			rockchip,pins =
641				/* i2s2_sdi_m1 */
642				<3 RK_PD4 4 &pcfg_pull_none>;
643		};
644
645		i2s2m1_sdo: i2s2m1-sdo {
646			rockchip,pins =
647				/* i2s2_sdo_m1 */
648				<3 RK_PD5 4 &pcfg_pull_none>;
649		};
650	};
651
652	isp {
653		isp_pins: isp-pins {
654			rockchip,pins =
655				/* isp_flash_trigin */
656				<3 RK_PC1 2 &pcfg_pull_none>,
657				/* isp_flash_trigout */
658				<3 RK_PC3 2 &pcfg_pull_none>,
659				/* isp_prelight_trigout */
660				<3 RK_PC2 2 &pcfg_pull_none>;
661		};
662	};
663
664	jtag {
665		jtagm0_pins: jtagm0-pins {
666			rockchip,pins =
667				/* jtag_cpu_mcu_tck_m0 */
668				<0 RK_PD1 2 &pcfg_pull_none>,
669				/* jtag_cpu_mcu_tms_m0 */
670				<0 RK_PD0 2 &pcfg_pull_none>;
671		};
672
673		jtagm1_pins: jtagm1-pins {
674			rockchip,pins =
675				/* jtag_cpu_mcu_tck_m1 */
676				<1 RK_PB5 2 &pcfg_pull_none>,
677				/* jtag_cpu_mcu_tms_m1 */
678				<1 RK_PB6 2 &pcfg_pull_none>;
679		};
680	};
681
682	npu {
683		npu_pins: npu-pins {
684			rockchip,pins =
685				/* npu_avs */
686				<0 RK_PC1 3 &pcfg_pull_none>;
687		};
688	};
689
690	pcie20 {
691		pcie20m0_pins: pcie20m0-pins {
692			rockchip,pins =
693				/* pcie20_clkreqn_m0 */
694				<0 RK_PA6 1 &pcfg_pull_none>,
695				/* pcie20_perstn_m0 */
696				<0 RK_PB5 2 &pcfg_pull_none>,
697				/* pcie20_waken_m0 */
698				<0 RK_PB6 2 &pcfg_pull_none>;
699		};
700
701		pcie20m1_pins: pcie20m1-pins {
702			rockchip,pins =
703				/* pcie20_clkreqn_m1 */
704				<3 RK_PA6 4 &pcfg_pull_none>,
705				/* pcie20_perstn_m1 */
706				<3 RK_PB0 4 &pcfg_pull_none>,
707				/* pcie20_waken_m1 */
708				<3 RK_PA7 4 &pcfg_pull_none>;
709		};
710
711		pcie20_buttonrstn: pcie20-buttonrstn {
712			rockchip,pins =
713				/* pcie20_buttonrstn */
714				<0 RK_PB0 3 &pcfg_pull_none>;
715		};
716	};
717
718	pdm {
719		pdmm0_clk0: pdmm0-clk0 {
720			rockchip,pins =
721				/* pdm_clk0_m0 */
722				<3 RK_PA6 3 &pcfg_pull_none>;
723		};
724
725		pdmm0_clk1: pdmm0-clk1 {
726			rockchip,pins =
727				/* pdm_clk1_m0 */
728				<3 RK_PA2 3 &pcfg_pull_none>;
729		};
730
731		pdmm0_sdi0: pdmm0-sdi0 {
732			rockchip,pins =
733				/* pdm_sdi0_m0 */
734				<3 RK_PB1 2 &pcfg_pull_none>;
735		};
736
737		pdmm0_sdi1: pdmm0-sdi1 {
738			rockchip,pins =
739				/* pdm_sdi1_m0 */
740				<3 RK_PB0 3 &pcfg_pull_none>;
741		};
742
743		pdmm0_sdi2: pdmm0-sdi2 {
744			rockchip,pins =
745				/* pdm_sdi2_m0 */
746				<3 RK_PA7 3 &pcfg_pull_none>;
747		};
748
749		pdmm0_sdi3: pdmm0-sdi3 {
750			rockchip,pins =
751				/* pdm_sdi3_m0 */
752				<3 RK_PA0 3 &pcfg_pull_none>;
753		};
754
755		pdmm1_clk0: pdmm1-clk0 {
756			rockchip,pins =
757				/* pdm_clk0_m1 */
758				<4 RK_PB7 4 &pcfg_pull_none>;
759		};
760
761		pdmm1_clk1: pdmm1-clk1 {
762			rockchip,pins =
763				/* pdm_clk1_m1 */
764				<4 RK_PB1 5 &pcfg_pull_none>;
765		};
766
767		pdmm1_sdi0: pdmm1-sdi0 {
768			rockchip,pins =
769				/* pdm_sdi0_m1 */
770				<4 RK_PA7 4 &pcfg_pull_none>;
771		};
772
773		pdmm1_sdi1: pdmm1-sdi1 {
774			rockchip,pins =
775				/* pdm_sdi1_m1 */
776				<4 RK_PB0 4 &pcfg_pull_none>;
777		};
778
779		pdmm1_sdi2: pdmm1-sdi2 {
780			rockchip,pins =
781				/* pdm_sdi2_m1 */
782				<4 RK_PA5 4 &pcfg_pull_none>;
783		};
784
785		pdmm1_sdi3: pdmm1-sdi3 {
786			rockchip,pins =
787				/* pdm_sdi3_m1 */
788				<4 RK_PA6 4 &pcfg_pull_none>;
789		};
790	};
791
792	pmic {
793		pmic_int: pmic-int {
794			rockchip,pins =
795				<0 RK_PA3 0 &pcfg_pull_up>;
796		};
797
798		soc_slppin_gpio: soc-slppin-gpio {
799			rockchip,pins =
800				<0 RK_PA2 0 &pcfg_output_low>;
801		};
802
803		soc_slppin_slp: soc-slppin-slp {
804			rockchip,pins =
805				<0 RK_PA2 1 &pcfg_pull_none>;
806		};
807	};
808
809	pmu {
810		pmu_pins: pmu-pins {
811			rockchip,pins =
812				/* pmu_debug */
813				<0 RK_PA5 3 &pcfg_pull_none>;
814		};
815	};
816
817	pwm0 {
818		pwm0m0_pins: pwm0m0-pins {
819			rockchip,pins =
820				/* pwm0_m0 */
821				<0 RK_PC3 2 &pcfg_pull_none>;
822		};
823
824		pwm0m1_pins: pwm0m1-pins {
825			rockchip,pins =
826				/* pwm0_m1 */
827				<1 RK_PC5 4 &pcfg_pull_none>;
828		};
829	};
830
831	pwm1 {
832		pwm1m0_pins: pwm1m0-pins {
833			rockchip,pins =
834				/* pwm1_m0 */
835				<0 RK_PC4 2 &pcfg_pull_none>;
836		};
837
838		pwm1m1_pins: pwm1m1-pins {
839			rockchip,pins =
840				/* pwm1_m1 */
841				<1 RK_PC6 4 &pcfg_pull_none>;
842		};
843	};
844
845	pwm2 {
846		pwm2m0_pins: pwm2m0-pins {
847			rockchip,pins =
848				/* pwm2_m0 */
849				<0 RK_PC5 2 &pcfg_pull_none>;
850		};
851
852		pwm2m1_pins: pwm2m1-pins {
853			rockchip,pins =
854				/* pwm2_m1 */
855				<1 RK_PC7 3 &pcfg_pull_none>;
856		};
857	};
858
859	pwm3 {
860		pwm3m0_pins: pwm3m0-pins {
861			rockchip,pins =
862				/* pwm3_m0 */
863				<0 RK_PA7 1 &pcfg_pull_none>;
864		};
865
866		pwm3m1_pins: pwm3m1-pins {
867			rockchip,pins =
868				/* pwm3_m1 */
869				<1 RK_PD0 3 &pcfg_pull_none>;
870		};
871	};
872
873	pwm4 {
874		pwm4m0_pins: pwm4m0-pins {
875			rockchip,pins =
876				/* pwm4_m0 */
877				<0 RK_PB7 2 &pcfg_pull_none>;
878		};
879
880		pwm4m1_pins: pwm4m1-pins {
881			rockchip,pins =
882				/* pwm4_m1 */
883				<1 RK_PD1 4 &pcfg_pull_none>;
884		};
885	};
886
887	pwm5 {
888		pwm5m0_pins: pwm5m0-pins {
889			rockchip,pins =
890				/* pwm5_m0 */
891				<0 RK_PC2 2 &pcfg_pull_none>;
892		};
893
894		pwm5m1_pins: pwm5m1-pins {
895			rockchip,pins =
896				/* pwm5_m1 */
897				<1 RK_PD2 4 &pcfg_pull_none>;
898		};
899	};
900
901	pwm6 {
902		pwm6m0_pins: pwm6m0-pins {
903			rockchip,pins =
904				/* pwm6_m0 */
905				<0 RK_PC1 2 &pcfg_pull_none>;
906		};
907
908		pwm6m1_pins: pwm6m1-pins {
909			rockchip,pins =
910				/* pwm6_m1 */
911				<1 RK_PD3 4 &pcfg_pull_none>;
912		};
913	};
914
915	pwm7 {
916		pwm7m0_pins: pwm7m0-pins {
917			rockchip,pins =
918				/* pwm7_m0 */
919				<0 RK_PC0 2 &pcfg_pull_none>;
920		};
921
922		pwm7m1_pins: pwm7m1-pins {
923			rockchip,pins =
924				/* pwm7_m1 */
925				<1 RK_PD4 4 &pcfg_pull_none>;
926		};
927	};
928
929	pwm8 {
930		pwm8m0_pins: pwm8m0-pins {
931			rockchip,pins =
932				/* pwm8_m0 */
933				<3 RK_PA4 2 &pcfg_pull_none>;
934		};
935
936		pwm8m1_pins: pwm8m1-pins {
937			rockchip,pins =
938				/* pwm8_m1 */
939				<1 RK_PC1 4 &pcfg_pull_none>;
940		};
941	};
942
943	pwm9 {
944		pwm9m0_pins: pwm9m0-pins {
945			rockchip,pins =
946				/* pwm9_m0 */
947				<3 RK_PA5 2 &pcfg_pull_none>;
948		};
949
950		pwm9m1_pins: pwm9m1-pins {
951			rockchip,pins =
952				/* pwm9_m1 */
953				<1 RK_PC2 4 &pcfg_pull_none>;
954		};
955	};
956
957	pwm10 {
958		pwm10m0_pins: pwm10m0-pins {
959			rockchip,pins =
960				/* pwm10_m0 */
961				<1 RK_PB5 5 &pcfg_pull_none>;
962		};
963
964		pwm10m1_pins: pwm10m1-pins {
965			rockchip,pins =
966				/* pwm10_m1 */
967				<1 RK_PC3 4 &pcfg_pull_none>;
968		};
969	};
970
971	pwm11 {
972		pwm11m0_pins: pwm11m0-pins {
973			rockchip,pins =
974				/* pwm11_m0 */
975				<1 RK_PB6 5 &pcfg_pull_none>;
976		};
977
978		pwm11m1_pins: pwm11m1-pins {
979			rockchip,pins =
980				/* pwm11_m1 */
981				<1 RK_PC4 4 &pcfg_pull_none>;
982		};
983	};
984
985	pwm12 {
986		pwm12m0_pins: pwm12m0-pins {
987			rockchip,pins =
988				/* pwm12_m0 */
989				<4 RK_PA1 4 &pcfg_pull_none>;
990		};
991
992		pwm12m1_pins: pwm12m1-pins {
993			rockchip,pins =
994				/* pwm12_m1 */
995				<3 RK_PB4 5 &pcfg_pull_none>;
996		};
997	};
998
999	pwm13 {
1000		pwm13m0_pins: pwm13m0-pins {
1001			rockchip,pins =
1002				/* pwm13_m0 */
1003				<4 RK_PA4 3 &pcfg_pull_none>;
1004		};
1005
1006		pwm13m1_pins: pwm13m1-pins {
1007			rockchip,pins =
1008				/* pwm13_m1 */
1009				<3 RK_PB5 5 &pcfg_pull_none>;
1010		};
1011	};
1012
1013	pwm14 {
1014		pwm14m0_pins: pwm14m0-pins {
1015			rockchip,pins =
1016				/* pwm14_m0 */
1017				<3 RK_PC5 4 &pcfg_pull_none>;
1018		};
1019
1020		pwm14m1_pins: pwm14m1-pins {
1021			rockchip,pins =
1022				/* pwm14_m1 */
1023				<1 RK_PD7 5 &pcfg_pull_none>;
1024		};
1025	};
1026
1027	pwm15 {
1028		pwm15m0_pins: pwm15m0-pins {
1029			rockchip,pins =
1030				/* pwm15_m0 */
1031				<3 RK_PC6 4 &pcfg_pull_none>;
1032		};
1033
1034		pwm15m1_pins: pwm15m1-pins {
1035			rockchip,pins =
1036				/* pwm15_m1 */
1037				<2 RK_PA0 5 &pcfg_pull_none>;
1038		};
1039	};
1040
1041	pwr {
1042		pwr_pins: pwr-pins {
1043			rockchip,pins =
1044				/* pwr_ctrl0 */
1045				<0 RK_PA2 1 &pcfg_pull_none>,
1046				/* pwr_ctrl1 */
1047				<0 RK_PA3 1 &pcfg_pull_none>;
1048		};
1049	};
1050
1051	ref {
1052		ref_pins: ref-pins {
1053			rockchip,pins =
1054				/* ref_clk_out */
1055				<0 RK_PA0 1 &pcfg_pull_none>;
1056		};
1057	};
1058
1059	rgmii {
1060		rgmiim0_miim: rgmiim0-miim {
1061			rockchip,pins =
1062				/* rgmii_mdc_m0 */
1063				<4 RK_PB2 2 &pcfg_pull_none>,
1064				/* rgmii_mdio_m0 */
1065				<4 RK_PB3 2 &pcfg_pull_none>;
1066		};
1067
1068		rgmiim0_rx_er: rgmiim0-rx_er {
1069			rockchip,pins =
1070				/* rgmii_rxer_m0 */
1071				<4 RK_PB0 2 &pcfg_pull_none>;
1072		};
1073
1074		rgmiim0_rx_bus2: rgmiim0-rx_bus2 {
1075			rockchip,pins =
1076				/* rgmii_rxd0_m0 */
1077				<4 RK_PA5 2 &pcfg_pull_none>,
1078				/* rgmii_rxd1_m0 */
1079				<4 RK_PA6 2 &pcfg_pull_none>,
1080				/* rgmii_rxdv_m0 */
1081				<4 RK_PA7 2 &pcfg_pull_none>;
1082		};
1083
1084		rgmiim0_tx_bus2: rgmiim0-tx_bus2 {
1085			rockchip,pins =
1086				/* rgmii_txd0_m0 */
1087				<4 RK_PA2 2 &pcfg_pull_none>,
1088				/* rgmii_txd1_m0 */
1089				<4 RK_PA3 2 &pcfg_pull_none>,
1090				/* rgmii_txen_m0 */
1091				<4 RK_PA4 2 &pcfg_pull_none>;
1092		};
1093
1094		rgmiim0_rgmii_clk: rgmiim0-rgmii_clk {
1095			rockchip,pins =
1096				/* rgmii_rxclk_m0 */
1097				<4 RK_PA1 2 &pcfg_pull_none>,
1098				/* rgmii_txclk_m0 */
1099				<3 RK_PD6 2 &pcfg_pull_none>;
1100		};
1101
1102		rgmiim0_rgmii_bus: rgmiim0-rgmii_bus {
1103			rockchip,pins =
1104				/* rgmii_rxd2_m0 */
1105				<3 RK_PD7 2 &pcfg_pull_none>,
1106				/* rgmii_rxd3_m0 */
1107				<4 RK_PA0 2 &pcfg_pull_none>,
1108				/* rgmii_txd2_m0 */
1109				<3 RK_PD4 2 &pcfg_pull_none>,
1110				/* rgmii_txd3_m0 */
1111				<3 RK_PD5 2 &pcfg_pull_none>;
1112		};
1113
1114		rgmiim0_clk: rgmiim0-clk {
1115			rockchip,pins =
1116				/* rgmiim0_clk */
1117				<4 RK_PB7 2 &pcfg_pull_none>;
1118		};
1119
1120		rgmiim1_miim: rgmiim1-miim {
1121			rockchip,pins =
1122				/* rgmii_mdc_m1 */
1123				<1 RK_PC7 2 &pcfg_pull_none>,
1124				/* rgmii_mdio_m1 */
1125				<1 RK_PD0 2 &pcfg_pull_none>;
1126		};
1127
1128		rgmiim1_rx_er: rgmiim1-rx_er {
1129			rockchip,pins =
1130				/* rgmii_rxer_m1 */
1131				<2 RK_PA0 2 &pcfg_pull_none>;
1132		};
1133
1134		rgmiim1_rx_bus2: rgmiim1-rx_bus2 {
1135			rockchip,pins =
1136				/* rgmii_rxd0_m1 */
1137				<1 RK_PD4 2 &pcfg_pull_none>,
1138				/* rgmii_rxd1_m1 */
1139				<1 RK_PD7 2 &pcfg_pull_none>,
1140				/* rgmii_rxdv_m1 */
1141				<1 RK_PD6 2 &pcfg_pull_none>;
1142		};
1143
1144		rgmiim1_tx_bus2: rgmiim1-tx_bus2 {
1145			rockchip,pins =
1146				/* rgmii_txd0_m1 */
1147				<1 RK_PD1 2 &pcfg_pull_none>,
1148				/* rgmii_txd1_m1 */
1149				<1 RK_PD2 2 &pcfg_pull_none>,
1150				/* rgmii_txen_m1 */
1151				<1 RK_PD3 2 &pcfg_pull_none>;
1152		};
1153
1154		rgmiim1_rgmii_clk: rgmiim1-rgmii_clk {
1155			rockchip,pins =
1156				/* rgmii_rxclk_m1 */
1157				<1 RK_PC6 2 &pcfg_pull_none>,
1158				/* rgmii_txclk_m1 */
1159				<1 RK_PC3 2 &pcfg_pull_none>;
1160		};
1161
1162		rgmiim1_rgmii_bus: rgmiim1-rgmii_bus {
1163			rockchip,pins =
1164				/* rgmii_rxd2_m1 */
1165				<1 RK_PC4 2 &pcfg_pull_none>,
1166				/* rgmii_rxd3_m1 */
1167				<1 RK_PC5 2 &pcfg_pull_none>,
1168				/* rgmii_txd2_m1 */
1169				<1 RK_PC1 2 &pcfg_pull_none>,
1170				/* rgmii_txd3_m1 */
1171				<1 RK_PC2 2 &pcfg_pull_none>;
1172		};
1173
1174		rgmiim1_clk: rgmiim1-clk {
1175			rockchip,pins =
1176				/* rgmiim1_clk */
1177				<1 RK_PD5 2 &pcfg_pull_none>;
1178		};
1179	};
1180
1181	rmii {
1182		rmii_pins: rmii-pins {
1183			rockchip,pins =
1184				/* rmii_clk */
1185				<1 RK_PD5 5 &pcfg_pull_none>,
1186				/* rmii_mdc */
1187				<1 RK_PC7 5 &pcfg_pull_none>,
1188				/* rmii_mdio */
1189				<1 RK_PD0 5 &pcfg_pull_none>,
1190				/* rmii_rxd0 */
1191				<1 RK_PD4 5 &pcfg_pull_none>,
1192				/* rmii_rxd1 */
1193				<1 RK_PD7 6 &pcfg_pull_none>,
1194				/* rmii_rxdv_crs */
1195				<1 RK_PD6 5 &pcfg_pull_none>,
1196				/* rmii_rxer */
1197				<2 RK_PA0 6 &pcfg_pull_none>,
1198				/* rmii_txd0 */
1199				<1 RK_PD1 5 &pcfg_pull_none>,
1200				/* rmii_txd1 */
1201				<1 RK_PD2 5 &pcfg_pull_none>,
1202				/* rmii_txen */
1203				<1 RK_PD3 5 &pcfg_pull_none>;
1204		};
1205	};
1206
1207	sdmmc0_pins: sdmmc0-pins {
1208		sdmmc0_bus4: sdmmc0-bus4 {
1209			rockchip,pins =
1210				/* sdmmc0_d0 */
1211				<1 RK_PB3 1 &pcfg_pull_up_drv_level_2>,
1212				/* sdmmc0_d1 */
1213				<1 RK_PB4 1 &pcfg_pull_up_drv_level_2>,
1214				/* sdmmc0_d2 */
1215				<1 RK_PB5 1 &pcfg_pull_up_drv_level_2>,
1216				/* sdmmc0_d3 */
1217				<1 RK_PB6 1 &pcfg_pull_up_drv_level_2>;
1218		};
1219
1220		sdmmc0_clk: sdmmc0-clk {
1221			rockchip,pins =
1222				/* sdmmc0_clk */
1223				<1 RK_PC0 1 &pcfg_pull_up_drv_level_2>;
1224		};
1225
1226		sdmmc0_cmd: sdmmc0-cmd {
1227			rockchip,pins =
1228				/* sdmmc0_cmd */
1229				<1 RK_PB7 1 &pcfg_pull_up_drv_level_2>;
1230		};
1231
1232		sdmmc0_det: sdmmc0-det {
1233			rockchip,pins =
1234				/* sdmmc0_detn */
1235				<0 RK_PA4 1 &pcfg_pull_up>;
1236		};
1237
1238		sdmmc0_pwren: sdmmc0-pwren {
1239			rockchip,pins =
1240				/* sdmmc0_pwren */
1241				<0 RK_PA5 1 &pcfg_pull_none>;
1242		};
1243	};
1244
1245	sdmmc1 {
1246		sdmmc1_bus4: sdmmc1-bus4 {
1247			rockchip,pins =
1248				/* sdmmc1_d0 */
1249				<1 RK_PC1 1 &pcfg_pull_up_drv_level_2>,
1250				/* sdmmc1_d1 */
1251				<1 RK_PC2 1 &pcfg_pull_up_drv_level_2>,
1252				/* sdmmc1_d2 */
1253				<1 RK_PC3 1 &pcfg_pull_up_drv_level_2>,
1254				/* sdmmc1_d3 */
1255				<1 RK_PC4 1 &pcfg_pull_up_drv_level_2>;
1256		};
1257
1258		sdmmc1_clk: sdmmc1-clk {
1259			rockchip,pins =
1260				/* sdmmc1_clk */
1261				<1 RK_PC6 1 &pcfg_pull_up_drv_level_2>;
1262		};
1263
1264		sdmmc1_cmd: sdmmc1-cmd {
1265			rockchip,pins =
1266				/* sdmmc1_cmd */
1267				<1 RK_PC5 1 &pcfg_pull_up_drv_level_2>;
1268		};
1269
1270		sdmmc1_det: sdmmc1-det {
1271			rockchip,pins =
1272				/* sdmmc1_detn */
1273				<1 RK_PD0 1 &pcfg_pull_up>;
1274		};
1275
1276		sdmmc1_pwren: sdmmc1-pwren {
1277			rockchip,pins =
1278				/* sdmmc1_pwren */
1279				<1 RK_PC7 1 &pcfg_pull_none>;
1280		};
1281	};
1282
1283	spdif {
1284		spdifm0_pins: spdifm0-pins {
1285			rockchip,pins =
1286				/* spdif_tx_m0 */
1287				<3 RK_PA1 3 &pcfg_pull_none>;
1288		};
1289
1290		spdifm1_pins: spdifm1-pins {
1291			rockchip,pins =
1292				/* spdif_tx_m1 */
1293				<0 RK_PB7 4 &pcfg_pull_none>;
1294		};
1295
1296		spdifm2_pins: spdifm2-pins {
1297			rockchip,pins =
1298				/* spdif_tx_m2 */
1299				<1 RK_PB7 2 &pcfg_pull_none>;
1300		};
1301	};
1302
1303	spi0 {
1304		spi0m0_pins: spi0m0-pins {
1305			rockchip,pins =
1306				/* spi0_clk_m0 */
1307				<0 RK_PC3 3 &pcfg_pull_none>,
1308				/* spi0_miso_m0 */
1309				<0 RK_PC5 3 &pcfg_pull_none>,
1310				/* spi0_mosi_m0 */
1311				<0 RK_PC4 3 &pcfg_pull_none>;
1312		};
1313
1314		spi0m0_csn0: spi0m0-csn0 {
1315			rockchip,pins =
1316				/* spi0m0_csn0 */
1317				<0 RK_PC2 3 &pcfg_pull_none>;
1318		};
1319		spi0m0_csn1: spi0m0-csn1 {
1320			rockchip,pins =
1321				/* spi0m0_csn1 */
1322				<0 RK_PB7 1 &pcfg_pull_none>;
1323		};
1324
1325		spi0m1_pins: spi0m1-pins {
1326			rockchip,pins =
1327				/* spi0_clk_m1 */
1328				<3 RK_PB5 4 &pcfg_pull_none>,
1329				/* spi0_miso_m1 */
1330				<3 RK_PC0 4 &pcfg_pull_none>,
1331				/* spi0_mosi_m1 */
1332				<3 RK_PB4 4 &pcfg_pull_none>;
1333		};
1334
1335		spi0m1_csn0: spi0m1-csn0 {
1336			rockchip,pins =
1337				/* spi0m1_csn0 */
1338				<3 RK_PB7 4 &pcfg_pull_none>;
1339		};
1340		spi0m1_csn1: spi0m1-csn1 {
1341			rockchip,pins =
1342				/* spi0m1_csn1 */
1343				<3 RK_PB6 4 &pcfg_pull_none>;
1344		};
1345	};
1346
1347	spi1 {
1348		spi1m0_pins: spi1m0-pins {
1349			rockchip,pins =
1350				/* spi1_clk_m0 */
1351				<3 RK_PD6 4 &pcfg_pull_none>,
1352				/* spi1_miso_m0 */
1353				<4 RK_PA3 4 &pcfg_pull_none>,
1354				/* spi1_mosi_m0 */
1355				<4 RK_PA2 4 &pcfg_pull_none>;
1356		};
1357
1358		spi1m0_csn0: spi1m0-csn0 {
1359			rockchip,pins =
1360				/* spi1m0_csn0 */
1361				<3 RK_PD7 4 &pcfg_pull_none>;
1362		};
1363		spi1m0_csn1: spi1m0-csn1 {
1364			rockchip,pins =
1365				/* spi1m0_csn1 */
1366				<4 RK_PA0 4 &pcfg_pull_none>;
1367		};
1368
1369		spi1m1_pins: spi1m1-pins {
1370			rockchip,pins =
1371				/* spi1_clk_m1 */
1372				<1 RK_PC0 4 &pcfg_pull_none>,
1373				/* spi1_miso_m1 */
1374				<1 RK_PB4 4 &pcfg_pull_none>,
1375				/* spi1_mosi_m1 */
1376				<1 RK_PB3 4 &pcfg_pull_none>;
1377		};
1378
1379		spi1m1_csn0: spi1m1-csn0 {
1380			rockchip,pins =
1381				/* spi1m1_csn0 */
1382				<1 RK_PB6 4 &pcfg_pull_none>;
1383		};
1384		spi1m1_csn1: spi1m1-csn1 {
1385			rockchip,pins =
1386				/* spi1m1_csn1 */
1387				<1 RK_PB5 4 &pcfg_pull_none>;
1388		};
1389	};
1390
1391	spi2 {
1392		spi2m0_pins: spi2m0-pins {
1393			rockchip,pins =
1394				/* spi2_clk_m0 */
1395				<4 RK_PB6 4 &pcfg_pull_none>,
1396				/* spi2_miso_m0 */
1397				<3 RK_PD2 4 &pcfg_pull_none>,
1398				/* spi2_mosi_m0 */
1399				<3 RK_PD3 4 &pcfg_pull_none>;
1400		};
1401
1402		spi2m0_csn0: spi2m0-csn0 {
1403			rockchip,pins =
1404				/* spi2m0_csn0 */
1405				<4 RK_PB5 4 &pcfg_pull_none>;
1406		};
1407		spi2m0_csn1: spi2m0-csn1 {
1408			rockchip,pins =
1409				/* spi2m0_csn1 */
1410				<4 RK_PB4 4 &pcfg_pull_none>;
1411		};
1412
1413		spi2m1_pins: spi2m1-pins {
1414			rockchip,pins =
1415				/* spi2_clk_m1 */
1416				<2 RK_PA1 4 &pcfg_pull_none>,
1417				/* spi2_miso_m1 */
1418				<2 RK_PA0 4 &pcfg_pull_none>,
1419				/* spi2_mosi_m1 */
1420				<1 RK_PD7 4 &pcfg_pull_none>;
1421		};
1422
1423		spi2m1_csn0: spi2m1-csn0 {
1424			rockchip,pins =
1425				/* spi2m1_csn0 */
1426				<1 RK_PD6 4 &pcfg_pull_none>;
1427		};
1428		spi2m1_csn1: spi2m1-csn1 {
1429			rockchip,pins =
1430				/* spi2m1_csn1 */
1431				<1 RK_PD5 4 &pcfg_pull_none>;
1432		};
1433	};
1434
1435	tsadc {
1436		tsadcm0_pins: tsadcm0-pins {
1437			rockchip,pins =
1438				/* tsadc_shut_m0 */
1439				<0 RK_PA1 1 &pcfg_pull_none>;
1440		};
1441
1442		tsadcm1_pins: tsadcm1-pins {
1443			rockchip,pins =
1444				/* tsadc_shut_m1 */
1445				<0 RK_PA2 2 &pcfg_pull_none>;
1446		};
1447
1448		tsadc_shut_org: tsadc-shut-org {
1449			rockchip,pins =
1450				/* tsadc_shut_org */
1451				<0 RK_PA1 2 &pcfg_pull_none>;
1452		};
1453	};
1454
1455	uart0 {
1456		uart0m0_xfer: uart0m0-xfer {
1457			rockchip,pins =
1458				/* uart0_rx_m0 */
1459				<0 RK_PD0 1 &pcfg_pull_up>,
1460				/* uart0_tx_m0 */
1461				<0 RK_PD1 1 &pcfg_pull_up>;
1462		};
1463
1464		uart0m1_xfer: uart0m1-xfer {
1465			rockchip,pins =
1466				/* uart0_rx_m1 */
1467				<1 RK_PB3 2 &pcfg_pull_up>,
1468				/* uart0_tx_m1 */
1469				<1 RK_PB4 2 &pcfg_pull_up>;
1470		};
1471	};
1472
1473	uart1 {
1474		uart1m0_xfer: uart1m0-xfer {
1475			rockchip,pins =
1476				/* uart1_rx_m0 */
1477				<1 RK_PD1 1 &pcfg_pull_up>,
1478				/* uart1_tx_m0 */
1479				<1 RK_PD2 1 &pcfg_pull_up>;
1480		};
1481
1482		uart1m0_ctsn: uart1m0-ctsn {
1483			rockchip,pins =
1484				/* uart1m0_ctsn */
1485				<1 RK_PD4 1 &pcfg_pull_none>;
1486		};
1487		uart1m0_rtsn: uart1m0-rtsn {
1488			rockchip,pins =
1489				/* uart1m0_rtsn */
1490				<1 RK_PD3 1 &pcfg_pull_none>;
1491		};
1492
1493		uart1m1_xfer: uart1m1-xfer {
1494			rockchip,pins =
1495				/* uart1_rx_m1 */
1496				<4 RK_PA6 3 &pcfg_pull_up>,
1497				/* uart1_tx_m1 */
1498				<4 RK_PA5 3 &pcfg_pull_up>;
1499		};
1500
1501		uart1m1_ctsn: uart1m1-ctsn {
1502			rockchip,pins =
1503				/* uart1m1_ctsn */
1504				<4 RK_PB0 3 &pcfg_pull_none>;
1505		};
1506		uart1m1_rtsn: uart1m1-rtsn {
1507			rockchip,pins =
1508				/* uart1m1_rtsn */
1509				<4 RK_PA7 3 &pcfg_pull_none>;
1510		};
1511	};
1512
1513	uart2 {
1514		uart2m0_xfer: uart2m0-xfer {
1515			rockchip,pins =
1516				/* uart2_rx_m0 */
1517				<0 RK_PC1 1 &pcfg_pull_up>,
1518				/* uart2_tx_m0 */
1519				<0 RK_PC0 1 &pcfg_pull_up>;
1520		};
1521
1522		uart2m0_ctsn: uart2m0-ctsn {
1523			rockchip,pins =
1524				/* uart2m0_ctsn */
1525				<0 RK_PC2 1 &pcfg_pull_none>;
1526		};
1527		uart2m0_rtsn: uart2m0-rtsn {
1528			rockchip,pins =
1529				/* uart2m0_rtsn */
1530				<0 RK_PC3 1 &pcfg_pull_none>;
1531		};
1532
1533		uart2m1_xfer: uart2m1-xfer {
1534			rockchip,pins =
1535				/* uart2_rx_m1 */
1536				<3 RK_PA1 2 &pcfg_pull_up>,
1537				/* uart2_tx_m1 */
1538				<3 RK_PA0 2 &pcfg_pull_up>;
1539		};
1540
1541		uart2m1_ctsn: uart2m1-ctsn {
1542			rockchip,pins =
1543				/* uart2m1_ctsn */
1544				<3 RK_PA2 2 &pcfg_pull_none>;
1545		};
1546		uart2m1_rtsn: uart2m1-rtsn {
1547			rockchip,pins =
1548				/* uart2m1_rtsn */
1549				<3 RK_PA3 2 &pcfg_pull_none>;
1550		};
1551	};
1552
1553	uart3 {
1554		uart3m0_xfer: uart3m0-xfer {
1555			rockchip,pins =
1556				/* uart3_rx_m0 */
1557				<4 RK_PB5 6 &pcfg_pull_up>,
1558				/* uart3_tx_m0 */
1559				<4 RK_PB4 6 &pcfg_pull_up>;
1560		};
1561
1562		uart3m0_ctsn: uart3m0-ctsn {
1563			rockchip,pins =
1564				/* uart3m0_ctsn */
1565				<4 RK_PB6 3 &pcfg_pull_none>;
1566		};
1567		uart3m0_rtsn: uart3m0-rtsn {
1568			rockchip,pins =
1569				/* uart3m0_rtsn */
1570				<3 RK_PD1 4 &pcfg_pull_none>;
1571		};
1572
1573		uart3m1_xfer: uart3m1-xfer {
1574			rockchip,pins =
1575				/* uart3_rx_m1 */
1576				<3 RK_PC0 3 &pcfg_pull_up>,
1577				/* uart3_tx_m1 */
1578				<3 RK_PB7 3 &pcfg_pull_up>;
1579		};
1580
1581		uart3m1_ctsn: uart3m1-ctsn {
1582			rockchip,pins =
1583				/* uart3m1_ctsn */
1584				<3 RK_PB6 3 &pcfg_pull_none>;
1585		};
1586		uart3m1_rtsn: uart3m1-rtsn {
1587			rockchip,pins =
1588				/* uart3m1_rtsn */
1589				<3 RK_PC1 3 &pcfg_pull_none>;
1590		};
1591	};
1592
1593	uart4 {
1594		uart4m0_xfer: uart4m0-xfer {
1595			rockchip,pins =
1596				/* uart4_rx_m0 */
1597				<3 RK_PD1 3 &pcfg_pull_up>,
1598				/* uart4_tx_m0 */
1599				<3 RK_PD0 3 &pcfg_pull_up>;
1600		};
1601
1602		uart4m0_ctsn: uart4m0-ctsn {
1603			rockchip,pins =
1604				/* uart4m0_ctsn */
1605				<3 RK_PC5 3 &pcfg_pull_none>;
1606		};
1607		uart4m0_rtsn: uart4m0-rtsn {
1608			rockchip,pins =
1609				/* uart4m0_rtsn */
1610				<3 RK_PC6 3 &pcfg_pull_none>;
1611		};
1612
1613		uart4m1_xfer: uart4m1-xfer {
1614			rockchip,pins =
1615				/* uart4_rx_m1 */
1616				<1 RK_PD5 3 &pcfg_pull_up>,
1617				/* uart4_tx_m1 */
1618				<1 RK_PD6 3 &pcfg_pull_up>;
1619		};
1620
1621		uart4m1_ctsn: uart4m1-ctsn {
1622			rockchip,pins =
1623				/* uart4m1_ctsn */
1624				<2 RK_PA0 3 &pcfg_pull_none>;
1625		};
1626		uart4m1_rtsn: uart4m1-rtsn {
1627			rockchip,pins =
1628				/* uart4m1_rtsn */
1629				<1 RK_PD7 3 &pcfg_pull_none>;
1630		};
1631	};
1632
1633	uart5 {
1634		uart5m0_xfer: uart5m0-xfer {
1635			rockchip,pins =
1636				/* uart5_rx_m0 */
1637				<1 RK_PB7 3 &pcfg_pull_up>,
1638				/* uart5_tx_m0 */
1639				<1 RK_PC0 3 &pcfg_pull_up>;
1640		};
1641
1642		uart5m0_ctsn: uart5m0-ctsn {
1643			rockchip,pins =
1644				/* uart5m0_ctsn */
1645				<1 RK_PB5 3 &pcfg_pull_none>;
1646		};
1647		uart5m0_rtsn: uart5m0-rtsn {
1648			rockchip,pins =
1649				/* uart5m0_rtsn */
1650				<1 RK_PB6 3 &pcfg_pull_none>;
1651		};
1652
1653		uart5m1_xfer: uart5m1-xfer {
1654			rockchip,pins =
1655				/* uart5_rx_m1 */
1656				<3 RK_PA7 5 &pcfg_pull_up>,
1657				/* uart5_tx_m1 */
1658				<3 RK_PA6 5 &pcfg_pull_up>;
1659		};
1660
1661		uart5m1_ctsn: uart5m1-ctsn {
1662			rockchip,pins =
1663				/* uart5m1_ctsn */
1664				<3 RK_PA0 5 &pcfg_pull_none>;
1665		};
1666		uart5m1_rtsn: uart5m1-rtsn {
1667			rockchip,pins =
1668				/* uart5m1_rtsn */
1669				<3 RK_PA1 5 &pcfg_pull_none>;
1670		};
1671	};
1672
1673	uart6 {
1674		uart6m0_xfer: uart6m0-xfer {
1675			rockchip,pins =
1676				/* uart6_rx_m0 */
1677				<0 RK_PC7 1 &pcfg_pull_up>,
1678				/* uart6_tx_m0 */
1679				<0 RK_PC6 1 &pcfg_pull_up>;
1680		};
1681
1682		uart6m0_ctsn: uart6m0-ctsn {
1683			rockchip,pins =
1684				/* uart6m0_ctsn */
1685				<0 RK_PC4 1 &pcfg_pull_none>;
1686		};
1687		uart6m0_rtsn: uart6m0-rtsn {
1688			rockchip,pins =
1689				/* uart6m0_rtsn */
1690				<0 RK_PC5 1 &pcfg_pull_none>;
1691		};
1692
1693		uart6m1_xfer: uart6m1-xfer {
1694			rockchip,pins =
1695				/* uart6_rx_m1 */
1696				<4 RK_PB0 5 &pcfg_pull_up>,
1697				/* uart6_tx_m1 */
1698				<4 RK_PA7 5 &pcfg_pull_up>;
1699		};
1700
1701		uart6m1_ctsn: uart6m1-ctsn {
1702			rockchip,pins =
1703				/* uart6m1_ctsn */
1704				<4 RK_PA2 3 &pcfg_pull_none>;
1705		};
1706		uart6m1_rtsn: uart6m1-rtsn {
1707			rockchip,pins =
1708				/* uart6m1_rtsn */
1709				<4 RK_PA3 3 &pcfg_pull_none>;
1710		};
1711	};
1712
1713	uart7 {
1714		uart7m0_xfer: uart7m0-xfer {
1715			rockchip,pins =
1716				/* uart7_rx_m0 */
1717				<3 RK_PC7 3 &pcfg_pull_up>,
1718				/* uart7_tx_m0 */
1719				<3 RK_PC4 3 &pcfg_pull_up>;
1720		};
1721
1722		uart7m0_ctsn: uart7m0-ctsn {
1723			rockchip,pins =
1724				/* uart7m0_ctsn */
1725				<3 RK_PD2 3 &pcfg_pull_none>;
1726		};
1727		uart7m0_rtsn: uart7m0-rtsn {
1728			rockchip,pins =
1729				/* uart7m0_rtsn */
1730				<3 RK_PD3 3 &pcfg_pull_none>;
1731		};
1732
1733		uart7m1_xfer: uart7m1-xfer {
1734			rockchip,pins =
1735				/* uart7_rx_m1 */
1736				<1 RK_PB3 3 &pcfg_pull_up>,
1737				/* uart7_tx_m1 */
1738				<1 RK_PB4 3 &pcfg_pull_up>;
1739		};
1740	};
1741
1742	uart8 {
1743		uart8m0_xfer: uart8m0-xfer {
1744			rockchip,pins =
1745				/* uart8_rx_m0 */
1746				<3 RK_PB3 3 &pcfg_pull_up>,
1747				/* uart8_tx_m0 */
1748				<3 RK_PB2 3 &pcfg_pull_up>;
1749		};
1750
1751		uart8m0_ctsn: uart8m0-ctsn {
1752			rockchip,pins =
1753				/* uart8m0_ctsn */
1754				<3 RK_PB4 3 &pcfg_pull_none>;
1755		};
1756		uart8m0_rtsn: uart8m0-rtsn {
1757			rockchip,pins =
1758				/* uart8m0_rtsn */
1759				<3 RK_PB5 3 &pcfg_pull_none>;
1760		};
1761
1762		uart8m1_xfer: uart8m1-xfer {
1763			rockchip,pins =
1764				/* uart8_rx_m1 */
1765				<3 RK_PD5 3 &pcfg_pull_up>,
1766				/* uart8_tx_m1 */
1767				<3 RK_PD4 3 &pcfg_pull_up>;
1768		};
1769
1770		uart8m1_ctsn: uart8m1-ctsn {
1771			rockchip,pins =
1772				/* uart8m1_ctsn */
1773				<3 RK_PD7 3 &pcfg_pull_none>;
1774		};
1775		uart8m1_rtsn: uart8m1-rtsn {
1776			rockchip,pins =
1777				/* uart8m1_rtsn */
1778				<4 RK_PA0 3 &pcfg_pull_none>;
1779		};
1780	};
1781
1782	uart9 {
1783		uart9m0_xfer: uart9m0-xfer {
1784			rockchip,pins =
1785				/* uart9_rx_m0 */
1786				<4 RK_PB3 3 &pcfg_pull_up>,
1787				/* uart9_tx_m0 */
1788				<4 RK_PB2 3 &pcfg_pull_up>;
1789		};
1790
1791		uart9m0_ctsn: uart9m0-ctsn {
1792			rockchip,pins =
1793				/* uart9m0_ctsn */
1794				<4 RK_PB4 3 &pcfg_pull_none>;
1795		};
1796		uart9m0_rtsn: uart9m0-rtsn {
1797			rockchip,pins =
1798				/* uart9m0_rtsn */
1799				<4 RK_PB5 3 &pcfg_pull_none>;
1800		};
1801
1802		uart9m1_xfer: uart9m1-xfer {
1803			rockchip,pins =
1804				/* uart9_rx_m1 */
1805				<3 RK_PC3 3 &pcfg_pull_up>,
1806				/* uart9_tx_m1 */
1807				<3 RK_PC2 3 &pcfg_pull_up>;
1808		};
1809	};
1810
1811	vo {
1812		vo_pins: vo-pins {
1813			rockchip,pins =
1814				/* vo_lcdc_clk */
1815				<4 RK_PB7 1 &pcfg_pull_none>,
1816				/* vo_lcdc_d0 */
1817				<4 RK_PA4 1 &pcfg_pull_none>,
1818				/* vo_lcdc_d1 */
1819				<4 RK_PA5 1 &pcfg_pull_none>,
1820				/* vo_lcdc_d2 */
1821				<4 RK_PB2 1 &pcfg_pull_none>,
1822				/* vo_lcdc_d3 */
1823				<3 RK_PC4 1 &pcfg_pull_none>,
1824				/* vo_lcdc_d4 */
1825				<3 RK_PC5 1 &pcfg_pull_none>,
1826				/* vo_lcdc_d5 */
1827				<3 RK_PC6 1 &pcfg_pull_none>,
1828				/* vo_lcdc_d6 */
1829				<3 RK_PC7 1 &pcfg_pull_none>,
1830				/* vo_lcdc_d7 */
1831				<3 RK_PD0 1 &pcfg_pull_none>,
1832				/* vo_lcdc_d8 */
1833				<4 RK_PA6 1 &pcfg_pull_none>,
1834				/* vo_lcdc_d9 */
1835				<4 RK_PA7 1 &pcfg_pull_none>,
1836				/* vo_lcdc_d10 */
1837				<3 RK_PD1 1 &pcfg_pull_none>,
1838				/* vo_lcdc_d11 */
1839				<3 RK_PD2 1 &pcfg_pull_none>,
1840				/* vo_lcdc_d12 */
1841				<3 RK_PD3 1 &pcfg_pull_none>,
1842				/* vo_lcdc_d13 */
1843				<3 RK_PD4 1 &pcfg_pull_none>,
1844				/* vo_lcdc_d14 */
1845				<3 RK_PD5 1 &pcfg_pull_none>,
1846				/* vo_lcdc_d15 */
1847				<3 RK_PD6 1 &pcfg_pull_none>,
1848				/* vo_lcdc_d16 */
1849				<4 RK_PB0 1 &pcfg_pull_none>,
1850				/* vo_lcdc_d17 */
1851				<4 RK_PB1 1 &pcfg_pull_none>,
1852				/* vo_lcdc_d18 */
1853				<4 RK_PB3 1 &pcfg_pull_none>,
1854				/* vo_lcdc_d19 */
1855				<3 RK_PD7 1 &pcfg_pull_none>,
1856				/* vo_lcdc_d20 */
1857				<4 RK_PA0 1 &pcfg_pull_none>,
1858				/* vo_lcdc_d21 */
1859				<4 RK_PA1 1 &pcfg_pull_none>,
1860				/* vo_lcdc_d22 */
1861				<4 RK_PA2 1 &pcfg_pull_none>,
1862				/* vo_lcdc_d23 */
1863				<4 RK_PA3 1 &pcfg_pull_none>,
1864				/* vo_lcdc_den */
1865				<4 RK_PB6 1 &pcfg_pull_none>,
1866				/* vo_lcdc_hsync */
1867				<4 RK_PB4 1 &pcfg_pull_none>,
1868				/* vo_lcdc_vsync */
1869				<4 RK_PB5 1 &pcfg_pull_none>;
1870		};
1871	};
1872};
1873