xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rv1126-pinctrl.dtsi (revision d91d25b1db47fd5d91782298ac6e6e418aa2da46)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h>
7724ba675SRob Herring#include <arm64/rockchip/rockchip-pinconf.dtsi>
8724ba675SRob Herring
9724ba675SRob Herring/*
10724ba675SRob Herring * This file is auto generated by pin2dts tool, please keep these code
11724ba675SRob Herring * by adding changes at end of this file.
12724ba675SRob Herring */
13724ba675SRob Herring&pinctrl {
14724ba675SRob Herring	clk_out_ethernet {
15724ba675SRob Herring		/omit-if-no-ref/
16724ba675SRob Herring		clk_out_ethernetm1_pins: clk-out-ethernetm1-pins {
17724ba675SRob Herring			rockchip,pins =
18724ba675SRob Herring				/* clk_out_ethernet_m1 */
19724ba675SRob Herring				<2 RK_PC5 2 &pcfg_pull_none>;
20724ba675SRob Herring		};
21724ba675SRob Herring	};
22724ba675SRob Herring	emmc {
23724ba675SRob Herring		/omit-if-no-ref/
24724ba675SRob Herring		emmc_rstnout: emmc-rstnout {
25724ba675SRob Herring			rockchip,pins =
26724ba675SRob Herring				/* emmc_rstn */
27724ba675SRob Herring				<1 RK_PA3 2 &pcfg_pull_none>;
28724ba675SRob Herring		};
29724ba675SRob Herring		/omit-if-no-ref/
30724ba675SRob Herring		emmc_bus8: emmc-bus8 {
31724ba675SRob Herring			rockchip,pins =
32724ba675SRob Herring				/* emmc_d0 */
33724ba675SRob Herring				<0 RK_PC4 2 &pcfg_pull_up_drv_level_2>,
34724ba675SRob Herring				/* emmc_d1 */
35724ba675SRob Herring				<0 RK_PC5 2 &pcfg_pull_up_drv_level_2>,
36724ba675SRob Herring				/* emmc_d2 */
37724ba675SRob Herring				<0 RK_PC6 2 &pcfg_pull_up_drv_level_2>,
38724ba675SRob Herring				/* emmc_d3 */
39724ba675SRob Herring				<0 RK_PC7 2 &pcfg_pull_up_drv_level_2>,
40724ba675SRob Herring				/* emmc_d4 */
41724ba675SRob Herring				<0 RK_PD0 2 &pcfg_pull_up_drv_level_2>,
42724ba675SRob Herring				/* emmc_d5 */
43724ba675SRob Herring				<0 RK_PD1 2 &pcfg_pull_up_drv_level_2>,
44724ba675SRob Herring				/* emmc_d6 */
45724ba675SRob Herring				<0 RK_PD2 2 &pcfg_pull_up_drv_level_2>,
46724ba675SRob Herring				/* emmc_d7 */
47724ba675SRob Herring				<0 RK_PD3 2 &pcfg_pull_up_drv_level_2>;
48724ba675SRob Herring		};
49724ba675SRob Herring		/omit-if-no-ref/
50724ba675SRob Herring		emmc_clk: emmc-clk {
51724ba675SRob Herring			rockchip,pins =
52724ba675SRob Herring				/* emmc_clko */
53724ba675SRob Herring				<0 RK_PD7 2 &pcfg_pull_up_drv_level_2>;
54724ba675SRob Herring		};
55724ba675SRob Herring		/omit-if-no-ref/
56724ba675SRob Herring		emmc_cmd: emmc-cmd {
57724ba675SRob Herring			rockchip,pins =
58724ba675SRob Herring				/* emmc_cmd */
59724ba675SRob Herring				<0 RK_PD5 2 &pcfg_pull_up_drv_level_2>;
60724ba675SRob Herring		};
61724ba675SRob Herring	};
62*d91d25b1SJagan Teki	fspi {
63*d91d25b1SJagan Teki		/omit-if-no-ref/
64*d91d25b1SJagan Teki		fspi_pins: fspi-pins {
65*d91d25b1SJagan Teki			rockchip,pins =
66*d91d25b1SJagan Teki				/* fspi_clk */
67*d91d25b1SJagan Teki				<1 RK_PA3 3 &pcfg_pull_down>,
68*d91d25b1SJagan Teki				/* fspi_cs0n */
69*d91d25b1SJagan Teki				<0 RK_PD4 3 &pcfg_pull_up>,
70*d91d25b1SJagan Teki				/* fspi_d0 */
71*d91d25b1SJagan Teki				<1 RK_PA0 3 &pcfg_pull_up>,
72*d91d25b1SJagan Teki				/* fspi_d1 */
73*d91d25b1SJagan Teki				<1 RK_PA1 3 &pcfg_pull_up>,
74*d91d25b1SJagan Teki				/* fspi_d2 */
75*d91d25b1SJagan Teki				<0 RK_PD6 3 &pcfg_pull_up>,
76*d91d25b1SJagan Teki				/* fspi_d3 */
77*d91d25b1SJagan Teki				<1 RK_PA2 3 &pcfg_pull_up>;
78*d91d25b1SJagan Teki		};
79*d91d25b1SJagan Teki	};
80724ba675SRob Herring	i2c0 {
81724ba675SRob Herring		/omit-if-no-ref/
82724ba675SRob Herring		i2c0_xfer: i2c0-xfer {
83724ba675SRob Herring			rockchip,pins =
84724ba675SRob Herring				/* i2c0_scl */
85724ba675SRob Herring				<0 RK_PB4 1 &pcfg_pull_none_drv_level_0_smt>,
86724ba675SRob Herring				/* i2c0_sda */
87724ba675SRob Herring				<0 RK_PB5 1 &pcfg_pull_none_drv_level_0_smt>;
88724ba675SRob Herring		};
89724ba675SRob Herring	};
90724ba675SRob Herring	rgmii {
91724ba675SRob Herring		/omit-if-no-ref/
92724ba675SRob Herring		rgmiim1_pins: rgmiim1-pins {
93724ba675SRob Herring			rockchip,pins =
94724ba675SRob Herring				/* rgmii_mdc_m1 */
95724ba675SRob Herring				<2 RK_PC2 2 &pcfg_pull_none>,
96724ba675SRob Herring				/* rgmii_mdio_m1 */
97724ba675SRob Herring				<2 RK_PC1 2 &pcfg_pull_none>,
98724ba675SRob Herring				/* rgmii_rxclk_m1 */
99724ba675SRob Herring				<2 RK_PD3 2 &pcfg_pull_none>,
100724ba675SRob Herring				/* rgmii_rxd0_m1 */
101724ba675SRob Herring				<2 RK_PB5 2 &pcfg_pull_none>,
102724ba675SRob Herring				/* rgmii_rxd1_m1 */
103724ba675SRob Herring				<2 RK_PB6 2 &pcfg_pull_none>,
104724ba675SRob Herring				/* rgmii_rxd2_m1 */
105724ba675SRob Herring				<2 RK_PC7 2 &pcfg_pull_none>,
106724ba675SRob Herring				/* rgmii_rxd3_m1 */
107724ba675SRob Herring				<2 RK_PD0 2 &pcfg_pull_none>,
108724ba675SRob Herring				/* rgmii_rxdv_m1 */
109724ba675SRob Herring				<2 RK_PB4 2 &pcfg_pull_none>,
110724ba675SRob Herring				/* rgmii_txclk_m1 */
111724ba675SRob Herring				<2 RK_PD2 2 &pcfg_pull_none_drv_level_3>,
112724ba675SRob Herring				/* rgmii_txd0_m1 */
113724ba675SRob Herring				<2 RK_PC3 2 &pcfg_pull_none_drv_level_3>,
114724ba675SRob Herring				/* rgmii_txd1_m1 */
115724ba675SRob Herring				<2 RK_PC4 2 &pcfg_pull_none_drv_level_3>,
116724ba675SRob Herring				/* rgmii_txd2_m1 */
117724ba675SRob Herring				<2 RK_PD1 2 &pcfg_pull_none_drv_level_3>,
118724ba675SRob Herring				/* rgmii_txd3_m1 */
119724ba675SRob Herring				<2 RK_PA4 2 &pcfg_pull_none_drv_level_3>,
120724ba675SRob Herring				/* rgmii_txen_m1 */
121724ba675SRob Herring				<2 RK_PC6 2 &pcfg_pull_none_drv_level_3>;
122724ba675SRob Herring		};
123724ba675SRob Herring	};
124724ba675SRob Herring	sdmmc0 {
125724ba675SRob Herring		/omit-if-no-ref/
126724ba675SRob Herring		sdmmc0_bus4: sdmmc0-bus4 {
127724ba675SRob Herring			rockchip,pins =
128724ba675SRob Herring				/* sdmmc0_d0 */
129724ba675SRob Herring				<1 RK_PA4 1 &pcfg_pull_up_drv_level_2>,
130724ba675SRob Herring				/* sdmmc0_d1 */
131724ba675SRob Herring				<1 RK_PA5 1 &pcfg_pull_up_drv_level_2>,
132724ba675SRob Herring				/* sdmmc0_d2 */
133724ba675SRob Herring				<1 RK_PA6 1 &pcfg_pull_up_drv_level_2>,
134724ba675SRob Herring				/* sdmmc0_d3 */
135724ba675SRob Herring				<1 RK_PA7 1 &pcfg_pull_up_drv_level_2>;
136724ba675SRob Herring		};
137724ba675SRob Herring		/omit-if-no-ref/
138724ba675SRob Herring		sdmmc0_clk: sdmmc0-clk {
139724ba675SRob Herring			rockchip,pins =
140724ba675SRob Herring				/* sdmmc0_clk */
141724ba675SRob Herring				<1 RK_PB0 1 &pcfg_pull_up_drv_level_2>;
142724ba675SRob Herring		};
143724ba675SRob Herring		/omit-if-no-ref/
144724ba675SRob Herring		sdmmc0_cmd: sdmmc0-cmd {
145724ba675SRob Herring			rockchip,pins =
146724ba675SRob Herring				/* sdmmc0_cmd */
147724ba675SRob Herring				<1 RK_PB1 1 &pcfg_pull_up_drv_level_2>;
148724ba675SRob Herring		};
149724ba675SRob Herring		/omit-if-no-ref/
150724ba675SRob Herring		sdmmc0_det: sdmmc0-det {
151724ba675SRob Herring			rockchip,pins =
152724ba675SRob Herring				<0 RK_PA3 1 &pcfg_pull_none>;
153724ba675SRob Herring		};
154724ba675SRob Herring		/omit-if-no-ref/
155724ba675SRob Herring		sdmmc0_pwr: sdmmc0-pwr {
156724ba675SRob Herring			rockchip,pins =
157724ba675SRob Herring				<0 RK_PC0 1 &pcfg_pull_none>;
158724ba675SRob Herring		};
159724ba675SRob Herring	};
160724ba675SRob Herring	sdmmc1 {
161724ba675SRob Herring		/omit-if-no-ref/
162724ba675SRob Herring		sdmmc1_bus4: sdmmc1-bus4 {
163724ba675SRob Herring			rockchip,pins =
164724ba675SRob Herring				/* sdmmc1_d0 */
165724ba675SRob Herring				<1 RK_PB4 1 &pcfg_pull_up_drv_level_2>,
166724ba675SRob Herring				/* sdmmc1_d1 */
167724ba675SRob Herring				<1 RK_PB5 1 &pcfg_pull_up_drv_level_2>,
168724ba675SRob Herring				/* sdmmc1_d2 */
169724ba675SRob Herring				<1 RK_PB6 1 &pcfg_pull_up_drv_level_2>,
170724ba675SRob Herring				/* sdmmc1_d3 */
171724ba675SRob Herring				<1 RK_PB7 1 &pcfg_pull_up_drv_level_2>;
172724ba675SRob Herring		};
173724ba675SRob Herring		/omit-if-no-ref/
174724ba675SRob Herring		sdmmc1_clk: sdmmc1-clk {
175724ba675SRob Herring			rockchip,pins =
176724ba675SRob Herring				/* sdmmc1_clk */
177724ba675SRob Herring				<1 RK_PB2 1 &pcfg_pull_up_drv_level_2>;
178724ba675SRob Herring		};
179724ba675SRob Herring		/omit-if-no-ref/
180724ba675SRob Herring		sdmmc1_cmd: sdmmc1-cmd {
181724ba675SRob Herring			rockchip,pins =
182724ba675SRob Herring				/* sdmmc1_cmd */
183724ba675SRob Herring				<1 RK_PB3 1 &pcfg_pull_up_drv_level_2>;
184724ba675SRob Herring		};
185724ba675SRob Herring		/omit-if-no-ref/
186724ba675SRob Herring		sdmmc1_det: sdmmc1-det {
187724ba675SRob Herring			rockchip,pins =
188724ba675SRob Herring				<1 RK_PD0 2 &pcfg_pull_none>;
189724ba675SRob Herring		};
190724ba675SRob Herring		/omit-if-no-ref/
191724ba675SRob Herring		sdmmc1_pwr: sdmmc1-pwr {
192724ba675SRob Herring			rockchip,pins =
193724ba675SRob Herring				<1 RK_PD1 2 &pcfg_pull_none>;
194724ba675SRob Herring		};
195724ba675SRob Herring	};
196724ba675SRob Herring	uart0 {
197724ba675SRob Herring		/omit-if-no-ref/
198724ba675SRob Herring		uart0_xfer: uart0-xfer {
199724ba675SRob Herring			rockchip,pins =
200724ba675SRob Herring				/* uart0_rx */
201724ba675SRob Herring				<1 RK_PC2 1 &pcfg_pull_up>,
202724ba675SRob Herring				/* uart0_tx */
203724ba675SRob Herring				<1 RK_PC3 1 &pcfg_pull_up>;
204724ba675SRob Herring		};
205724ba675SRob Herring		/omit-if-no-ref/
206724ba675SRob Herring		uart0_ctsn: uart0-ctsn {
207724ba675SRob Herring			rockchip,pins =
208724ba675SRob Herring				<1 RK_PC1 1 &pcfg_pull_none>;
209724ba675SRob Herring		};
210724ba675SRob Herring		/omit-if-no-ref/
211724ba675SRob Herring		uart0_rtsn: uart0-rtsn {
212724ba675SRob Herring			rockchip,pins =
213724ba675SRob Herring				<1 RK_PC0 1 &pcfg_pull_none>;
214724ba675SRob Herring		};
215724ba675SRob Herring		/omit-if-no-ref/
216724ba675SRob Herring		uart0_rtsn_gpio: uart0-rts-pin {
217724ba675SRob Herring			rockchip,pins =
218724ba675SRob Herring				<1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
219724ba675SRob Herring		};
220724ba675SRob Herring	};
221724ba675SRob Herring	uart1 {
222724ba675SRob Herring		/omit-if-no-ref/
223724ba675SRob Herring		uart1m0_xfer: uart1m0-xfer {
224724ba675SRob Herring			rockchip,pins =
225724ba675SRob Herring				/* uart1_rx_m0 */
226724ba675SRob Herring				<0 RK_PB7 2 &pcfg_pull_up>,
227724ba675SRob Herring				/* uart1_tx_m0 */
228724ba675SRob Herring				<0 RK_PB6 2 &pcfg_pull_up>;
229724ba675SRob Herring		};
230724ba675SRob Herring	};
231724ba675SRob Herring	uart2 {
232724ba675SRob Herring		/omit-if-no-ref/
233724ba675SRob Herring		uart2m1_xfer: uart2m1-xfer {
234724ba675SRob Herring			rockchip,pins =
235724ba675SRob Herring				/* uart2_rx_m1 */
236724ba675SRob Herring				<3 RK_PA3 1 &pcfg_pull_up>,
237724ba675SRob Herring				/* uart2_tx_m1 */
238724ba675SRob Herring				<3 RK_PA2 1 &pcfg_pull_up>;
239724ba675SRob Herring		};
240724ba675SRob Herring	};
241724ba675SRob Herring	uart3 {
242724ba675SRob Herring		/omit-if-no-ref/
243724ba675SRob Herring		uart3m0_xfer: uart3m0-xfer {
244724ba675SRob Herring			rockchip,pins =
245724ba675SRob Herring				/* uart3_rx_m0 */
246724ba675SRob Herring				<3 RK_PC7 4 &pcfg_pull_up>,
247724ba675SRob Herring				/* uart3_tx_m0 */
248724ba675SRob Herring				<3 RK_PC6 4 &pcfg_pull_up>;
249724ba675SRob Herring		};
250724ba675SRob Herring	};
251724ba675SRob Herring	uart4 {
252724ba675SRob Herring		/omit-if-no-ref/
253724ba675SRob Herring		uart4m0_xfer: uart4m0-xfer {
254724ba675SRob Herring			rockchip,pins =
255724ba675SRob Herring				/* uart4_rx_m0 */
256724ba675SRob Herring				<3 RK_PA5 4 &pcfg_pull_up>,
257724ba675SRob Herring				/* uart4_tx_m0 */
258724ba675SRob Herring				<3 RK_PA4 4 &pcfg_pull_up>;
259724ba675SRob Herring		};
260724ba675SRob Herring	};
261724ba675SRob Herring	uart5 {
262724ba675SRob Herring		/omit-if-no-ref/
263724ba675SRob Herring		uart5m0_xfer: uart5m0-xfer {
264724ba675SRob Herring			rockchip,pins =
265724ba675SRob Herring				/* uart5_rx_m0 */
266724ba675SRob Herring				<3 RK_PA7 4 &pcfg_pull_up>,
267724ba675SRob Herring				/* uart5_tx_m0 */
268724ba675SRob Herring				<3 RK_PA6 4 &pcfg_pull_up>;
269724ba675SRob Herring		};
270724ba675SRob Herring	};
271724ba675SRob Herring};
272