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