blob: 28d8d29942fd474b7dfb7290acb731ef4a7aaa15 [file] [log] [blame]
Jagan Teki3844cf72022-12-14 23:21:03 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Fuzhou 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 emmc {
15 /omit-if-no-ref/
16 emmc_rstnout: emmc-rstnout {
17 rockchip,pins =
18 /* emmc_rstn */
19 <1 RK_PA3 2 &pcfg_pull_none>;
20 };
21 /omit-if-no-ref/
22 emmc_bus8: emmc-bus8 {
23 rockchip,pins =
24 /* emmc_d0 */
25 <0 RK_PC4 2 &pcfg_pull_up_drv_level_2>,
26 /* emmc_d1 */
27 <0 RK_PC5 2 &pcfg_pull_up_drv_level_2>,
28 /* emmc_d2 */
29 <0 RK_PC6 2 &pcfg_pull_up_drv_level_2>,
30 /* emmc_d3 */
31 <0 RK_PC7 2 &pcfg_pull_up_drv_level_2>,
32 /* emmc_d4 */
33 <0 RK_PD0 2 &pcfg_pull_up_drv_level_2>,
34 /* emmc_d5 */
35 <0 RK_PD1 2 &pcfg_pull_up_drv_level_2>,
36 /* emmc_d6 */
37 <0 RK_PD2 2 &pcfg_pull_up_drv_level_2>,
38 /* emmc_d7 */
39 <0 RK_PD3 2 &pcfg_pull_up_drv_level_2>;
40 };
41 /omit-if-no-ref/
42 emmc_clk: emmc-clk {
43 rockchip,pins =
44 /* emmc_clko */
45 <0 RK_PD7 2 &pcfg_pull_up_drv_level_2>;
46 };
47 /omit-if-no-ref/
48 emmc_cmd: emmc-cmd {
49 rockchip,pins =
50 /* emmc_cmd */
51 <0 RK_PD5 2 &pcfg_pull_up_drv_level_2>;
52 };
53 };
54 i2c0 {
55 /omit-if-no-ref/
56 i2c0_xfer: i2c0-xfer {
57 rockchip,pins =
58 /* i2c0_scl */
59 <0 RK_PB4 1 &pcfg_pull_none_drv_level_0_smt>,
60 /* i2c0_sda */
61 <0 RK_PB5 1 &pcfg_pull_none_drv_level_0_smt>;
62 };
63 };
64 sdmmc0 {
65 /omit-if-no-ref/
66 sdmmc0_bus4: sdmmc0-bus4 {
67 rockchip,pins =
68 /* sdmmc0_d0 */
69 <1 RK_PA4 1 &pcfg_pull_up_drv_level_2>,
70 /* sdmmc0_d1 */
71 <1 RK_PA5 1 &pcfg_pull_up_drv_level_2>,
72 /* sdmmc0_d2 */
73 <1 RK_PA6 1 &pcfg_pull_up_drv_level_2>,
74 /* sdmmc0_d3 */
75 <1 RK_PA7 1 &pcfg_pull_up_drv_level_2>;
76 };
77 /omit-if-no-ref/
78 sdmmc0_clk: sdmmc0-clk {
79 rockchip,pins =
80 /* sdmmc0_clk */
81 <1 RK_PB0 1 &pcfg_pull_up_drv_level_2>;
82 };
83 /omit-if-no-ref/
84 sdmmc0_cmd: sdmmc0-cmd {
85 rockchip,pins =
86 /* sdmmc0_cmd */
87 <1 RK_PB1 1 &pcfg_pull_up_drv_level_2>;
88 };
89 /omit-if-no-ref/
90 sdmmc0_det: sdmmc0-det {
91 rockchip,pins =
92 <0 RK_PA3 1 &pcfg_pull_none>;
93 };
94 /omit-if-no-ref/
95 sdmmc0_pwr: sdmmc0-pwr {
96 rockchip,pins =
97 <0 RK_PC0 1 &pcfg_pull_none>;
98 };
99 };
100 sdmmc1 {
101 /omit-if-no-ref/
102 sdmmc1_bus4: sdmmc1-bus4 {
103 rockchip,pins =
104 /* sdmmc1_d0 */
105 <1 RK_PB4 1 &pcfg_pull_up_drv_level_2>,
106 /* sdmmc1_d1 */
107 <1 RK_PB5 1 &pcfg_pull_up_drv_level_2>,
108 /* sdmmc1_d2 */
109 <1 RK_PB6 1 &pcfg_pull_up_drv_level_2>,
110 /* sdmmc1_d3 */
111 <1 RK_PB7 1 &pcfg_pull_up_drv_level_2>;
112 };
113 /omit-if-no-ref/
114 sdmmc1_clk: sdmmc1-clk {
115 rockchip,pins =
116 /* sdmmc1_clk */
117 <1 RK_PB2 1 &pcfg_pull_up_drv_level_2>;
118 };
119 /omit-if-no-ref/
120 sdmmc1_cmd: sdmmc1-cmd {
121 rockchip,pins =
122 /* sdmmc1_cmd */
123 <1 RK_PB3 1 &pcfg_pull_up_drv_level_2>;
124 };
125 /omit-if-no-ref/
126 sdmmc1_det: sdmmc1-det {
127 rockchip,pins =
128 <1 RK_PD0 2 &pcfg_pull_none>;
129 };
130 /omit-if-no-ref/
131 sdmmc1_pwr: sdmmc1-pwr {
132 rockchip,pins =
133 <1 RK_PD1 2 &pcfg_pull_none>;
134 };
135 };
136 uart0 {
137 /omit-if-no-ref/
138 uart0_xfer: uart0-xfer {
139 rockchip,pins =
140 /* uart0_rx */
141 <1 RK_PC2 1 &pcfg_pull_up>,
142 /* uart0_tx */
143 <1 RK_PC3 1 &pcfg_pull_up>;
144 };
145 /omit-if-no-ref/
146 uart0_ctsn: uart0-ctsn {
147 rockchip,pins =
148 <1 RK_PC1 1 &pcfg_pull_none>;
149 };
150 /omit-if-no-ref/
151 uart0_rtsn: uart0-rtsn {
152 rockchip,pins =
153 <1 RK_PC0 1 &pcfg_pull_none>;
154 };
155 /omit-if-no-ref/
156 uart0_rtsn_gpio: uart0-rts-pin {
157 rockchip,pins =
158 <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
159 };
160 };
161 uart1 {
162 /omit-if-no-ref/
163 uart1m0_xfer: uart1m0-xfer {
164 rockchip,pins =
165 /* uart1_rx_m0 */
166 <0 RK_PB7 2 &pcfg_pull_up>,
167 /* uart1_tx_m0 */
168 <0 RK_PB6 2 &pcfg_pull_up>;
169 };
170 };
171 uart2 {
172 /omit-if-no-ref/
173 uart2m1_xfer: uart2m1-xfer {
174 rockchip,pins =
175 /* uart2_rx_m1 */
176 <3 RK_PA3 1 &pcfg_pull_up>,
177 /* uart2_tx_m1 */
178 <3 RK_PA2 1 &pcfg_pull_up>;
179 };
180 };
181 uart3 {
182 /omit-if-no-ref/
183 uart3m0_xfer: uart3m0-xfer {
184 rockchip,pins =
185 /* uart3_rx_m0 */
186 <3 RK_PC7 4 &pcfg_pull_up>,
187 /* uart3_tx_m0 */
188 <3 RK_PC6 4 &pcfg_pull_up>;
189 };
190 };
191 uart4 {
192 /omit-if-no-ref/
193 uart4m0_xfer: uart4m0-xfer {
194 rockchip,pins =
195 /* uart4_rx_m0 */
196 <3 RK_PA5 4 &pcfg_pull_up>,
197 /* uart4_tx_m0 */
198 <3 RK_PA4 4 &pcfg_pull_up>;
199 };
200 };
201 uart5 {
202 /omit-if-no-ref/
203 uart5m0_xfer: uart5m0-xfer {
204 rockchip,pins =
205 /* uart5_rx_m0 */
206 <3 RK_PA7 4 &pcfg_pull_up>,
207 /* uart5_tx_m0 */
208 <3 RK_PA6 4 &pcfg_pull_up>;
209 };
210 };
211};