1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2022 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 arm { 15 arm_pins: arm-pins { 16 rockchip,pins = 17 /* arm_avs */ 18 <4 RK_PC4 3 &pcfg_pull_none>; 19 }; 20 }; 21 22 can0 { 23 can0m0_pins: can0m0-pins { 24 rockchip,pins = 25 /* can0_rx_m0 */ 26 <4 RK_PA0 3 &pcfg_pull_none>, 27 /* can0_tx_m0 */ 28 <4 RK_PA1 3 &pcfg_pull_none>; 29 }; 30 31 can0m1_pins: can0m1-pins { 32 rockchip,pins = 33 /* can0_rx_m1 */ 34 <4 RK_PC6 3 &pcfg_pull_none>, 35 /* can0_tx_m1 */ 36 <4 RK_PC5 3 &pcfg_pull_none>; 37 }; 38 }; 39 40 can1 { 41 can1m0_pins: can1m0-pins { 42 rockchip,pins = 43 /* can1_rx_m0 */ 44 <4 RK_PA2 4 &pcfg_pull_none>, 45 /* can1_tx_m0 */ 46 <4 RK_PA3 4 &pcfg_pull_none>; 47 }; 48 49 can1m1_pins: can1m1-pins { 50 rockchip,pins = 51 /* can1_rx_m1 */ 52 <4 RK_PB0 4 &pcfg_pull_none>, 53 /* can1_tx_m1 */ 54 <4 RK_PB1 4 &pcfg_pull_none>; 55 }; 56 }; 57 58 can2 { 59 can2m0_pins: can2m0-pins { 60 rockchip,pins = 61 /* can2_rx_m0 */ 62 <1 RK_PB3 2 &pcfg_pull_none>, 63 /* can2_tx_m0 */ 64 <1 RK_PB2 2 &pcfg_pull_none>; 65 }; 66 67 can2m1_pins: can2m1-pins { 68 rockchip,pins = 69 /* can2_rx_m1 */ 70 <3 RK_PA5 5 &pcfg_pull_none>, 71 /* can2_tx_m1 */ 72 <3 RK_PA4 5 &pcfg_pull_none>; 73 }; 74 }; 75 76 can3 { 77 can3m0_pins: can3m0-pins { 78 rockchip,pins = 79 /* can3_rx_m0 */ 80 <1 RK_PB5 2 &pcfg_pull_none>, 81 /* can3_tx_m0 */ 82 <1 RK_PB4 2 &pcfg_pull_none>; 83 }; 84 85 can3m1_pins: can3m1-pins { 86 rockchip,pins = 87 /* can3_rx_m1 */ 88 <3 RK_PB3 2 &pcfg_pull_none>, 89 /* can3_tx_m1 */ 90 <3 RK_PB2 2 &pcfg_pull_none>; 91 }; 92 }; 93 94 clk { 95 clkm0_32k_out: clkm0-32k-out { 96 rockchip,pins = 97 /* clkm0_32k_out */ 98 <3 RK_PC3 3 &pcfg_pull_none>; 99 }; 100 101 clkm1_32k_out: clkm1-32k-out { 102 rockchip,pins = 103 /* clkm1_32k_out */ 104 <1 RK_PC3 1 &pcfg_pull_none>; 105 }; 106 }; 107 108 emmc { 109 emmc_rstnout: emmc-rstnout { 110 rockchip,pins = 111 /* emmc_rstn */ 112 <1 RK_PD6 1 &pcfg_pull_none>; 113 }; 114 115 emmc_bus8: emmc-bus8 { 116 rockchip,pins = 117 /* emmc_d0 */ 118 <1 RK_PC4 1 &pcfg_pull_up_drv_level_2>, 119 /* emmc_d1 */ 120 <1 RK_PC5 1 &pcfg_pull_up_drv_level_2>, 121 /* emmc_d2 */ 122 <1 RK_PC6 1 &pcfg_pull_up_drv_level_2>, 123 /* emmc_d3 */ 124 <1 RK_PC7 1 &pcfg_pull_up_drv_level_2>, 125 /* emmc_d4 */ 126 <1 RK_PD0 1 &pcfg_pull_up_drv_level_2>, 127 /* emmc_d5 */ 128 <1 RK_PD1 1 &pcfg_pull_up_drv_level_2>, 129 /* emmc_d6 */ 130 <1 RK_PD2 1 &pcfg_pull_up_drv_level_2>, 131 /* emmc_d7 */ 132 <1 RK_PD3 1 &pcfg_pull_up_drv_level_2>; 133 }; 134 135 emmc_clk: emmc-clk { 136 rockchip,pins = 137 /* emmc_clk */ 138 <1 RK_PD5 1 &pcfg_pull_up_drv_level_2>; 139 }; 140 141 emmc_cmd: emmc-cmd { 142 rockchip,pins = 143 /* emmc_cmd */ 144 <1 RK_PD4 1 &pcfg_pull_up_drv_level_2>; 145 }; 146 147 emmc_strb: emmc-strb { 148 rockchip,pins = 149 /* emmc_strb */ 150 <1 RK_PD7 1 &pcfg_pull_none>; 151 }; 152 }; 153 154 eth { 155 eth_pins: eth-pins { 156 rockchip,pins = 157 /* eth_clk_25m_out */ 158 <3 RK_PB5 2 &pcfg_pull_none>; 159 }; 160 }; 161 162 fephy { 163 fephym0_led_dpx: fephym0-led_dpx { 164 rockchip,pins = 165 /* fephy_led_dpx_m0 */ 166 <4 RK_PB5 2 &pcfg_pull_none>; 167 }; 168 169 fephym0_led_link: fephym0-led_link { 170 rockchip,pins = 171 /* fephy_led_link_m0 */ 172 <4 RK_PC0 2 &pcfg_pull_none>; 173 }; 174 175 fephym0_led_spd: fephym0-led_spd { 176 rockchip,pins = 177 /* fephy_led_spd_m0 */ 178 <4 RK_PB7 2 &pcfg_pull_none>; 179 }; 180 181 fephym1_led_dpx: fephym1-led_dpx { 182 rockchip,pins = 183 /* fephy_led_dpx_m1 */ 184 <2 RK_PA4 5 &pcfg_pull_none>; 185 }; 186 187 fephym1_led_link: fephym1-led_link { 188 rockchip,pins = 189 /* fephy_led_link_m1 */ 190 <2 RK_PA6 5 &pcfg_pull_none>; 191 }; 192 193 fephym1_led_spd: fephym1-led_spd { 194 rockchip,pins = 195 /* fephy_led_spd_m1 */ 196 <2 RK_PA5 5 &pcfg_pull_none>; 197 }; 198 }; 199 200 fspi { 201 fspi_pins: fspi-pins { 202 rockchip,pins = 203 /* fspi_clk */ 204 <1 RK_PD5 2 &pcfg_pull_none>, 205 /* fspi_d0 */ 206 <1 RK_PC4 2 &pcfg_pull_none>, 207 /* fspi_d1 */ 208 <1 RK_PC5 2 &pcfg_pull_none>, 209 /* fspi_d2 */ 210 <1 RK_PC6 2 &pcfg_pull_none>, 211 /* fspi_d3 */ 212 <1 RK_PC7 2 &pcfg_pull_none>; 213 }; 214 215 fspi_csn0: fspi-csn0 { 216 rockchip,pins = 217 /* fspi_csn0 */ 218 <1 RK_PD0 2 &pcfg_pull_none>; 219 }; 220 fspi_csn1: fspi-csn1 { 221 rockchip,pins = 222 /* fspi_csn1 */ 223 <1 RK_PD1 2 &pcfg_pull_none>; 224 }; 225 }; 226 227 gpu { 228 gpu_pins: gpu-pins { 229 rockchip,pins = 230 /* gpu_avs */ 231 <4 RK_PC3 3 &pcfg_pull_none>; 232 }; 233 }; 234 235 hdmi { 236 hdmi_pins: hdmi-pins { 237 rockchip,pins = 238 /* hdmi_tx_cec */ 239 <0 RK_PA3 1 &pcfg_pull_none>, 240 /* hdmi_tx_hpd */ 241 <0 RK_PA2 1 &pcfg_pull_none>, 242 /* hdmi_tx_scl */ 243 <0 RK_PA4 1 &pcfg_pull_none>, 244 /* hdmi_tx_sda */ 245 <0 RK_PA5 1 &pcfg_pull_none>; 246 }; 247 }; 248 249 hsm { 250 hsmm0_pins: hsmm0-pins { 251 rockchip,pins = 252 /* hsm_clk_out_m0 */ 253 <2 RK_PA2 4 &pcfg_pull_none>; 254 }; 255 256 hsmm1_pins: hsmm1-pins { 257 rockchip,pins = 258 /* hsm_clk_out_m1 */ 259 <1 RK_PA4 3 &pcfg_pull_none>; 260 }; 261 }; 262 263 i2c0 { 264 i2c0m0_xfer: i2c0m0-xfer { 265 rockchip,pins = 266 /* i2c0_scl_m0 */ 267 <4 RK_PC4 2 &pcfg_pull_none_smt>, 268 /* i2c0_sda_m0 */ 269 <4 RK_PC3 2 &pcfg_pull_none_smt>; 270 }; 271 272 i2c0m1_xfer: i2c0m1-xfer { 273 rockchip,pins = 274 /* i2c0_scl_m1 */ 275 <4 RK_PA1 2 &pcfg_pull_none_smt>, 276 /* i2c0_sda_m1 */ 277 <4 RK_PA0 2 &pcfg_pull_none_smt>; 278 }; 279 }; 280 281 i2c1 { 282 i2c1m0_xfer: i2c1m0-xfer { 283 rockchip,pins = 284 /* i2c1_scl_m0 */ 285 <4 RK_PA3 2 &pcfg_pull_none_smt>, 286 /* i2c1_sda_m0 */ 287 <4 RK_PA2 2 &pcfg_pull_none_smt>; 288 }; 289 290 i2c1m1_xfer: i2c1m1-xfer { 291 rockchip,pins = 292 /* i2c1_scl_m1 */ 293 <4 RK_PC5 4 &pcfg_pull_none_smt>, 294 /* i2c1_sda_m1 */ 295 <4 RK_PC6 4 &pcfg_pull_none_smt>; 296 }; 297 }; 298 299 i2c2 { 300 i2c2m0_xfer: i2c2m0-xfer { 301 rockchip,pins = 302 /* i2c2_scl_m0 */ 303 <0 RK_PA4 2 &pcfg_pull_none_smt>, 304 /* i2c2_sda_m0 */ 305 <0 RK_PA5 2 &pcfg_pull_none_smt>; 306 }; 307 308 i2c2m1_xfer: i2c2m1-xfer { 309 rockchip,pins = 310 /* i2c2_scl_m1 */ 311 <1 RK_PA5 3 &pcfg_pull_none_smt>, 312 /* i2c2_sda_m1 */ 313 <1 RK_PA6 3 &pcfg_pull_none_smt>; 314 }; 315 }; 316 317 i2c3 { 318 i2c3m0_xfer: i2c3m0-xfer { 319 rockchip,pins = 320 /* i2c3_scl_m0 */ 321 <1 RK_PA0 2 &pcfg_pull_none_smt>, 322 /* i2c3_sda_m0 */ 323 <1 RK_PA1 2 &pcfg_pull_none_smt>; 324 }; 325 326 i2c3m1_xfer: i2c3m1-xfer { 327 rockchip,pins = 328 /* i2c3_scl_m1 */ 329 <3 RK_PC1 5 &pcfg_pull_none_smt>, 330 /* i2c3_sda_m1 */ 331 <3 RK_PC3 5 &pcfg_pull_none_smt>; 332 }; 333 }; 334 335 i2c4 { 336 i2c4_xfer: i2c4-xfer { 337 rockchip,pins = 338 /* i2c4_scl */ 339 <2 RK_PA0 4 &pcfg_pull_none_smt>, 340 /* i2c4_sda */ 341 <2 RK_PA1 4 &pcfg_pull_none_smt>; 342 }; 343 }; 344 345 i2c5 { 346 i2c5m0_xfer: i2c5m0-xfer { 347 rockchip,pins = 348 /* i2c5_scl_m0 */ 349 <1 RK_PB2 3 &pcfg_pull_none_smt>, 350 /* i2c5_sda_m0 */ 351 <1 RK_PB3 3 &pcfg_pull_none_smt>; 352 }; 353 354 i2c5m1_xfer: i2c5m1-xfer { 355 rockchip,pins = 356 /* i2c5_scl_m1 */ 357 <1 RK_PD2 3 &pcfg_pull_none_smt>, 358 /* i2c5_sda_m1 */ 359 <1 RK_PD3 3 &pcfg_pull_none_smt>; 360 }; 361 }; 362 363 i2c6 { 364 i2c6m0_xfer: i2c6m0-xfer { 365 rockchip,pins = 366 /* i2c6_scl_m0 */ 367 <3 RK_PB2 5 &pcfg_pull_none_smt>, 368 /* i2c6_sda_m0 */ 369 <3 RK_PB3 5 &pcfg_pull_none_smt>; 370 }; 371 372 i2c6m1_xfer: i2c6m1-xfer { 373 rockchip,pins = 374 /* i2c6_scl_m1 */ 375 <1 RK_PD4 3 &pcfg_pull_none_smt>, 376 /* i2c6_sda_m1 */ 377 <1 RK_PD7 3 &pcfg_pull_none_smt>; 378 }; 379 }; 380 381 i2c7 { 382 i2c7_xfer: i2c7-xfer { 383 rockchip,pins = 384 /* i2c7_scl */ 385 <2 RK_PA5 4 &pcfg_pull_none_smt>, 386 /* i2c7_sda */ 387 <2 RK_PA6 4 &pcfg_pull_none_smt>; 388 }; 389 }; 390 391 i2s0 { 392 i2s0m0_pins: i2s0m0-pins { 393 rockchip,pins = 394 /* i2s0_lrck_m0 */ 395 <3 RK_PB6 1 &pcfg_pull_none>, 396 /* i2s0_mclk_m0 */ 397 <3 RK_PB4 1 &pcfg_pull_none>, 398 /* i2s0_sclk_m0 */ 399 <3 RK_PB5 1 &pcfg_pull_none>, 400 /* i2s0_sdi_m0 */ 401 <3 RK_PB7 1 &pcfg_pull_none>, 402 /* i2s0_sdo_m0 */ 403 <3 RK_PC0 1 &pcfg_pull_none>; 404 }; 405 406 i2s0m1_pins: i2s0m1-pins { 407 rockchip,pins = 408 /* i2s0_lrck_m1 */ 409 <1 RK_PB6 1 &pcfg_pull_none>, 410 /* i2s0_mclk_m1 */ 411 <1 RK_PB4 1 &pcfg_pull_none>, 412 /* i2s0_sclk_m1 */ 413 <1 RK_PB5 1 &pcfg_pull_none>, 414 /* i2s0_sdi_m1 */ 415 <1 RK_PB7 1 &pcfg_pull_none>, 416 /* i2s0_sdo_m1 */ 417 <1 RK_PC0 1 &pcfg_pull_none>; 418 }; 419 }; 420 421 i2s1 { 422 i2s1_pins: i2s1-pins { 423 rockchip,pins = 424 /* i2s1_lrck */ 425 <4 RK_PA6 1 &pcfg_pull_none>, 426 /* i2s1_mclk */ 427 <4 RK_PA4 1 &pcfg_pull_none>, 428 /* i2s1_sclk */ 429 <4 RK_PA5 1 &pcfg_pull_none>, 430 /* i2s1_sdi0 */ 431 <4 RK_PB4 1 &pcfg_pull_none>, 432 /* i2s1_sdi1 */ 433 <4 RK_PB3 1 &pcfg_pull_none>, 434 /* i2s1_sdi2 */ 435 <4 RK_PA3 1 &pcfg_pull_none>, 436 /* i2s1_sdi3 */ 437 <4 RK_PA2 1 &pcfg_pull_none>, 438 /* i2s1_sdo0 */ 439 <4 RK_PA7 1 &pcfg_pull_none>, 440 /* i2s1_sdo1 */ 441 <4 RK_PB0 1 &pcfg_pull_none>, 442 /* i2s1_sdo2 */ 443 <4 RK_PB1 1 &pcfg_pull_none>, 444 /* i2s1_sdo3 */ 445 <4 RK_PB2 1 &pcfg_pull_none>; 446 }; 447 }; 448 449 jtag { 450 jtagm0_pins: jtagm0-pins { 451 rockchip,pins = 452 /* jtag_cpu_tck_m0 */ 453 <2 RK_PA2 2 &pcfg_pull_none>, 454 /* jtag_cpu_tms_m0 */ 455 <2 RK_PA3 2 &pcfg_pull_none>, 456 /* jtag_mcu_tck_m0 */ 457 <2 RK_PA4 2 &pcfg_pull_none>, 458 /* jtag_mcu_tms_m0 */ 459 <2 RK_PA5 2 &pcfg_pull_none>; 460 }; 461 462 jtagm1_pins: jtagm1-pins { 463 rockchip,pins = 464 /* jtag_cpu_tck_m1 */ 465 <4 RK_PD0 2 &pcfg_pull_none>, 466 /* jtag_cpu_tms_m1 */ 467 <4 RK_PC7 2 &pcfg_pull_none>, 468 /* jtag_mcu_tck_m1 */ 469 <4 RK_PD0 3 &pcfg_pull_none>, 470 /* jtag_mcu_tms_m1 */ 471 <4 RK_PC7 3 &pcfg_pull_none>; 472 }; 473 }; 474 475 pcie { 476 pciem0_pins: pciem0-pins { 477 rockchip,pins = 478 /* pcie_clkreqn_m0 */ 479 <3 RK_PA6 5 &pcfg_pull_none>, 480 /* pcie_perstn_m0 */ 481 <3 RK_PB0 5 &pcfg_pull_none>, 482 /* pcie_waken_m0 */ 483 <3 RK_PA7 5 &pcfg_pull_none>; 484 }; 485 486 pciem1_pins: pciem1-pins { 487 rockchip,pins = 488 /* pcie_clkreqn_m1 */ 489 <1 RK_PA0 4 &pcfg_pull_none>, 490 /* pcie_perstn_m1 */ 491 <1 RK_PA2 4 &pcfg_pull_none>, 492 /* pcie_waken_m1 */ 493 <1 RK_PA1 4 &pcfg_pull_none>; 494 }; 495 }; 496 497 pdm { 498 pdm_clk0: pdm-clk0 { 499 rockchip,pins = 500 /* pdm_clk0 */ 501 <4 RK_PB5 3 &pcfg_pull_none>; 502 }; 503 504 pdm_clk1: pdm-clk1 { 505 rockchip,pins = 506 /* pdm_clk1 */ 507 <4 RK_PA4 3 &pcfg_pull_none>; 508 }; 509 510 pdm_sdi0: pdm-sdi0 { 511 rockchip,pins = 512 /* pdm_sdi0 */ 513 <4 RK_PB2 3 &pcfg_pull_none>; 514 }; 515 516 pdm_sdi1: pdm-sdi1 { 517 rockchip,pins = 518 /* pdm_sdi1 */ 519 <4 RK_PB1 3 &pcfg_pull_none>; 520 }; 521 522 pdm_sdi2: pdm-sdi2 { 523 rockchip,pins = 524 /* pdm_sdi2 */ 525 <4 RK_PB3 3 &pcfg_pull_none>; 526 }; 527 528 pdm_sdi3: pdm-sdi3 { 529 rockchip,pins = 530 /* pdm_sdi3 */ 531 <4 RK_PC1 3 &pcfg_pull_none>; 532 }; 533 }; 534 535 pmu { 536 pmu_pins: pmu-pins { 537 rockchip,pins = 538 /* pmu_debug */ 539 <4 RK_PA0 4 &pcfg_pull_none>; 540 }; 541 }; 542 543 pwm0 { 544 pwm0m0_pins: pwm0m0-pins { 545 rockchip,pins = 546 /* pwm0_m0 */ 547 <4 RK_PC3 1 &pcfg_pull_none>; 548 }; 549 550 pwm0m1_pins: pwm0m1-pins { 551 rockchip,pins = 552 /* pwm0_m1 */ 553 <1 RK_PA2 5 &pcfg_pull_none>; 554 }; 555 }; 556 557 pwm1 { 558 pwm1m0_pins: pwm1m0-pins { 559 rockchip,pins = 560 /* pwm1_m0 */ 561 <4 RK_PC4 1 &pcfg_pull_none>; 562 }; 563 564 pwm1m1_pins: pwm1m1-pins { 565 rockchip,pins = 566 /* pwm1_m1 */ 567 <1 RK_PA3 4 &pcfg_pull_none>; 568 }; 569 }; 570 571 pwm2 { 572 pwm2m0_pins: pwm2m0-pins { 573 rockchip,pins = 574 /* pwm2_m0 */ 575 <4 RK_PC5 1 &pcfg_pull_none>; 576 }; 577 578 pwm2m1_pins: pwm2m1-pins { 579 rockchip,pins = 580 /* pwm2_m1 */ 581 <1 RK_PA7 2 &pcfg_pull_none>; 582 }; 583 }; 584 585 pwm3 { 586 pwm3m0_pins: pwm3m0-pins { 587 rockchip,pins = 588 /* pwm3_m0 */ 589 <4 RK_PC6 1 &pcfg_pull_none>; 590 }; 591 592 pwm3m1_pins: pwm3m1-pins { 593 rockchip,pins = 594 /* pwm3_m1 */ 595 <2 RK_PA4 3 &pcfg_pull_none>; 596 }; 597 }; 598 599 pwm4 { 600 pwm4m0_pins: pwm4m0-pins { 601 rockchip,pins = 602 /* pwm4_m0 */ 603 <4 RK_PB7 1 &pcfg_pull_none>; 604 }; 605 606 pwm4m1_pins: pwm4m1-pins { 607 rockchip,pins = 608 /* pwm4_m1 */ 609 <1 RK_PA4 2 &pcfg_pull_none>; 610 }; 611 }; 612 613 pwm5 { 614 pwm5m0_pins: pwm5m0-pins { 615 rockchip,pins = 616 /* pwm5_m0 */ 617 <4 RK_PC0 1 &pcfg_pull_none>; 618 }; 619 620 pwm5m1_pins: pwm5m1-pins { 621 rockchip,pins = 622 /* pwm5_m1 */ 623 <3 RK_PC3 1 &pcfg_pull_none>; 624 }; 625 }; 626 627 pwm6 { 628 pwm6m0_pins: pwm6m0-pins { 629 rockchip,pins = 630 /* pwm6_m0 */ 631 <4 RK_PC1 1 &pcfg_pull_none>; 632 }; 633 634 pwm6m1_pins: pwm6m1-pins { 635 rockchip,pins = 636 /* pwm6_m1 */ 637 <1 RK_PC3 3 &pcfg_pull_none>; 638 }; 639 640 pwm6m2_pins: pwm6m2-pins { 641 rockchip,pins = 642 /* pwm6_m2 */ 643 <3 RK_PC1 1 &pcfg_pull_none>; 644 }; 645 }; 646 647 pwm7 { 648 pwm7m0_pins: pwm7m0-pins { 649 rockchip,pins = 650 /* pwm7_m0 */ 651 <4 RK_PC2 1 &pcfg_pull_none>; 652 }; 653 654 pwm7m1_pins: pwm7m1-pins { 655 rockchip,pins = 656 /* pwm7_m1 */ 657 <1 RK_PC2 2 &pcfg_pull_none>; 658 }; 659 }; 660 661 pwr { 662 pwr_pins: pwr-pins { 663 rockchip,pins = 664 /* pwr_ctrl0 */ 665 <4 RK_PC2 2 &pcfg_pull_none>, 666 /* pwr_ctrl1 */ 667 <4 RK_PB6 1 &pcfg_pull_none>; 668 }; 669 }; 670 671 ref { 672 refm0_pins: refm0-pins { 673 rockchip,pins = 674 /* ref_clk_out_m0 */ 675 <0 RK_PA1 1 &pcfg_pull_none>; 676 }; 677 678 refm1_pins: refm1-pins { 679 rockchip,pins = 680 /* ref_clk_out_m1 */ 681 <3 RK_PC3 6 &pcfg_pull_none>; 682 }; 683 }; 684 685 rgmii { 686 rgmii_miim: rgmii-miim { 687 rockchip,pins = 688 /* rgmii_mdc */ 689 <3 RK_PB6 2 &pcfg_pull_none>, 690 /* rgmii_mdio */ 691 <3 RK_PB7 2 &pcfg_pull_none>; 692 }; 693 694 rgmii_rx_bus2: rgmii-rx_bus2 { 695 rockchip,pins = 696 /* rgmii_rxd0 */ 697 <3 RK_PA3 2 &pcfg_pull_none>, 698 /* rgmii_rxd1 */ 699 <3 RK_PA2 2 &pcfg_pull_none>, 700 /* rgmii_rxdv_crs */ 701 <3 RK_PC2 2 &pcfg_pull_none>; 702 }; 703 704 rgmii_tx_bus2: rgmii-tx_bus2 { 705 rockchip,pins = 706 /* rgmii_txd0 */ 707 <3 RK_PA1 2 &pcfg_pull_none>, 708 /* rgmii_txd1 */ 709 <3 RK_PA0 2 &pcfg_pull_none>, 710 /* rgmii_txen */ 711 <3 RK_PC0 2 &pcfg_pull_none>; 712 }; 713 714 rgmii_rgmii_clk: rgmii-rgmii_clk { 715 rockchip,pins = 716 /* rgmii_rxclk */ 717 <3 RK_PA5 2 &pcfg_pull_none>, 718 /* rgmii_txclk */ 719 <3 RK_PA4 2 &pcfg_pull_none>; 720 }; 721 722 rgmii_rgmii_bus: rgmii-rgmii_bus { 723 rockchip,pins = 724 /* rgmii_rxd2 */ 725 <3 RK_PA7 2 &pcfg_pull_none>, 726 /* rgmii_rxd3 */ 727 <3 RK_PA6 2 &pcfg_pull_none>, 728 /* rgmii_txd2 */ 729 <3 RK_PB1 2 &pcfg_pull_none>, 730 /* rgmii_txd3 */ 731 <3 RK_PB0 2 &pcfg_pull_none>; 732 }; 733 734 rgmii_clk: rgmii-clk { 735 rockchip,pins = 736 /* rgmii_clk */ 737 <3 RK_PB4 2 &pcfg_pull_none>; 738 }; 739 rgmii_txer: rgmii-txer { 740 rockchip,pins = 741 /* rgmii_txer */ 742 <3 RK_PC1 2 &pcfg_pull_none>; 743 }; 744 }; 745 746 scr { 747 scrm0_pins: scrm0-pins { 748 rockchip,pins = 749 /* scr_clk_m0 */ 750 <1 RK_PA2 3 &pcfg_pull_none>, 751 /* scr_data_m0 */ 752 <1 RK_PA1 3 &pcfg_pull_none>, 753 /* scr_detn_m0 */ 754 <1 RK_PA0 3 &pcfg_pull_none>, 755 /* scr_rstn_m0 */ 756 <1 RK_PA3 3 &pcfg_pull_none>; 757 }; 758 759 scrm1_pins: scrm1-pins { 760 rockchip,pins = 761 /* scr_clk_m1 */ 762 <2 RK_PA5 3 &pcfg_pull_none>, 763 /* scr_data_m1 */ 764 <2 RK_PA3 4 &pcfg_pull_none>, 765 /* scr_detn_m1 */ 766 <2 RK_PA6 3 &pcfg_pull_none>, 767 /* scr_rstn_m1 */ 768 <2 RK_PA4 4 &pcfg_pull_none>; 769 }; 770 }; 771 772 sdio0 { 773 sdio0_bus4: sdio0-bus4 { 774 rockchip,pins = 775 /* sdio0_d0 */ 776 <1 RK_PA0 1 &pcfg_pull_up_drv_level_2>, 777 /* sdio0_d1 */ 778 <1 RK_PA1 1 &pcfg_pull_up_drv_level_2>, 779 /* sdio0_d2 */ 780 <1 RK_PA2 1 &pcfg_pull_up_drv_level_2>, 781 /* sdio0_d3 */ 782 <1 RK_PA3 1 &pcfg_pull_up_drv_level_2>; 783 }; 784 785 sdio0_clk: sdio0-clk { 786 rockchip,pins = 787 /* sdio0_clk */ 788 <1 RK_PA5 1 &pcfg_pull_up_drv_level_2>; 789 }; 790 791 sdio0_cmd: sdio0-cmd { 792 rockchip,pins = 793 /* sdio0_cmd */ 794 <1 RK_PA4 1 &pcfg_pull_up_drv_level_2>; 795 }; 796 797 sdio0_det: sdio0-det { 798 rockchip,pins = 799 /* sdio0_det */ 800 <1 RK_PA6 1 &pcfg_pull_up>; 801 }; 802 803 sdio0_pwren: sdio0-pwren { 804 rockchip,pins = 805 /* sdio0_pwren */ 806 <1 RK_PA7 1 &pcfg_pull_none>; 807 }; 808 }; 809 810 sdio1 { 811 sdio1_bus4: sdio1-bus4 { 812 rockchip,pins = 813 /* sdio1_d0 */ 814 <3 RK_PA6 1 &pcfg_pull_up_drv_level_2>, 815 /* sdio1_d1 */ 816 <3 RK_PA7 1 &pcfg_pull_up_drv_level_2>, 817 /* sdio1_d2 */ 818 <3 RK_PB0 1 &pcfg_pull_up_drv_level_2>, 819 /* sdio1_d3 */ 820 <3 RK_PB1 1 &pcfg_pull_up_drv_level_2>; 821 }; 822 823 sdio1_clk: sdio1-clk { 824 rockchip,pins = 825 /* sdio1_clk */ 826 <3 RK_PA4 1 &pcfg_pull_up_drv_level_2>; 827 }; 828 829 sdio1_cmd: sdio1-cmd { 830 rockchip,pins = 831 /* sdio1_cmd */ 832 <3 RK_PA5 1 &pcfg_pull_up_drv_level_2>; 833 }; 834 835 sdio1_det: sdio1-det { 836 rockchip,pins = 837 /* sdio1_det */ 838 <3 RK_PB3 1 &pcfg_pull_up>; 839 }; 840 841 sdio1_pwren: sdio1-pwren { 842 rockchip,pins = 843 /* sdio1_pwren */ 844 <3 RK_PB2 1 &pcfg_pull_none>; 845 }; 846 }; 847 848 sdmmc_pins: sdmmc-pins { 849 sdmmc_bus4: sdmmc-bus4 { 850 rockchip,pins = 851 /* sdmmc_d0 */ 852 <2 RK_PA0 1 &pcfg_pull_up_drv_level_2>, 853 /* sdmmc_d1 */ 854 <2 RK_PA1 1 &pcfg_pull_up_drv_level_2>, 855 /* sdmmc_d2 */ 856 <2 RK_PA2 1 &pcfg_pull_up_drv_level_2>, 857 /* sdmmc_d3 */ 858 <2 RK_PA3 1 &pcfg_pull_up_drv_level_2>; 859 }; 860 861 sdmmc_clk: sdmmc-clk { 862 rockchip,pins = 863 /* sdmmc_clk */ 864 <2 RK_PA5 1 &pcfg_pull_up_drv_level_2>; 865 }; 866 867 sdmmc_cmd: sdmmc-cmd { 868 rockchip,pins = 869 /* sdmmc_cmd */ 870 <2 RK_PA4 1 &pcfg_pull_up_drv_level_2>; 871 }; 872 873 sdmmc_det: sdmmc-det { 874 rockchip,pins = 875 /* sdmmc_detn */ 876 <2 RK_PA6 1 &pcfg_pull_up>; 877 }; 878 879 sdmmc_pwren: sdmmc-pwren { 880 rockchip,pins = 881 /* sdmmc_pwren */ 882 <4 RK_PA1 1 &pcfg_pull_none>; 883 }; 884 }; 885 886 spdif { 887 spdifm0_pins: spdifm0-pins { 888 rockchip,pins = 889 /* spdif_tx_m0 */ 890 <4 RK_PA0 1 &pcfg_pull_none>; 891 }; 892 893 spdifm1_pins: spdifm1-pins { 894 rockchip,pins = 895 /* spdif_tx_m1 */ 896 <1 RK_PC3 2 &pcfg_pull_none>; 897 }; 898 899 spdifm2_pins: spdifm2-pins { 900 rockchip,pins = 901 /* spdif_tx_m2 */ 902 <3 RK_PC3 2 &pcfg_pull_none>; 903 }; 904 }; 905 906 spi0 { 907 spi0_pins: spi0-pins { 908 rockchip,pins = 909 /* spi0_clk */ 910 <4 RK_PB4 2 &pcfg_pull_none>, 911 /* spi0_miso */ 912 <4 RK_PB3 2 &pcfg_pull_none>, 913 /* spi0_mosi */ 914 <4 RK_PB2 2 &pcfg_pull_none>; 915 }; 916 917 spi0_csn0: spi0-csn0 { 918 rockchip,pins = 919 /* spi0_csn0 */ 920 <4 RK_PB6 2 &pcfg_pull_none>; 921 }; 922 spi0_csn1: spi0-csn1 { 923 rockchip,pins = 924 /* spi0_csn1 */ 925 <4 RK_PC1 2 &pcfg_pull_none>; 926 }; 927 }; 928 929 spi1 { 930 spi1_pins: spi1-pins { 931 rockchip,pins = 932 /* spi1_clk */ 933 <1 RK_PB6 2 &pcfg_pull_none>, 934 /* spi1_miso */ 935 <1 RK_PC0 2 &pcfg_pull_none>, 936 /* spi1_mosi */ 937 <1 RK_PB7 2 &pcfg_pull_none>; 938 }; 939 940 spi1_csn0: spi1-csn0 { 941 rockchip,pins = 942 /* spi1_csn0 */ 943 <1 RK_PC1 1 &pcfg_pull_none>; 944 }; 945 spi1_csn1: spi1-csn1 { 946 rockchip,pins = 947 /* spi1_csn1 */ 948 <1 RK_PC2 1 &pcfg_pull_none>; 949 }; 950 }; 951 952 tsi0 { 953 tsi0_pins: tsi0-pins { 954 rockchip,pins = 955 /* tsi0_clkin */ 956 <3 RK_PB2 3 &pcfg_pull_none>, 957 /* tsi0_d0 */ 958 <3 RK_PB1 3 &pcfg_pull_none>, 959 /* tsi0_d1 */ 960 <3 RK_PB5 3 &pcfg_pull_none>, 961 /* tsi0_d2 */ 962 <3 RK_PB6 3 &pcfg_pull_none>, 963 /* tsi0_d3 */ 964 <3 RK_PB7 3 &pcfg_pull_none>, 965 /* tsi0_d4 */ 966 <3 RK_PA3 3 &pcfg_pull_none>, 967 /* tsi0_d5 */ 968 <3 RK_PA2 3 &pcfg_pull_none>, 969 /* tsi0_d6 */ 970 <3 RK_PA1 3 &pcfg_pull_none>, 971 /* tsi0_d7 */ 972 <3 RK_PA0 3 &pcfg_pull_none>, 973 /* tsi0_fail */ 974 <3 RK_PC0 3 &pcfg_pull_none>, 975 /* tsi0_sync */ 976 <3 RK_PB4 3 &pcfg_pull_none>, 977 /* tsi0_valid */ 978 <3 RK_PB3 3 &pcfg_pull_none>; 979 }; 980 }; 981 982 tsi1 { 983 tsi1_pins: tsi1-pins { 984 rockchip,pins = 985 /* tsi1_clkin */ 986 <3 RK_PA5 3 &pcfg_pull_none>, 987 /* tsi1_d0 */ 988 <3 RK_PA4 3 &pcfg_pull_none>, 989 /* tsi1_sync */ 990 <3 RK_PA7 3 &pcfg_pull_none>, 991 /* tsi1_valid */ 992 <3 RK_PA6 3 &pcfg_pull_none>; 993 }; 994 }; 995 996 uart0 { 997 uart0m0_xfer: uart0m0-xfer { 998 rockchip,pins = 999 /* uart0_rx_m0 */ 1000 <4 RK_PC7 1 &pcfg_pull_up>, 1001 /* uart0_tx_m0 */ 1002 <4 RK_PD0 1 &pcfg_pull_up>; 1003 }; 1004 1005 uart0m1_xfer: uart0m1-xfer { 1006 rockchip,pins = 1007 /* uart0_rx_m1 */ 1008 <2 RK_PA0 2 &pcfg_pull_up>, 1009 /* uart0_tx_m1 */ 1010 <2 RK_PA1 2 &pcfg_pull_up>; 1011 }; 1012 }; 1013 1014 uart1 { 1015 uart1m0_xfer: uart1m0-xfer { 1016 rockchip,pins = 1017 /* uart1_rx_m0 */ 1018 <4 RK_PA7 2 &pcfg_pull_up>, 1019 /* uart1_tx_m0 */ 1020 <4 RK_PA6 2 &pcfg_pull_up>; 1021 }; 1022 1023 uart1m1_xfer: uart1m1-xfer { 1024 rockchip,pins = 1025 /* uart1_rx_m1 */ 1026 <4 RK_PC6 2 &pcfg_pull_up>, 1027 /* uart1_tx_m1 */ 1028 <4 RK_PC5 2 &pcfg_pull_up>; 1029 }; 1030 1031 uart1_ctsn: uart1-ctsn { 1032 rockchip,pins = 1033 /* uart1_ctsn */ 1034 <4 RK_PA4 2 &pcfg_pull_none>; 1035 }; 1036 uart1_rtsn: uart1-rtsn { 1037 rockchip,pins = 1038 /* uart1_rtsn */ 1039 <4 RK_PA5 2 &pcfg_pull_none>; 1040 }; 1041 }; 1042 1043 uart2 { 1044 uart2m0_xfer: uart2m0-xfer { 1045 rockchip,pins = 1046 /* uart2_rx_m0 */ 1047 <3 RK_PA0 1 &pcfg_pull_up>, 1048 /* uart2_tx_m0 */ 1049 <3 RK_PA1 1 &pcfg_pull_up>; 1050 }; 1051 1052 uart2m0_ctsn: uart2m0-ctsn { 1053 rockchip,pins = 1054 /* uart2m0_ctsn */ 1055 <3 RK_PA3 1 &pcfg_pull_none>; 1056 }; 1057 uart2m0_rtsn: uart2m0-rtsn { 1058 rockchip,pins = 1059 /* uart2m0_rtsn */ 1060 <3 RK_PA2 1 &pcfg_pull_none>; 1061 }; 1062 1063 uart2m1_xfer: uart2m1-xfer { 1064 rockchip,pins = 1065 /* uart2_rx_m1 */ 1066 <1 RK_PB0 1 &pcfg_pull_up>, 1067 /* uart2_tx_m1 */ 1068 <1 RK_PB1 1 &pcfg_pull_up>; 1069 }; 1070 1071 uart2m1_ctsn: uart2m1-ctsn { 1072 rockchip,pins = 1073 /* uart2m1_ctsn */ 1074 <1 RK_PB3 1 &pcfg_pull_none>; 1075 }; 1076 uart2m1_rtsn: uart2m1-rtsn { 1077 rockchip,pins = 1078 /* uart2m1_rtsn */ 1079 <1 RK_PB2 1 &pcfg_pull_none>; 1080 }; 1081 }; 1082 1083 uart3 { 1084 uart3m0_xfer: uart3m0-xfer { 1085 rockchip,pins = 1086 /* uart3_rx_m0 */ 1087 <4 RK_PB0 2 &pcfg_pull_up>, 1088 /* uart3_tx_m0 */ 1089 <4 RK_PB1 2 &pcfg_pull_up>; 1090 }; 1091 1092 uart3m1_xfer: uart3m1-xfer { 1093 rockchip,pins = 1094 /* uart3_rx_m1 */ 1095 <4 RK_PB7 3 &pcfg_pull_up>, 1096 /* uart3_tx_m1 */ 1097 <4 RK_PC0 3 &pcfg_pull_up>; 1098 }; 1099 1100 uart3_ctsn: uart3-ctsn { 1101 rockchip,pins = 1102 /* uart3_ctsn */ 1103 <4 RK_PA3 3 &pcfg_pull_none>; 1104 }; 1105 uart3_rtsn: uart3-rtsn { 1106 rockchip,pins = 1107 /* uart3_rtsn */ 1108 <4 RK_PA2 3 &pcfg_pull_none>; 1109 }; 1110 }; 1111 1112 uart4 { 1113 uart4_xfer: uart4-xfer { 1114 rockchip,pins = 1115 /* uart4_rx */ 1116 <2 RK_PA2 3 &pcfg_pull_up>, 1117 /* uart4_tx */ 1118 <2 RK_PA3 3 &pcfg_pull_up>; 1119 }; 1120 1121 uart4_ctsn: uart4-ctsn { 1122 rockchip,pins = 1123 /* uart4_ctsn */ 1124 <2 RK_PA1 3 &pcfg_pull_none>; 1125 }; 1126 uart4_rtsn: uart4-rtsn { 1127 rockchip,pins = 1128 /* uart4_rtsn */ 1129 <2 RK_PA0 3 &pcfg_pull_none>; 1130 }; 1131 }; 1132 1133 uart5 { 1134 uart5m0_xfer: uart5m0-xfer { 1135 rockchip,pins = 1136 /* uart5_rx_m0 */ 1137 <1 RK_PA2 2 &pcfg_pull_up>, 1138 /* uart5_tx_m0 */ 1139 <1 RK_PA3 2 &pcfg_pull_up>; 1140 }; 1141 1142 uart5m0_ctsn: uart5m0-ctsn { 1143 rockchip,pins = 1144 /* uart5m0_ctsn */ 1145 <1 RK_PA6 2 &pcfg_pull_none>; 1146 }; 1147 uart5m0_rtsn: uart5m0-rtsn { 1148 rockchip,pins = 1149 /* uart5m0_rtsn */ 1150 <1 RK_PA5 2 &pcfg_pull_none>; 1151 }; 1152 1153 uart5m1_xfer: uart5m1-xfer { 1154 rockchip,pins = 1155 /* uart5_rx_m1 */ 1156 <1 RK_PD4 2 &pcfg_pull_up>, 1157 /* uart5_tx_m1 */ 1158 <1 RK_PD7 2 &pcfg_pull_up>; 1159 }; 1160 1161 uart5m1_ctsn: uart5m1-ctsn { 1162 rockchip,pins = 1163 /* uart5m1_ctsn */ 1164 <1 RK_PD3 2 &pcfg_pull_none>; 1165 }; 1166 uart5m1_rtsn: uart5m1-rtsn { 1167 rockchip,pins = 1168 /* uart5m1_rtsn */ 1169 <1 RK_PD2 2 &pcfg_pull_none>; 1170 }; 1171 }; 1172 1173 uart6 { 1174 uart6m0_xfer: uart6m0-xfer { 1175 rockchip,pins = 1176 /* uart6_rx_m0 */ 1177 <3 RK_PA7 4 &pcfg_pull_up>, 1178 /* uart6_tx_m0 */ 1179 <3 RK_PA6 4 &pcfg_pull_up>; 1180 }; 1181 1182 uart6m1_xfer: uart6m1-xfer { 1183 rockchip,pins = 1184 /* uart6_rx_m1 */ 1185 <3 RK_PC3 4 &pcfg_pull_up>, 1186 /* uart6_tx_m1 */ 1187 <3 RK_PC1 4 &pcfg_pull_up>; 1188 }; 1189 1190 uart6_ctsn: uart6-ctsn { 1191 rockchip,pins = 1192 /* uart6_ctsn */ 1193 <3 RK_PA4 4 &pcfg_pull_none>; 1194 }; 1195 uart6_rtsn: uart6-rtsn { 1196 rockchip,pins = 1197 /* uart6_rtsn */ 1198 <3 RK_PA5 4 &pcfg_pull_none>; 1199 }; 1200 }; 1201 1202 uart7 { 1203 uart7m0_xfer: uart7m0-xfer { 1204 rockchip,pins = 1205 /* uart7_rx_m0 */ 1206 <3 RK_PB3 4 &pcfg_pull_up>, 1207 /* uart7_tx_m0 */ 1208 <3 RK_PB2 4 &pcfg_pull_up>; 1209 }; 1210 1211 uart7m0_ctsn: uart7m0-ctsn { 1212 rockchip,pins = 1213 /* uart7m0_ctsn */ 1214 <3 RK_PB0 4 &pcfg_pull_none>; 1215 }; 1216 uart7m0_rtsn: uart7m0-rtsn { 1217 rockchip,pins = 1218 /* uart7m0_rtsn */ 1219 <3 RK_PB1 4 &pcfg_pull_none>; 1220 }; 1221 1222 uart7m1_xfer: uart7m1-xfer { 1223 rockchip,pins = 1224 /* uart7_rx_m1 */ 1225 <1 RK_PB3 4 &pcfg_pull_up>, 1226 /* uart7_tx_m1 */ 1227 <1 RK_PB2 4 &pcfg_pull_up>; 1228 }; 1229 1230 uart7m1_ctsn: uart7m1-ctsn { 1231 rockchip,pins = 1232 /* uart7m1_ctsn */ 1233 <1 RK_PB0 4 &pcfg_pull_none>; 1234 }; 1235 uart7m1_rtsn: uart7m1-rtsn { 1236 rockchip,pins = 1237 /* uart7m1_rtsn */ 1238 <1 RK_PB1 4 &pcfg_pull_none>; 1239 }; 1240 }; 1241}; 1242