xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588-pinctrl.dtsi (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*cb7aa33aSEmmanuel Vadot/*
3*cb7aa33aSEmmanuel Vadot * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
4*cb7aa33aSEmmanuel Vadot */
5*cb7aa33aSEmmanuel Vadot
6*cb7aa33aSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
7*cb7aa33aSEmmanuel Vadot#include "rockchip-pinconf.dtsi"
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadot/*
10*cb7aa33aSEmmanuel Vadot * This file is auto generated by pin2dts tool, please keep these code
11*cb7aa33aSEmmanuel Vadot * by adding changes at end of this file.
12*cb7aa33aSEmmanuel Vadot */
13*cb7aa33aSEmmanuel Vadot&pinctrl {
14*cb7aa33aSEmmanuel Vadot	clk32k {
15*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
16*cb7aa33aSEmmanuel Vadot		clk32k_out1: clk32k-out1 {
17*cb7aa33aSEmmanuel Vadot			rockchip,pins =
18*cb7aa33aSEmmanuel Vadot				/* clk32k_out1 */
19*cb7aa33aSEmmanuel Vadot				<2 RK_PC5 1 &pcfg_pull_none>;
20*cb7aa33aSEmmanuel Vadot		};
21*cb7aa33aSEmmanuel Vadot
22*cb7aa33aSEmmanuel Vadot	};
23*cb7aa33aSEmmanuel Vadot
24*cb7aa33aSEmmanuel Vadot	eth0 {
25*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
26*cb7aa33aSEmmanuel Vadot		eth0_pins: eth0-pins {
27*cb7aa33aSEmmanuel Vadot			rockchip,pins =
28*cb7aa33aSEmmanuel Vadot				/* eth0_refclko_25m */
29*cb7aa33aSEmmanuel Vadot				<2 RK_PC3 1 &pcfg_pull_none>;
30*cb7aa33aSEmmanuel Vadot		};
31*cb7aa33aSEmmanuel Vadot
32*cb7aa33aSEmmanuel Vadot	};
33*cb7aa33aSEmmanuel Vadot
34*cb7aa33aSEmmanuel Vadot	fspi {
35*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
36*cb7aa33aSEmmanuel Vadot		fspim1_pins: fspim1-pins {
37*cb7aa33aSEmmanuel Vadot			rockchip,pins =
38*cb7aa33aSEmmanuel Vadot				/* fspi_clk_m1 */
39*cb7aa33aSEmmanuel Vadot				<2 RK_PB3 3 &pcfg_pull_up_drv_level_2>,
40*cb7aa33aSEmmanuel Vadot				/* fspi_cs0n_m1 */
41*cb7aa33aSEmmanuel Vadot				<2 RK_PB4 3 &pcfg_pull_up_drv_level_2>,
42*cb7aa33aSEmmanuel Vadot				/* fspi_d0_m1 */
43*cb7aa33aSEmmanuel Vadot				<2 RK_PA6 3 &pcfg_pull_up_drv_level_2>,
44*cb7aa33aSEmmanuel Vadot				/* fspi_d1_m1 */
45*cb7aa33aSEmmanuel Vadot				<2 RK_PA7 3 &pcfg_pull_up_drv_level_2>,
46*cb7aa33aSEmmanuel Vadot				/* fspi_d2_m1 */
47*cb7aa33aSEmmanuel Vadot				<2 RK_PB0 3 &pcfg_pull_up_drv_level_2>,
48*cb7aa33aSEmmanuel Vadot				/* fspi_d3_m1 */
49*cb7aa33aSEmmanuel Vadot				<2 RK_PB1 3 &pcfg_pull_up_drv_level_2>;
50*cb7aa33aSEmmanuel Vadot		};
51*cb7aa33aSEmmanuel Vadot
52*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
53*cb7aa33aSEmmanuel Vadot		fspim1_cs1: fspim1-cs1 {
54*cb7aa33aSEmmanuel Vadot			rockchip,pins =
55*cb7aa33aSEmmanuel Vadot				/* fspi_cs1n_m1 */
56*cb7aa33aSEmmanuel Vadot				<2 RK_PB5 3 &pcfg_pull_up_drv_level_2>;
57*cb7aa33aSEmmanuel Vadot		};
58*cb7aa33aSEmmanuel Vadot	};
59*cb7aa33aSEmmanuel Vadot
60*cb7aa33aSEmmanuel Vadot	gmac0 {
61*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
62*cb7aa33aSEmmanuel Vadot		gmac0_miim: gmac0-miim {
63*cb7aa33aSEmmanuel Vadot			rockchip,pins =
64*cb7aa33aSEmmanuel Vadot				/* gmac0_mdc */
65*cb7aa33aSEmmanuel Vadot				<4 RK_PC4 1 &pcfg_pull_none>,
66*cb7aa33aSEmmanuel Vadot				/* gmac0_mdio */
67*cb7aa33aSEmmanuel Vadot				<4 RK_PC5 1 &pcfg_pull_none>;
68*cb7aa33aSEmmanuel Vadot		};
69*cb7aa33aSEmmanuel Vadot
70*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
71*cb7aa33aSEmmanuel Vadot		gmac0_clkinout: gmac0-clkinout {
72*cb7aa33aSEmmanuel Vadot			rockchip,pins =
73*cb7aa33aSEmmanuel Vadot				/* gmac0_mclkinout */
74*cb7aa33aSEmmanuel Vadot				<4 RK_PC3 1 &pcfg_pull_none>;
75*cb7aa33aSEmmanuel Vadot		};
76*cb7aa33aSEmmanuel Vadot
77*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
78*cb7aa33aSEmmanuel Vadot		gmac0_rx_bus2: gmac0-rx-bus2 {
79*cb7aa33aSEmmanuel Vadot			rockchip,pins =
80*cb7aa33aSEmmanuel Vadot				/* gmac0_rxd0 */
81*cb7aa33aSEmmanuel Vadot				<2 RK_PC1 1 &pcfg_pull_none>,
82*cb7aa33aSEmmanuel Vadot				/* gmac0_rxd1 */
83*cb7aa33aSEmmanuel Vadot				<2 RK_PC2 1 &pcfg_pull_none>,
84*cb7aa33aSEmmanuel Vadot				/* gmac0_rxdv_crs */
85*cb7aa33aSEmmanuel Vadot				<4 RK_PC2 1 &pcfg_pull_none>;
86*cb7aa33aSEmmanuel Vadot		};
87*cb7aa33aSEmmanuel Vadot
88*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
89*cb7aa33aSEmmanuel Vadot		gmac0_tx_bus2: gmac0-tx-bus2 {
90*cb7aa33aSEmmanuel Vadot			rockchip,pins =
91*cb7aa33aSEmmanuel Vadot				/* gmac0_txd0 */
92*cb7aa33aSEmmanuel Vadot				<2 RK_PB6 1 &pcfg_pull_none>,
93*cb7aa33aSEmmanuel Vadot				/* gmac0_txd1 */
94*cb7aa33aSEmmanuel Vadot				<2 RK_PB7 1 &pcfg_pull_none>,
95*cb7aa33aSEmmanuel Vadot				/* gmac0_txen */
96*cb7aa33aSEmmanuel Vadot				<2 RK_PC0 1 &pcfg_pull_none>;
97*cb7aa33aSEmmanuel Vadot		};
98*cb7aa33aSEmmanuel Vadot
99*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
100*cb7aa33aSEmmanuel Vadot		gmac0_rgmii_clk: gmac0-rgmii-clk {
101*cb7aa33aSEmmanuel Vadot			rockchip,pins =
102*cb7aa33aSEmmanuel Vadot				/* gmac0_rxclk */
103*cb7aa33aSEmmanuel Vadot				<2 RK_PB0 1 &pcfg_pull_none>,
104*cb7aa33aSEmmanuel Vadot				/* gmac0_txclk */
105*cb7aa33aSEmmanuel Vadot				<2 RK_PB3 1 &pcfg_pull_none>;
106*cb7aa33aSEmmanuel Vadot		};
107*cb7aa33aSEmmanuel Vadot
108*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
109*cb7aa33aSEmmanuel Vadot		gmac0_rgmii_bus: gmac0-rgmii-bus {
110*cb7aa33aSEmmanuel Vadot			rockchip,pins =
111*cb7aa33aSEmmanuel Vadot				/* gmac0_rxd2 */
112*cb7aa33aSEmmanuel Vadot				<2 RK_PA6 1 &pcfg_pull_none>,
113*cb7aa33aSEmmanuel Vadot				/* gmac0_rxd3 */
114*cb7aa33aSEmmanuel Vadot				<2 RK_PA7 1 &pcfg_pull_none>,
115*cb7aa33aSEmmanuel Vadot				/* gmac0_txd2 */
116*cb7aa33aSEmmanuel Vadot				<2 RK_PB1 1 &pcfg_pull_none>,
117*cb7aa33aSEmmanuel Vadot				/* gmac0_txd3 */
118*cb7aa33aSEmmanuel Vadot				<2 RK_PB2 1 &pcfg_pull_none>;
119*cb7aa33aSEmmanuel Vadot		};
120*cb7aa33aSEmmanuel Vadot
121*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
122*cb7aa33aSEmmanuel Vadot		gmac0_ppsclk: gmac0-ppsclk {
123*cb7aa33aSEmmanuel Vadot			rockchip,pins =
124*cb7aa33aSEmmanuel Vadot				/* gmac0_ppsclk */
125*cb7aa33aSEmmanuel Vadot				<2 RK_PC4 1 &pcfg_pull_none>;
126*cb7aa33aSEmmanuel Vadot		};
127*cb7aa33aSEmmanuel Vadot
128*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
129*cb7aa33aSEmmanuel Vadot		gmac0_ppstring: gmac0-ppstring {
130*cb7aa33aSEmmanuel Vadot			rockchip,pins =
131*cb7aa33aSEmmanuel Vadot				/* gmac0_ppstring */
132*cb7aa33aSEmmanuel Vadot				<2 RK_PB5 1 &pcfg_pull_none>;
133*cb7aa33aSEmmanuel Vadot		};
134*cb7aa33aSEmmanuel Vadot
135*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
136*cb7aa33aSEmmanuel Vadot		gmac0_ptp_refclk: gmac0-ptp-refclk {
137*cb7aa33aSEmmanuel Vadot			rockchip,pins =
138*cb7aa33aSEmmanuel Vadot				/* gmac0_ptp_refclk */
139*cb7aa33aSEmmanuel Vadot				<2 RK_PB4 1 &pcfg_pull_none>;
140*cb7aa33aSEmmanuel Vadot		};
141*cb7aa33aSEmmanuel Vadot
142*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
143*cb7aa33aSEmmanuel Vadot		gmac0_txer: gmac0-txer {
144*cb7aa33aSEmmanuel Vadot			rockchip,pins =
145*cb7aa33aSEmmanuel Vadot				/* gmac0_txer */
146*cb7aa33aSEmmanuel Vadot				<4 RK_PC6 1 &pcfg_pull_none>;
147*cb7aa33aSEmmanuel Vadot		};
148*cb7aa33aSEmmanuel Vadot
149*cb7aa33aSEmmanuel Vadot	};
150*cb7aa33aSEmmanuel Vadot
151*cb7aa33aSEmmanuel Vadot	hdmi {
152*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
153*cb7aa33aSEmmanuel Vadot		hdmim0_tx1_cec: hdmim0-tx1-cec {
154*cb7aa33aSEmmanuel Vadot			rockchip,pins =
155*cb7aa33aSEmmanuel Vadot				/* hdmim0_tx1_cec */
156*cb7aa33aSEmmanuel Vadot				<2 RK_PC4 4 &pcfg_pull_none>;
157*cb7aa33aSEmmanuel Vadot		};
158*cb7aa33aSEmmanuel Vadot
159*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
160*cb7aa33aSEmmanuel Vadot		hdmim0_tx1_scl: hdmim0-tx1-scl {
161*cb7aa33aSEmmanuel Vadot			rockchip,pins =
162*cb7aa33aSEmmanuel Vadot				/* hdmim0_tx1_scl */
163*cb7aa33aSEmmanuel Vadot				<2 RK_PB5 4 &pcfg_pull_none>;
164*cb7aa33aSEmmanuel Vadot		};
165*cb7aa33aSEmmanuel Vadot
166*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
167*cb7aa33aSEmmanuel Vadot		hdmim0_tx1_sda: hdmim0-tx1-sda {
168*cb7aa33aSEmmanuel Vadot			rockchip,pins =
169*cb7aa33aSEmmanuel Vadot				/* hdmim0_tx1_sda */
170*cb7aa33aSEmmanuel Vadot				<2 RK_PB4 4 &pcfg_pull_none>;
171*cb7aa33aSEmmanuel Vadot		};
172*cb7aa33aSEmmanuel Vadot	};
173*cb7aa33aSEmmanuel Vadot
174*cb7aa33aSEmmanuel Vadot	i2c0 {
175*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
176*cb7aa33aSEmmanuel Vadot		i2c0m1_xfer: i2c0m1-xfer {
177*cb7aa33aSEmmanuel Vadot			rockchip,pins =
178*cb7aa33aSEmmanuel Vadot				/* i2c0_scl_m1 */
179*cb7aa33aSEmmanuel Vadot				<4 RK_PC5 9 &pcfg_pull_none_smt>,
180*cb7aa33aSEmmanuel Vadot				/* i2c0_sda_m1 */
181*cb7aa33aSEmmanuel Vadot				<4 RK_PC6 9 &pcfg_pull_none_smt>;
182*cb7aa33aSEmmanuel Vadot		};
183*cb7aa33aSEmmanuel Vadot	};
184*cb7aa33aSEmmanuel Vadot
185*cb7aa33aSEmmanuel Vadot	i2c2 {
186*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
187*cb7aa33aSEmmanuel Vadot		i2c2m1_xfer: i2c2m1-xfer {
188*cb7aa33aSEmmanuel Vadot			rockchip,pins =
189*cb7aa33aSEmmanuel Vadot				/* i2c2_scl_m1 */
190*cb7aa33aSEmmanuel Vadot				<2 RK_PC1 9 &pcfg_pull_none_smt>,
191*cb7aa33aSEmmanuel Vadot				/* i2c2_sda_m1 */
192*cb7aa33aSEmmanuel Vadot				<2 RK_PC0 9 &pcfg_pull_none_smt>;
193*cb7aa33aSEmmanuel Vadot		};
194*cb7aa33aSEmmanuel Vadot	};
195*cb7aa33aSEmmanuel Vadot
196*cb7aa33aSEmmanuel Vadot	i2c3 {
197*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
198*cb7aa33aSEmmanuel Vadot		i2c3m3_xfer: i2c3m3-xfer {
199*cb7aa33aSEmmanuel Vadot			rockchip,pins =
200*cb7aa33aSEmmanuel Vadot				/* i2c3_scl_m3 */
201*cb7aa33aSEmmanuel Vadot				<2 RK_PB2 9 &pcfg_pull_none_smt>,
202*cb7aa33aSEmmanuel Vadot				/* i2c3_sda_m3 */
203*cb7aa33aSEmmanuel Vadot				<2 RK_PB3 9 &pcfg_pull_none_smt>;
204*cb7aa33aSEmmanuel Vadot		};
205*cb7aa33aSEmmanuel Vadot	};
206*cb7aa33aSEmmanuel Vadot
207*cb7aa33aSEmmanuel Vadot	i2c4 {
208*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
209*cb7aa33aSEmmanuel Vadot		i2c4m1_xfer: i2c4m1-xfer {
210*cb7aa33aSEmmanuel Vadot			rockchip,pins =
211*cb7aa33aSEmmanuel Vadot				/* i2c4_scl_m1 */
212*cb7aa33aSEmmanuel Vadot				<2 RK_PB5 9 &pcfg_pull_none_smt>,
213*cb7aa33aSEmmanuel Vadot				/* i2c4_sda_m1 */
214*cb7aa33aSEmmanuel Vadot				<2 RK_PB4 9 &pcfg_pull_none_smt>;
215*cb7aa33aSEmmanuel Vadot		};
216*cb7aa33aSEmmanuel Vadot	};
217*cb7aa33aSEmmanuel Vadot
218*cb7aa33aSEmmanuel Vadot	i2c5 {
219*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
220*cb7aa33aSEmmanuel Vadot		i2c5m4_xfer: i2c5m4-xfer {
221*cb7aa33aSEmmanuel Vadot			rockchip,pins =
222*cb7aa33aSEmmanuel Vadot				/* i2c5_scl_m4 */
223*cb7aa33aSEmmanuel Vadot				<2 RK_PB6 9 &pcfg_pull_none_smt>,
224*cb7aa33aSEmmanuel Vadot				/* i2c5_sda_m4 */
225*cb7aa33aSEmmanuel Vadot				<2 RK_PB7 9 &pcfg_pull_none_smt>;
226*cb7aa33aSEmmanuel Vadot		};
227*cb7aa33aSEmmanuel Vadot	};
228*cb7aa33aSEmmanuel Vadot
229*cb7aa33aSEmmanuel Vadot	i2c6 {
230*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
231*cb7aa33aSEmmanuel Vadot		i2c6m2_xfer: i2c6m2-xfer {
232*cb7aa33aSEmmanuel Vadot			rockchip,pins =
233*cb7aa33aSEmmanuel Vadot				/* i2c6_scl_m2 */
234*cb7aa33aSEmmanuel Vadot				<2 RK_PC3 9 &pcfg_pull_none_smt>,
235*cb7aa33aSEmmanuel Vadot				/* i2c6_sda_m2 */
236*cb7aa33aSEmmanuel Vadot				<2 RK_PC2 9 &pcfg_pull_none_smt>;
237*cb7aa33aSEmmanuel Vadot		};
238*cb7aa33aSEmmanuel Vadot	};
239*cb7aa33aSEmmanuel Vadot
240*cb7aa33aSEmmanuel Vadot	i2c7 {
241*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
242*cb7aa33aSEmmanuel Vadot		i2c7m1_xfer: i2c7m1-xfer {
243*cb7aa33aSEmmanuel Vadot			rockchip,pins =
244*cb7aa33aSEmmanuel Vadot				/* i2c7_scl_m1 */
245*cb7aa33aSEmmanuel Vadot				<4 RK_PC3 9 &pcfg_pull_none_smt>,
246*cb7aa33aSEmmanuel Vadot				/* i2c7_sda_m1 */
247*cb7aa33aSEmmanuel Vadot				<4 RK_PC4 9 &pcfg_pull_none_smt>;
248*cb7aa33aSEmmanuel Vadot		};
249*cb7aa33aSEmmanuel Vadot	};
250*cb7aa33aSEmmanuel Vadot
251*cb7aa33aSEmmanuel Vadot	i2c8 {
252*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
253*cb7aa33aSEmmanuel Vadot		i2c8m1_xfer: i2c8m1-xfer {
254*cb7aa33aSEmmanuel Vadot			rockchip,pins =
255*cb7aa33aSEmmanuel Vadot				/* i2c8_scl_m1 */
256*cb7aa33aSEmmanuel Vadot				<2 RK_PB0 9 &pcfg_pull_none_smt>,
257*cb7aa33aSEmmanuel Vadot				/* i2c8_sda_m1 */
258*cb7aa33aSEmmanuel Vadot				<2 RK_PB1 9 &pcfg_pull_none_smt>;
259*cb7aa33aSEmmanuel Vadot		};
260*cb7aa33aSEmmanuel Vadot	};
261*cb7aa33aSEmmanuel Vadot
262*cb7aa33aSEmmanuel Vadot	i2s2 {
263*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
264*cb7aa33aSEmmanuel Vadot		i2s2m0_lrck: i2s2m0-lrck {
265*cb7aa33aSEmmanuel Vadot			rockchip,pins =
266*cb7aa33aSEmmanuel Vadot				/* i2s2m0_lrck */
267*cb7aa33aSEmmanuel Vadot				<2 RK_PC0 2 &pcfg_pull_none>;
268*cb7aa33aSEmmanuel Vadot		};
269*cb7aa33aSEmmanuel Vadot
270*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
271*cb7aa33aSEmmanuel Vadot		i2s2m0_mclk: i2s2m0-mclk {
272*cb7aa33aSEmmanuel Vadot			rockchip,pins =
273*cb7aa33aSEmmanuel Vadot				/* i2s2m0_mclk */
274*cb7aa33aSEmmanuel Vadot				<2 RK_PB6 2 &pcfg_pull_none>;
275*cb7aa33aSEmmanuel Vadot		};
276*cb7aa33aSEmmanuel Vadot
277*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
278*cb7aa33aSEmmanuel Vadot		i2s2m0_sclk: i2s2m0-sclk {
279*cb7aa33aSEmmanuel Vadot			rockchip,pins =
280*cb7aa33aSEmmanuel Vadot				/* i2s2m0_sclk */
281*cb7aa33aSEmmanuel Vadot				<2 RK_PB7 2 &pcfg_pull_none>;
282*cb7aa33aSEmmanuel Vadot		};
283*cb7aa33aSEmmanuel Vadot
284*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
285*cb7aa33aSEmmanuel Vadot		i2s2m0_sdi: i2s2m0-sdi {
286*cb7aa33aSEmmanuel Vadot			rockchip,pins =
287*cb7aa33aSEmmanuel Vadot				/* i2s2m0_sdi */
288*cb7aa33aSEmmanuel Vadot				<2 RK_PC3 2 &pcfg_pull_none>;
289*cb7aa33aSEmmanuel Vadot		};
290*cb7aa33aSEmmanuel Vadot
291*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
292*cb7aa33aSEmmanuel Vadot		i2s2m0_sdo: i2s2m0-sdo {
293*cb7aa33aSEmmanuel Vadot			rockchip,pins =
294*cb7aa33aSEmmanuel Vadot				/* i2s2m0_sdo */
295*cb7aa33aSEmmanuel Vadot				<4 RK_PC3 2 &pcfg_pull_none>;
296*cb7aa33aSEmmanuel Vadot		};
297*cb7aa33aSEmmanuel Vadot	};
298*cb7aa33aSEmmanuel Vadot
299*cb7aa33aSEmmanuel Vadot	pwm2 {
300*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
301*cb7aa33aSEmmanuel Vadot		pwm2m2_pins: pwm2m2-pins {
302*cb7aa33aSEmmanuel Vadot			rockchip,pins =
303*cb7aa33aSEmmanuel Vadot				/* pwm2_m2 */
304*cb7aa33aSEmmanuel Vadot				<4 RK_PC2 11 &pcfg_pull_none>;
305*cb7aa33aSEmmanuel Vadot		};
306*cb7aa33aSEmmanuel Vadot	};
307*cb7aa33aSEmmanuel Vadot
308*cb7aa33aSEmmanuel Vadot	pwm4 {
309*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
310*cb7aa33aSEmmanuel Vadot		pwm4m1_pins: pwm4m1-pins {
311*cb7aa33aSEmmanuel Vadot			rockchip,pins =
312*cb7aa33aSEmmanuel Vadot				/* pwm4_m1 */
313*cb7aa33aSEmmanuel Vadot				<4 RK_PC3 11 &pcfg_pull_none>;
314*cb7aa33aSEmmanuel Vadot		};
315*cb7aa33aSEmmanuel Vadot	};
316*cb7aa33aSEmmanuel Vadot
317*cb7aa33aSEmmanuel Vadot	pwm5 {
318*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
319*cb7aa33aSEmmanuel Vadot		pwm5m2_pins: pwm5m2-pins {
320*cb7aa33aSEmmanuel Vadot			rockchip,pins =
321*cb7aa33aSEmmanuel Vadot				/* pwm5_m2 */
322*cb7aa33aSEmmanuel Vadot				<4 RK_PC4 11 &pcfg_pull_none>;
323*cb7aa33aSEmmanuel Vadot		};
324*cb7aa33aSEmmanuel Vadot	};
325*cb7aa33aSEmmanuel Vadot
326*cb7aa33aSEmmanuel Vadot	pwm6 {
327*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
328*cb7aa33aSEmmanuel Vadot		pwm6m2_pins: pwm6m2-pins {
329*cb7aa33aSEmmanuel Vadot			rockchip,pins =
330*cb7aa33aSEmmanuel Vadot				/* pwm6_m2 */
331*cb7aa33aSEmmanuel Vadot				<4 RK_PC5 11 &pcfg_pull_none>;
332*cb7aa33aSEmmanuel Vadot		};
333*cb7aa33aSEmmanuel Vadot	};
334*cb7aa33aSEmmanuel Vadot
335*cb7aa33aSEmmanuel Vadot	pwm7 {
336*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
337*cb7aa33aSEmmanuel Vadot		pwm7m3_pins: pwm7m3-pins {
338*cb7aa33aSEmmanuel Vadot			rockchip,pins =
339*cb7aa33aSEmmanuel Vadot				/* pwm7_ir_m3 */
340*cb7aa33aSEmmanuel Vadot				<4 RK_PC6 11 &pcfg_pull_none>;
341*cb7aa33aSEmmanuel Vadot		};
342*cb7aa33aSEmmanuel Vadot	};
343*cb7aa33aSEmmanuel Vadot
344*cb7aa33aSEmmanuel Vadot	sdio {
345*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
346*cb7aa33aSEmmanuel Vadot		sdiom0_pins: sdiom0-pins {
347*cb7aa33aSEmmanuel Vadot			rockchip,pins =
348*cb7aa33aSEmmanuel Vadot				/* sdio_clk_m0 */
349*cb7aa33aSEmmanuel Vadot				<2 RK_PB3 2 &pcfg_pull_none>,
350*cb7aa33aSEmmanuel Vadot				/* sdio_cmd_m0 */
351*cb7aa33aSEmmanuel Vadot				<2 RK_PB2 2 &pcfg_pull_none>,
352*cb7aa33aSEmmanuel Vadot				/* sdio_d0_m0 */
353*cb7aa33aSEmmanuel Vadot				<2 RK_PA6 2 &pcfg_pull_none>,
354*cb7aa33aSEmmanuel Vadot				/* sdio_d1_m0 */
355*cb7aa33aSEmmanuel Vadot				<2 RK_PA7 2 &pcfg_pull_none>,
356*cb7aa33aSEmmanuel Vadot				/* sdio_d2_m0 */
357*cb7aa33aSEmmanuel Vadot				<2 RK_PB0 2 &pcfg_pull_none>,
358*cb7aa33aSEmmanuel Vadot				/* sdio_d3_m0 */
359*cb7aa33aSEmmanuel Vadot				<2 RK_PB1 2 &pcfg_pull_none>;
360*cb7aa33aSEmmanuel Vadot		};
361*cb7aa33aSEmmanuel Vadot	};
362*cb7aa33aSEmmanuel Vadot
363*cb7aa33aSEmmanuel Vadot	spi1 {
364*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
365*cb7aa33aSEmmanuel Vadot		spi1m0_pins: spi1m0-pins {
366*cb7aa33aSEmmanuel Vadot			rockchip,pins =
367*cb7aa33aSEmmanuel Vadot				/* spi1_clk_m0 */
368*cb7aa33aSEmmanuel Vadot				<2 RK_PC0 8 &pcfg_pull_up_drv_level_1>,
369*cb7aa33aSEmmanuel Vadot				/* spi1_miso_m0 */
370*cb7aa33aSEmmanuel Vadot				<2 RK_PC1 8 &pcfg_pull_up_drv_level_1>,
371*cb7aa33aSEmmanuel Vadot				/* spi1_mosi_m0 */
372*cb7aa33aSEmmanuel Vadot				<2 RK_PC2 8 &pcfg_pull_up_drv_level_1>;
373*cb7aa33aSEmmanuel Vadot		};
374*cb7aa33aSEmmanuel Vadot
375*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
376*cb7aa33aSEmmanuel Vadot		spi1m0_cs0: spi1m0-cs0 {
377*cb7aa33aSEmmanuel Vadot			rockchip,pins =
378*cb7aa33aSEmmanuel Vadot				/* spi1_cs0_m0 */
379*cb7aa33aSEmmanuel Vadot				<2 RK_PC3 8 &pcfg_pull_up_drv_level_1>;
380*cb7aa33aSEmmanuel Vadot		};
381*cb7aa33aSEmmanuel Vadot
382*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
383*cb7aa33aSEmmanuel Vadot		spi1m0_cs1: spi1m0-cs1 {
384*cb7aa33aSEmmanuel Vadot			rockchip,pins =
385*cb7aa33aSEmmanuel Vadot				/* spi1_cs1_m0 */
386*cb7aa33aSEmmanuel Vadot				<2 RK_PC4 8 &pcfg_pull_up_drv_level_1>;
387*cb7aa33aSEmmanuel Vadot		};
388*cb7aa33aSEmmanuel Vadot	};
389*cb7aa33aSEmmanuel Vadot
390*cb7aa33aSEmmanuel Vadot	spi3 {
391*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
392*cb7aa33aSEmmanuel Vadot		spi3m0_pins: spi3m0-pins {
393*cb7aa33aSEmmanuel Vadot			rockchip,pins =
394*cb7aa33aSEmmanuel Vadot				/* spi3_clk_m0 */
395*cb7aa33aSEmmanuel Vadot				<4 RK_PC6 8 &pcfg_pull_up_drv_level_1>,
396*cb7aa33aSEmmanuel Vadot				/* spi3_miso_m0 */
397*cb7aa33aSEmmanuel Vadot				<4 RK_PC4 8 &pcfg_pull_up_drv_level_1>,
398*cb7aa33aSEmmanuel Vadot				/* spi3_mosi_m0 */
399*cb7aa33aSEmmanuel Vadot				<4 RK_PC5 8 &pcfg_pull_up_drv_level_1>;
400*cb7aa33aSEmmanuel Vadot		};
401*cb7aa33aSEmmanuel Vadot
402*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
403*cb7aa33aSEmmanuel Vadot		spi3m0_cs0: spi3m0-cs0 {
404*cb7aa33aSEmmanuel Vadot			rockchip,pins =
405*cb7aa33aSEmmanuel Vadot				/* spi3_cs0_m0 */
406*cb7aa33aSEmmanuel Vadot				<4 RK_PC2 8 &pcfg_pull_up_drv_level_1>;
407*cb7aa33aSEmmanuel Vadot		};
408*cb7aa33aSEmmanuel Vadot
409*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
410*cb7aa33aSEmmanuel Vadot		spi3m0_cs1: spi3m0-cs1 {
411*cb7aa33aSEmmanuel Vadot			rockchip,pins =
412*cb7aa33aSEmmanuel Vadot				/* spi3_cs1_m0 */
413*cb7aa33aSEmmanuel Vadot				<4 RK_PC3 8 &pcfg_pull_up_drv_level_1>;
414*cb7aa33aSEmmanuel Vadot		};
415*cb7aa33aSEmmanuel Vadot	};
416*cb7aa33aSEmmanuel Vadot
417*cb7aa33aSEmmanuel Vadot	uart1 {
418*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
419*cb7aa33aSEmmanuel Vadot		uart1m0_xfer: uart1m0-xfer {
420*cb7aa33aSEmmanuel Vadot			rockchip,pins =
421*cb7aa33aSEmmanuel Vadot				/* uart1_rx_m0 */
422*cb7aa33aSEmmanuel Vadot				<2 RK_PB6 10 &pcfg_pull_up>,
423*cb7aa33aSEmmanuel Vadot				/* uart1_tx_m0 */
424*cb7aa33aSEmmanuel Vadot				<2 RK_PB7 10 &pcfg_pull_up>;
425*cb7aa33aSEmmanuel Vadot		};
426*cb7aa33aSEmmanuel Vadot
427*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
428*cb7aa33aSEmmanuel Vadot		uart1m0_ctsn: uart1m0-ctsn {
429*cb7aa33aSEmmanuel Vadot			rockchip,pins =
430*cb7aa33aSEmmanuel Vadot				/* uart1m0_ctsn */
431*cb7aa33aSEmmanuel Vadot				<2 RK_PC1 10 &pcfg_pull_none>;
432*cb7aa33aSEmmanuel Vadot		};
433*cb7aa33aSEmmanuel Vadot
434*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
435*cb7aa33aSEmmanuel Vadot		uart1m0_rtsn: uart1m0-rtsn {
436*cb7aa33aSEmmanuel Vadot			rockchip,pins =
437*cb7aa33aSEmmanuel Vadot				/* uart1m0_rtsn */
438*cb7aa33aSEmmanuel Vadot				<2 RK_PC0 10 &pcfg_pull_none>;
439*cb7aa33aSEmmanuel Vadot		};
440*cb7aa33aSEmmanuel Vadot	};
441*cb7aa33aSEmmanuel Vadot
442*cb7aa33aSEmmanuel Vadot	uart6 {
443*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
444*cb7aa33aSEmmanuel Vadot		uart6m0_xfer: uart6m0-xfer {
445*cb7aa33aSEmmanuel Vadot			rockchip,pins =
446*cb7aa33aSEmmanuel Vadot				/* uart6_rx_m0 */
447*cb7aa33aSEmmanuel Vadot				<2 RK_PA6 10 &pcfg_pull_up>,
448*cb7aa33aSEmmanuel Vadot				/* uart6_tx_m0 */
449*cb7aa33aSEmmanuel Vadot				<2 RK_PA7 10 &pcfg_pull_up>;
450*cb7aa33aSEmmanuel Vadot		};
451*cb7aa33aSEmmanuel Vadot
452*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
453*cb7aa33aSEmmanuel Vadot		uart6m0_ctsn: uart6m0-ctsn {
454*cb7aa33aSEmmanuel Vadot			rockchip,pins =
455*cb7aa33aSEmmanuel Vadot				/* uart6m0_ctsn */
456*cb7aa33aSEmmanuel Vadot				<2 RK_PB1 10 &pcfg_pull_none>;
457*cb7aa33aSEmmanuel Vadot		};
458*cb7aa33aSEmmanuel Vadot
459*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
460*cb7aa33aSEmmanuel Vadot		uart6m0_rtsn: uart6m0-rtsn {
461*cb7aa33aSEmmanuel Vadot			rockchip,pins =
462*cb7aa33aSEmmanuel Vadot				/* uart6m0_rtsn */
463*cb7aa33aSEmmanuel Vadot				<2 RK_PB0 10 &pcfg_pull_none>;
464*cb7aa33aSEmmanuel Vadot		};
465*cb7aa33aSEmmanuel Vadot	};
466*cb7aa33aSEmmanuel Vadot
467*cb7aa33aSEmmanuel Vadot	uart7 {
468*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
469*cb7aa33aSEmmanuel Vadot		uart7m0_xfer: uart7m0-xfer {
470*cb7aa33aSEmmanuel Vadot			rockchip,pins =
471*cb7aa33aSEmmanuel Vadot				/* uart7_rx_m0 */
472*cb7aa33aSEmmanuel Vadot				<2 RK_PB4 10 &pcfg_pull_up>,
473*cb7aa33aSEmmanuel Vadot				/* uart7_tx_m0 */
474*cb7aa33aSEmmanuel Vadot				<2 RK_PB5 10 &pcfg_pull_up>;
475*cb7aa33aSEmmanuel Vadot		};
476*cb7aa33aSEmmanuel Vadot
477*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
478*cb7aa33aSEmmanuel Vadot		uart7m0_ctsn: uart7m0-ctsn {
479*cb7aa33aSEmmanuel Vadot			rockchip,pins =
480*cb7aa33aSEmmanuel Vadot				/* uart7m0_ctsn */
481*cb7aa33aSEmmanuel Vadot				<4 RK_PC6 10 &pcfg_pull_none>;
482*cb7aa33aSEmmanuel Vadot		};
483*cb7aa33aSEmmanuel Vadot
484*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
485*cb7aa33aSEmmanuel Vadot		uart7m0_rtsn: uart7m0-rtsn {
486*cb7aa33aSEmmanuel Vadot			rockchip,pins =
487*cb7aa33aSEmmanuel Vadot				/* uart7m0_rtsn */
488*cb7aa33aSEmmanuel Vadot				<4 RK_PC2 10 &pcfg_pull_none>;
489*cb7aa33aSEmmanuel Vadot		};
490*cb7aa33aSEmmanuel Vadot	};
491*cb7aa33aSEmmanuel Vadot
492*cb7aa33aSEmmanuel Vadot	uart9 {
493*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
494*cb7aa33aSEmmanuel Vadot		uart9m0_xfer: uart9m0-xfer {
495*cb7aa33aSEmmanuel Vadot			rockchip,pins =
496*cb7aa33aSEmmanuel Vadot				/* uart9_rx_m0 */
497*cb7aa33aSEmmanuel Vadot				<2 RK_PC4 10 &pcfg_pull_up>,
498*cb7aa33aSEmmanuel Vadot				/* uart9_tx_m0 */
499*cb7aa33aSEmmanuel Vadot				<2 RK_PC2 10 &pcfg_pull_up>;
500*cb7aa33aSEmmanuel Vadot		};
501*cb7aa33aSEmmanuel Vadot
502*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
503*cb7aa33aSEmmanuel Vadot		uart9m0_ctsn: uart9m0-ctsn {
504*cb7aa33aSEmmanuel Vadot			rockchip,pins =
505*cb7aa33aSEmmanuel Vadot				/* uart9m0_ctsn */
506*cb7aa33aSEmmanuel Vadot				<4 RK_PC5 10 &pcfg_pull_none>;
507*cb7aa33aSEmmanuel Vadot		};
508*cb7aa33aSEmmanuel Vadot
509*cb7aa33aSEmmanuel Vadot		/omit-if-no-ref/
510*cb7aa33aSEmmanuel Vadot		uart9m0_rtsn: uart9m0-rtsn {
511*cb7aa33aSEmmanuel Vadot			rockchip,pins =
512*cb7aa33aSEmmanuel Vadot				/* uart9m0_rtsn */
513*cb7aa33aSEmmanuel Vadot				<4 RK_PC4 10 &pcfg_pull_none>;
514*cb7aa33aSEmmanuel Vadot		};
515*cb7aa33aSEmmanuel Vadot	};
516*cb7aa33aSEmmanuel Vadot};
517