1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2021 Rockchip Electronics Co. 4 */ 5 6 #include <dt-bindings/clock/rk3568-cru.h> 7 #include <dt-bindings/interrupt-controller/arm 8 #include <dt-bindings/interrupt-controller/irq 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3568-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h 13 #include <dt-bindings/thermal/thermal.h> 14 15 / { 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 19 20 aliases { 21 gpio0 = &gpio0; 22 gpio1 = &gpio1; 23 gpio2 = &gpio2; 24 gpio3 = &gpio3; 25 gpio4 = &gpio4; 26 i2c0 = &i2c0; 27 i2c1 = &i2c1; 28 i2c2 = &i2c2; 29 i2c3 = &i2c3; 30 i2c4 = &i2c4; 31 i2c5 = &i2c5; 32 serial0 = &uart0; 33 serial1 = &uart1; 34 serial2 = &uart2; 35 serial3 = &uart3; 36 serial4 = &uart4; 37 serial5 = &uart5; 38 serial6 = &uart6; 39 serial7 = &uart7; 40 serial8 = &uart8; 41 serial9 = &uart9; 42 spi0 = &spi0; 43 spi1 = &spi1; 44 spi2 = &spi2; 45 spi3 = &spi3; 46 }; 47 48 cpus { 49 #address-cells = <2>; 50 #size-cells = <0>; 51 52 cpu0: cpu@0 { 53 device_type = "cpu"; 54 compatible = "arm,cort 55 reg = <0x0 0x0>; 56 clocks = <&scmi_clk 0> 57 #cooling-cells = <2>; 58 enable-method = "psci" 59 operating-points-v2 = 60 i-cache-size = <0x8000 61 i-cache-line-size = <6 62 i-cache-sets = <128>; 63 d-cache-size = <0x8000 64 d-cache-line-size = <6 65 d-cache-sets = <128>; 66 next-level-cache = <&l 67 }; 68 69 cpu1: cpu@100 { 70 device_type = "cpu"; 71 compatible = "arm,cort 72 reg = <0x0 0x100>; 73 #cooling-cells = <2>; 74 enable-method = "psci" 75 operating-points-v2 = 76 i-cache-size = <0x8000 77 i-cache-line-size = <6 78 i-cache-sets = <128>; 79 d-cache-size = <0x8000 80 d-cache-line-size = <6 81 d-cache-sets = <128>; 82 next-level-cache = <&l 83 }; 84 85 cpu2: cpu@200 { 86 device_type = "cpu"; 87 compatible = "arm,cort 88 reg = <0x0 0x200>; 89 #cooling-cells = <2>; 90 enable-method = "psci" 91 operating-points-v2 = 92 i-cache-size = <0x8000 93 i-cache-line-size = <6 94 i-cache-sets = <128>; 95 d-cache-size = <0x8000 96 d-cache-line-size = <6 97 d-cache-sets = <128>; 98 next-level-cache = <&l 99 }; 100 101 cpu3: cpu@300 { 102 device_type = "cpu"; 103 compatible = "arm,cort 104 reg = <0x0 0x300>; 105 #cooling-cells = <2>; 106 enable-method = "psci" 107 operating-points-v2 = 108 i-cache-size = <0x8000 109 i-cache-line-size = <6 110 i-cache-sets = <128>; 111 d-cache-size = <0x8000 112 d-cache-line-size = <6 113 d-cache-sets = <128>; 114 next-level-cache = <&l 115 }; 116 }; 117 118 /* 119 * There are no private per-core L2 ca 120 * L3 cache that appears to the CPU co 121 */ 122 l3_cache: l3-cache { 123 compatible = "cache"; 124 cache-level = <2>; 125 cache-unified; 126 cache-size = <0x80000>; 127 cache-line-size = <64>; 128 cache-sets = <512>; 129 }; 130 131 cpu0_opp_table: opp-table-0 { 132 compatible = "operating-points 133 opp-shared; 134 135 opp-408000000 { 136 opp-hz = /bits/ 64 <40 137 opp-microvolt = <90000 138 clock-latency-ns = <40 139 }; 140 141 opp-600000000 { 142 opp-hz = /bits/ 64 <60 143 opp-microvolt = <90000 144 }; 145 146 opp-816000000 { 147 opp-hz = /bits/ 64 <81 148 opp-microvolt = <90000 149 opp-suspend; 150 }; 151 152 opp-1104000000 { 153 opp-hz = /bits/ 64 <11 154 opp-microvolt = <90000 155 }; 156 157 opp-1416000000 { 158 opp-hz = /bits/ 64 <14 159 opp-microvolt = <90000 160 }; 161 162 opp-1608000000 { 163 opp-hz = /bits/ 64 <16 164 opp-microvolt = <97500 165 }; 166 167 opp-1800000000 { 168 opp-hz = /bits/ 64 <18 169 opp-microvolt = <10500 170 }; 171 }; 172 173 display_subsystem: display-subsystem { 174 compatible = "rockchip,display 175 ports = <&vop_out>; 176 }; 177 178 firmware { 179 scmi: scmi { 180 compatible = "arm,scmi 181 arm,smc-id = <0x820000 182 shmem = <&scmi_shmem>; 183 #address-cells = <1>; 184 #size-cells = <0>; 185 186 scmi_clk: protocol@14 187 reg = <0x14>; 188 #clock-cells = 189 }; 190 }; 191 }; 192 193 gpu_opp_table: opp-table-1 { 194 compatible = "operating-points 195 196 opp-200000000 { 197 opp-hz = /bits/ 64 <20 198 opp-microvolt = <85000 199 }; 200 201 opp-300000000 { 202 opp-hz = /bits/ 64 <30 203 opp-microvolt = <85000 204 }; 205 206 opp-400000000 { 207 opp-hz = /bits/ 64 <40 208 opp-microvolt = <85000 209 }; 210 211 opp-600000000 { 212 opp-hz = /bits/ 64 <60 213 opp-microvolt = <90000 214 }; 215 216 opp-700000000 { 217 opp-hz = /bits/ 64 <70 218 opp-microvolt = <95000 219 }; 220 221 opp-800000000 { 222 opp-hz = /bits/ 64 <80 223 opp-microvolt = <10000 224 }; 225 }; 226 227 hdmi_sound: hdmi-sound { 228 compatible = "simple-audio-car 229 simple-audio-card,name = "HDMI 230 simple-audio-card,format = "i2 231 simple-audio-card,mclk-fs = <2 232 status = "disabled"; 233 234 simple-audio-card,codec { 235 sound-dai = <&hdmi>; 236 }; 237 238 simple-audio-card,cpu { 239 sound-dai = <&i2s0_8ch 240 }; 241 }; 242 243 pmu { 244 compatible = "arm,cortex-a55-p 245 interrupts = <GIC_SPI 228 IRQ_ 246 <GIC_SPI 229 IRQ_ 247 <GIC_SPI 230 IRQ_ 248 <GIC_SPI 231 IRQ_ 249 interrupt-affinity = <&cpu0>, 250 }; 251 252 psci { 253 compatible = "arm,psci-1.0"; 254 method = "smc"; 255 }; 256 257 timer { 258 compatible = "arm,armv8-timer" 259 interrupts = <GIC_PPI 13 IRQ_T 260 <GIC_PPI 14 IRQ_T 261 <GIC_PPI 11 IRQ_T 262 <GIC_PPI 10 IRQ_T 263 arm,no-tick-in-suspend; 264 }; 265 266 xin24m: xin24m { 267 compatible = "fixed-clock"; 268 clock-frequency = <24000000>; 269 clock-output-names = "xin24m"; 270 #clock-cells = <0>; 271 }; 272 273 xin32k: xin32k { 274 compatible = "fixed-clock"; 275 clock-frequency = <32768>; 276 clock-output-names = "xin32k"; 277 pinctrl-0 = <&clk32k_out0>; 278 pinctrl-names = "default"; 279 #clock-cells = <0>; 280 }; 281 282 sram@10f000 { 283 compatible = "mmio-sram"; 284 reg = <0x0 0x0010f000 0x0 0x10 285 #address-cells = <1>; 286 #size-cells = <1>; 287 ranges = <0 0x0 0x0010f000 0x1 288 289 scmi_shmem: sram@0 { 290 compatible = "arm,scmi 291 reg = <0x0 0x100>; 292 }; 293 }; 294 295 sata1: sata@fc400000 { 296 compatible = "rockchip,rk3568- 297 reg = <0 0xfc400000 0 0x1000>; 298 clocks = <&cru ACLK_SATA1>, <& 299 <&cru CLK_SATA1_RXOOB 300 clock-names = "sata", "pmalive 301 interrupts = <GIC_SPI 95 IRQ_T 302 phys = <&combphy1 PHY_TYPE_SAT 303 phy-names = "sata-phy"; 304 ports-implemented = <0x1>; 305 power-domains = <&power RK3568 306 status = "disabled"; 307 }; 308 309 sata2: sata@fc800000 { 310 compatible = "rockchip,rk3568- 311 reg = <0 0xfc800000 0 0x1000>; 312 clocks = <&cru ACLK_SATA2>, <& 313 <&cru CLK_SATA2_RXOOB 314 clock-names = "sata", "pmalive 315 interrupts = <GIC_SPI 96 IRQ_T 316 phys = <&combphy2 PHY_TYPE_SAT 317 phy-names = "sata-phy"; 318 ports-implemented = <0x1>; 319 power-domains = <&power RK3568 320 status = "disabled"; 321 }; 322 323 usb_host0_xhci: usb@fcc00000 { 324 compatible = "rockchip,rk3568- 325 reg = <0x0 0xfcc00000 0x0 0x40 326 interrupts = <GIC_SPI 169 IRQ_ 327 clocks = <&cru CLK_USB3OTG0_RE 328 <&cru ACLK_USB3OTG0>; 329 clock-names = "ref_clk", "susp 330 "bus_clk"; 331 dr_mode = "otg"; 332 phy_type = "utmi_wide"; 333 power-domains = <&power RK3568 334 resets = <&cru SRST_USB3OTG0>; 335 snps,dis_u2_susphy_quirk; 336 status = "disabled"; 337 }; 338 339 usb_host1_xhci: usb@fd000000 { 340 compatible = "rockchip,rk3568- 341 reg = <0x0 0xfd000000 0x0 0x40 342 interrupts = <GIC_SPI 170 IRQ_ 343 clocks = <&cru CLK_USB3OTG1_RE 344 <&cru ACLK_USB3OTG1>; 345 clock-names = "ref_clk", "susp 346 "bus_clk"; 347 dr_mode = "host"; 348 phys = <&usb2phy0_host>, <&com 349 phy-names = "usb2-phy", "usb3- 350 phy_type = "utmi_wide"; 351 power-domains = <&power RK3568 352 resets = <&cru SRST_USB3OTG1>; 353 snps,dis_u2_susphy_quirk; 354 status = "disabled"; 355 }; 356 357 gic: interrupt-controller@fd400000 { 358 compatible = "arm,gic-v3"; 359 reg = <0x0 0xfd400000 0 0x1000 360 <0x0 0xfd460000 0 0x8000 361 interrupts = <GIC_PPI 9 IRQ_TY 362 interrupt-controller; 363 #interrupt-cells = <3>; 364 mbi-alias = <0x0 0xfd410000>; 365 mbi-ranges = <296 24>; 366 msi-controller; 367 }; 368 369 usb_host0_ehci: usb@fd800000 { 370 compatible = "generic-ehci"; 371 reg = <0x0 0xfd800000 0x0 0x40 372 interrupts = <GIC_SPI 130 IRQ_ 373 clocks = <&cru HCLK_USB2HOST0> 374 <&cru PCLK_USB>; 375 phys = <&usb2phy1_otg>; 376 phy-names = "usb"; 377 status = "disabled"; 378 }; 379 380 usb_host0_ohci: usb@fd840000 { 381 compatible = "generic-ohci"; 382 reg = <0x0 0xfd840000 0x0 0x40 383 interrupts = <GIC_SPI 131 IRQ_ 384 clocks = <&cru HCLK_USB2HOST0> 385 <&cru PCLK_USB>; 386 phys = <&usb2phy1_otg>; 387 phy-names = "usb"; 388 status = "disabled"; 389 }; 390 391 usb_host1_ehci: usb@fd880000 { 392 compatible = "generic-ehci"; 393 reg = <0x0 0xfd880000 0x0 0x40 394 interrupts = <GIC_SPI 133 IRQ_ 395 clocks = <&cru HCLK_USB2HOST1> 396 <&cru PCLK_USB>; 397 phys = <&usb2phy1_host>; 398 phy-names = "usb"; 399 status = "disabled"; 400 }; 401 402 usb_host1_ohci: usb@fd8c0000 { 403 compatible = "generic-ohci"; 404 reg = <0x0 0xfd8c0000 0x0 0x40 405 interrupts = <GIC_SPI 134 IRQ_ 406 clocks = <&cru HCLK_USB2HOST1> 407 <&cru PCLK_USB>; 408 phys = <&usb2phy1_host>; 409 phy-names = "usb"; 410 status = "disabled"; 411 }; 412 413 pmugrf: syscon@fdc20000 { 414 compatible = "rockchip,rk3568- 415 reg = <0x0 0xfdc20000 0x0 0x10 416 417 pmu_io_domains: io-domains { 418 compatible = "rockchip 419 status = "disabled"; 420 }; 421 }; 422 423 pipegrf: syscon@fdc50000 { 424 reg = <0x0 0xfdc50000 0x0 0x10 425 }; 426 427 grf: syscon@fdc60000 { 428 compatible = "rockchip,rk3568- 429 reg = <0x0 0xfdc60000 0x0 0x10 430 }; 431 432 pipe_phy_grf1: syscon@fdc80000 { 433 compatible = "rockchip,rk3568- 434 reg = <0x0 0xfdc80000 0x0 0x10 435 }; 436 437 pipe_phy_grf2: syscon@fdc90000 { 438 compatible = "rockchip,rk3568- 439 reg = <0x0 0xfdc90000 0x0 0x10 440 }; 441 442 usb2phy0_grf: syscon@fdca0000 { 443 compatible = "rockchip,rk3568- 444 reg = <0x0 0xfdca0000 0x0 0x80 445 }; 446 447 usb2phy1_grf: syscon@fdca8000 { 448 compatible = "rockchip,rk3568- 449 reg = <0x0 0xfdca8000 0x0 0x80 450 }; 451 452 pmucru: clock-controller@fdd00000 { 453 compatible = "rockchip,rk3568- 454 reg = <0x0 0xfdd00000 0x0 0x10 455 #clock-cells = <1>; 456 #reset-cells = <1>; 457 }; 458 459 cru: clock-controller@fdd20000 { 460 compatible = "rockchip,rk3568- 461 reg = <0x0 0xfdd20000 0x0 0x10 462 clocks = <&xin24m>; 463 clock-names = "xin24m"; 464 #clock-cells = <1>; 465 #reset-cells = <1>; 466 assigned-clocks = <&pmucru CLK 467 assigned-clock-rates = <32768> 468 assigned-clock-parents = <&pmu 469 rockchip,grf = <&grf>; 470 }; 471 472 i2c0: i2c@fdd40000 { 473 compatible = "rockchip,rk3568- 474 reg = <0x0 0xfdd40000 0x0 0x10 475 interrupts = <GIC_SPI 46 IRQ_T 476 clocks = <&pmucru CLK_I2C0>, < 477 clock-names = "i2c", "pclk"; 478 pinctrl-0 = <&i2c0_xfer>; 479 pinctrl-names = "default"; 480 #address-cells = <1>; 481 #size-cells = <0>; 482 status = "disabled"; 483 }; 484 485 uart0: serial@fdd50000 { 486 compatible = "rockchip,rk3568- 487 reg = <0x0 0xfdd50000 0x0 0x10 488 interrupts = <GIC_SPI 116 IRQ_ 489 clocks = <&pmucru SCLK_UART0>, 490 clock-names = "baudclk", "apb_ 491 dmas = <&dmac0 0>, <&dmac0 1>; 492 pinctrl-0 = <&uart0_xfer>; 493 pinctrl-names = "default"; 494 reg-io-width = <4>; 495 reg-shift = <2>; 496 status = "disabled"; 497 }; 498 499 pwm0: pwm@fdd70000 { 500 compatible = "rockchip,rk3568- 501 reg = <0x0 0xfdd70000 0x0 0x10 502 clocks = <&pmucru CLK_PWM0>, < 503 clock-names = "pwm", "pclk"; 504 pinctrl-0 = <&pwm0m0_pins>; 505 pinctrl-names = "default"; 506 #pwm-cells = <3>; 507 status = "disabled"; 508 }; 509 510 pwm1: pwm@fdd70010 { 511 compatible = "rockchip,rk3568- 512 reg = <0x0 0xfdd70010 0x0 0x10 513 clocks = <&pmucru CLK_PWM0>, < 514 clock-names = "pwm", "pclk"; 515 pinctrl-0 = <&pwm1m0_pins>; 516 pinctrl-names = "default"; 517 #pwm-cells = <3>; 518 status = "disabled"; 519 }; 520 521 pwm2: pwm@fdd70020 { 522 compatible = "rockchip,rk3568- 523 reg = <0x0 0xfdd70020 0x0 0x10 524 clocks = <&pmucru CLK_PWM0>, < 525 clock-names = "pwm", "pclk"; 526 pinctrl-0 = <&pwm2m0_pins>; 527 pinctrl-names = "default"; 528 #pwm-cells = <3>; 529 status = "disabled"; 530 }; 531 532 pwm3: pwm@fdd70030 { 533 compatible = "rockchip,rk3568- 534 reg = <0x0 0xfdd70030 0x0 0x10 535 clocks = <&pmucru CLK_PWM0>, < 536 clock-names = "pwm", "pclk"; 537 pinctrl-0 = <&pwm3_pins>; 538 pinctrl-names = "default"; 539 #pwm-cells = <3>; 540 status = "disabled"; 541 }; 542 543 pmu: power-management@fdd90000 { 544 compatible = "rockchip,rk3568- 545 reg = <0x0 0xfdd90000 0x0 0x10 546 547 power: power-controller { 548 compatible = "rockchip 549 #power-domain-cells = 550 #address-cells = <1>; 551 #size-cells = <0>; 552 553 /* These power domains 554 power-domain@RK3568_PD 555 reg = <RK3568_ 556 clocks = <&cru 557 <&cru 558 pm_qos = <&qos 559 #power-domain- 560 }; 561 562 /* These power domains 563 power-domain@RK3568_PD 564 reg = <RK3568_ 565 clocks = <&cru 566 <&cru 567 pm_qos = <&qos 568 <&qos 569 <&qos 570 #power-domain- 571 }; 572 573 power-domain@RK3568_PD 574 reg = <RK3568_ 575 clocks = <&cru 576 <&cru 577 <&cru 578 pm_qos = <&qos 579 <&qos 580 <&qos 581 #power-domain- 582 }; 583 584 power-domain@RK3568_PD 585 reg = <RK3568_ 586 clocks = <&cru 587 <&cru 588 pm_qos = <&qos 589 <&qos 590 <&qos 591 <&qos 592 <&qos 593 <&qos 594 #power-domain- 595 }; 596 597 power-domain@RK3568_PD 598 reg = <RK3568_ 599 clocks = <&cru 600 pm_qos = <&qos 601 #power-domain- 602 }; 603 604 power-domain@RK3568_PD 605 clocks = <&cru 606 reg = <RK3568_ 607 pm_qos = <&qos 608 #power-domain- 609 }; 610 611 power-domain@RK3568_PD 612 reg = <RK3568_ 613 clocks = <&cru 614 pm_qos = <&qos 615 <&qos 616 <&qos 617 #power-domain- 618 }; 619 }; 620 }; 621 622 gpu: gpu@fde60000 { 623 compatible = "rockchip,rk3568- 624 reg = <0x0 0xfde60000 0x0 0x40 625 interrupts = <GIC_SPI 40 IRQ_T 626 <GIC_SPI 41 IRQ_T 627 <GIC_SPI 39 IRQ_T 628 interrupt-names = "job", "mmu" 629 clocks = <&scmi_clk 1>, <&cru 630 clock-names = "gpu", "bus"; 631 #cooling-cells = <2>; 632 operating-points-v2 = <&gpu_op 633 power-domains = <&power RK3568 634 status = "disabled"; 635 }; 636 637 vpu: video-codec@fdea0400 { 638 compatible = "rockchip,rk3568- 639 reg = <0x0 0xfdea0000 0x0 0x80 640 interrupts = <GIC_SPI 139 IRQ_ 641 interrupt-names = "vdpu"; 642 clocks = <&cru ACLK_VPU>, <&cr 643 clock-names = "aclk", "hclk"; 644 iommus = <&vdpu_mmu>; 645 power-domains = <&power RK3568 646 }; 647 648 vdpu_mmu: iommu@fdea0800 { 649 compatible = "rockchip,rk3568- 650 reg = <0x0 0xfdea0800 0x0 0x40 651 interrupts = <GIC_SPI 138 IRQ_ 652 clock-names = "aclk", "iface"; 653 clocks = <&cru ACLK_VPU>, <&cr 654 power-domains = <&power RK3568 655 #iommu-cells = <0>; 656 }; 657 658 rga: rga@fdeb0000 { 659 compatible = "rockchip,rk3568- 660 reg = <0x0 0xfdeb0000 0x0 0x18 661 interrupts = <GIC_SPI 90 IRQ_T 662 clocks = <&cru ACLK_RGA>, <&cr 663 clock-names = "aclk", "hclk", 664 resets = <&cru SRST_RGA_CORE>, 665 reset-names = "core", "axi", " 666 power-domains = <&power RK3568 667 }; 668 669 vepu: video-codec@fdee0000 { 670 compatible = "rockchip,rk3568- 671 reg = <0x0 0xfdee0000 0x0 0x80 672 interrupts = <GIC_SPI 64 IRQ_T 673 clocks = <&cru ACLK_JENC>, <&c 674 clock-names = "aclk", "hclk"; 675 iommus = <&vepu_mmu>; 676 power-domains = <&power RK3568 677 }; 678 679 vepu_mmu: iommu@fdee0800 { 680 compatible = "rockchip,rk3568- 681 reg = <0x0 0xfdee0800 0x0 0x40 682 interrupts = <GIC_SPI 63 IRQ_T 683 clocks = <&cru ACLK_JENC>, <&c 684 clock-names = "aclk", "iface"; 685 power-domains = <&power RK3568 686 #iommu-cells = <0>; 687 }; 688 689 sdmmc2: mmc@fe000000 { 690 compatible = "rockchip,rk3568- 691 reg = <0x0 0xfe000000 0x0 0x40 692 interrupts = <GIC_SPI 100 IRQ_ 693 clocks = <&cru HCLK_SDMMC2>, < 694 <&cru SCLK_SDMMC2_DRV 695 clock-names = "biu", "ciu", "c 696 fifo-depth = <0x100>; 697 max-frequency = <150000000>; 698 resets = <&cru SRST_SDMMC2>; 699 reset-names = "reset"; 700 status = "disabled"; 701 }; 702 703 gmac1: ethernet@fe010000 { 704 compatible = "rockchip,rk3568- 705 reg = <0x0 0xfe010000 0x0 0x10 706 interrupts = <GIC_SPI 32 IRQ_T 707 <GIC_SPI 29 IRQ_T 708 interrupt-names = "macirq", "e 709 clocks = <&cru SCLK_GMAC1>, <& 710 <&cru SCLK_GMAC1_RX_T 711 <&cru ACLK_GMAC1>, <& 712 <&cru SCLK_GMAC1_RX_T 713 clock-names = "stmmaceth", "ma 714 "mac_clk_tx", "c 715 "aclk_mac", "pcl 716 "clk_mac_speed", 717 resets = <&cru SRST_A_GMAC1>; 718 reset-names = "stmmaceth"; 719 rockchip,grf = <&grf>; 720 snps,axi-config = <&gmac1_stmm 721 snps,mixed-burst; 722 snps,mtl-rx-config = <&gmac1_m 723 snps,mtl-tx-config = <&gmac1_m 724 snps,tso; 725 status = "disabled"; 726 727 mdio1: mdio { 728 compatible = "snps,dwm 729 #address-cells = <0x1> 730 #size-cells = <0x0>; 731 }; 732 733 gmac1_stmmac_axi_setup: stmmac 734 snps,blen = <0 0 0 0 1 735 snps,rd_osr_lmt = <8>; 736 snps,wr_osr_lmt = <4>; 737 }; 738 739 gmac1_mtl_rx_setup: rx-queues- 740 snps,rx-queues-to-use 741 queue0 {}; 742 }; 743 744 gmac1_mtl_tx_setup: tx-queues- 745 snps,tx-queues-to-use 746 queue0 {}; 747 }; 748 }; 749 750 vop: vop@fe040000 { 751 reg = <0x0 0xfe040000 0x0 0x30 752 reg-names = "vop", "gamma-lut" 753 interrupts = <GIC_SPI 148 IRQ_ 754 clocks = <&cru ACLK_VOP>, <&cr 755 <&cru DCLK_VOP1>, <&c 756 clock-names = "aclk", "hclk", 757 iommus = <&vop_mmu>; 758 power-domains = <&power RK3568 759 rockchip,grf = <&grf>; 760 status = "disabled"; 761 762 vop_out: ports { 763 #address-cells = <1>; 764 #size-cells = <0>; 765 766 vp0: port@0 { 767 reg = <0>; 768 #address-cells 769 #size-cells = 770 }; 771 772 vp1: port@1 { 773 reg = <1>; 774 #address-cells 775 #size-cells = 776 }; 777 778 vp2: port@2 { 779 reg = <2>; 780 #address-cells 781 #size-cells = 782 }; 783 }; 784 }; 785 786 vop_mmu: iommu@fe043e00 { 787 compatible = "rockchip,rk3568- 788 reg = <0x0 0xfe043e00 0x0 0x10 789 interrupts = <GIC_SPI 148 IRQ_ 790 clocks = <&cru ACLK_VOP>, <&cr 791 clock-names = "aclk", "iface"; 792 #iommu-cells = <0>; 793 power-domains = <&power RK3568 794 status = "disabled"; 795 }; 796 797 dsi0: dsi@fe060000 { 798 compatible = "rockchip,rk3568- 799 reg = <0x00 0xfe060000 0x00 0x 800 interrupts = <GIC_SPI 68 IRQ_T 801 clock-names = "pclk"; 802 clocks = <&cru PCLK_DSITX_0>; 803 phy-names = "dphy"; 804 phys = <&dsi_dphy0>; 805 power-domains = <&power RK3568 806 reset-names = "apb"; 807 resets = <&cru SRST_P_DSITX_0> 808 rockchip,grf = <&grf>; 809 status = "disabled"; 810 811 ports { 812 #address-cells = <1>; 813 #size-cells = <0>; 814 815 dsi0_in: port@0 { 816 reg = <0>; 817 }; 818 819 dsi0_out: port@1 { 820 reg = <1>; 821 }; 822 }; 823 }; 824 825 dsi1: dsi@fe070000 { 826 compatible = "rockchip,rk3568- 827 reg = <0x0 0xfe070000 0x0 0x10 828 interrupts = <GIC_SPI 69 IRQ_T 829 clock-names = "pclk"; 830 clocks = <&cru PCLK_DSITX_1>; 831 phy-names = "dphy"; 832 phys = <&dsi_dphy1>; 833 power-domains = <&power RK3568 834 reset-names = "apb"; 835 resets = <&cru SRST_P_DSITX_1> 836 rockchip,grf = <&grf>; 837 status = "disabled"; 838 839 ports { 840 #address-cells = <1>; 841 #size-cells = <0>; 842 843 dsi1_in: port@0 { 844 reg = <0>; 845 }; 846 847 dsi1_out: port@1 { 848 reg = <1>; 849 }; 850 }; 851 }; 852 853 hdmi: hdmi@fe0a0000 { 854 compatible = "rockchip,rk3568- 855 reg = <0x0 0xfe0a0000 0x0 0x20 856 interrupts = <GIC_SPI 45 IRQ_T 857 clocks = <&cru PCLK_HDMI_HOST> 858 <&cru CLK_HDMI_SFR>, 859 <&cru CLK_HDMI_CEC>, 860 <&pmucru CLK_HDMI_REF 861 <&cru HCLK_VO>; 862 clock-names = "iahb", "isfr", 863 pinctrl-names = "default"; 864 pinctrl-0 = <&hdmitx_scl &hdmi 865 power-domains = <&power RK3568 866 reg-io-width = <4>; 867 rockchip,grf = <&grf>; 868 #sound-dai-cells = <0>; 869 status = "disabled"; 870 871 ports { 872 #address-cells = <1>; 873 #size-cells = <0>; 874 875 hdmi_in: port@0 { 876 reg = <0>; 877 }; 878 879 hdmi_out: port@1 { 880 reg = <1>; 881 }; 882 }; 883 }; 884 885 qos_gpu: qos@fe128000 { 886 compatible = "rockchip,rk3568- 887 reg = <0x0 0xfe128000 0x0 0x20 888 }; 889 890 qos_rkvenc_rd_m0: qos@fe138080 { 891 compatible = "rockchip,rk3568- 892 reg = <0x0 0xfe138080 0x0 0x20 893 }; 894 895 qos_rkvenc_rd_m1: qos@fe138100 { 896 compatible = "rockchip,rk3568- 897 reg = <0x0 0xfe138100 0x0 0x20 898 }; 899 900 qos_rkvenc_wr_m0: qos@fe138180 { 901 compatible = "rockchip,rk3568- 902 reg = <0x0 0xfe138180 0x0 0x20 903 }; 904 905 qos_isp: qos@fe148000 { 906 compatible = "rockchip,rk3568- 907 reg = <0x0 0xfe148000 0x0 0x20 908 }; 909 910 qos_vicap0: qos@fe148080 { 911 compatible = "rockchip,rk3568- 912 reg = <0x0 0xfe148080 0x0 0x20 913 }; 914 915 qos_vicap1: qos@fe148100 { 916 compatible = "rockchip,rk3568- 917 reg = <0x0 0xfe148100 0x0 0x20 918 }; 919 920 qos_vpu: qos@fe150000 { 921 compatible = "rockchip,rk3568- 922 reg = <0x0 0xfe150000 0x0 0x20 923 }; 924 925 qos_ebc: qos@fe158000 { 926 compatible = "rockchip,rk3568- 927 reg = <0x0 0xfe158000 0x0 0x20 928 }; 929 930 qos_iep: qos@fe158100 { 931 compatible = "rockchip,rk3568- 932 reg = <0x0 0xfe158100 0x0 0x20 933 }; 934 935 qos_jpeg_dec: qos@fe158180 { 936 compatible = "rockchip,rk3568- 937 reg = <0x0 0xfe158180 0x0 0x20 938 }; 939 940 qos_jpeg_enc: qos@fe158200 { 941 compatible = "rockchip,rk3568- 942 reg = <0x0 0xfe158200 0x0 0x20 943 }; 944 945 qos_rga_rd: qos@fe158280 { 946 compatible = "rockchip,rk3568- 947 reg = <0x0 0xfe158280 0x0 0x20 948 }; 949 950 qos_rga_wr: qos@fe158300 { 951 compatible = "rockchip,rk3568- 952 reg = <0x0 0xfe158300 0x0 0x20 953 }; 954 955 qos_npu: qos@fe180000 { 956 compatible = "rockchip,rk3568- 957 reg = <0x0 0xfe180000 0x0 0x20 958 }; 959 960 qos_pcie2x1: qos@fe190000 { 961 compatible = "rockchip,rk3568- 962 reg = <0x0 0xfe190000 0x0 0x20 963 }; 964 965 qos_sata1: qos@fe190280 { 966 compatible = "rockchip,rk3568- 967 reg = <0x0 0xfe190280 0x0 0x20 968 }; 969 970 qos_sata2: qos@fe190300 { 971 compatible = "rockchip,rk3568- 972 reg = <0x0 0xfe190300 0x0 0x20 973 }; 974 975 qos_usb3_0: qos@fe190380 { 976 compatible = "rockchip,rk3568- 977 reg = <0x0 0xfe190380 0x0 0x20 978 }; 979 980 qos_usb3_1: qos@fe190400 { 981 compatible = "rockchip,rk3568- 982 reg = <0x0 0xfe190400 0x0 0x20 983 }; 984 985 qos_rkvdec: qos@fe198000 { 986 compatible = "rockchip,rk3568- 987 reg = <0x0 0xfe198000 0x0 0x20 988 }; 989 990 qos_hdcp: qos@fe1a8000 { 991 compatible = "rockchip,rk3568- 992 reg = <0x0 0xfe1a8000 0x0 0x20 993 }; 994 995 qos_vop_m0: qos@fe1a8080 { 996 compatible = "rockchip,rk3568- 997 reg = <0x0 0xfe1a8080 0x0 0x20 998 }; 999 1000 qos_vop_m1: qos@fe1a8100 { 1001 compatible = "rockchip,rk3568 1002 reg = <0x0 0xfe1a8100 0x0 0x2 1003 }; 1004 1005 dfi: dfi@fe230000 { 1006 compatible = "rockchip,rk3568 1007 reg = <0x00 0xfe230000 0x00 0 1008 interrupts = <GIC_SPI 11 IRQ_ 1009 rockchip,pmu = <&pmugrf>; 1010 }; 1011 1012 pcie2x1: pcie@fe260000 { 1013 compatible = "rockchip,rk3568 1014 reg = <0x3 0xc0000000 0x0 0x0 1015 <0x0 0xfe260000 0x0 0x0 1016 <0x0 0xf4000000 0x0 0x0 1017 reg-names = "dbi", "apb", "co 1018 interrupts = <GIC_SPI 75 IRQ_ 1019 <GIC_SPI 74 IRQ_ 1020 <GIC_SPI 73 IRQ_ 1021 <GIC_SPI 72 IRQ_ 1022 <GIC_SPI 71 IRQ_ 1023 interrupt-names = "sys", "pmc 1024 bus-range = <0x0 0xf>; 1025 clocks = <&cru ACLK_PCIE20_MS 1026 <&cru ACLK_PCIE20_DB 1027 <&cru CLK_PCIE20_AUX 1028 clock-names = "aclk_mst", "ac 1029 "aclk_dbi", "pc 1030 device_type = "pci"; 1031 #interrupt-cells = <1>; 1032 interrupt-map-mask = <0 0 0 7 1033 interrupt-map = <0 0 0 1 &pci 1034 <0 0 0 2 &pci 1035 <0 0 0 3 &pci 1036 <0 0 0 4 &pci 1037 linux,pci-domain = <0>; 1038 num-ib-windows = <6>; 1039 num-ob-windows = <2>; 1040 max-link-speed = <2>; 1041 msi-map = <0x0 &gic 0x0 0x100 1042 num-lanes = <1>; 1043 phys = <&combphy2 PHY_TYPE_PC 1044 phy-names = "pcie-phy"; 1045 power-domains = <&power RK356 1046 ranges = <0x01000000 0x0 0xf4 1047 <0x02000000 0x0 0xf4 1048 <0x03000000 0x0 0x40 1049 resets = <&cru SRST_PCIE20_PO 1050 reset-names = "pipe"; 1051 #address-cells = <3>; 1052 #size-cells = <2>; 1053 status = "disabled"; 1054 1055 pcie_intc: legacy-interrupt-c 1056 #address-cells = <0>; 1057 #interrupt-cells = <1 1058 interrupt-controller; 1059 interrupt-parent = <& 1060 interrupts = <GIC_SPI 1061 }; 1062 }; 1063 1064 sdmmc0: mmc@fe2b0000 { 1065 compatible = "rockchip,rk3568 1066 reg = <0x0 0xfe2b0000 0x0 0x4 1067 interrupts = <GIC_SPI 98 IRQ_ 1068 clocks = <&cru HCLK_SDMMC0>, 1069 <&cru SCLK_SDMMC0_DR 1070 clock-names = "biu", "ciu", " 1071 fifo-depth = <0x100>; 1072 max-frequency = <150000000>; 1073 resets = <&cru SRST_SDMMC0>; 1074 reset-names = "reset"; 1075 status = "disabled"; 1076 }; 1077 1078 sdmmc1: mmc@fe2c0000 { 1079 compatible = "rockchip,rk3568 1080 reg = <0x0 0xfe2c0000 0x0 0x4 1081 interrupts = <GIC_SPI 99 IRQ_ 1082 clocks = <&cru HCLK_SDMMC1>, 1083 <&cru SCLK_SDMMC1_DR 1084 clock-names = "biu", "ciu", " 1085 fifo-depth = <0x100>; 1086 max-frequency = <150000000>; 1087 resets = <&cru SRST_SDMMC1>; 1088 reset-names = "reset"; 1089 status = "disabled"; 1090 }; 1091 1092 sfc: spi@fe300000 { 1093 compatible = "rockchip,sfc"; 1094 reg = <0x0 0xfe300000 0x0 0x4 1095 interrupts = <GIC_SPI 101 IRQ 1096 clocks = <&cru SCLK_SFC>, <&c 1097 clock-names = "clk_sfc", "hcl 1098 pinctrl-0 = <&fspi_pins>; 1099 pinctrl-names = "default"; 1100 status = "disabled"; 1101 }; 1102 1103 sdhci: mmc@fe310000 { 1104 compatible = "rockchip,rk3568 1105 reg = <0x0 0xfe310000 0x0 0x1 1106 interrupts = <GIC_SPI 19 IRQ_ 1107 assigned-clocks = <&cru BCLK_ 1108 assigned-clock-rates = <20000 1109 clocks = <&cru CCLK_EMMC>, <& 1110 <&cru ACLK_EMMC>, <& 1111 <&cru TCLK_EMMC>; 1112 clock-names = "core", "bus", 1113 status = "disabled"; 1114 }; 1115 1116 rng: rng@fe388000 { 1117 compatible = "rockchip,rk3568 1118 reg = <0x0 0xfe388000 0x0 0x4 1119 clocks = <&cru CLK_TRNG_NS>, 1120 clock-names = "core", "ahb"; 1121 resets = <&cru SRST_TRNG_NS>; 1122 status = "disabled"; 1123 }; 1124 1125 i2s0_8ch: i2s@fe400000 { 1126 compatible = "rockchip,rk3568 1127 reg = <0x0 0xfe400000 0x0 0x1 1128 interrupts = <GIC_SPI 52 IRQ_ 1129 assigned-clocks = <&cru CLK_I 1130 assigned-clock-rates = <11880 1131 clocks = <&cru MCLK_I2S0_8CH_ 1132 clock-names = "mclk_tx", "mcl 1133 dmas = <&dmac1 0>; 1134 dma-names = "tx"; 1135 resets = <&cru SRST_M_I2S0_8C 1136 reset-names = "tx-m", "rx-m"; 1137 rockchip,grf = <&grf>; 1138 #sound-dai-cells = <0>; 1139 status = "disabled"; 1140 }; 1141 1142 i2s1_8ch: i2s@fe410000 { 1143 compatible = "rockchip,rk3568 1144 reg = <0x0 0xfe410000 0x0 0x1 1145 interrupts = <GIC_SPI 53 IRQ_ 1146 assigned-clocks = <&cru CLK_I 1147 assigned-clock-rates = <11880 1148 clocks = <&cru MCLK_I2S1_8CH_ 1149 <&cru HCLK_I2S1_8CH> 1150 clock-names = "mclk_tx", "mcl 1151 dmas = <&dmac1 3>, <&dmac1 2> 1152 dma-names = "rx", "tx"; 1153 resets = <&cru SRST_M_I2S1_8C 1154 reset-names = "tx-m", "rx-m"; 1155 rockchip,grf = <&grf>; 1156 pinctrl-names = "default"; 1157 pinctrl-0 = <&i2s1m0_sclktx & 1158 &i2s1m0_lrcktx & 1159 &i2s1m0_sdi0 & 1160 &i2s1m0_sdi2 & 1161 &i2s1m0_sdo0 & 1162 &i2s1m0_sdo2 & 1163 #sound-dai-cells = <0>; 1164 status = "disabled"; 1165 }; 1166 1167 i2s2_2ch: i2s@fe420000 { 1168 compatible = "rockchip,rk3568 1169 reg = <0x0 0xfe420000 0x0 0x1 1170 interrupts = <GIC_SPI 54 IRQ_ 1171 assigned-clocks = <&cru CLK_I 1172 assigned-clock-rates = <11880 1173 clocks = <&cru MCLK_I2S2_2CH> 1174 clock-names = "mclk_tx", "mcl 1175 dmas = <&dmac1 4>, <&dmac1 5> 1176 dma-names = "tx", "rx"; 1177 resets = <&cru SRST_M_I2S2_2C 1178 reset-names = "tx-m"; 1179 rockchip,grf = <&grf>; 1180 pinctrl-names = "default"; 1181 pinctrl-0 = <&i2s2m0_sclktx 1182 &i2s2m0_lrckt 1183 &i2s2m0_sdi 1184 &i2s2m0_sdo>; 1185 #sound-dai-cells = <0>; 1186 status = "disabled"; 1187 }; 1188 1189 i2s3_2ch: i2s@fe430000 { 1190 compatible = "rockchip,rk3568 1191 reg = <0x0 0xfe430000 0x0 0x1 1192 interrupts = <GIC_SPI 55 IRQ_ 1193 clocks = <&cru MCLK_I2S3_2CH_ 1194 <&cru HCLK_I2S3_2CH> 1195 clock-names = "mclk_tx", "mcl 1196 dmas = <&dmac1 6>, <&dmac1 7> 1197 dma-names = "tx", "rx"; 1198 resets = <&cru SRST_M_I2S3_2C 1199 reset-names = "tx-m", "rx-m"; 1200 rockchip,grf = <&grf>; 1201 #sound-dai-cells = <0>; 1202 status = "disabled"; 1203 }; 1204 1205 pdm: pdm@fe440000 { 1206 compatible = "rockchip,rk3568 1207 reg = <0x0 0xfe440000 0x0 0x1 1208 interrupts = <GIC_SPI 76 IRQ_ 1209 clocks = <&cru MCLK_PDM>, <&c 1210 clock-names = "pdm_clk", "pdm 1211 dmas = <&dmac1 9>; 1212 dma-names = "rx"; 1213 pinctrl-0 = <&pdmm0_clk 1214 &pdmm0_clk1 1215 &pdmm0_sdi0 1216 &pdmm0_sdi1 1217 &pdmm0_sdi2 1218 &pdmm0_sdi3>; 1219 pinctrl-names = "default"; 1220 resets = <&cru SRST_M_PDM>; 1221 reset-names = "pdm-m"; 1222 #sound-dai-cells = <0>; 1223 status = "disabled"; 1224 }; 1225 1226 spdif: spdif@fe460000 { 1227 compatible = "rockchip,rk3568 1228 reg = <0x0 0xfe460000 0x0 0x1 1229 interrupts = <GIC_SPI 102 IRQ 1230 clock-names = "mclk", "hclk"; 1231 clocks = <&cru MCLK_SPDIF_8CH 1232 dmas = <&dmac1 1>; 1233 dma-names = "tx"; 1234 pinctrl-names = "default"; 1235 pinctrl-0 = <&spdifm0_tx>; 1236 #sound-dai-cells = <0>; 1237 status = "disabled"; 1238 }; 1239 1240 dmac0: dma-controller@fe530000 { 1241 compatible = "arm,pl330", "ar 1242 reg = <0x0 0xfe530000 0x0 0x4 1243 interrupts = <GIC_SPI 14 IRQ_ 1244 <GIC_SPI 13 IRQ_ 1245 arm,pl330-periph-burst; 1246 clocks = <&cru ACLK_BUS>; 1247 clock-names = "apb_pclk"; 1248 #dma-cells = <1>; 1249 }; 1250 1251 dmac1: dma-controller@fe550000 { 1252 compatible = "arm,pl330", "ar 1253 reg = <0x0 0xfe550000 0x0 0x4 1254 interrupts = <GIC_SPI 16 IRQ_ 1255 <GIC_SPI 15 IRQ_ 1256 arm,pl330-periph-burst; 1257 clocks = <&cru ACLK_BUS>; 1258 clock-names = "apb_pclk"; 1259 #dma-cells = <1>; 1260 }; 1261 1262 i2c1: i2c@fe5a0000 { 1263 compatible = "rockchip,rk3568 1264 reg = <0x0 0xfe5a0000 0x0 0x1 1265 interrupts = <GIC_SPI 47 IRQ_ 1266 clocks = <&cru CLK_I2C1>, <&c 1267 clock-names = "i2c", "pclk"; 1268 pinctrl-0 = <&i2c1_xfer>; 1269 pinctrl-names = "default"; 1270 #address-cells = <1>; 1271 #size-cells = <0>; 1272 status = "disabled"; 1273 }; 1274 1275 i2c2: i2c@fe5b0000 { 1276 compatible = "rockchip,rk3568 1277 reg = <0x0 0xfe5b0000 0x0 0x1 1278 interrupts = <GIC_SPI 48 IRQ_ 1279 clocks = <&cru CLK_I2C2>, <&c 1280 clock-names = "i2c", "pclk"; 1281 pinctrl-0 = <&i2c2m0_xfer>; 1282 pinctrl-names = "default"; 1283 #address-cells = <1>; 1284 #size-cells = <0>; 1285 status = "disabled"; 1286 }; 1287 1288 i2c3: i2c@fe5c0000 { 1289 compatible = "rockchip,rk3568 1290 reg = <0x0 0xfe5c0000 0x0 0x1 1291 interrupts = <GIC_SPI 49 IRQ_ 1292 clocks = <&cru CLK_I2C3>, <&c 1293 clock-names = "i2c", "pclk"; 1294 pinctrl-0 = <&i2c3m0_xfer>; 1295 pinctrl-names = "default"; 1296 #address-cells = <1>; 1297 #size-cells = <0>; 1298 status = "disabled"; 1299 }; 1300 1301 i2c4: i2c@fe5d0000 { 1302 compatible = "rockchip,rk3568 1303 reg = <0x0 0xfe5d0000 0x0 0x1 1304 interrupts = <GIC_SPI 50 IRQ_ 1305 clocks = <&cru CLK_I2C4>, <&c 1306 clock-names = "i2c", "pclk"; 1307 pinctrl-0 = <&i2c4m0_xfer>; 1308 pinctrl-names = "default"; 1309 #address-cells = <1>; 1310 #size-cells = <0>; 1311 status = "disabled"; 1312 }; 1313 1314 i2c5: i2c@fe5e0000 { 1315 compatible = "rockchip,rk3568 1316 reg = <0x0 0xfe5e0000 0x0 0x1 1317 interrupts = <GIC_SPI 51 IRQ_ 1318 clocks = <&cru CLK_I2C5>, <&c 1319 clock-names = "i2c", "pclk"; 1320 pinctrl-0 = <&i2c5m0_xfer>; 1321 pinctrl-names = "default"; 1322 #address-cells = <1>; 1323 #size-cells = <0>; 1324 status = "disabled"; 1325 }; 1326 1327 wdt: watchdog@fe600000 { 1328 compatible = "rockchip,rk3568 1329 reg = <0x0 0xfe600000 0x0 0x1 1330 interrupts = <GIC_SPI 149 IRQ 1331 clocks = <&cru TCLK_WDT_NS>, 1332 clock-names = "tclk", "pclk"; 1333 }; 1334 1335 spi0: spi@fe610000 { 1336 compatible = "rockchip,rk3568 1337 reg = <0x0 0xfe610000 0x0 0x1 1338 interrupts = <GIC_SPI 103 IRQ 1339 clocks = <&cru CLK_SPI0>, <&c 1340 clock-names = "spiclk", "apb_ 1341 dmas = <&dmac0 20>, <&dmac0 2 1342 dma-names = "tx", "rx"; 1343 pinctrl-names = "default"; 1344 pinctrl-0 = <&spi0m0_cs0 &spi 1345 #address-cells = <1>; 1346 #size-cells = <0>; 1347 status = "disabled"; 1348 }; 1349 1350 spi1: spi@fe620000 { 1351 compatible = "rockchip,rk3568 1352 reg = <0x0 0xfe620000 0x0 0x1 1353 interrupts = <GIC_SPI 104 IRQ 1354 clocks = <&cru CLK_SPI1>, <&c 1355 clock-names = "spiclk", "apb_ 1356 dmas = <&dmac0 22>, <&dmac0 2 1357 dma-names = "tx", "rx"; 1358 pinctrl-names = "default"; 1359 pinctrl-0 = <&spi1m0_cs0 &spi 1360 #address-cells = <1>; 1361 #size-cells = <0>; 1362 status = "disabled"; 1363 }; 1364 1365 spi2: spi@fe630000 { 1366 compatible = "rockchip,rk3568 1367 reg = <0x0 0xfe630000 0x0 0x1 1368 interrupts = <GIC_SPI 105 IRQ 1369 clocks = <&cru CLK_SPI2>, <&c 1370 clock-names = "spiclk", "apb_ 1371 dmas = <&dmac0 24>, <&dmac0 2 1372 dma-names = "tx", "rx"; 1373 pinctrl-names = "default"; 1374 pinctrl-0 = <&spi2m0_cs0 &spi 1375 #address-cells = <1>; 1376 #size-cells = <0>; 1377 status = "disabled"; 1378 }; 1379 1380 spi3: spi@fe640000 { 1381 compatible = "rockchip,rk3568 1382 reg = <0x0 0xfe640000 0x0 0x1 1383 interrupts = <GIC_SPI 106 IRQ 1384 clocks = <&cru CLK_SPI3>, <&c 1385 clock-names = "spiclk", "apb_ 1386 dmas = <&dmac0 26>, <&dmac0 2 1387 dma-names = "tx", "rx"; 1388 pinctrl-names = "default"; 1389 pinctrl-0 = <&spi3m0_cs0 &spi 1390 #address-cells = <1>; 1391 #size-cells = <0>; 1392 status = "disabled"; 1393 }; 1394 1395 uart1: serial@fe650000 { 1396 compatible = "rockchip,rk3568 1397 reg = <0x0 0xfe650000 0x0 0x1 1398 interrupts = <GIC_SPI 117 IRQ 1399 clocks = <&cru SCLK_UART1>, < 1400 clock-names = "baudclk", "apb 1401 dmas = <&dmac0 2>, <&dmac0 3> 1402 pinctrl-0 = <&uart1m0_xfer>; 1403 pinctrl-names = "default"; 1404 reg-io-width = <4>; 1405 reg-shift = <2>; 1406 status = "disabled"; 1407 }; 1408 1409 uart2: serial@fe660000 { 1410 compatible = "rockchip,rk3568 1411 reg = <0x0 0xfe660000 0x0 0x1 1412 interrupts = <GIC_SPI 118 IRQ 1413 clocks = <&cru SCLK_UART2>, < 1414 clock-names = "baudclk", "apb 1415 dmas = <&dmac0 4>, <&dmac0 5> 1416 pinctrl-0 = <&uart2m0_xfer>; 1417 pinctrl-names = "default"; 1418 reg-io-width = <4>; 1419 reg-shift = <2>; 1420 status = "disabled"; 1421 }; 1422 1423 uart3: serial@fe670000 { 1424 compatible = "rockchip,rk3568 1425 reg = <0x0 0xfe670000 0x0 0x1 1426 interrupts = <GIC_SPI 119 IRQ 1427 clocks = <&cru SCLK_UART3>, < 1428 clock-names = "baudclk", "apb 1429 dmas = <&dmac0 6>, <&dmac0 7> 1430 pinctrl-0 = <&uart3m0_xfer>; 1431 pinctrl-names = "default"; 1432 reg-io-width = <4>; 1433 reg-shift = <2>; 1434 status = "disabled"; 1435 }; 1436 1437 uart4: serial@fe680000 { 1438 compatible = "rockchip,rk3568 1439 reg = <0x0 0xfe680000 0x0 0x1 1440 interrupts = <GIC_SPI 120 IRQ 1441 clocks = <&cru SCLK_UART4>, < 1442 clock-names = "baudclk", "apb 1443 dmas = <&dmac0 8>, <&dmac0 9> 1444 pinctrl-0 = <&uart4m0_xfer>; 1445 pinctrl-names = "default"; 1446 reg-io-width = <4>; 1447 reg-shift = <2>; 1448 status = "disabled"; 1449 }; 1450 1451 uart5: serial@fe690000 { 1452 compatible = "rockchip,rk3568 1453 reg = <0x0 0xfe690000 0x0 0x1 1454 interrupts = <GIC_SPI 121 IRQ 1455 clocks = <&cru SCLK_UART5>, < 1456 clock-names = "baudclk", "apb 1457 dmas = <&dmac0 10>, <&dmac0 1 1458 pinctrl-0 = <&uart5m0_xfer>; 1459 pinctrl-names = "default"; 1460 reg-io-width = <4>; 1461 reg-shift = <2>; 1462 status = "disabled"; 1463 }; 1464 1465 uart6: serial@fe6a0000 { 1466 compatible = "rockchip,rk3568 1467 reg = <0x0 0xfe6a0000 0x0 0x1 1468 interrupts = <GIC_SPI 122 IRQ 1469 clocks = <&cru SCLK_UART6>, < 1470 clock-names = "baudclk", "apb 1471 dmas = <&dmac0 12>, <&dmac0 1 1472 pinctrl-0 = <&uart6m0_xfer>; 1473 pinctrl-names = "default"; 1474 reg-io-width = <4>; 1475 reg-shift = <2>; 1476 status = "disabled"; 1477 }; 1478 1479 uart7: serial@fe6b0000 { 1480 compatible = "rockchip,rk3568 1481 reg = <0x0 0xfe6b0000 0x0 0x1 1482 interrupts = <GIC_SPI 123 IRQ 1483 clocks = <&cru SCLK_UART7>, < 1484 clock-names = "baudclk", "apb 1485 dmas = <&dmac0 14>, <&dmac0 1 1486 pinctrl-0 = <&uart7m0_xfer>; 1487 pinctrl-names = "default"; 1488 reg-io-width = <4>; 1489 reg-shift = <2>; 1490 status = "disabled"; 1491 }; 1492 1493 uart8: serial@fe6c0000 { 1494 compatible = "rockchip,rk3568 1495 reg = <0x0 0xfe6c0000 0x0 0x1 1496 interrupts = <GIC_SPI 124 IRQ 1497 clocks = <&cru SCLK_UART8>, < 1498 clock-names = "baudclk", "apb 1499 dmas = <&dmac0 16>, <&dmac0 1 1500 pinctrl-0 = <&uart8m0_xfer>; 1501 pinctrl-names = "default"; 1502 reg-io-width = <4>; 1503 reg-shift = <2>; 1504 status = "disabled"; 1505 }; 1506 1507 uart9: serial@fe6d0000 { 1508 compatible = "rockchip,rk3568 1509 reg = <0x0 0xfe6d0000 0x0 0x1 1510 interrupts = <GIC_SPI 125 IRQ 1511 clocks = <&cru SCLK_UART9>, < 1512 clock-names = "baudclk", "apb 1513 dmas = <&dmac0 18>, <&dmac0 1 1514 pinctrl-0 = <&uart9m0_xfer>; 1515 pinctrl-names = "default"; 1516 reg-io-width = <4>; 1517 reg-shift = <2>; 1518 status = "disabled"; 1519 }; 1520 1521 thermal_zones: thermal-zones { 1522 cpu_thermal: cpu-thermal { 1523 polling-delay-passive 1524 polling-delay = <1000 1525 1526 thermal-sensors = <&t 1527 1528 trips { 1529 cpu_alert0: c 1530 tempe 1531 hyste 1532 type 1533 }; 1534 cpu_alert1: c 1535 tempe 1536 hyste 1537 type 1538 }; 1539 cpu_crit: cpu 1540 tempe 1541 hyste 1542 type 1543 }; 1544 }; 1545 1546 cooling-maps { 1547 map0 { 1548 trip 1549 cooli 1550 1551 1552 1553 1554 }; 1555 }; 1556 }; 1557 1558 gpu_thermal: gpu-thermal { 1559 polling-delay-passive 1560 polling-delay = <1000 1561 1562 thermal-sensors = <&t 1563 1564 trips { 1565 gpu_threshold 1566 tempe 1567 hyste 1568 type 1569 }; 1570 gpu_target: g 1571 tempe 1572 hyste 1573 type 1574 }; 1575 gpu_crit: gpu 1576 tempe 1577 hyste 1578 type 1579 }; 1580 }; 1581 1582 cooling-maps { 1583 map0 { 1584 trip 1585 cooli 1586 1587 }; 1588 }; 1589 }; 1590 }; 1591 1592 tsadc: tsadc@fe710000 { 1593 compatible = "rockchip,rk3568 1594 reg = <0x0 0xfe710000 0x0 0x1 1595 interrupts = <GIC_SPI 115 IRQ 1596 assigned-clocks = <&cru CLK_T 1597 assigned-clock-rates = <17000 1598 clocks = <&cru CLK_TSADC>, <& 1599 clock-names = "tsadc", "apb_p 1600 resets = <&cru SRST_P_TSADC>, 1601 <&cru SRST_TSADCPHY> 1602 rockchip,grf = <&grf>; 1603 rockchip,hw-tshut-temp = <950 1604 pinctrl-names = "default", "s 1605 pinctrl-0 = <&tsadc_shutorg>; 1606 pinctrl-1 = <&tsadc_pin>; 1607 #thermal-sensor-cells = <1>; 1608 status = "disabled"; 1609 }; 1610 1611 saradc: saradc@fe720000 { 1612 compatible = "rockchip,rk3568 1613 reg = <0x0 0xfe720000 0x0 0x1 1614 interrupts = <GIC_SPI 93 IRQ_ 1615 clocks = <&cru CLK_SARADC>, < 1616 clock-names = "saradc", "apb_ 1617 resets = <&cru SRST_P_SARADC> 1618 reset-names = "saradc-apb"; 1619 #io-channel-cells = <1>; 1620 status = "disabled"; 1621 }; 1622 1623 pwm4: pwm@fe6e0000 { 1624 compatible = "rockchip,rk3568 1625 reg = <0x0 0xfe6e0000 0x0 0x1 1626 clocks = <&cru CLK_PWM1>, <&c 1627 clock-names = "pwm", "pclk"; 1628 pinctrl-0 = <&pwm4_pins>; 1629 pinctrl-names = "default"; 1630 #pwm-cells = <3>; 1631 status = "disabled"; 1632 }; 1633 1634 pwm5: pwm@fe6e0010 { 1635 compatible = "rockchip,rk3568 1636 reg = <0x0 0xfe6e0010 0x0 0x1 1637 clocks = <&cru CLK_PWM1>, <&c 1638 clock-names = "pwm", "pclk"; 1639 pinctrl-0 = <&pwm5_pins>; 1640 pinctrl-names = "default"; 1641 #pwm-cells = <3>; 1642 status = "disabled"; 1643 }; 1644 1645 pwm6: pwm@fe6e0020 { 1646 compatible = "rockchip,rk3568 1647 reg = <0x0 0xfe6e0020 0x0 0x1 1648 clocks = <&cru CLK_PWM1>, <&c 1649 clock-names = "pwm", "pclk"; 1650 pinctrl-0 = <&pwm6_pins>; 1651 pinctrl-names = "default"; 1652 #pwm-cells = <3>; 1653 status = "disabled"; 1654 }; 1655 1656 pwm7: pwm@fe6e0030 { 1657 compatible = "rockchip,rk3568 1658 reg = <0x0 0xfe6e0030 0x0 0x1 1659 clocks = <&cru CLK_PWM1>, <&c 1660 clock-names = "pwm", "pclk"; 1661 pinctrl-0 = <&pwm7_pins>; 1662 pinctrl-names = "default"; 1663 #pwm-cells = <3>; 1664 status = "disabled"; 1665 }; 1666 1667 pwm8: pwm@fe6f0000 { 1668 compatible = "rockchip,rk3568 1669 reg = <0x0 0xfe6f0000 0x0 0x1 1670 clocks = <&cru CLK_PWM2>, <&c 1671 clock-names = "pwm", "pclk"; 1672 pinctrl-0 = <&pwm8m0_pins>; 1673 pinctrl-names = "default"; 1674 #pwm-cells = <3>; 1675 status = "disabled"; 1676 }; 1677 1678 pwm9: pwm@fe6f0010 { 1679 compatible = "rockchip,rk3568 1680 reg = <0x0 0xfe6f0010 0x0 0x1 1681 clocks = <&cru CLK_PWM2>, <&c 1682 clock-names = "pwm", "pclk"; 1683 pinctrl-0 = <&pwm9m0_pins>; 1684 pinctrl-names = "default"; 1685 #pwm-cells = <3>; 1686 status = "disabled"; 1687 }; 1688 1689 pwm10: pwm@fe6f0020 { 1690 compatible = "rockchip,rk3568 1691 reg = <0x0 0xfe6f0020 0x0 0x1 1692 clocks = <&cru CLK_PWM2>, <&c 1693 clock-names = "pwm", "pclk"; 1694 pinctrl-0 = <&pwm10m0_pins>; 1695 pinctrl-names = "default"; 1696 #pwm-cells = <3>; 1697 status = "disabled"; 1698 }; 1699 1700 pwm11: pwm@fe6f0030 { 1701 compatible = "rockchip,rk3568 1702 reg = <0x0 0xfe6f0030 0x0 0x1 1703 clocks = <&cru CLK_PWM2>, <&c 1704 clock-names = "pwm", "pclk"; 1705 pinctrl-0 = <&pwm11m0_pins>; 1706 pinctrl-names = "default"; 1707 #pwm-cells = <3>; 1708 status = "disabled"; 1709 }; 1710 1711 pwm12: pwm@fe700000 { 1712 compatible = "rockchip,rk3568 1713 reg = <0x0 0xfe700000 0x0 0x1 1714 clocks = <&cru CLK_PWM3>, <&c 1715 clock-names = "pwm", "pclk"; 1716 pinctrl-0 = <&pwm12m0_pins>; 1717 pinctrl-names = "default"; 1718 #pwm-cells = <3>; 1719 status = "disabled"; 1720 }; 1721 1722 pwm13: pwm@fe700010 { 1723 compatible = "rockchip,rk3568 1724 reg = <0x0 0xfe700010 0x0 0x1 1725 clocks = <&cru CLK_PWM3>, <&c 1726 clock-names = "pwm", "pclk"; 1727 pinctrl-0 = <&pwm13m0_pins>; 1728 pinctrl-names = "default"; 1729 #pwm-cells = <3>; 1730 status = "disabled"; 1731 }; 1732 1733 pwm14: pwm@fe700020 { 1734 compatible = "rockchip,rk3568 1735 reg = <0x0 0xfe700020 0x0 0x1 1736 clocks = <&cru CLK_PWM3>, <&c 1737 clock-names = "pwm", "pclk"; 1738 pinctrl-0 = <&pwm14m0_pins>; 1739 pinctrl-names = "default"; 1740 #pwm-cells = <3>; 1741 status = "disabled"; 1742 }; 1743 1744 pwm15: pwm@fe700030 { 1745 compatible = "rockchip,rk3568 1746 reg = <0x0 0xfe700030 0x0 0x1 1747 clocks = <&cru CLK_PWM3>, <&c 1748 clock-names = "pwm", "pclk"; 1749 pinctrl-0 = <&pwm15m0_pins>; 1750 pinctrl-names = "default"; 1751 #pwm-cells = <3>; 1752 status = "disabled"; 1753 }; 1754 1755 combphy1: phy@fe830000 { 1756 compatible = "rockchip,rk3568 1757 reg = <0x0 0xfe830000 0x0 0x1 1758 clocks = <&pmucru CLK_PCIEPHY 1759 <&cru PCLK_PIPEPHY1> 1760 <&cru PCLK_PIPE>; 1761 clock-names = "ref", "apb", " 1762 assigned-clocks = <&pmucru CL 1763 assigned-clock-rates = <10000 1764 resets = <&cru SRST_PIPEPHY1> 1765 rockchip,pipe-grf = <&pipegrf 1766 rockchip,pipe-phy-grf = <&pip 1767 #phy-cells = <1>; 1768 status = "disabled"; 1769 }; 1770 1771 combphy2: phy@fe840000 { 1772 compatible = "rockchip,rk3568 1773 reg = <0x0 0xfe840000 0x0 0x1 1774 clocks = <&pmucru CLK_PCIEPHY 1775 <&cru PCLK_PIPEPHY2> 1776 <&cru PCLK_PIPE>; 1777 clock-names = "ref", "apb", " 1778 assigned-clocks = <&pmucru CL 1779 assigned-clock-rates = <10000 1780 resets = <&cru SRST_PIPEPHY2> 1781 rockchip,pipe-grf = <&pipegrf 1782 rockchip,pipe-phy-grf = <&pip 1783 #phy-cells = <1>; 1784 status = "disabled"; 1785 }; 1786 1787 csi_dphy: phy@fe870000 { 1788 compatible = "rockchip,rk3568 1789 reg = <0x0 0xfe870000 0x0 0x1 1790 clocks = <&cru PCLK_MIPICSIPH 1791 clock-names = "pclk"; 1792 #phy-cells = <0>; 1793 resets = <&cru SRST_P_MIPICSI 1794 reset-names = "apb"; 1795 rockchip,grf = <&grf>; 1796 status = "disabled"; 1797 }; 1798 1799 dsi_dphy0: mipi-dphy@fe850000 { 1800 compatible = "rockchip,rk3568 1801 reg = <0x0 0xfe850000 0x0 0x1 1802 clock-names = "ref", "pclk"; 1803 clocks = <&pmucru CLK_MIPIDSI 1804 #phy-cells = <0>; 1805 power-domains = <&power RK356 1806 reset-names = "apb"; 1807 resets = <&cru SRST_P_MIPIDSI 1808 status = "disabled"; 1809 }; 1810 1811 dsi_dphy1: mipi-dphy@fe860000 { 1812 compatible = "rockchip,rk3568 1813 reg = <0x0 0xfe860000 0x0 0x1 1814 clock-names = "ref", "pclk"; 1815 clocks = <&pmucru CLK_MIPIDSI 1816 #phy-cells = <0>; 1817 power-domains = <&power RK356 1818 reset-names = "apb"; 1819 resets = <&cru SRST_P_MIPIDSI 1820 status = "disabled"; 1821 }; 1822 1823 usb2phy0: usb2phy@fe8a0000 { 1824 compatible = "rockchip,rk3568 1825 reg = <0x0 0xfe8a0000 0x0 0x1 1826 clocks = <&pmucru CLK_USBPHY0 1827 clock-names = "phyclk"; 1828 clock-output-names = "clk_usb 1829 interrupts = <GIC_SPI 135 IRQ 1830 rockchip,usbgrf = <&usb2phy0_ 1831 #clock-cells = <0>; 1832 status = "disabled"; 1833 1834 usb2phy0_host: host-port { 1835 #phy-cells = <0>; 1836 status = "disabled"; 1837 }; 1838 1839 usb2phy0_otg: otg-port { 1840 #phy-cells = <0>; 1841 status = "disabled"; 1842 }; 1843 }; 1844 1845 usb2phy1: usb2phy@fe8b0000 { 1846 compatible = "rockchip,rk3568 1847 reg = <0x0 0xfe8b0000 0x0 0x1 1848 clocks = <&pmucru CLK_USBPHY1 1849 clock-names = "phyclk"; 1850 clock-output-names = "clk_usb 1851 interrupts = <GIC_SPI 136 IRQ 1852 rockchip,usbgrf = <&usb2phy1_ 1853 #clock-cells = <0>; 1854 status = "disabled"; 1855 1856 usb2phy1_host: host-port { 1857 #phy-cells = <0>; 1858 status = "disabled"; 1859 }; 1860 1861 usb2phy1_otg: otg-port { 1862 #phy-cells = <0>; 1863 status = "disabled"; 1864 }; 1865 }; 1866 1867 pinctrl: pinctrl { 1868 compatible = "rockchip,rk3568 1869 rockchip,grf = <&grf>; 1870 rockchip,pmu = <&pmugrf>; 1871 #address-cells = <2>; 1872 #size-cells = <2>; 1873 ranges; 1874 1875 gpio0: gpio@fdd60000 { 1876 compatible = "rockchi 1877 reg = <0x0 0xfdd60000 1878 interrupts = <GIC_SPI 1879 clocks = <&pmucru PCL 1880 gpio-controller; 1881 gpio-ranges = <&pinct 1882 #gpio-cells = <2>; 1883 interrupt-controller; 1884 #interrupt-cells = <2 1885 }; 1886 1887 gpio1: gpio@fe740000 { 1888 compatible = "rockchi 1889 reg = <0x0 0xfe740000 1890 interrupts = <GIC_SPI 1891 clocks = <&cru PCLK_G 1892 gpio-controller; 1893 gpio-ranges = <&pinct 1894 #gpio-cells = <2>; 1895 interrupt-controller; 1896 #interrupt-cells = <2 1897 }; 1898 1899 gpio2: gpio@fe750000 { 1900 compatible = "rockchi 1901 reg = <0x0 0xfe750000 1902 interrupts = <GIC_SPI 1903 clocks = <&cru PCLK_G 1904 gpio-controller; 1905 gpio-ranges = <&pinct 1906 #gpio-cells = <2>; 1907 interrupt-controller; 1908 #interrupt-cells = <2 1909 }; 1910 1911 gpio3: gpio@fe760000 { 1912 compatible = "rockchi 1913 reg = <0x0 0xfe760000 1914 interrupts = <GIC_SPI 1915 clocks = <&cru PCLK_G 1916 gpio-controller; 1917 gpio-ranges = <&pinct 1918 #gpio-cells = <2>; 1919 interrupt-controller; 1920 #interrupt-cells = <2 1921 }; 1922 1923 gpio4: gpio@fe770000 { 1924 compatible = "rockchi 1925 reg = <0x0 0xfe770000 1926 interrupts = <GIC_SPI 1927 clocks = <&cru PCLK_G 1928 gpio-controller; 1929 gpio-ranges = <&pinct 1930 #gpio-cells = <2>; 1931 interrupt-controller; 1932 #interrupt-cells = <2 1933 }; 1934 }; 1935 }; 1936 1937 #include "rk3568-pinctrl.dtsi"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.