1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2024 Firefly Technology Co. Ltd 4 * Copyright (c) 2024 Heiko Stuebner <heiko@sntech.de> 5 */ 6 7/dts-v1/; 8 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/input/input.h> 11#include <dt-bindings/pinctrl/rockchip.h> 12#include <dt-bindings/pwm/pwm.h> 13#include <dt-bindings/usb/pd.h> 14#include "rk3576.dtsi" 15 16/ { 17 model = "Firefly ROC-RK3576-PC"; 18 compatible = "firefly,roc-rk3576-pc", "rockchip,rk3576"; 19 20 aliases { 21 mmc0 = &sdhci; 22 mmc1 = &sdmmc; 23 }; 24 25 chosen { 26 stdout-path = "serial0:1500000n8"; 27 }; 28 29 adc-keys-0 { 30 compatible = "adc-keys"; 31 io-channels = <&saradc 0>; 32 io-channel-names = "buttons"; 33 keyup-threshold-microvolt = <1800000>; 34 poll-interval = <100>; 35 36 button-maskrom { 37 label = "Maskrom"; 38 linux,code = <KEY_SETUP>; 39 press-threshold-microvolt = <17000>; 40 }; 41 }; 42 43 adc-keys-1 { 44 compatible = "adc-keys"; 45 io-channels = <&saradc 1>; 46 io-channel-names = "buttons"; 47 keyup-threshold-microvolt = <1800000>; 48 poll-interval = <100>; 49 50 button-recovery { 51 label = "Recovery"; 52 linux,code = <KEY_VENDOR>; 53 press-threshold-microvolt = <17000>; 54 }; 55 }; 56 57 vbus5v0_typec: regulator-vbus5v0-typec { 58 compatible = "regulator-fixed"; 59 enable-active-high; 60 gpio = <&gpio0 RK_PD1 GPIO_ACTIVE_HIGH>; 61 pinctrl-names = "default"; 62 pinctrl-0 = <&usb_otg0_pwren_h>; 63 regulator-name = "vbus5v0_typec"; 64 regulator-min-microvolt = <5000000>; 65 regulator-max-microvolt = <5000000>; 66 vin-supply = <&vcc5v0_device_s0>; 67 }; 68 69 vcc12v_dcin: regulator-vcc12v-dcin { 70 compatible = "regulator-fixed"; 71 regulator-name = "vcc12v_dcin"; 72 regulator-always-on; 73 regulator-boot-on; 74 regulator-min-microvolt = <12000000>; 75 regulator-max-microvolt = <12000000>; 76 }; 77 78 vcc1v2_ufs_vccq_s0: regulator-vcc1v2-ufs-vccq-s0 { 79 compatible = "regulator-fixed"; 80 regulator-name = "vcc1v2_ufs_vccq_s0"; 81 regulator-boot-on; 82 regulator-always-on; 83 regulator-min-microvolt = <1200000>; 84 regulator-max-microvolt = <1200000>; 85 vin-supply = <&vcc5v0_sys_s5>; 86 }; 87 88 vcc1v8_ufs_vccq2_s0: regulator-vcc1v8-ufs-vccq2-s0 { 89 compatible = "regulator-fixed"; 90 regulator-name = "vcc1v8_ufs_vccq2_s0"; 91 regulator-boot-on; 92 regulator-always-on; 93 regulator-min-microvolt = <1800000>; 94 regulator-max-microvolt = <1800000>; 95 vin-supply = <&vcc_1v8_s3>; 96 }; 97 98 vcc3v3_pcie: regulator-vcc3v3-pcie { 99 compatible = "regulator-fixed"; 100 enable-active-high; 101 gpio = <&gpio2 RK_PB3 GPIO_ACTIVE_HIGH>; 102 pinctrl-names = "default"; 103 pinctrl-0 = <&pcie_pwren_h>; 104 regulator-name = "vcc3v3_pcie"; 105 regulator-min-microvolt = <3300000>; 106 regulator-max-microvolt = <3300000>; 107 startup-delay-us = <5000>; 108 vin-supply = <&vcc12v_dcin>; 109 }; 110 111 vcc3v3_rtc_s5: regulator-vcc3v3-rtc-s5 { 112 compatible = "regulator-fixed"; 113 regulator-name = "vcc3v3_rtc_s5"; 114 regulator-boot-on; 115 regulator-always-on; 116 regulator-min-microvolt = <3300000>; 117 regulator-max-microvolt = <3300000>; 118 vin-supply = <&vcc5v0_sys_s5>; 119 }; 120 121 vcc5v0_device_s0: regulator-vcc5v0-device-s0 { 122 compatible = "regulator-fixed"; 123 enable-active-high; 124 gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; 125 pinctrl-names = "default"; 126 pinctrl-0 = <&vcc5vd_en>; 127 regulator-name = "vcc5v0_device"; 128 regulator-always-on; 129 regulator-boot-on; 130 regulator-min-microvolt = <5000000>; 131 regulator-max-microvolt = <5000000>; 132 vin-supply = <&vcc12v_dcin>; 133 }; 134 135 vcc5v0_sys_s5: regulator-vcc5v0-sys-s5 { 136 compatible = "regulator-fixed"; 137 regulator-name = "vcc_sys"; 138 regulator-always-on; 139 regulator-boot-on; 140 regulator-min-microvolt = <5000000>; 141 regulator-max-microvolt = <5000000>; 142 vin-supply = <&vcc12v_dcin>; 143 }; 144 145 vcc5v0_usb20_host1: regulator-vcc5v0-usb20-host1 { 146 compatible = "regulator-fixed"; 147 enable-active-high; 148 gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; 149 pinctrl-names = "default"; 150 pinctrl-0 = <&usb3_host_pwren_h>; 151 regulator-name = "vcc5v0_host1"; 152 regulator-min-microvolt = <5000000>; 153 regulator-max-microvolt = <5000000>; 154 vin-supply = <&vcc5v0_device_s0>; 155 }; 156 157 vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 158 compatible = "regulator-fixed"; 159 regulator-name = "vcc_1v1_nldo_s3"; 160 regulator-boot-on; 161 regulator-always-on; 162 regulator-min-microvolt = <1100000>; 163 regulator-max-microvolt = <1100000>; 164 vin-supply = <&vcc5v0_sys_s5>; 165 }; 166 167 vcc_1v8_s0: regulator-vcc-1v8-s0 { 168 compatible = "regulator-fixed"; 169 regulator-name = "vcc_1v8_s0"; 170 regulator-boot-on; 171 regulator-always-on; 172 regulator-min-microvolt = <1800000>; 173 regulator-max-microvolt = <1800000>; 174 vin-supply = <&vcc_1v8_s3>; 175 }; 176 177 vcc_2v0_pldo_s3: regulator-vcc-2v0-pldo-s3 { 178 compatible = "regulator-fixed"; 179 regulator-name = "vcc_2v0_pldo_s3"; 180 regulator-boot-on; 181 regulator-always-on; 182 regulator-min-microvolt = <2000000>; 183 regulator-max-microvolt = <2000000>; 184 vin-supply = <&vcc5v0_sys_s5>; 185 }; 186 187 vcc_3v3_s0: regulator-vcc-3v3-s0 { 188 compatible = "regulator-fixed"; 189 regulator-name = "vcc_3v3_s0"; 190 regulator-boot-on; 191 regulator-always-on; 192 regulator-min-microvolt = <3300000>; 193 regulator-max-microvolt = <3300000>; 194 vin-supply = <&vcc_3v3_s3>; 195 }; 196 197 vcc_ufs_s0: regulator-vcc-ufs-s0 { 198 compatible = "regulator-fixed"; 199 regulator-name = "vcc_ufs_s0"; 200 regulator-boot-on; 201 regulator-always-on; 202 regulator-min-microvolt = <3300000>; 203 regulator-max-microvolt = <3300000>; 204 vin-supply = <&vcc5v0_sys_s5>; 205 }; 206}; 207 208&cpu_l0 { 209 cpu-supply = <&vdd_cpu_lit_s0>; 210}; 211 212&cpu_l1 { 213 cpu-supply = <&vdd_cpu_lit_s0>; 214}; 215 216&cpu_l2 { 217 cpu-supply = <&vdd_cpu_lit_s0>; 218}; 219 220&cpu_l3 { 221 cpu-supply = <&vdd_cpu_lit_s0>; 222}; 223 224&cpu_b0 { 225 cpu-supply = <&vdd_cpu_big_s0>; 226}; 227 228&cpu_b1 { 229 cpu-supply = <&vdd_cpu_big_s0>; 230}; 231 232&cpu_b2 { 233 cpu-supply = <&vdd_cpu_big_s0>; 234}; 235 236&cpu_b3 { 237 cpu-supply = <&vdd_cpu_big_s0>; 238}; 239 240&gpu { 241 mali-supply = <&vdd_gpu_s0>; 242 status = "okay"; 243}; 244 245&gmac0 { 246 clock_in_out = "output"; 247 pinctrl-names = "default"; 248 pinctrl-0 = <ð0m0_miim 249 ð0m0_tx_bus2 250 ð0m0_rx_bus2 251 ð0m0_rgmii_clk 252 ð0m0_rgmii_bus 253 ðm0_clk0_25m_out>; 254 /* Use rgmii-rxid mode to disable rx delay inside Soc */ 255 phy-mode = "rgmii-rxid"; 256 phy-handle = <&rgmii_phy0>; 257 tx_delay = <0x21>; 258 status = "okay"; 259}; 260 261&mdio0 { 262 status = "okay"; 263 264 rgmii_phy0: phy@1 { 265 compatible = "ethernet-phy-ieee802.3-c22"; 266 reg = <0x1>; 267 clocks = <&cru REFCLKO25M_GMAC0_OUT>; 268 /* Reset time is 20ms, 100ms for rtl8211f */ 269 reset-delay-us = <20000>; 270 reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>; 271 reset-post-delay-us = <100000>; 272 }; 273}; 274 275&i2c1 { 276 status = "okay"; 277 278 pmic@23 { 279 compatible = "rockchip,rk806"; 280 reg = <0x23>; 281 interrupt-parent = <&gpio0>; 282 interrupts = <6 IRQ_TYPE_LEVEL_LOW>; 283 gpio-controller; 284 #gpio-cells = <2>; 285 pinctrl-names = "default"; 286 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 287 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 288 system-power-controller; 289 290 vcc1-supply = <&vcc5v0_sys_s5>; 291 vcc2-supply = <&vcc5v0_sys_s5>; 292 vcc3-supply = <&vcc5v0_sys_s5>; 293 vcc4-supply = <&vcc5v0_sys_s5>; 294 vcc5-supply = <&vcc5v0_sys_s5>; 295 vcc6-supply = <&vcc5v0_sys_s5>; 296 vcc7-supply = <&vcc5v0_sys_s5>; 297 vcc8-supply = <&vcc5v0_sys_s5>; 298 vcc9-supply = <&vcc5v0_sys_s5>; 299 vcc10-supply = <&vcc5v0_sys_s5>; 300 vcc11-supply = <&vcc_2v0_pldo_s3>; 301 vcc12-supply = <&vcc5v0_sys_s5>; 302 vcc13-supply = <&vcc_1v1_nldo_s3>; 303 vcc14-supply = <&vcc_1v1_nldo_s3>; 304 vcca-supply = <&vcc5v0_sys_s5>; 305 306 rk806_dvs1_null: dvs1-null-pins { 307 pins = "gpio_pwrctrl1"; 308 function = "pin_fun0"; 309 }; 310 311 rk806_dvs2_null: dvs2-null-pins { 312 pins = "gpio_pwrctrl2"; 313 function = "pin_fun0"; 314 }; 315 316 rk806_dvs3_null: dvs3-null-pins { 317 pins = "gpio_pwrctrl3"; 318 function = "pin_fun0"; 319 }; 320 321 rk806_dvs1_slp: dvs1-slp-pins { 322 pins = "gpio_pwrctrl1"; 323 function = "pin_fun1"; 324 }; 325 326 rk806_dvs1_pwrdn: dvs1-pwrdn-pins { 327 pins = "gpio_pwrctrl1"; 328 function = "pin_fun2"; 329 }; 330 331 rk806_dvs1_rst: dvs1-rst-pins { 332 pins = "gpio_pwrctrl1"; 333 function = "pin_fun3"; 334 }; 335 336 rk806_dvs2_slp: dvs2-slp-pins { 337 pins = "gpio_pwrctrl2"; 338 function = "pin_fun1"; 339 }; 340 341 rk806_dvs2_pwrdn: dvs2-pwrdn-pins { 342 pins = "gpio_pwrctrl2"; 343 function = "pin_fun2"; 344 }; 345 346 rk806_dvs2_rst: dvs2-rst-pins { 347 pins = "gpio_pwrctrl2"; 348 function = "pin_fun3"; 349 }; 350 351 rk806_dvs2_dvs: dvs2-dvs-pins { 352 pins = "gpio_pwrctrl2"; 353 function = "pin_fun4"; 354 }; 355 356 rk806_dvs2_gpio: dvs2-gpio-pins { 357 pins = "gpio_pwrctrl2"; 358 function = "pin_fun5"; 359 }; 360 361 rk806_dvs3_slp: dvs3-slp-pins { 362 pins = "gpio_pwrctrl3"; 363 function = "pin_fun1"; 364 }; 365 366 rk806_dvs3_pwrdn: dvs3-pwrdn-pins { 367 pins = "gpio_pwrctrl3"; 368 function = "pin_fun2"; 369 }; 370 371 rk806_dvs3_rst: dvs3-rst-pins { 372 pins = "gpio_pwrctrl3"; 373 function = "pin_fun3"; 374 }; 375 376 rk806_dvs3_dvs: dvs3-dvs-pins { 377 pins = "gpio_pwrctrl3"; 378 function = "pin_fun4"; 379 }; 380 381 rk806_dvs3_gpio: dvs3-gpio-pins { 382 pins = "gpio_pwrctrl3"; 383 function = "pin_fun5"; 384 }; 385 386 regulators { 387 vdd_cpu_big_s0: dcdc-reg1 { 388 regulator-always-on; 389 regulator-boot-on; 390 regulator-min-microvolt = <550000>; 391 regulator-max-microvolt = <950000>; 392 regulator-ramp-delay = <12500>; 393 regulator-name = "vdd_cpu_big_s0"; 394 regulator-enable-ramp-delay = <400>; 395 regulator-state-mem { 396 regulator-off-in-suspend; 397 }; 398 }; 399 400 vdd_npu_s0: dcdc-reg2 { 401 regulator-boot-on; 402 regulator-min-microvolt = <550000>; 403 regulator-max-microvolt = <950000>; 404 regulator-ramp-delay = <12500>; 405 regulator-name = "vdd_npu_s0"; 406 regulator-enable-ramp-delay = <400>; 407 regulator-state-mem { 408 regulator-off-in-suspend; 409 }; 410 }; 411 412 vdd_cpu_lit_s0: dcdc-reg3 { 413 regulator-always-on; 414 regulator-boot-on; 415 regulator-min-microvolt = <550000>; 416 regulator-max-microvolt = <950000>; 417 regulator-ramp-delay = <12500>; 418 regulator-name = "vdd_cpu_lit_s0"; 419 regulator-state-mem { 420 regulator-off-in-suspend; 421 regulator-suspend-microvolt = <750000>; 422 }; 423 }; 424 425 vcc_3v3_s3: dcdc-reg4 { 426 regulator-always-on; 427 regulator-boot-on; 428 regulator-min-microvolt = <3300000>; 429 regulator-max-microvolt = <3300000>; 430 regulator-name = "vcc_3v3_s3"; 431 regulator-state-mem { 432 regulator-on-in-suspend; 433 regulator-suspend-microvolt = <3300000>; 434 }; 435 }; 436 437 vdd_gpu_s0: dcdc-reg5 { 438 regulator-boot-on; 439 regulator-min-microvolt = <550000>; 440 regulator-max-microvolt = <900000>; 441 regulator-ramp-delay = <12500>; 442 regulator-name = "vdd_gpu_s0"; 443 regulator-enable-ramp-delay = <400>; 444 regulator-state-mem { 445 regulator-off-in-suspend; 446 regulator-suspend-microvolt = <850000>; 447 }; 448 }; 449 450 vddq_ddr_s0: dcdc-reg6 { 451 regulator-always-on; 452 regulator-boot-on; 453 regulator-name = "vddq_ddr_s0"; 454 regulator-state-mem { 455 regulator-off-in-suspend; 456 }; 457 }; 458 459 vdd_logic_s0: dcdc-reg7 { 460 regulator-always-on; 461 regulator-boot-on; 462 regulator-min-microvolt = <550000>; 463 regulator-max-microvolt = <800000>; 464 regulator-name = "vdd_logic_s0"; 465 regulator-state-mem { 466 regulator-off-in-suspend; 467 }; 468 }; 469 470 vcc_1v8_s3: dcdc-reg8 { 471 regulator-always-on; 472 regulator-boot-on; 473 regulator-min-microvolt = <1800000>; 474 regulator-max-microvolt = <1800000>; 475 regulator-name = "vcc_1v8_s3"; 476 regulator-state-mem { 477 regulator-on-in-suspend; 478 regulator-suspend-microvolt = <1800000>; 479 }; 480 }; 481 482 vdd2_ddr_s3: dcdc-reg9 { 483 regulator-always-on; 484 regulator-boot-on; 485 regulator-name = "vdd2_ddr_s3"; 486 regulator-state-mem { 487 regulator-on-in-suspend; 488 }; 489 }; 490 491 vdd_ddr_s0: dcdc-reg10 { 492 regulator-always-on; 493 regulator-boot-on; 494 regulator-min-microvolt = <550000>; 495 regulator-max-microvolt = <1200000>; 496 regulator-name = "vdd_ddr_s0"; 497 regulator-state-mem { 498 regulator-off-in-suspend; 499 }; 500 }; 501 502 vcca_1v8_s0: pldo-reg1 { 503 regulator-always-on; 504 regulator-boot-on; 505 regulator-min-microvolt = <1800000>; 506 regulator-max-microvolt = <1800000>; 507 regulator-name = "vcca_1v8_s0"; 508 regulator-state-mem { 509 regulator-off-in-suspend; 510 }; 511 }; 512 513 vcca1v8_pldo2_s0: pldo-reg2 { 514 regulator-always-on; 515 regulator-boot-on; 516 regulator-min-microvolt = <1800000>; 517 regulator-max-microvolt = <1800000>; 518 regulator-name = "vcca1v8_pldo2_s0"; 519 regulator-state-mem { 520 regulator-off-in-suspend; 521 }; 522 }; 523 524 vdda_1v2_s0: pldo-reg3 { 525 regulator-always-on; 526 regulator-boot-on; 527 regulator-min-microvolt = <1200000>; 528 regulator-max-microvolt = <1200000>; 529 regulator-name = "vdda_1v2_s0"; 530 regulator-state-mem { 531 regulator-off-in-suspend; 532 }; 533 }; 534 535 vcca_3v3_s0: pldo-reg4 { 536 regulator-always-on; 537 regulator-boot-on; 538 regulator-min-microvolt = <3300000>; 539 regulator-max-microvolt = <3300000>; 540 regulator-name = "vcca_3v3_s0"; 541 regulator-state-mem { 542 regulator-off-in-suspend; 543 }; 544 }; 545 546 vccio_sd_s0: pldo-reg5 { 547 regulator-always-on; 548 regulator-boot-on; 549 regulator-min-microvolt = <1800000>; 550 regulator-max-microvolt = <3300000>; 551 regulator-name = "vccio_sd_s0"; 552 regulator-state-mem { 553 regulator-off-in-suspend; 554 }; 555 }; 556 557 vcca1v8_pldo6_s3: pldo-reg6 { 558 regulator-always-on; 559 regulator-boot-on; 560 regulator-min-microvolt = <1800000>; 561 regulator-max-microvolt = <1800000>; 562 regulator-name = "vcca1v8_pldo6_s3"; 563 regulator-state-mem { 564 regulator-on-in-suspend; 565 regulator-suspend-microvolt = <1800000>; 566 }; 567 }; 568 569 vdd_0v75_s3: nldo-reg1 { 570 regulator-always-on; 571 regulator-boot-on; 572 regulator-min-microvolt = <750000>; 573 regulator-max-microvolt = <750000>; 574 regulator-name = "vdd_0v75_s3"; 575 regulator-state-mem { 576 regulator-on-in-suspend; 577 regulator-suspend-microvolt = <750000>; 578 }; 579 }; 580 581 vdda_ddr_pll_s0: nldo-reg2 { 582 regulator-always-on; 583 regulator-boot-on; 584 regulator-min-microvolt = <850000>; 585 regulator-max-microvolt = <850000>; 586 regulator-name = "vdda_ddr_pll_s0"; 587 regulator-state-mem { 588 regulator-off-in-suspend; 589 }; 590 }; 591 592 vdda0v75_hdmi_s0: nldo-reg3 { 593 regulator-always-on; 594 regulator-boot-on; 595 regulator-min-microvolt = <837500>; 596 regulator-max-microvolt = <837500>; 597 regulator-name = "vdda0v75_hdmi_s0"; 598 regulator-state-mem { 599 regulator-off-in-suspend; 600 }; 601 }; 602 603 vdda_0v85_s0: nldo-reg4 { 604 regulator-always-on; 605 regulator-boot-on; 606 regulator-min-microvolt = <850000>; 607 regulator-max-microvolt = <850000>; 608 regulator-name = "vdda_0v85_s0"; 609 regulator-state-mem { 610 regulator-off-in-suspend; 611 }; 612 }; 613 614 vdda_0v75_s0: nldo-reg5 { 615 regulator-always-on; 616 regulator-boot-on; 617 regulator-min-microvolt = <750000>; 618 regulator-max-microvolt = <750000>; 619 regulator-name = "vdda_0v75_s0"; 620 regulator-state-mem { 621 regulator-off-in-suspend; 622 }; 623 }; 624 }; 625 }; 626}; 627 628&i2c2 { 629 status = "okay"; 630 631 /* pc9202 watchdog@3c with enable-gpio gpio0-c3 */ 632 633 /* hnyetek,husb311 typec-portc@4e */ 634 635 hym8563: rtc@51 { 636 compatible = "haoyu,hym8563"; 637 reg = <0x51>; 638 #clock-cells = <0>; 639 clock-output-names = "hym8563"; 640 pinctrl-names = "default"; 641 pinctrl-0 = <&rtc_int_l>; 642 interrupt-parent = <&gpio0>; 643 interrupts = <RK_PA0 IRQ_TYPE_LEVEL_LOW>; 644 wakeup-source; 645 }; 646}; 647 648&saradc { 649 vref-supply = <&vcca_1v8_s0>; 650 status = "okay"; 651}; 652 653&sdhci { 654 bus-width = <8>; 655 no-sdio; 656 no-sd; 657 non-removable; 658 max-frequency = <200000000>; 659 mmc-hs400-1_8v; 660 mmc-hs400-enhanced-strobe; 661 full-pwr-cycle-in-suspend; 662 status = "okay"; 663}; 664 665&sdmmc { 666 max-frequency = <200000000>; 667 no-sdio; 668 no-mmc; 669 bus-width = <4>; 670 cap-mmc-highspeed; 671 cap-sd-highspeed; 672 disable-wp; 673 sd-uhs-sdr104; 674 vqmmc-supply = <&vccio_sd_s0>; 675 status = "okay"; 676}; 677 678&pinctrl { 679 hym8563 { 680 rtc_int_l: rtc-int-l { 681 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 682 }; 683 }; 684 685 power { 686 vcc5vd_en: vcc5vd-en { 687 rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; 688 }; 689 690 pcie_pwren_h: pcie-pwren-h { 691 rockchip,pins = <2 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 692 }; 693 }; 694 695 usb { 696 hub_reset_h: hub-reset-h { 697 rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 698 }; 699 700 usb3_host_pwren_h: usb3-host-pwren-h { 701 rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; 702 }; 703 704 usb_otg0_pwren_h: usb-otg0-pwren-h { 705 rockchip,pins = <0 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; 706 }; 707 708 usbc0_int_l: usbc0-int-l { 709 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 710 }; 711 }; 712 713 watchdog { 714 wd_en: wd-en { 715 rockchip,pins = <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 716 }; 717 }; 718}; 719 720&uart0 { 721 pinctrl-0 = <&uart0m0_xfer>; 722 status = "okay"; 723}; 724 725&uart4 { 726 pinctrl-names = "default"; 727 pinctrl-0 = <&uart4m1_xfer &uart4m1_ctsn>; 728 status = "okay"; 729}; 730 731/* On the extension pin header */ 732&uart6 { 733 pinctrl-names = "default"; 734 pinctrl-0 = <&uart6m3_xfer>; 735 status = "okay"; 736}; 737