xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rv1126-pinctrl.dtsi (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h>
7*724ba675SRob Herring#include <arm64/rockchip/rockchip-pinconf.dtsi>
8*724ba675SRob Herring
9*724ba675SRob Herring/*
10*724ba675SRob Herring * This file is auto generated by pin2dts tool, please keep these code
11*724ba675SRob Herring * by adding changes at end of this file.
12*724ba675SRob Herring */
13*724ba675SRob Herring&pinctrl {
14*724ba675SRob Herring	clk_out_ethernet {
15*724ba675SRob Herring		/omit-if-no-ref/
16*724ba675SRob Herring		clk_out_ethernetm1_pins: clk-out-ethernetm1-pins {
17*724ba675SRob Herring			rockchip,pins =
18*724ba675SRob Herring				/* clk_out_ethernet_m1 */
19*724ba675SRob Herring				<2 RK_PC5 2 &pcfg_pull_none>;
20*724ba675SRob Herring		};
21*724ba675SRob Herring	};
22*724ba675SRob Herring	emmc {
23*724ba675SRob Herring		/omit-if-no-ref/
24*724ba675SRob Herring		emmc_rstnout: emmc-rstnout {
25*724ba675SRob Herring			rockchip,pins =
26*724ba675SRob Herring				/* emmc_rstn */
27*724ba675SRob Herring				<1 RK_PA3 2 &pcfg_pull_none>;
28*724ba675SRob Herring		};
29*724ba675SRob Herring		/omit-if-no-ref/
30*724ba675SRob Herring		emmc_bus8: emmc-bus8 {
31*724ba675SRob Herring			rockchip,pins =
32*724ba675SRob Herring				/* emmc_d0 */
33*724ba675SRob Herring				<0 RK_PC4 2 &pcfg_pull_up_drv_level_2>,
34*724ba675SRob Herring				/* emmc_d1 */
35*724ba675SRob Herring				<0 RK_PC5 2 &pcfg_pull_up_drv_level_2>,
36*724ba675SRob Herring				/* emmc_d2 */
37*724ba675SRob Herring				<0 RK_PC6 2 &pcfg_pull_up_drv_level_2>,
38*724ba675SRob Herring				/* emmc_d3 */
39*724ba675SRob Herring				<0 RK_PC7 2 &pcfg_pull_up_drv_level_2>,
40*724ba675SRob Herring				/* emmc_d4 */
41*724ba675SRob Herring				<0 RK_PD0 2 &pcfg_pull_up_drv_level_2>,
42*724ba675SRob Herring				/* emmc_d5 */
43*724ba675SRob Herring				<0 RK_PD1 2 &pcfg_pull_up_drv_level_2>,
44*724ba675SRob Herring				/* emmc_d6 */
45*724ba675SRob Herring				<0 RK_PD2 2 &pcfg_pull_up_drv_level_2>,
46*724ba675SRob Herring				/* emmc_d7 */
47*724ba675SRob Herring				<0 RK_PD3 2 &pcfg_pull_up_drv_level_2>;
48*724ba675SRob Herring		};
49*724ba675SRob Herring		/omit-if-no-ref/
50*724ba675SRob Herring		emmc_clk: emmc-clk {
51*724ba675SRob Herring			rockchip,pins =
52*724ba675SRob Herring				/* emmc_clko */
53*724ba675SRob Herring				<0 RK_PD7 2 &pcfg_pull_up_drv_level_2>;
54*724ba675SRob Herring		};
55*724ba675SRob Herring		/omit-if-no-ref/
56*724ba675SRob Herring		emmc_cmd: emmc-cmd {
57*724ba675SRob Herring			rockchip,pins =
58*724ba675SRob Herring				/* emmc_cmd */
59*724ba675SRob Herring				<0 RK_PD5 2 &pcfg_pull_up_drv_level_2>;
60*724ba675SRob Herring		};
61*724ba675SRob Herring	};
62*724ba675SRob Herring	i2c0 {
63*724ba675SRob Herring		/omit-if-no-ref/
64*724ba675SRob Herring		i2c0_xfer: i2c0-xfer {
65*724ba675SRob Herring			rockchip,pins =
66*724ba675SRob Herring				/* i2c0_scl */
67*724ba675SRob Herring				<0 RK_PB4 1 &pcfg_pull_none_drv_level_0_smt>,
68*724ba675SRob Herring				/* i2c0_sda */
69*724ba675SRob Herring				<0 RK_PB5 1 &pcfg_pull_none_drv_level_0_smt>;
70*724ba675SRob Herring		};
71*724ba675SRob Herring	};
72*724ba675SRob Herring	rgmii {
73*724ba675SRob Herring		/omit-if-no-ref/
74*724ba675SRob Herring		rgmiim1_pins: rgmiim1-pins {
75*724ba675SRob Herring			rockchip,pins =
76*724ba675SRob Herring				/* rgmii_mdc_m1 */
77*724ba675SRob Herring				<2 RK_PC2 2 &pcfg_pull_none>,
78*724ba675SRob Herring				/* rgmii_mdio_m1 */
79*724ba675SRob Herring				<2 RK_PC1 2 &pcfg_pull_none>,
80*724ba675SRob Herring				/* rgmii_rxclk_m1 */
81*724ba675SRob Herring				<2 RK_PD3 2 &pcfg_pull_none>,
82*724ba675SRob Herring				/* rgmii_rxd0_m1 */
83*724ba675SRob Herring				<2 RK_PB5 2 &pcfg_pull_none>,
84*724ba675SRob Herring				/* rgmii_rxd1_m1 */
85*724ba675SRob Herring				<2 RK_PB6 2 &pcfg_pull_none>,
86*724ba675SRob Herring				/* rgmii_rxd2_m1 */
87*724ba675SRob Herring				<2 RK_PC7 2 &pcfg_pull_none>,
88*724ba675SRob Herring				/* rgmii_rxd3_m1 */
89*724ba675SRob Herring				<2 RK_PD0 2 &pcfg_pull_none>,
90*724ba675SRob Herring				/* rgmii_rxdv_m1 */
91*724ba675SRob Herring				<2 RK_PB4 2 &pcfg_pull_none>,
92*724ba675SRob Herring				/* rgmii_txclk_m1 */
93*724ba675SRob Herring				<2 RK_PD2 2 &pcfg_pull_none_drv_level_3>,
94*724ba675SRob Herring				/* rgmii_txd0_m1 */
95*724ba675SRob Herring				<2 RK_PC3 2 &pcfg_pull_none_drv_level_3>,
96*724ba675SRob Herring				/* rgmii_txd1_m1 */
97*724ba675SRob Herring				<2 RK_PC4 2 &pcfg_pull_none_drv_level_3>,
98*724ba675SRob Herring				/* rgmii_txd2_m1 */
99*724ba675SRob Herring				<2 RK_PD1 2 &pcfg_pull_none_drv_level_3>,
100*724ba675SRob Herring				/* rgmii_txd3_m1 */
101*724ba675SRob Herring				<2 RK_PA4 2 &pcfg_pull_none_drv_level_3>,
102*724ba675SRob Herring				/* rgmii_txen_m1 */
103*724ba675SRob Herring				<2 RK_PC6 2 &pcfg_pull_none_drv_level_3>;
104*724ba675SRob Herring		};
105*724ba675SRob Herring	};
106*724ba675SRob Herring	sdmmc0 {
107*724ba675SRob Herring		/omit-if-no-ref/
108*724ba675SRob Herring		sdmmc0_bus4: sdmmc0-bus4 {
109*724ba675SRob Herring			rockchip,pins =
110*724ba675SRob Herring				/* sdmmc0_d0 */
111*724ba675SRob Herring				<1 RK_PA4 1 &pcfg_pull_up_drv_level_2>,
112*724ba675SRob Herring				/* sdmmc0_d1 */
113*724ba675SRob Herring				<1 RK_PA5 1 &pcfg_pull_up_drv_level_2>,
114*724ba675SRob Herring				/* sdmmc0_d2 */
115*724ba675SRob Herring				<1 RK_PA6 1 &pcfg_pull_up_drv_level_2>,
116*724ba675SRob Herring				/* sdmmc0_d3 */
117*724ba675SRob Herring				<1 RK_PA7 1 &pcfg_pull_up_drv_level_2>;
118*724ba675SRob Herring		};
119*724ba675SRob Herring		/omit-if-no-ref/
120*724ba675SRob Herring		sdmmc0_clk: sdmmc0-clk {
121*724ba675SRob Herring			rockchip,pins =
122*724ba675SRob Herring				/* sdmmc0_clk */
123*724ba675SRob Herring				<1 RK_PB0 1 &pcfg_pull_up_drv_level_2>;
124*724ba675SRob Herring		};
125*724ba675SRob Herring		/omit-if-no-ref/
126*724ba675SRob Herring		sdmmc0_cmd: sdmmc0-cmd {
127*724ba675SRob Herring			rockchip,pins =
128*724ba675SRob Herring				/* sdmmc0_cmd */
129*724ba675SRob Herring				<1 RK_PB1 1 &pcfg_pull_up_drv_level_2>;
130*724ba675SRob Herring		};
131*724ba675SRob Herring		/omit-if-no-ref/
132*724ba675SRob Herring		sdmmc0_det: sdmmc0-det {
133*724ba675SRob Herring			rockchip,pins =
134*724ba675SRob Herring				<0 RK_PA3 1 &pcfg_pull_none>;
135*724ba675SRob Herring		};
136*724ba675SRob Herring		/omit-if-no-ref/
137*724ba675SRob Herring		sdmmc0_pwr: sdmmc0-pwr {
138*724ba675SRob Herring			rockchip,pins =
139*724ba675SRob Herring				<0 RK_PC0 1 &pcfg_pull_none>;
140*724ba675SRob Herring		};
141*724ba675SRob Herring	};
142*724ba675SRob Herring	sdmmc1 {
143*724ba675SRob Herring		/omit-if-no-ref/
144*724ba675SRob Herring		sdmmc1_bus4: sdmmc1-bus4 {
145*724ba675SRob Herring			rockchip,pins =
146*724ba675SRob Herring				/* sdmmc1_d0 */
147*724ba675SRob Herring				<1 RK_PB4 1 &pcfg_pull_up_drv_level_2>,
148*724ba675SRob Herring				/* sdmmc1_d1 */
149*724ba675SRob Herring				<1 RK_PB5 1 &pcfg_pull_up_drv_level_2>,
150*724ba675SRob Herring				/* sdmmc1_d2 */
151*724ba675SRob Herring				<1 RK_PB6 1 &pcfg_pull_up_drv_level_2>,
152*724ba675SRob Herring				/* sdmmc1_d3 */
153*724ba675SRob Herring				<1 RK_PB7 1 &pcfg_pull_up_drv_level_2>;
154*724ba675SRob Herring		};
155*724ba675SRob Herring		/omit-if-no-ref/
156*724ba675SRob Herring		sdmmc1_clk: sdmmc1-clk {
157*724ba675SRob Herring			rockchip,pins =
158*724ba675SRob Herring				/* sdmmc1_clk */
159*724ba675SRob Herring				<1 RK_PB2 1 &pcfg_pull_up_drv_level_2>;
160*724ba675SRob Herring		};
161*724ba675SRob Herring		/omit-if-no-ref/
162*724ba675SRob Herring		sdmmc1_cmd: sdmmc1-cmd {
163*724ba675SRob Herring			rockchip,pins =
164*724ba675SRob Herring				/* sdmmc1_cmd */
165*724ba675SRob Herring				<1 RK_PB3 1 &pcfg_pull_up_drv_level_2>;
166*724ba675SRob Herring		};
167*724ba675SRob Herring		/omit-if-no-ref/
168*724ba675SRob Herring		sdmmc1_det: sdmmc1-det {
169*724ba675SRob Herring			rockchip,pins =
170*724ba675SRob Herring				<1 RK_PD0 2 &pcfg_pull_none>;
171*724ba675SRob Herring		};
172*724ba675SRob Herring		/omit-if-no-ref/
173*724ba675SRob Herring		sdmmc1_pwr: sdmmc1-pwr {
174*724ba675SRob Herring			rockchip,pins =
175*724ba675SRob Herring				<1 RK_PD1 2 &pcfg_pull_none>;
176*724ba675SRob Herring		};
177*724ba675SRob Herring	};
178*724ba675SRob Herring	uart0 {
179*724ba675SRob Herring		/omit-if-no-ref/
180*724ba675SRob Herring		uart0_xfer: uart0-xfer {
181*724ba675SRob Herring			rockchip,pins =
182*724ba675SRob Herring				/* uart0_rx */
183*724ba675SRob Herring				<1 RK_PC2 1 &pcfg_pull_up>,
184*724ba675SRob Herring				/* uart0_tx */
185*724ba675SRob Herring				<1 RK_PC3 1 &pcfg_pull_up>;
186*724ba675SRob Herring		};
187*724ba675SRob Herring		/omit-if-no-ref/
188*724ba675SRob Herring		uart0_ctsn: uart0-ctsn {
189*724ba675SRob Herring			rockchip,pins =
190*724ba675SRob Herring				<1 RK_PC1 1 &pcfg_pull_none>;
191*724ba675SRob Herring		};
192*724ba675SRob Herring		/omit-if-no-ref/
193*724ba675SRob Herring		uart0_rtsn: uart0-rtsn {
194*724ba675SRob Herring			rockchip,pins =
195*724ba675SRob Herring				<1 RK_PC0 1 &pcfg_pull_none>;
196*724ba675SRob Herring		};
197*724ba675SRob Herring		/omit-if-no-ref/
198*724ba675SRob Herring		uart0_rtsn_gpio: uart0-rts-pin {
199*724ba675SRob Herring			rockchip,pins =
200*724ba675SRob Herring				<1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
201*724ba675SRob Herring		};
202*724ba675SRob Herring	};
203*724ba675SRob Herring	uart1 {
204*724ba675SRob Herring		/omit-if-no-ref/
205*724ba675SRob Herring		uart1m0_xfer: uart1m0-xfer {
206*724ba675SRob Herring			rockchip,pins =
207*724ba675SRob Herring				/* uart1_rx_m0 */
208*724ba675SRob Herring				<0 RK_PB7 2 &pcfg_pull_up>,
209*724ba675SRob Herring				/* uart1_tx_m0 */
210*724ba675SRob Herring				<0 RK_PB6 2 &pcfg_pull_up>;
211*724ba675SRob Herring		};
212*724ba675SRob Herring	};
213*724ba675SRob Herring	uart2 {
214*724ba675SRob Herring		/omit-if-no-ref/
215*724ba675SRob Herring		uart2m1_xfer: uart2m1-xfer {
216*724ba675SRob Herring			rockchip,pins =
217*724ba675SRob Herring				/* uart2_rx_m1 */
218*724ba675SRob Herring				<3 RK_PA3 1 &pcfg_pull_up>,
219*724ba675SRob Herring				/* uart2_tx_m1 */
220*724ba675SRob Herring				<3 RK_PA2 1 &pcfg_pull_up>;
221*724ba675SRob Herring		};
222*724ba675SRob Herring	};
223*724ba675SRob Herring	uart3 {
224*724ba675SRob Herring		/omit-if-no-ref/
225*724ba675SRob Herring		uart3m0_xfer: uart3m0-xfer {
226*724ba675SRob Herring			rockchip,pins =
227*724ba675SRob Herring				/* uart3_rx_m0 */
228*724ba675SRob Herring				<3 RK_PC7 4 &pcfg_pull_up>,
229*724ba675SRob Herring				/* uart3_tx_m0 */
230*724ba675SRob Herring				<3 RK_PC6 4 &pcfg_pull_up>;
231*724ba675SRob Herring		};
232*724ba675SRob Herring	};
233*724ba675SRob Herring	uart4 {
234*724ba675SRob Herring		/omit-if-no-ref/
235*724ba675SRob Herring		uart4m0_xfer: uart4m0-xfer {
236*724ba675SRob Herring			rockchip,pins =
237*724ba675SRob Herring				/* uart4_rx_m0 */
238*724ba675SRob Herring				<3 RK_PA5 4 &pcfg_pull_up>,
239*724ba675SRob Herring				/* uart4_tx_m0 */
240*724ba675SRob Herring				<3 RK_PA4 4 &pcfg_pull_up>;
241*724ba675SRob Herring		};
242*724ba675SRob Herring	};
243*724ba675SRob Herring	uart5 {
244*724ba675SRob Herring		/omit-if-no-ref/
245*724ba675SRob Herring		uart5m0_xfer: uart5m0-xfer {
246*724ba675SRob Herring			rockchip,pins =
247*724ba675SRob Herring				/* uart5_rx_m0 */
248*724ba675SRob Herring				<3 RK_PA7 4 &pcfg_pull_up>,
249*724ba675SRob Herring				/* uart5_tx_m0 */
250*724ba675SRob Herring				<3 RK_PA6 4 &pcfg_pull_up>;
251*724ba675SRob Herring		};
252*724ba675SRob Herring	};
253*724ba675SRob Herring};
254