xref: /freebsd-src/sys/contrib/device-tree/src/arm/rockchip/rv1126-pinctrl.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
7f126890aSEmmanuel Vadot#include <arm64/rockchip/rockchip-pinconf.dtsi>
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot/*
10f126890aSEmmanuel Vadot * This file is auto generated by pin2dts tool, please keep these code
11f126890aSEmmanuel Vadot * by adding changes at end of this file.
12f126890aSEmmanuel Vadot */
13f126890aSEmmanuel Vadot&pinctrl {
14f126890aSEmmanuel Vadot	clk_out_ethernet {
15f126890aSEmmanuel Vadot		/omit-if-no-ref/
16f126890aSEmmanuel Vadot		clk_out_ethernetm1_pins: clk-out-ethernetm1-pins {
17f126890aSEmmanuel Vadot			rockchip,pins =
18f126890aSEmmanuel Vadot				/* clk_out_ethernet_m1 */
19f126890aSEmmanuel Vadot				<2 RK_PC5 2 &pcfg_pull_none>;
20f126890aSEmmanuel Vadot		};
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot	emmc {
23f126890aSEmmanuel Vadot		/omit-if-no-ref/
24f126890aSEmmanuel Vadot		emmc_rstnout: emmc-rstnout {
25f126890aSEmmanuel Vadot			rockchip,pins =
26f126890aSEmmanuel Vadot				/* emmc_rstn */
27f126890aSEmmanuel Vadot				<1 RK_PA3 2 &pcfg_pull_none>;
28f126890aSEmmanuel Vadot		};
29f126890aSEmmanuel Vadot		/omit-if-no-ref/
30f126890aSEmmanuel Vadot		emmc_bus8: emmc-bus8 {
31f126890aSEmmanuel Vadot			rockchip,pins =
32f126890aSEmmanuel Vadot				/* emmc_d0 */
33f126890aSEmmanuel Vadot				<0 RK_PC4 2 &pcfg_pull_up_drv_level_2>,
34f126890aSEmmanuel Vadot				/* emmc_d1 */
35f126890aSEmmanuel Vadot				<0 RK_PC5 2 &pcfg_pull_up_drv_level_2>,
36f126890aSEmmanuel Vadot				/* emmc_d2 */
37f126890aSEmmanuel Vadot				<0 RK_PC6 2 &pcfg_pull_up_drv_level_2>,
38f126890aSEmmanuel Vadot				/* emmc_d3 */
39f126890aSEmmanuel Vadot				<0 RK_PC7 2 &pcfg_pull_up_drv_level_2>,
40f126890aSEmmanuel Vadot				/* emmc_d4 */
41f126890aSEmmanuel Vadot				<0 RK_PD0 2 &pcfg_pull_up_drv_level_2>,
42f126890aSEmmanuel Vadot				/* emmc_d5 */
43f126890aSEmmanuel Vadot				<0 RK_PD1 2 &pcfg_pull_up_drv_level_2>,
44f126890aSEmmanuel Vadot				/* emmc_d6 */
45f126890aSEmmanuel Vadot				<0 RK_PD2 2 &pcfg_pull_up_drv_level_2>,
46f126890aSEmmanuel Vadot				/* emmc_d7 */
47f126890aSEmmanuel Vadot				<0 RK_PD3 2 &pcfg_pull_up_drv_level_2>;
48f126890aSEmmanuel Vadot		};
49f126890aSEmmanuel Vadot		/omit-if-no-ref/
50f126890aSEmmanuel Vadot		emmc_clk: emmc-clk {
51f126890aSEmmanuel Vadot			rockchip,pins =
52f126890aSEmmanuel Vadot				/* emmc_clko */
53f126890aSEmmanuel Vadot				<0 RK_PD7 2 &pcfg_pull_up_drv_level_2>;
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot		/omit-if-no-ref/
56f126890aSEmmanuel Vadot		emmc_cmd: emmc-cmd {
57f126890aSEmmanuel Vadot			rockchip,pins =
58f126890aSEmmanuel Vadot				/* emmc_cmd */
59f126890aSEmmanuel Vadot				<0 RK_PD5 2 &pcfg_pull_up_drv_level_2>;
60f126890aSEmmanuel Vadot		};
61f126890aSEmmanuel Vadot	};
62aa1a8ff2SEmmanuel Vadot	fspi {
63aa1a8ff2SEmmanuel Vadot		/omit-if-no-ref/
64aa1a8ff2SEmmanuel Vadot		fspi_pins: fspi-pins {
65aa1a8ff2SEmmanuel Vadot			rockchip,pins =
66aa1a8ff2SEmmanuel Vadot				/* fspi_clk */
67aa1a8ff2SEmmanuel Vadot				<1 RK_PA3 3 &pcfg_pull_down>,
68aa1a8ff2SEmmanuel Vadot				/* fspi_cs0n */
69aa1a8ff2SEmmanuel Vadot				<0 RK_PD4 3 &pcfg_pull_up>,
70aa1a8ff2SEmmanuel Vadot				/* fspi_d0 */
71aa1a8ff2SEmmanuel Vadot				<1 RK_PA0 3 &pcfg_pull_up>,
72aa1a8ff2SEmmanuel Vadot				/* fspi_d1 */
73aa1a8ff2SEmmanuel Vadot				<1 RK_PA1 3 &pcfg_pull_up>,
74aa1a8ff2SEmmanuel Vadot				/* fspi_d2 */
75aa1a8ff2SEmmanuel Vadot				<0 RK_PD6 3 &pcfg_pull_up>,
76aa1a8ff2SEmmanuel Vadot				/* fspi_d3 */
77aa1a8ff2SEmmanuel Vadot				<1 RK_PA2 3 &pcfg_pull_up>;
78aa1a8ff2SEmmanuel Vadot		};
79aa1a8ff2SEmmanuel Vadot	};
80f126890aSEmmanuel Vadot	i2c0 {
81f126890aSEmmanuel Vadot		/omit-if-no-ref/
82f126890aSEmmanuel Vadot		i2c0_xfer: i2c0-xfer {
83f126890aSEmmanuel Vadot			rockchip,pins =
84f126890aSEmmanuel Vadot				/* i2c0_scl */
85f126890aSEmmanuel Vadot				<0 RK_PB4 1 &pcfg_pull_none_drv_level_0_smt>,
86f126890aSEmmanuel Vadot				/* i2c0_sda */
87f126890aSEmmanuel Vadot				<0 RK_PB5 1 &pcfg_pull_none_drv_level_0_smt>;
88f126890aSEmmanuel Vadot		};
89f126890aSEmmanuel Vadot	};
908d13bc63SEmmanuel Vadot	i2c2 {
918d13bc63SEmmanuel Vadot		/omit-if-no-ref/
928d13bc63SEmmanuel Vadot		i2c2_xfer: i2c2-xfer {
938d13bc63SEmmanuel Vadot			rockchip,pins =
948d13bc63SEmmanuel Vadot				/* i2c2_scl */
958d13bc63SEmmanuel Vadot				<0 RK_PC2 1 &pcfg_pull_none_drv_level_0_smt>,
968d13bc63SEmmanuel Vadot				/* i2c2_sda */
978d13bc63SEmmanuel Vadot				<0 RK_PC3 1 &pcfg_pull_none_drv_level_0_smt>;
988d13bc63SEmmanuel Vadot		};
998d13bc63SEmmanuel Vadot	};
100*b2d2a78aSEmmanuel Vadot	i2c3 {
101*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
102*b2d2a78aSEmmanuel Vadot		i2c3m0_xfer: i2c3m0-xfer {
103*b2d2a78aSEmmanuel Vadot			rockchip,pins =
104*b2d2a78aSEmmanuel Vadot				/* i2c3_scl_m0 */
105*b2d2a78aSEmmanuel Vadot				<3 RK_PA4 5 &pcfg_pull_none>,
106*b2d2a78aSEmmanuel Vadot				/* i2c3_sda_m0 */
107*b2d2a78aSEmmanuel Vadot				<3 RK_PA5 5 &pcfg_pull_none>;
108*b2d2a78aSEmmanuel Vadot		};
109*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
110*b2d2a78aSEmmanuel Vadot		i2c3m1_xfer: i2c3m1-xfer {
111*b2d2a78aSEmmanuel Vadot			rockchip,pins =
112*b2d2a78aSEmmanuel Vadot				/* i2c3_scl_m1 */
113*b2d2a78aSEmmanuel Vadot				<2 RK_PD4 7 &pcfg_pull_none>,
114*b2d2a78aSEmmanuel Vadot				/* i2c3_sda_m1 */
115*b2d2a78aSEmmanuel Vadot				<2 RK_PD5 7 &pcfg_pull_none>;
116*b2d2a78aSEmmanuel Vadot		};
117*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
118*b2d2a78aSEmmanuel Vadot		i2c3m2_xfer: i2c3m2-xfer {
119*b2d2a78aSEmmanuel Vadot			rockchip,pins =
120*b2d2a78aSEmmanuel Vadot				/* i2c3_scl_m2 */
121*b2d2a78aSEmmanuel Vadot				<1 RK_PD6 3 &pcfg_pull_none>,
122*b2d2a78aSEmmanuel Vadot				/* i2c3_sda_m2 */
123*b2d2a78aSEmmanuel Vadot				<1 RK_PD7 3 &pcfg_pull_none>;
124*b2d2a78aSEmmanuel Vadot		};
125*b2d2a78aSEmmanuel Vadot	};
126*b2d2a78aSEmmanuel Vadot	i2s0 {
127*b2d2a78aSEmmanuel Vadot		i2s0m0_lrck_tx: i2s0m0-lrck-tx {
128*b2d2a78aSEmmanuel Vadot			rockchip,pins =
129*b2d2a78aSEmmanuel Vadot			/* i2s0_lrck_tx_m0 */
130*b2d2a78aSEmmanuel Vadot			<3 RK_PD3 1 &pcfg_pull_none>;
131*b2d2a78aSEmmanuel Vadot		};
132*b2d2a78aSEmmanuel Vadot		i2s0m0_lrck_rx: i2s0m0-lrck-rx {
133*b2d2a78aSEmmanuel Vadot			rockchip,pins =
134*b2d2a78aSEmmanuel Vadot			/* i2s0_lrck_rx_m0 */
135*b2d2a78aSEmmanuel Vadot			<3 RK_PD4 1 &pcfg_pull_none>;
136*b2d2a78aSEmmanuel Vadot		};
137*b2d2a78aSEmmanuel Vadot		i2s0m0_mclk: i2s0m0-mclk {
138*b2d2a78aSEmmanuel Vadot			rockchip,pins =
139*b2d2a78aSEmmanuel Vadot			/* i2s0_mclk_m0 */
140*b2d2a78aSEmmanuel Vadot			<3 RK_PD2 1 &pcfg_pull_none>;
141*b2d2a78aSEmmanuel Vadot		};
142*b2d2a78aSEmmanuel Vadot		i2s0m0_sclk_rx: i2s0m0-sclk-rx {
143*b2d2a78aSEmmanuel Vadot			rockchip,pins =
144*b2d2a78aSEmmanuel Vadot			/* i2s0_sclk_rx_m0 */
145*b2d2a78aSEmmanuel Vadot			<3 RK_PD1 1 &pcfg_pull_none>;
146*b2d2a78aSEmmanuel Vadot		};
147*b2d2a78aSEmmanuel Vadot		i2s0m0_sclk_tx: i2s0m0-sclk-tx {
148*b2d2a78aSEmmanuel Vadot			rockchip,pins =
149*b2d2a78aSEmmanuel Vadot			/* i2s0_sclk_tx_m0 */
150*b2d2a78aSEmmanuel Vadot			<3 RK_PD0 1 &pcfg_pull_none>;
151*b2d2a78aSEmmanuel Vadot		};
152*b2d2a78aSEmmanuel Vadot		i2s0m0_sdi0: i2s0m0-sdi0 {
153*b2d2a78aSEmmanuel Vadot			rockchip,pins =
154*b2d2a78aSEmmanuel Vadot			/* i2s0_sdi0_m0 */
155*b2d2a78aSEmmanuel Vadot			<3 RK_PD6 1 &pcfg_pull_none>;
156*b2d2a78aSEmmanuel Vadot		};
157*b2d2a78aSEmmanuel Vadot		i2s0m0_sdo0: i2s0m0-sdo0 {
158*b2d2a78aSEmmanuel Vadot			rockchip,pins =
159*b2d2a78aSEmmanuel Vadot			/* i2s0_sdo0_m0 */
160*b2d2a78aSEmmanuel Vadot			<3 RK_PD5 1 &pcfg_pull_none>;
161*b2d2a78aSEmmanuel Vadot		};
162*b2d2a78aSEmmanuel Vadot		i2s0m0_sdo1_sdi3: i2s0m0-sdo1-sdi3 {
163*b2d2a78aSEmmanuel Vadot			rockchip,pins =
164*b2d2a78aSEmmanuel Vadot			/* i2s0_sdo1_sdi3_m0 */
165*b2d2a78aSEmmanuel Vadot			<3 RK_PD7 1 &pcfg_pull_none>;
166*b2d2a78aSEmmanuel Vadot		};
167*b2d2a78aSEmmanuel Vadot		i2s0m0_sdo2_sdi2: i2s0m0-sdo2-sdi2 {
168*b2d2a78aSEmmanuel Vadot			rockchip,pins =
169*b2d2a78aSEmmanuel Vadot			/* i2s0_sdo2_sdi2_m0 */
170*b2d2a78aSEmmanuel Vadot			<4 RK_PA0 1 &pcfg_pull_none>;
171*b2d2a78aSEmmanuel Vadot		};
172*b2d2a78aSEmmanuel Vadot		i2s0m0_sdo3_sdi1: i2s0m0-sdo3-sdi1 {
173*b2d2a78aSEmmanuel Vadot			rockchip,pins =
174*b2d2a78aSEmmanuel Vadot			/* i2s0_sdo3_sdi1_m0 */
175*b2d2a78aSEmmanuel Vadot			<4 RK_PA1 1 &pcfg_pull_none>;
176*b2d2a78aSEmmanuel Vadot		};
177*b2d2a78aSEmmanuel Vadot		i2s0m1_lrck_tx: i2s0m1-lrck-tx {
178*b2d2a78aSEmmanuel Vadot			rockchip,pins =
179*b2d2a78aSEmmanuel Vadot			/* i2s0_lrck_tx_m1 */
180*b2d2a78aSEmmanuel Vadot			<3 RK_PA5 3 &pcfg_pull_none>;
181*b2d2a78aSEmmanuel Vadot		};
182*b2d2a78aSEmmanuel Vadot		i2s0m1_lrck_rx: i2s0m1-lrck-rx {
183*b2d2a78aSEmmanuel Vadot			rockchip,pins =
184*b2d2a78aSEmmanuel Vadot			/* i2s0_lrck_rx_m1 */
185*b2d2a78aSEmmanuel Vadot			<3 RK_PB2 3 &pcfg_pull_none>;
186*b2d2a78aSEmmanuel Vadot		};
187*b2d2a78aSEmmanuel Vadot		i2s0m1_mclk: i2s0m1-mclk {
188*b2d2a78aSEmmanuel Vadot			rockchip,pins =
189*b2d2a78aSEmmanuel Vadot			/* i2s0_mclk_m1 */
190*b2d2a78aSEmmanuel Vadot			<3 RK_PB0 3 &pcfg_pull_none>;
191*b2d2a78aSEmmanuel Vadot		};
192*b2d2a78aSEmmanuel Vadot		i2s0m1_sclk_rx: i2s0m1-sclk-rx {
193*b2d2a78aSEmmanuel Vadot			rockchip,pins =
194*b2d2a78aSEmmanuel Vadot			/* i2s0_sclk_rx_m1 */
195*b2d2a78aSEmmanuel Vadot			<3 RK_PB1 3 &pcfg_pull_none>;
196*b2d2a78aSEmmanuel Vadot		};
197*b2d2a78aSEmmanuel Vadot		i2s0m1_sclk_tx: i2s0m1-sclk-tx {
198*b2d2a78aSEmmanuel Vadot			rockchip,pins =
199*b2d2a78aSEmmanuel Vadot			/* i2s0_sclk_tx_m1 */
200*b2d2a78aSEmmanuel Vadot			<3 RK_PA4 3 &pcfg_pull_none>;
201*b2d2a78aSEmmanuel Vadot		};
202*b2d2a78aSEmmanuel Vadot		i2s0m1_sdi0: i2s0m1-sdi0 {
203*b2d2a78aSEmmanuel Vadot			rockchip,pins =
204*b2d2a78aSEmmanuel Vadot			/* i2s0_sdi0_m1 */
205*b2d2a78aSEmmanuel Vadot			<3 RK_PA7 3 &pcfg_pull_none>;
206*b2d2a78aSEmmanuel Vadot		};
207*b2d2a78aSEmmanuel Vadot		i2s0m1_sdo0: i2s0m1-sdo0 {
208*b2d2a78aSEmmanuel Vadot			rockchip,pins =
209*b2d2a78aSEmmanuel Vadot			/* i2s0_sdo0_m1 */
210*b2d2a78aSEmmanuel Vadot			<3 RK_PA6 3 &pcfg_pull_none>;
211*b2d2a78aSEmmanuel Vadot		};
212*b2d2a78aSEmmanuel Vadot		i2s0m1_sdo1_sdi3: i2s0m1-sdo1-sdi3 {
213*b2d2a78aSEmmanuel Vadot			rockchip,pins =
214*b2d2a78aSEmmanuel Vadot			/* i2s0_sdo1_sdi3_m1 */
215*b2d2a78aSEmmanuel Vadot			<3 RK_PB3 3 &pcfg_pull_none>;
216*b2d2a78aSEmmanuel Vadot		};
217*b2d2a78aSEmmanuel Vadot		i2s0m1_sdo2_sdi2: i2s0m1-sdo2-sdi2 {
218*b2d2a78aSEmmanuel Vadot			rockchip,pins =
219*b2d2a78aSEmmanuel Vadot			/* i2s0_sdo2_sdi2_m1 */
220*b2d2a78aSEmmanuel Vadot			<3 RK_PB4 3 &pcfg_pull_none>;
221*b2d2a78aSEmmanuel Vadot		};
222*b2d2a78aSEmmanuel Vadot		i2s0m1_sdo3_sdi1: i2s0m1-sdo3-sdi1 {
223*b2d2a78aSEmmanuel Vadot			rockchip,pins =
224*b2d2a78aSEmmanuel Vadot			/* i2s0_sdo3_sdi1_m1 */
225*b2d2a78aSEmmanuel Vadot			<3 RK_PB5 3 &pcfg_pull_none>;
226*b2d2a78aSEmmanuel Vadot		};
227*b2d2a78aSEmmanuel Vadot	};
228*b2d2a78aSEmmanuel Vadot	pwm0 {
229*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
230*b2d2a78aSEmmanuel Vadot		pwm0m0_pins: pwm0m0-pins {
231*b2d2a78aSEmmanuel Vadot			rockchip,pins =
232*b2d2a78aSEmmanuel Vadot				/* pwm0_pin_m0 */
233*b2d2a78aSEmmanuel Vadot				<0 RK_PB6 3 &pcfg_pull_none>;
234*b2d2a78aSEmmanuel Vadot		};
235*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
236*b2d2a78aSEmmanuel Vadot		pwm0m1_pins: pwm0m1-pins {
237*b2d2a78aSEmmanuel Vadot			rockchip,pins =
238*b2d2a78aSEmmanuel Vadot				/* pwm0_pin_m1 */
239*b2d2a78aSEmmanuel Vadot				<2 RK_PB3 5 &pcfg_pull_none>;
240*b2d2a78aSEmmanuel Vadot		};
241*b2d2a78aSEmmanuel Vadot	};
242*b2d2a78aSEmmanuel Vadot	pwm1 {
243*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
244*b2d2a78aSEmmanuel Vadot		pwm1m0_pins: pwm1m0-pins {
245*b2d2a78aSEmmanuel Vadot			rockchip,pins =
246*b2d2a78aSEmmanuel Vadot				/* pwm1_pin_m0 */
247*b2d2a78aSEmmanuel Vadot				<0 RK_PB7 3 &pcfg_pull_none>;
248*b2d2a78aSEmmanuel Vadot		};
249*b2d2a78aSEmmanuel Vadot	};
25084943d6fSEmmanuel Vadot	pwm2 {
25184943d6fSEmmanuel Vadot		/omit-if-no-ref/
25284943d6fSEmmanuel Vadot		pwm2m0_pins: pwm2m0-pins {
25384943d6fSEmmanuel Vadot			rockchip,pins =
25484943d6fSEmmanuel Vadot				/* pwm2_pin_m0 */
25584943d6fSEmmanuel Vadot				<0 RK_PC0 3 &pcfg_pull_none>;
25684943d6fSEmmanuel Vadot		};
257*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
258*b2d2a78aSEmmanuel Vadot		pwm2m1_pins: pwm2m1-pins {
259*b2d2a78aSEmmanuel Vadot			rockchip,pins =
260*b2d2a78aSEmmanuel Vadot				/* pwm2_pin_m1 */
261*b2d2a78aSEmmanuel Vadot				<2 RK_PB1 5 &pcfg_pull_none>;
262*b2d2a78aSEmmanuel Vadot		};
263*b2d2a78aSEmmanuel Vadot	};
264*b2d2a78aSEmmanuel Vadot	pwm3 {
265*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
266*b2d2a78aSEmmanuel Vadot		pwm3m0_pins: pwm3m0-pins {
267*b2d2a78aSEmmanuel Vadot			rockchip,pins =
268*b2d2a78aSEmmanuel Vadot				/* pwm3_pin_m0 */
269*b2d2a78aSEmmanuel Vadot				<0 RK_PC1 3 &pcfg_pull_none>;
270*b2d2a78aSEmmanuel Vadot		};
271*b2d2a78aSEmmanuel Vadot	};
272*b2d2a78aSEmmanuel Vadot	pwm4 {
273*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
274*b2d2a78aSEmmanuel Vadot		pwm4m0_pins: pwm4m0-pins {
275*b2d2a78aSEmmanuel Vadot			rockchip,pins =
276*b2d2a78aSEmmanuel Vadot				/* pwm4_pin_m0 */
277*b2d2a78aSEmmanuel Vadot				<0 RK_PC2 3 &pcfg_pull_none>;
278*b2d2a78aSEmmanuel Vadot		};
279*b2d2a78aSEmmanuel Vadot	};
280*b2d2a78aSEmmanuel Vadot	pwm5 {
281*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
282*b2d2a78aSEmmanuel Vadot		pwm5m0_pins: pwm5m0-pins {
283*b2d2a78aSEmmanuel Vadot			rockchip,pins =
284*b2d2a78aSEmmanuel Vadot				/* pwm5_pin_m0 */
285*b2d2a78aSEmmanuel Vadot				<0 RK_PC3 3 &pcfg_pull_none>;
286*b2d2a78aSEmmanuel Vadot		};
287*b2d2a78aSEmmanuel Vadot	};
288*b2d2a78aSEmmanuel Vadot	pwm6 {
289*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
290*b2d2a78aSEmmanuel Vadot		pwm6m0_pins: pwm6m0-pins {
291*b2d2a78aSEmmanuel Vadot			rockchip,pins =
292*b2d2a78aSEmmanuel Vadot				/* pwm6_pin_m0 */
293*b2d2a78aSEmmanuel Vadot				<0 RK_PB2 3 &pcfg_pull_none>;
294*b2d2a78aSEmmanuel Vadot		};
295*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
296*b2d2a78aSEmmanuel Vadot		pwm6m1_pins: pwm6m1-pins {
297*b2d2a78aSEmmanuel Vadot			rockchip,pins =
298*b2d2a78aSEmmanuel Vadot				/* pwm6_pin_m1 */
299*b2d2a78aSEmmanuel Vadot				<2 RK_PD4 5 &pcfg_pull_none>;
300*b2d2a78aSEmmanuel Vadot		};
301*b2d2a78aSEmmanuel Vadot	};
302*b2d2a78aSEmmanuel Vadot	pwm7 {
303*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
304*b2d2a78aSEmmanuel Vadot		pwm7m0_pins: pwm7m0-pins {
305*b2d2a78aSEmmanuel Vadot			rockchip,pins =
306*b2d2a78aSEmmanuel Vadot				/* pwm7_pin_m0 */
307*b2d2a78aSEmmanuel Vadot				<0 RK_PB1 3 &pcfg_pull_none>;
308*b2d2a78aSEmmanuel Vadot		};
309*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
310*b2d2a78aSEmmanuel Vadot		pwm7m1_pins: pwm7m1-pins {
311*b2d2a78aSEmmanuel Vadot			rockchip,pins =
312*b2d2a78aSEmmanuel Vadot				/* pwm7_pin_m1 */
313*b2d2a78aSEmmanuel Vadot				<3 RK_PA0 5 &pcfg_pull_none>;
314*b2d2a78aSEmmanuel Vadot		};
315*b2d2a78aSEmmanuel Vadot	};
316*b2d2a78aSEmmanuel Vadot	pwm8 {
317*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
318*b2d2a78aSEmmanuel Vadot		pwm8m0_pins: pwm8m0-pins {
319*b2d2a78aSEmmanuel Vadot			rockchip,pins =
320*b2d2a78aSEmmanuel Vadot				/* pwm8_pin_m0 */
321*b2d2a78aSEmmanuel Vadot				<3 RK_PA4 6 &pcfg_pull_none>;
322*b2d2a78aSEmmanuel Vadot		};
323*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
324*b2d2a78aSEmmanuel Vadot		pwm8m1_pins: pwm8m1-pins {
325*b2d2a78aSEmmanuel Vadot			rockchip,pins =
326*b2d2a78aSEmmanuel Vadot				/* pwm8_pin_m1 */
327*b2d2a78aSEmmanuel Vadot				<2 RK_PD7 5 &pcfg_pull_none>;
328*b2d2a78aSEmmanuel Vadot		};
329*b2d2a78aSEmmanuel Vadot	};
330*b2d2a78aSEmmanuel Vadot	pwm9 {
331*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
332*b2d2a78aSEmmanuel Vadot		pwm9m0_pins: pwm9m0-pins {
333*b2d2a78aSEmmanuel Vadot			rockchip,pins =
334*b2d2a78aSEmmanuel Vadot				/* pwm9_pin_m0 */
335*b2d2a78aSEmmanuel Vadot				<3 RK_PA5 6 &pcfg_pull_none>;
336*b2d2a78aSEmmanuel Vadot		};
337*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
338*b2d2a78aSEmmanuel Vadot		pwm9m1_pins: pwm9m1-pins {
339*b2d2a78aSEmmanuel Vadot			rockchip,pins =
340*b2d2a78aSEmmanuel Vadot				/* pwm9_pin_m1 */
341*b2d2a78aSEmmanuel Vadot				<2 RK_PD6 5 &pcfg_pull_none>;
342*b2d2a78aSEmmanuel Vadot		};
343*b2d2a78aSEmmanuel Vadot	};
344*b2d2a78aSEmmanuel Vadot	pwm10 {
345*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
346*b2d2a78aSEmmanuel Vadot		pwm10m0_pins: pwm10m0-pins {
347*b2d2a78aSEmmanuel Vadot			rockchip,pins =
348*b2d2a78aSEmmanuel Vadot				/* pwm10_pin_m0 */
349*b2d2a78aSEmmanuel Vadot				<3 RK_PA6 6 &pcfg_pull_none>;
350*b2d2a78aSEmmanuel Vadot		};
351*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
352*b2d2a78aSEmmanuel Vadot		pwm10m1_pins: pwm10m1-pins {
353*b2d2a78aSEmmanuel Vadot			rockchip,pins =
354*b2d2a78aSEmmanuel Vadot				/* pwm10_pin_m1 */
355*b2d2a78aSEmmanuel Vadot				<2 RK_PD5 5 &pcfg_pull_none>;
356*b2d2a78aSEmmanuel Vadot		};
35784943d6fSEmmanuel Vadot	};
35884943d6fSEmmanuel Vadot	pwm11 {
35984943d6fSEmmanuel Vadot		/omit-if-no-ref/
36084943d6fSEmmanuel Vadot		pwm11m0_pins: pwm11m0-pins {
36184943d6fSEmmanuel Vadot			rockchip,pins =
36284943d6fSEmmanuel Vadot				/* pwm11_pin_m0 */
36384943d6fSEmmanuel Vadot				<3 RK_PA7 6 &pcfg_pull_none>;
36484943d6fSEmmanuel Vadot		};
365*b2d2a78aSEmmanuel Vadot		/omit-if-no-ref/
366*b2d2a78aSEmmanuel Vadot		pwm11m1_pins: pwm11m1-pins {
367*b2d2a78aSEmmanuel Vadot			rockchip,pins =
368*b2d2a78aSEmmanuel Vadot				/* pwm11_pin_m1 */
369*b2d2a78aSEmmanuel Vadot				<3 RK_PA1 5 &pcfg_pull_none>;
370*b2d2a78aSEmmanuel Vadot		};
37184943d6fSEmmanuel Vadot	};
372f126890aSEmmanuel Vadot	rgmii {
373f126890aSEmmanuel Vadot		/omit-if-no-ref/
3748d13bc63SEmmanuel Vadot		rgmiim1_miim: rgmiim1-miim {
375f126890aSEmmanuel Vadot			rockchip,pins =
376f126890aSEmmanuel Vadot				/* rgmii_mdc_m1 */
377f126890aSEmmanuel Vadot				<2 RK_PC2 2 &pcfg_pull_none>,
378f126890aSEmmanuel Vadot				/* rgmii_mdio_m1 */
3798d13bc63SEmmanuel Vadot				<2 RK_PC1 2 &pcfg_pull_none>;
3808d13bc63SEmmanuel Vadot		};
3818d13bc63SEmmanuel Vadot		/omit-if-no-ref/
3828d13bc63SEmmanuel Vadot		rgmiim1_rxer: rgmiim1-rxer {
3838d13bc63SEmmanuel Vadot			rockchip,pins =
3848d13bc63SEmmanuel Vadot				/* rgmii_rxer_m1 */
3858d13bc63SEmmanuel Vadot				<2 RK_PC0 2 &pcfg_pull_none>;
3868d13bc63SEmmanuel Vadot		};
3878d13bc63SEmmanuel Vadot		/omit-if-no-ref/
3888d13bc63SEmmanuel Vadot		rgmiim1_bus2: rgmiim1-bus2 {
3898d13bc63SEmmanuel Vadot			rockchip,pins =
390f126890aSEmmanuel Vadot				/* rgmii_rxd0_m1 */
391f126890aSEmmanuel Vadot				<2 RK_PB5 2 &pcfg_pull_none>,
392f126890aSEmmanuel Vadot				/* rgmii_rxd1_m1 */
393f126890aSEmmanuel Vadot				<2 RK_PB6 2 &pcfg_pull_none>,
394f126890aSEmmanuel Vadot				/* rgmii_rxdv_m1 */
395f126890aSEmmanuel Vadot				<2 RK_PB4 2 &pcfg_pull_none>,
396f126890aSEmmanuel Vadot				/* rgmii_txd0_m1 */
397f126890aSEmmanuel Vadot				<2 RK_PC3 2 &pcfg_pull_none_drv_level_3>,
398f126890aSEmmanuel Vadot				/* rgmii_txd1_m1 */
399f126890aSEmmanuel Vadot				<2 RK_PC4 2 &pcfg_pull_none_drv_level_3>,
4008d13bc63SEmmanuel Vadot				/* rgmii_txen_m1 */
4018d13bc63SEmmanuel Vadot				<2 RK_PC6 2 &pcfg_pull_none_drv_level_3>;
4028d13bc63SEmmanuel Vadot		};
4038d13bc63SEmmanuel Vadot		/omit-if-no-ref/
4048d13bc63SEmmanuel Vadot		rgmiim1_bus4: rgmiim1-bus4 {
4058d13bc63SEmmanuel Vadot			rockchip,pins =
4068d13bc63SEmmanuel Vadot				/* rgmii_rxclk_m1 */
4078d13bc63SEmmanuel Vadot				<2 RK_PD3 2 &pcfg_pull_none>,
4088d13bc63SEmmanuel Vadot				/* rgmii_rxd2_m1 */
4098d13bc63SEmmanuel Vadot				<2 RK_PC7 2 &pcfg_pull_none>,
4108d13bc63SEmmanuel Vadot				/* rgmii_rxd3_m1 */
4118d13bc63SEmmanuel Vadot				<2 RK_PD0 2 &pcfg_pull_none>,
4128d13bc63SEmmanuel Vadot				/* rgmii_txclk_m1 */
4138d13bc63SEmmanuel Vadot				<2 RK_PD2 2 &pcfg_pull_none_drv_level_3>,
414f126890aSEmmanuel Vadot				/* rgmii_txd2_m1 */
415f126890aSEmmanuel Vadot				<2 RK_PD1 2 &pcfg_pull_none_drv_level_3>,
416f126890aSEmmanuel Vadot				/* rgmii_txd3_m1 */
4178d13bc63SEmmanuel Vadot				<2 RK_PA4 2 &pcfg_pull_none_drv_level_3>;
4188d13bc63SEmmanuel Vadot		};
4198d13bc63SEmmanuel Vadot		/omit-if-no-ref/
4208d13bc63SEmmanuel Vadot		rgmiim1_mclkinout: rgmiim1-mclkinout {
4218d13bc63SEmmanuel Vadot			rockchip,pins =
4228d13bc63SEmmanuel Vadot				/* rgmii_clk_m1 */
4238d13bc63SEmmanuel Vadot				<2 RK_PB7 2 &pcfg_pull_none>;
424f126890aSEmmanuel Vadot		};
425f126890aSEmmanuel Vadot	};
426f126890aSEmmanuel Vadot	sdmmc0 {
427f126890aSEmmanuel Vadot		/omit-if-no-ref/
428f126890aSEmmanuel Vadot		sdmmc0_bus4: sdmmc0-bus4 {
429f126890aSEmmanuel Vadot			rockchip,pins =
430f126890aSEmmanuel Vadot				/* sdmmc0_d0 */
431f126890aSEmmanuel Vadot				<1 RK_PA4 1 &pcfg_pull_up_drv_level_2>,
432f126890aSEmmanuel Vadot				/* sdmmc0_d1 */
433f126890aSEmmanuel Vadot				<1 RK_PA5 1 &pcfg_pull_up_drv_level_2>,
434f126890aSEmmanuel Vadot				/* sdmmc0_d2 */
435f126890aSEmmanuel Vadot				<1 RK_PA6 1 &pcfg_pull_up_drv_level_2>,
436f126890aSEmmanuel Vadot				/* sdmmc0_d3 */
437f126890aSEmmanuel Vadot				<1 RK_PA7 1 &pcfg_pull_up_drv_level_2>;
438f126890aSEmmanuel Vadot		};
439f126890aSEmmanuel Vadot		/omit-if-no-ref/
440f126890aSEmmanuel Vadot		sdmmc0_clk: sdmmc0-clk {
441f126890aSEmmanuel Vadot			rockchip,pins =
442f126890aSEmmanuel Vadot				/* sdmmc0_clk */
443f126890aSEmmanuel Vadot				<1 RK_PB0 1 &pcfg_pull_up_drv_level_2>;
444f126890aSEmmanuel Vadot		};
445f126890aSEmmanuel Vadot		/omit-if-no-ref/
446f126890aSEmmanuel Vadot		sdmmc0_cmd: sdmmc0-cmd {
447f126890aSEmmanuel Vadot			rockchip,pins =
448f126890aSEmmanuel Vadot				/* sdmmc0_cmd */
449f126890aSEmmanuel Vadot				<1 RK_PB1 1 &pcfg_pull_up_drv_level_2>;
450f126890aSEmmanuel Vadot		};
451f126890aSEmmanuel Vadot		/omit-if-no-ref/
452f126890aSEmmanuel Vadot		sdmmc0_det: sdmmc0-det {
453f126890aSEmmanuel Vadot			rockchip,pins =
454f126890aSEmmanuel Vadot				<0 RK_PA3 1 &pcfg_pull_none>;
455f126890aSEmmanuel Vadot		};
456f126890aSEmmanuel Vadot		/omit-if-no-ref/
457f126890aSEmmanuel Vadot		sdmmc0_pwr: sdmmc0-pwr {
458f126890aSEmmanuel Vadot			rockchip,pins =
459f126890aSEmmanuel Vadot				<0 RK_PC0 1 &pcfg_pull_none>;
460f126890aSEmmanuel Vadot		};
461f126890aSEmmanuel Vadot	};
462f126890aSEmmanuel Vadot	sdmmc1 {
463f126890aSEmmanuel Vadot		/omit-if-no-ref/
464f126890aSEmmanuel Vadot		sdmmc1_bus4: sdmmc1-bus4 {
465f126890aSEmmanuel Vadot			rockchip,pins =
466f126890aSEmmanuel Vadot				/* sdmmc1_d0 */
467f126890aSEmmanuel Vadot				<1 RK_PB4 1 &pcfg_pull_up_drv_level_2>,
468f126890aSEmmanuel Vadot				/* sdmmc1_d1 */
469f126890aSEmmanuel Vadot				<1 RK_PB5 1 &pcfg_pull_up_drv_level_2>,
470f126890aSEmmanuel Vadot				/* sdmmc1_d2 */
471f126890aSEmmanuel Vadot				<1 RK_PB6 1 &pcfg_pull_up_drv_level_2>,
472f126890aSEmmanuel Vadot				/* sdmmc1_d3 */
473f126890aSEmmanuel Vadot				<1 RK_PB7 1 &pcfg_pull_up_drv_level_2>;
474f126890aSEmmanuel Vadot		};
475f126890aSEmmanuel Vadot		/omit-if-no-ref/
476f126890aSEmmanuel Vadot		sdmmc1_clk: sdmmc1-clk {
477f126890aSEmmanuel Vadot			rockchip,pins =
478f126890aSEmmanuel Vadot				/* sdmmc1_clk */
479f126890aSEmmanuel Vadot				<1 RK_PB2 1 &pcfg_pull_up_drv_level_2>;
480f126890aSEmmanuel Vadot		};
481f126890aSEmmanuel Vadot		/omit-if-no-ref/
482f126890aSEmmanuel Vadot		sdmmc1_cmd: sdmmc1-cmd {
483f126890aSEmmanuel Vadot			rockchip,pins =
484f126890aSEmmanuel Vadot				/* sdmmc1_cmd */
485f126890aSEmmanuel Vadot				<1 RK_PB3 1 &pcfg_pull_up_drv_level_2>;
486f126890aSEmmanuel Vadot		};
487f126890aSEmmanuel Vadot		/omit-if-no-ref/
488f126890aSEmmanuel Vadot		sdmmc1_det: sdmmc1-det {
489f126890aSEmmanuel Vadot			rockchip,pins =
490f126890aSEmmanuel Vadot				<1 RK_PD0 2 &pcfg_pull_none>;
491f126890aSEmmanuel Vadot		};
492f126890aSEmmanuel Vadot		/omit-if-no-ref/
493f126890aSEmmanuel Vadot		sdmmc1_pwr: sdmmc1-pwr {
494f126890aSEmmanuel Vadot			rockchip,pins =
495f126890aSEmmanuel Vadot				<1 RK_PD1 2 &pcfg_pull_none>;
496f126890aSEmmanuel Vadot		};
497f126890aSEmmanuel Vadot	};
498f126890aSEmmanuel Vadot	uart0 {
499f126890aSEmmanuel Vadot		/omit-if-no-ref/
500f126890aSEmmanuel Vadot		uart0_xfer: uart0-xfer {
501f126890aSEmmanuel Vadot			rockchip,pins =
502f126890aSEmmanuel Vadot				/* uart0_rx */
503f126890aSEmmanuel Vadot				<1 RK_PC2 1 &pcfg_pull_up>,
504f126890aSEmmanuel Vadot				/* uart0_tx */
505f126890aSEmmanuel Vadot				<1 RK_PC3 1 &pcfg_pull_up>;
506f126890aSEmmanuel Vadot		};
507f126890aSEmmanuel Vadot		/omit-if-no-ref/
508f126890aSEmmanuel Vadot		uart0_ctsn: uart0-ctsn {
509f126890aSEmmanuel Vadot			rockchip,pins =
510f126890aSEmmanuel Vadot				<1 RK_PC1 1 &pcfg_pull_none>;
511f126890aSEmmanuel Vadot		};
512f126890aSEmmanuel Vadot		/omit-if-no-ref/
513f126890aSEmmanuel Vadot		uart0_rtsn: uart0-rtsn {
514f126890aSEmmanuel Vadot			rockchip,pins =
515f126890aSEmmanuel Vadot				<1 RK_PC0 1 &pcfg_pull_none>;
516f126890aSEmmanuel Vadot		};
517f126890aSEmmanuel Vadot		/omit-if-no-ref/
518f126890aSEmmanuel Vadot		uart0_rtsn_gpio: uart0-rts-pin {
519f126890aSEmmanuel Vadot			rockchip,pins =
520f126890aSEmmanuel Vadot				<1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
521f126890aSEmmanuel Vadot		};
522f126890aSEmmanuel Vadot	};
523f126890aSEmmanuel Vadot	uart1 {
524f126890aSEmmanuel Vadot		/omit-if-no-ref/
525f126890aSEmmanuel Vadot		uart1m0_xfer: uart1m0-xfer {
526f126890aSEmmanuel Vadot			rockchip,pins =
527f126890aSEmmanuel Vadot				/* uart1_rx_m0 */
528f126890aSEmmanuel Vadot				<0 RK_PB7 2 &pcfg_pull_up>,
529f126890aSEmmanuel Vadot				/* uart1_tx_m0 */
530f126890aSEmmanuel Vadot				<0 RK_PB6 2 &pcfg_pull_up>;
531f126890aSEmmanuel Vadot		};
532f126890aSEmmanuel Vadot	};
533f126890aSEmmanuel Vadot	uart2 {
534f126890aSEmmanuel Vadot		/omit-if-no-ref/
535f126890aSEmmanuel Vadot		uart2m1_xfer: uart2m1-xfer {
536f126890aSEmmanuel Vadot			rockchip,pins =
537f126890aSEmmanuel Vadot				/* uart2_rx_m1 */
538f126890aSEmmanuel Vadot				<3 RK_PA3 1 &pcfg_pull_up>,
539f126890aSEmmanuel Vadot				/* uart2_tx_m1 */
540f126890aSEmmanuel Vadot				<3 RK_PA2 1 &pcfg_pull_up>;
541f126890aSEmmanuel Vadot		};
542f126890aSEmmanuel Vadot	};
543f126890aSEmmanuel Vadot	uart3 {
544f126890aSEmmanuel Vadot		/omit-if-no-ref/
545f126890aSEmmanuel Vadot		uart3m0_xfer: uart3m0-xfer {
546f126890aSEmmanuel Vadot			rockchip,pins =
547f126890aSEmmanuel Vadot				/* uart3_rx_m0 */
548f126890aSEmmanuel Vadot				<3 RK_PC7 4 &pcfg_pull_up>,
549f126890aSEmmanuel Vadot				/* uart3_tx_m0 */
550f126890aSEmmanuel Vadot				<3 RK_PC6 4 &pcfg_pull_up>;
551f126890aSEmmanuel Vadot		};
5528d13bc63SEmmanuel Vadot		/omit-if-no-ref/
5538d13bc63SEmmanuel Vadot		uart3m2_xfer: uart3m2-xfer {
5548d13bc63SEmmanuel Vadot			rockchip,pins =
5558d13bc63SEmmanuel Vadot				/* uart3_rx_m2 */
5568d13bc63SEmmanuel Vadot				<3 RK_PA1 4 &pcfg_pull_up>,
5578d13bc63SEmmanuel Vadot				/* uart3_tx_m2 */
5588d13bc63SEmmanuel Vadot				<3 RK_PA0 4 &pcfg_pull_up>;
5598d13bc63SEmmanuel Vadot		};
560f126890aSEmmanuel Vadot	};
561f126890aSEmmanuel Vadot	uart4 {
562f126890aSEmmanuel Vadot		/omit-if-no-ref/
563f126890aSEmmanuel Vadot		uart4m0_xfer: uart4m0-xfer {
564f126890aSEmmanuel Vadot			rockchip,pins =
565f126890aSEmmanuel Vadot				/* uart4_rx_m0 */
566f126890aSEmmanuel Vadot				<3 RK_PA5 4 &pcfg_pull_up>,
567f126890aSEmmanuel Vadot				/* uart4_tx_m0 */
568f126890aSEmmanuel Vadot				<3 RK_PA4 4 &pcfg_pull_up>;
569f126890aSEmmanuel Vadot		};
5708d13bc63SEmmanuel Vadot		/omit-if-no-ref/
5718d13bc63SEmmanuel Vadot		uart4m2_xfer: uart4m2-xfer {
5728d13bc63SEmmanuel Vadot			rockchip,pins =
5738d13bc63SEmmanuel Vadot				/* uart4_rx_m2 */
5748d13bc63SEmmanuel Vadot				<1 RK_PD4 3 &pcfg_pull_up>,
5758d13bc63SEmmanuel Vadot				/* uart4_tx_m2 */
5768d13bc63SEmmanuel Vadot				<1 RK_PD5 3 &pcfg_pull_up>;
5778d13bc63SEmmanuel Vadot		};
578f126890aSEmmanuel Vadot	};
579f126890aSEmmanuel Vadot	uart5 {
580f126890aSEmmanuel Vadot		/omit-if-no-ref/
581f126890aSEmmanuel Vadot		uart5m0_xfer: uart5m0-xfer {
582f126890aSEmmanuel Vadot			rockchip,pins =
583f126890aSEmmanuel Vadot				/* uart5_rx_m0 */
584f126890aSEmmanuel Vadot				<3 RK_PA7 4 &pcfg_pull_up>,
585f126890aSEmmanuel Vadot				/* uart5_tx_m0 */
586f126890aSEmmanuel Vadot				<3 RK_PA6 4 &pcfg_pull_up>;
587f126890aSEmmanuel Vadot		};
588aa1a8ff2SEmmanuel Vadot		/omit-if-no-ref/
589aa1a8ff2SEmmanuel Vadot		uart5m2_xfer: uart5m2-xfer {
590aa1a8ff2SEmmanuel Vadot			rockchip,pins =
591aa1a8ff2SEmmanuel Vadot				/* uart5_rx_m2 */
592aa1a8ff2SEmmanuel Vadot				<2 RK_PA1 3 &pcfg_pull_up>,
593aa1a8ff2SEmmanuel Vadot				/* uart5_tx_m2 */
594aa1a8ff2SEmmanuel Vadot				<2 RK_PA0 3 &pcfg_pull_up>;
595aa1a8ff2SEmmanuel Vadot		};
596f126890aSEmmanuel Vadot	};
597f126890aSEmmanuel Vadot};
598