Dragan Simic | 8b70d5b | 2024-08-02 23:00:25 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2021 Rockchip Electronics Co., Ltd. |
| 4 | */ |
| 5 | |
| 6 | #include <dt-bindings/clock/rockchip,rk3588-cru.h> |
| 7 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 8 | #include <dt-bindings/interrupt-controller/irq.h> |
| 9 | #include <dt-bindings/power/rk3588-power.h> |
| 10 | #include <dt-bindings/reset/rockchip,rk3588-cru.h> |
| 11 | #include <dt-bindings/phy/phy.h> |
| 12 | #include <dt-bindings/ata/ahci.h> |
Alexey Charkov | 932a8f9 | 2024-08-02 23:00:26 +0200 | [diff] [blame] | 13 | #include <dt-bindings/thermal/thermal.h> |
Dragan Simic | 8b70d5b | 2024-08-02 23:00:25 +0200 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | compatible = "rockchip,rk3588"; |
| 17 | |
| 18 | interrupt-parent = <&gic>; |
| 19 | #address-cells = <2>; |
| 20 | #size-cells = <2>; |
| 21 | |
| 22 | aliases { |
| 23 | gpio0 = &gpio0; |
| 24 | gpio1 = &gpio1; |
| 25 | gpio2 = &gpio2; |
| 26 | gpio3 = &gpio3; |
| 27 | gpio4 = &gpio4; |
| 28 | i2c0 = &i2c0; |
| 29 | i2c1 = &i2c1; |
| 30 | i2c2 = &i2c2; |
| 31 | i2c3 = &i2c3; |
| 32 | i2c4 = &i2c4; |
| 33 | i2c5 = &i2c5; |
| 34 | i2c6 = &i2c6; |
| 35 | i2c7 = &i2c7; |
| 36 | i2c8 = &i2c8; |
| 37 | serial0 = &uart0; |
| 38 | serial1 = &uart1; |
| 39 | serial2 = &uart2; |
| 40 | serial3 = &uart3; |
| 41 | serial4 = &uart4; |
| 42 | serial5 = &uart5; |
| 43 | serial6 = &uart6; |
| 44 | serial7 = &uart7; |
| 45 | serial8 = &uart8; |
| 46 | serial9 = &uart9; |
| 47 | spi0 = &spi0; |
| 48 | spi1 = &spi1; |
| 49 | spi2 = &spi2; |
| 50 | spi3 = &spi3; |
| 51 | spi4 = &spi4; |
| 52 | }; |
| 53 | |
| 54 | cpus { |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <0>; |
| 57 | |
| 58 | cpu-map { |
| 59 | cluster0 { |
| 60 | core0 { |
| 61 | cpu = <&cpu_l0>; |
| 62 | }; |
| 63 | core1 { |
| 64 | cpu = <&cpu_l1>; |
| 65 | }; |
| 66 | core2 { |
| 67 | cpu = <&cpu_l2>; |
| 68 | }; |
| 69 | core3 { |
| 70 | cpu = <&cpu_l3>; |
| 71 | }; |
| 72 | }; |
| 73 | cluster1 { |
| 74 | core0 { |
| 75 | cpu = <&cpu_b0>; |
| 76 | }; |
| 77 | core1 { |
| 78 | cpu = <&cpu_b1>; |
| 79 | }; |
| 80 | }; |
| 81 | cluster2 { |
| 82 | core0 { |
| 83 | cpu = <&cpu_b2>; |
| 84 | }; |
| 85 | core1 { |
| 86 | cpu = <&cpu_b3>; |
| 87 | }; |
| 88 | }; |
| 89 | }; |
| 90 | |
| 91 | cpu_l0: cpu@0 { |
| 92 | device_type = "cpu"; |
| 93 | compatible = "arm,cortex-a55"; |
| 94 | reg = <0x0>; |
| 95 | enable-method = "psci"; |
| 96 | capacity-dmips-mhz = <530>; |
| 97 | clocks = <&scmi_clk SCMI_CLK_CPUL>; |
| 98 | assigned-clocks = <&scmi_clk SCMI_CLK_CPUL>; |
| 99 | assigned-clock-rates = <816000000>; |
| 100 | cpu-idle-states = <&CPU_SLEEP>; |
| 101 | i-cache-size = <32768>; |
| 102 | i-cache-line-size = <64>; |
| 103 | i-cache-sets = <128>; |
| 104 | d-cache-size = <32768>; |
| 105 | d-cache-line-size = <64>; |
| 106 | d-cache-sets = <128>; |
| 107 | next-level-cache = <&l2_cache_l0>; |
| 108 | dynamic-power-coefficient = <228>; |
| 109 | #cooling-cells = <2>; |
| 110 | }; |
| 111 | |
| 112 | cpu_l1: cpu@100 { |
| 113 | device_type = "cpu"; |
| 114 | compatible = "arm,cortex-a55"; |
| 115 | reg = <0x100>; |
| 116 | enable-method = "psci"; |
| 117 | capacity-dmips-mhz = <530>; |
| 118 | clocks = <&scmi_clk SCMI_CLK_CPUL>; |
| 119 | cpu-idle-states = <&CPU_SLEEP>; |
| 120 | i-cache-size = <32768>; |
| 121 | i-cache-line-size = <64>; |
| 122 | i-cache-sets = <128>; |
| 123 | d-cache-size = <32768>; |
| 124 | d-cache-line-size = <64>; |
| 125 | d-cache-sets = <128>; |
| 126 | next-level-cache = <&l2_cache_l1>; |
| 127 | dynamic-power-coefficient = <228>; |
| 128 | #cooling-cells = <2>; |
| 129 | }; |
| 130 | |
| 131 | cpu_l2: cpu@200 { |
| 132 | device_type = "cpu"; |
| 133 | compatible = "arm,cortex-a55"; |
| 134 | reg = <0x200>; |
| 135 | enable-method = "psci"; |
| 136 | capacity-dmips-mhz = <530>; |
| 137 | clocks = <&scmi_clk SCMI_CLK_CPUL>; |
| 138 | cpu-idle-states = <&CPU_SLEEP>; |
| 139 | i-cache-size = <32768>; |
| 140 | i-cache-line-size = <64>; |
| 141 | i-cache-sets = <128>; |
| 142 | d-cache-size = <32768>; |
| 143 | d-cache-line-size = <64>; |
| 144 | d-cache-sets = <128>; |
| 145 | next-level-cache = <&l2_cache_l2>; |
| 146 | dynamic-power-coefficient = <228>; |
| 147 | #cooling-cells = <2>; |
| 148 | }; |
| 149 | |
| 150 | cpu_l3: cpu@300 { |
| 151 | device_type = "cpu"; |
| 152 | compatible = "arm,cortex-a55"; |
| 153 | reg = <0x300>; |
| 154 | enable-method = "psci"; |
| 155 | capacity-dmips-mhz = <530>; |
| 156 | clocks = <&scmi_clk SCMI_CLK_CPUL>; |
| 157 | cpu-idle-states = <&CPU_SLEEP>; |
| 158 | i-cache-size = <32768>; |
| 159 | i-cache-line-size = <64>; |
| 160 | i-cache-sets = <128>; |
| 161 | d-cache-size = <32768>; |
| 162 | d-cache-line-size = <64>; |
| 163 | d-cache-sets = <128>; |
| 164 | next-level-cache = <&l2_cache_l3>; |
| 165 | dynamic-power-coefficient = <228>; |
| 166 | #cooling-cells = <2>; |
| 167 | }; |
| 168 | |
| 169 | cpu_b0: cpu@400 { |
| 170 | device_type = "cpu"; |
| 171 | compatible = "arm,cortex-a76"; |
| 172 | reg = <0x400>; |
| 173 | enable-method = "psci"; |
| 174 | capacity-dmips-mhz = <1024>; |
| 175 | clocks = <&scmi_clk SCMI_CLK_CPUB01>; |
| 176 | assigned-clocks = <&scmi_clk SCMI_CLK_CPUB01>; |
| 177 | assigned-clock-rates = <816000000>; |
| 178 | cpu-idle-states = <&CPU_SLEEP>; |
| 179 | i-cache-size = <65536>; |
| 180 | i-cache-line-size = <64>; |
| 181 | i-cache-sets = <256>; |
| 182 | d-cache-size = <65536>; |
| 183 | d-cache-line-size = <64>; |
| 184 | d-cache-sets = <256>; |
| 185 | next-level-cache = <&l2_cache_b0>; |
| 186 | dynamic-power-coefficient = <416>; |
| 187 | #cooling-cells = <2>; |
| 188 | }; |
| 189 | |
| 190 | cpu_b1: cpu@500 { |
| 191 | device_type = "cpu"; |
| 192 | compatible = "arm,cortex-a76"; |
| 193 | reg = <0x500>; |
| 194 | enable-method = "psci"; |
| 195 | capacity-dmips-mhz = <1024>; |
| 196 | clocks = <&scmi_clk SCMI_CLK_CPUB01>; |
| 197 | cpu-idle-states = <&CPU_SLEEP>; |
| 198 | i-cache-size = <65536>; |
| 199 | i-cache-line-size = <64>; |
| 200 | i-cache-sets = <256>; |
| 201 | d-cache-size = <65536>; |
| 202 | d-cache-line-size = <64>; |
| 203 | d-cache-sets = <256>; |
| 204 | next-level-cache = <&l2_cache_b1>; |
| 205 | dynamic-power-coefficient = <416>; |
| 206 | #cooling-cells = <2>; |
| 207 | }; |
| 208 | |
| 209 | cpu_b2: cpu@600 { |
| 210 | device_type = "cpu"; |
| 211 | compatible = "arm,cortex-a76"; |
| 212 | reg = <0x600>; |
| 213 | enable-method = "psci"; |
| 214 | capacity-dmips-mhz = <1024>; |
| 215 | clocks = <&scmi_clk SCMI_CLK_CPUB23>; |
| 216 | assigned-clocks = <&scmi_clk SCMI_CLK_CPUB23>; |
| 217 | assigned-clock-rates = <816000000>; |
| 218 | cpu-idle-states = <&CPU_SLEEP>; |
| 219 | i-cache-size = <65536>; |
| 220 | i-cache-line-size = <64>; |
| 221 | i-cache-sets = <256>; |
| 222 | d-cache-size = <65536>; |
| 223 | d-cache-line-size = <64>; |
| 224 | d-cache-sets = <256>; |
| 225 | next-level-cache = <&l2_cache_b2>; |
| 226 | dynamic-power-coefficient = <416>; |
| 227 | #cooling-cells = <2>; |
| 228 | }; |
| 229 | |
| 230 | cpu_b3: cpu@700 { |
| 231 | device_type = "cpu"; |
| 232 | compatible = "arm,cortex-a76"; |
| 233 | reg = <0x700>; |
| 234 | enable-method = "psci"; |
| 235 | capacity-dmips-mhz = <1024>; |
| 236 | clocks = <&scmi_clk SCMI_CLK_CPUB23>; |
| 237 | cpu-idle-states = <&CPU_SLEEP>; |
| 238 | i-cache-size = <65536>; |
| 239 | i-cache-line-size = <64>; |
| 240 | i-cache-sets = <256>; |
| 241 | d-cache-size = <65536>; |
| 242 | d-cache-line-size = <64>; |
| 243 | d-cache-sets = <256>; |
| 244 | next-level-cache = <&l2_cache_b3>; |
| 245 | dynamic-power-coefficient = <416>; |
| 246 | #cooling-cells = <2>; |
| 247 | }; |
| 248 | |
| 249 | idle-states { |
| 250 | entry-method = "psci"; |
| 251 | CPU_SLEEP: cpu-sleep { |
| 252 | compatible = "arm,idle-state"; |
| 253 | local-timer-stop; |
| 254 | arm,psci-suspend-param = <0x0010000>; |
| 255 | entry-latency-us = <100>; |
| 256 | exit-latency-us = <120>; |
| 257 | min-residency-us = <1000>; |
| 258 | }; |
| 259 | }; |
| 260 | |
| 261 | l2_cache_l0: l2-cache-l0 { |
| 262 | compatible = "cache"; |
| 263 | cache-size = <131072>; |
| 264 | cache-line-size = <64>; |
| 265 | cache-sets = <512>; |
| 266 | cache-level = <2>; |
| 267 | cache-unified; |
| 268 | next-level-cache = <&l3_cache>; |
| 269 | }; |
| 270 | |
| 271 | l2_cache_l1: l2-cache-l1 { |
| 272 | compatible = "cache"; |
| 273 | cache-size = <131072>; |
| 274 | cache-line-size = <64>; |
| 275 | cache-sets = <512>; |
| 276 | cache-level = <2>; |
| 277 | cache-unified; |
| 278 | next-level-cache = <&l3_cache>; |
| 279 | }; |
| 280 | |
| 281 | l2_cache_l2: l2-cache-l2 { |
| 282 | compatible = "cache"; |
| 283 | cache-size = <131072>; |
| 284 | cache-line-size = <64>; |
| 285 | cache-sets = <512>; |
| 286 | cache-level = <2>; |
| 287 | cache-unified; |
| 288 | next-level-cache = <&l3_cache>; |
| 289 | }; |
| 290 | |
| 291 | l2_cache_l3: l2-cache-l3 { |
| 292 | compatible = "cache"; |
| 293 | cache-size = <131072>; |
| 294 | cache-line-size = <64>; |
| 295 | cache-sets = <512>; |
| 296 | cache-level = <2>; |
| 297 | cache-unified; |
| 298 | next-level-cache = <&l3_cache>; |
| 299 | }; |
| 300 | |
| 301 | l2_cache_b0: l2-cache-b0 { |
| 302 | compatible = "cache"; |
| 303 | cache-size = <524288>; |
| 304 | cache-line-size = <64>; |
| 305 | cache-sets = <1024>; |
| 306 | cache-level = <2>; |
| 307 | cache-unified; |
| 308 | next-level-cache = <&l3_cache>; |
| 309 | }; |
| 310 | |
| 311 | l2_cache_b1: l2-cache-b1 { |
| 312 | compatible = "cache"; |
| 313 | cache-size = <524288>; |
| 314 | cache-line-size = <64>; |
| 315 | cache-sets = <1024>; |
| 316 | cache-level = <2>; |
| 317 | cache-unified; |
| 318 | next-level-cache = <&l3_cache>; |
| 319 | }; |
| 320 | |
| 321 | l2_cache_b2: l2-cache-b2 { |
| 322 | compatible = "cache"; |
| 323 | cache-size = <524288>; |
| 324 | cache-line-size = <64>; |
| 325 | cache-sets = <1024>; |
| 326 | cache-level = <2>; |
| 327 | cache-unified; |
| 328 | next-level-cache = <&l3_cache>; |
| 329 | }; |
| 330 | |
| 331 | l2_cache_b3: l2-cache-b3 { |
| 332 | compatible = "cache"; |
| 333 | cache-size = <524288>; |
| 334 | cache-line-size = <64>; |
| 335 | cache-sets = <1024>; |
| 336 | cache-level = <2>; |
| 337 | cache-unified; |
| 338 | next-level-cache = <&l3_cache>; |
| 339 | }; |
| 340 | |
| 341 | l3_cache: l3-cache { |
| 342 | compatible = "cache"; |
| 343 | cache-size = <3145728>; |
| 344 | cache-line-size = <64>; |
| 345 | cache-sets = <4096>; |
| 346 | cache-level = <3>; |
| 347 | cache-unified; |
| 348 | }; |
| 349 | }; |
| 350 | |
| 351 | display_subsystem: display-subsystem { |
| 352 | compatible = "rockchip,display-subsystem"; |
| 353 | ports = <&vop_out>; |
| 354 | }; |
| 355 | |
| 356 | firmware { |
| 357 | optee: optee { |
| 358 | compatible = "linaro,optee-tz"; |
| 359 | method = "smc"; |
| 360 | }; |
| 361 | |
| 362 | scmi: scmi { |
| 363 | compatible = "arm,scmi-smc"; |
| 364 | arm,smc-id = <0x82000010>; |
| 365 | shmem = <&scmi_shmem>; |
| 366 | #address-cells = <1>; |
| 367 | #size-cells = <0>; |
| 368 | |
| 369 | scmi_clk: protocol@14 { |
| 370 | reg = <0x14>; |
| 371 | #clock-cells = <1>; |
| 372 | }; |
| 373 | |
| 374 | scmi_reset: protocol@16 { |
| 375 | reg = <0x16>; |
| 376 | #reset-cells = <1>; |
| 377 | }; |
| 378 | }; |
| 379 | }; |
| 380 | |
| 381 | pmu-a55 { |
| 382 | compatible = "arm,cortex-a55-pmu"; |
| 383 | interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_partition0>; |
| 384 | }; |
| 385 | |
| 386 | pmu-a76 { |
| 387 | compatible = "arm,cortex-a76-pmu"; |
| 388 | interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_partition1>; |
| 389 | }; |
| 390 | |
| 391 | psci { |
| 392 | compatible = "arm,psci-1.0"; |
| 393 | method = "smc"; |
| 394 | }; |
| 395 | |
| 396 | spll: clock-0 { |
| 397 | compatible = "fixed-clock"; |
| 398 | clock-frequency = <702000000>; |
| 399 | clock-output-names = "spll"; |
| 400 | #clock-cells = <0>; |
| 401 | }; |
| 402 | |
| 403 | timer { |
| 404 | compatible = "arm,armv8-timer"; |
| 405 | interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH 0>, |
| 406 | <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH 0>, |
| 407 | <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH 0>, |
| 408 | <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH 0>, |
| 409 | <GIC_PPI 12 IRQ_TYPE_LEVEL_HIGH 0>; |
| 410 | interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", "hyp-virt"; |
| 411 | }; |
| 412 | |
| 413 | xin24m: clock-1 { |
| 414 | compatible = "fixed-clock"; |
| 415 | clock-frequency = <24000000>; |
| 416 | clock-output-names = "xin24m"; |
| 417 | #clock-cells = <0>; |
| 418 | }; |
| 419 | |
| 420 | xin32k: clock-2 { |
| 421 | compatible = "fixed-clock"; |
| 422 | clock-frequency = <32768>; |
| 423 | clock-output-names = "xin32k"; |
| 424 | #clock-cells = <0>; |
| 425 | }; |
| 426 | |
| 427 | pmu_sram: sram@10f000 { |
| 428 | compatible = "mmio-sram"; |
| 429 | reg = <0x0 0x0010f000 0x0 0x100>; |
| 430 | ranges = <0 0x0 0x0010f000 0x100>; |
| 431 | #address-cells = <1>; |
| 432 | #size-cells = <1>; |
| 433 | |
| 434 | scmi_shmem: sram@0 { |
| 435 | compatible = "arm,scmi-shmem"; |
| 436 | reg = <0x0 0x100>; |
| 437 | }; |
| 438 | }; |
| 439 | |
| 440 | gpu: gpu@fb000000 { |
| 441 | compatible = "rockchip,rk3588-mali", "arm,mali-valhall-csf"; |
| 442 | reg = <0x0 0xfb000000 0x0 0x200000>; |
| 443 | #cooling-cells = <2>; |
| 444 | assigned-clocks = <&scmi_clk SCMI_CLK_GPU>; |
| 445 | assigned-clock-rates = <200000000>; |
| 446 | clocks = <&cru CLK_GPU>, <&cru CLK_GPU_COREGROUP>, |
| 447 | <&cru CLK_GPU_STACKS>; |
| 448 | clock-names = "core", "coregroup", "stacks"; |
| 449 | dynamic-power-coefficient = <2982>; |
| 450 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH 0>, |
| 451 | <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH 0>, |
| 452 | <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH 0>; |
| 453 | interrupt-names = "job", "mmu", "gpu"; |
| 454 | operating-points-v2 = <&gpu_opp_table>; |
| 455 | power-domains = <&power RK3588_PD_GPU>; |
| 456 | status = "disabled"; |
| 457 | |
| 458 | gpu_opp_table: opp-table { |
| 459 | compatible = "operating-points-v2"; |
| 460 | |
| 461 | opp-300000000 { |
| 462 | opp-hz = /bits/ 64 <300000000>; |
| 463 | opp-microvolt = <675000 675000 850000>; |
| 464 | }; |
| 465 | opp-400000000 { |
| 466 | opp-hz = /bits/ 64 <400000000>; |
| 467 | opp-microvolt = <675000 675000 850000>; |
| 468 | }; |
| 469 | opp-500000000 { |
| 470 | opp-hz = /bits/ 64 <500000000>; |
| 471 | opp-microvolt = <675000 675000 850000>; |
| 472 | }; |
| 473 | opp-600000000 { |
| 474 | opp-hz = /bits/ 64 <600000000>; |
| 475 | opp-microvolt = <675000 675000 850000>; |
| 476 | }; |
| 477 | opp-700000000 { |
| 478 | opp-hz = /bits/ 64 <700000000>; |
| 479 | opp-microvolt = <700000 700000 850000>; |
| 480 | }; |
| 481 | opp-800000000 { |
| 482 | opp-hz = /bits/ 64 <800000000>; |
| 483 | opp-microvolt = <750000 750000 850000>; |
| 484 | }; |
| 485 | opp-900000000 { |
| 486 | opp-hz = /bits/ 64 <900000000>; |
| 487 | opp-microvolt = <800000 800000 850000>; |
| 488 | }; |
| 489 | opp-1000000000 { |
| 490 | opp-hz = /bits/ 64 <1000000000>; |
| 491 | opp-microvolt = <850000 850000 850000>; |
| 492 | }; |
| 493 | }; |
| 494 | }; |
| 495 | |
| 496 | usb_host0_xhci: usb@fc000000 { |
| 497 | compatible = "rockchip,rk3588-dwc3", "snps,dwc3"; |
| 498 | reg = <0x0 0xfc000000 0x0 0x400000>; |
| 499 | interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 0>; |
| 500 | clocks = <&cru REF_CLK_USB3OTG0>, <&cru SUSPEND_CLK_USB3OTG0>, |
| 501 | <&cru ACLK_USB3OTG0>; |
| 502 | clock-names = "ref_clk", "suspend_clk", "bus_clk"; |
| 503 | dr_mode = "otg"; |
| 504 | phys = <&u2phy0_otg>, <&usbdp_phy0 PHY_TYPE_USB3>; |
| 505 | phy-names = "usb2-phy", "usb3-phy"; |
| 506 | phy_type = "utmi_wide"; |
| 507 | power-domains = <&power RK3588_PD_USB>; |
| 508 | resets = <&cru SRST_A_USB3OTG0>; |
| 509 | snps,dis_enblslpm_quirk; |
| 510 | snps,dis-u1-entry-quirk; |
| 511 | snps,dis-u2-entry-quirk; |
| 512 | snps,dis-u2-freeclk-exists-quirk; |
| 513 | snps,dis-del-phy-power-chg-quirk; |
| 514 | snps,dis-tx-ipgap-linecheck-quirk; |
| 515 | status = "disabled"; |
| 516 | }; |
| 517 | |
| 518 | usb_host0_ehci: usb@fc800000 { |
| 519 | compatible = "rockchip,rk3588-ehci", "generic-ehci"; |
| 520 | reg = <0x0 0xfc800000 0x0 0x40000>; |
| 521 | interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH 0>; |
| 522 | clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST_ARB0>, <&cru ACLK_USB>, <&u2phy2>; |
| 523 | phys = <&u2phy2_host>; |
| 524 | phy-names = "usb"; |
| 525 | power-domains = <&power RK3588_PD_USB>; |
| 526 | status = "disabled"; |
| 527 | }; |
| 528 | |
| 529 | usb_host0_ohci: usb@fc840000 { |
| 530 | compatible = "rockchip,rk3588-ohci", "generic-ohci"; |
| 531 | reg = <0x0 0xfc840000 0x0 0x40000>; |
| 532 | interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 0>; |
| 533 | clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST_ARB0>, <&cru ACLK_USB>, <&u2phy2>; |
| 534 | phys = <&u2phy2_host>; |
| 535 | phy-names = "usb"; |
| 536 | power-domains = <&power RK3588_PD_USB>; |
| 537 | status = "disabled"; |
| 538 | }; |
| 539 | |
| 540 | usb_host1_ehci: usb@fc880000 { |
| 541 | compatible = "rockchip,rk3588-ehci", "generic-ehci"; |
| 542 | reg = <0x0 0xfc880000 0x0 0x40000>; |
| 543 | interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 0>; |
| 544 | clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST_ARB1>, <&cru ACLK_USB>, <&u2phy3>; |
| 545 | phys = <&u2phy3_host>; |
| 546 | phy-names = "usb"; |
| 547 | power-domains = <&power RK3588_PD_USB>; |
| 548 | status = "disabled"; |
| 549 | }; |
| 550 | |
| 551 | usb_host1_ohci: usb@fc8c0000 { |
| 552 | compatible = "rockchip,rk3588-ohci", "generic-ohci"; |
| 553 | reg = <0x0 0xfc8c0000 0x0 0x40000>; |
| 554 | interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 0>; |
| 555 | clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST_ARB1>, <&cru ACLK_USB>, <&u2phy3>; |
| 556 | phys = <&u2phy3_host>; |
| 557 | phy-names = "usb"; |
| 558 | power-domains = <&power RK3588_PD_USB>; |
| 559 | status = "disabled"; |
| 560 | }; |
| 561 | |
| 562 | usb_host2_xhci: usb@fcd00000 { |
| 563 | compatible = "rockchip,rk3588-dwc3", "snps,dwc3"; |
| 564 | reg = <0x0 0xfcd00000 0x0 0x400000>; |
| 565 | interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH 0>; |
| 566 | clocks = <&cru REF_CLK_USB3OTG2>, <&cru SUSPEND_CLK_USB3OTG2>, |
| 567 | <&cru ACLK_USB3OTG2>, <&cru CLK_UTMI_OTG2>, |
| 568 | <&cru CLK_PIPEPHY2_PIPE_U3_G>; |
| 569 | clock-names = "ref_clk", "suspend_clk", "bus_clk", "utmi", "pipe"; |
| 570 | dr_mode = "host"; |
| 571 | phys = <&combphy2_psu PHY_TYPE_USB3>; |
| 572 | phy-names = "usb3-phy"; |
| 573 | phy_type = "utmi_wide"; |
| 574 | resets = <&cru SRST_A_USB3OTG2>; |
| 575 | snps,dis_enblslpm_quirk; |
| 576 | snps,dis-u2-freeclk-exists-quirk; |
| 577 | snps,dis-del-phy-power-chg-quirk; |
| 578 | snps,dis-tx-ipgap-linecheck-quirk; |
| 579 | snps,dis_rxdet_inp3_quirk; |
| 580 | status = "disabled"; |
| 581 | }; |
| 582 | |
| 583 | mmu600_pcie: iommu@fc900000 { |
| 584 | compatible = "arm,smmu-v3"; |
| 585 | reg = <0x0 0xfc900000 0x0 0x200000>; |
| 586 | interrupts = <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH 0>, |
| 587 | <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH 0>, |
| 588 | <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH 0>, |
| 589 | <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH 0>; |
| 590 | interrupt-names = "eventq", "gerror", "priq", "cmdq-sync"; |
| 591 | #iommu-cells = <1>; |
| 592 | status = "disabled"; |
| 593 | }; |
| 594 | |
| 595 | mmu600_php: iommu@fcb00000 { |
| 596 | compatible = "arm,smmu-v3"; |
| 597 | reg = <0x0 0xfcb00000 0x0 0x200000>; |
| 598 | interrupts = <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH 0>, |
| 599 | <GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH 0>, |
| 600 | <GIC_SPI 386 IRQ_TYPE_LEVEL_HIGH 0>, |
| 601 | <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH 0>; |
| 602 | interrupt-names = "eventq", "gerror", "priq", "cmdq-sync"; |
| 603 | #iommu-cells = <1>; |
| 604 | status = "disabled"; |
| 605 | }; |
| 606 | |
| 607 | pmu1grf: syscon@fd58a000 { |
| 608 | compatible = "rockchip,rk3588-pmugrf", "syscon", "simple-mfd"; |
| 609 | reg = <0x0 0xfd58a000 0x0 0x10000>; |
| 610 | }; |
| 611 | |
| 612 | sys_grf: syscon@fd58c000 { |
| 613 | compatible = "rockchip,rk3588-sys-grf", "syscon"; |
| 614 | reg = <0x0 0xfd58c000 0x0 0x1000>; |
| 615 | }; |
| 616 | |
| 617 | vop_grf: syscon@fd5a4000 { |
| 618 | compatible = "rockchip,rk3588-vop-grf", "syscon"; |
| 619 | reg = <0x0 0xfd5a4000 0x0 0x2000>; |
| 620 | }; |
| 621 | |
| 622 | vo0_grf: syscon@fd5a6000 { |
| 623 | compatible = "rockchip,rk3588-vo-grf", "syscon"; |
| 624 | reg = <0x0 0xfd5a6000 0x0 0x2000>; |
| 625 | clocks = <&cru PCLK_VO0GRF>; |
| 626 | }; |
| 627 | |
| 628 | vo1_grf: syscon@fd5a8000 { |
| 629 | compatible = "rockchip,rk3588-vo-grf", "syscon"; |
| 630 | reg = <0x0 0xfd5a8000 0x0 0x100>; |
| 631 | clocks = <&cru PCLK_VO1GRF>; |
| 632 | }; |
| 633 | |
| 634 | usb_grf: syscon@fd5ac000 { |
| 635 | compatible = "rockchip,rk3588-usb-grf", "syscon"; |
| 636 | reg = <0x0 0xfd5ac000 0x0 0x4000>; |
| 637 | }; |
| 638 | |
| 639 | php_grf: syscon@fd5b0000 { |
| 640 | compatible = "rockchip,rk3588-php-grf", "syscon"; |
| 641 | reg = <0x0 0xfd5b0000 0x0 0x1000>; |
| 642 | }; |
| 643 | |
| 644 | pipe_phy0_grf: syscon@fd5bc000 { |
| 645 | compatible = "rockchip,rk3588-pipe-phy-grf", "syscon"; |
| 646 | reg = <0x0 0xfd5bc000 0x0 0x100>; |
| 647 | }; |
| 648 | |
| 649 | pipe_phy2_grf: syscon@fd5c4000 { |
| 650 | compatible = "rockchip,rk3588-pipe-phy-grf", "syscon"; |
| 651 | reg = <0x0 0xfd5c4000 0x0 0x100>; |
| 652 | }; |
| 653 | |
| 654 | usbdpphy0_grf: syscon@fd5c8000 { |
| 655 | compatible = "rockchip,rk3588-usbdpphy-grf", "syscon"; |
| 656 | reg = <0x0 0xfd5c8000 0x0 0x4000>; |
| 657 | }; |
| 658 | |
| 659 | usb2phy0_grf: syscon@fd5d0000 { |
| 660 | compatible = "rockchip,rk3588-usb2phy-grf", "syscon", "simple-mfd"; |
| 661 | reg = <0x0 0xfd5d0000 0x0 0x4000>; |
| 662 | #address-cells = <1>; |
| 663 | #size-cells = <1>; |
| 664 | |
| 665 | u2phy0: usb2phy@0 { |
| 666 | compatible = "rockchip,rk3588-usb2phy"; |
| 667 | reg = <0x0 0x10>; |
| 668 | #clock-cells = <0>; |
| 669 | clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>; |
| 670 | clock-names = "phyclk"; |
| 671 | clock-output-names = "usb480m_phy0"; |
| 672 | interrupts = <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH 0>; |
| 673 | resets = <&cru SRST_OTGPHY_U3_0>, <&cru SRST_P_USB2PHY_U3_0_GRF0>; |
| 674 | reset-names = "phy", "apb"; |
| 675 | status = "disabled"; |
| 676 | |
| 677 | u2phy0_otg: otg-port { |
| 678 | #phy-cells = <0>; |
| 679 | status = "disabled"; |
| 680 | }; |
| 681 | }; |
| 682 | }; |
| 683 | |
| 684 | usb2phy2_grf: syscon@fd5d8000 { |
| 685 | compatible = "rockchip,rk3588-usb2phy-grf", "syscon", "simple-mfd"; |
| 686 | reg = <0x0 0xfd5d8000 0x0 0x4000>; |
| 687 | #address-cells = <1>; |
| 688 | #size-cells = <1>; |
| 689 | |
| 690 | u2phy2: usb2phy@8000 { |
| 691 | compatible = "rockchip,rk3588-usb2phy"; |
| 692 | reg = <0x8000 0x10>; |
| 693 | #clock-cells = <0>; |
| 694 | clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>; |
| 695 | clock-names = "phyclk"; |
| 696 | clock-output-names = "usb480m_phy2"; |
| 697 | interrupts = <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH 0>; |
| 698 | resets = <&cru SRST_OTGPHY_U2_0>, <&cru SRST_P_USB2PHY_U2_0_GRF0>; |
| 699 | reset-names = "phy", "apb"; |
| 700 | status = "disabled"; |
| 701 | |
| 702 | u2phy2_host: host-port { |
| 703 | #phy-cells = <0>; |
| 704 | status = "disabled"; |
| 705 | }; |
| 706 | }; |
| 707 | }; |
| 708 | |
| 709 | usb2phy3_grf: syscon@fd5dc000 { |
| 710 | compatible = "rockchip,rk3588-usb2phy-grf", "syscon", "simple-mfd"; |
| 711 | reg = <0x0 0xfd5dc000 0x0 0x4000>; |
| 712 | #address-cells = <1>; |
| 713 | #size-cells = <1>; |
| 714 | |
| 715 | u2phy3: usb2phy@c000 { |
| 716 | compatible = "rockchip,rk3588-usb2phy"; |
| 717 | reg = <0xc000 0x10>; |
| 718 | #clock-cells = <0>; |
| 719 | clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>; |
| 720 | clock-names = "phyclk"; |
| 721 | clock-output-names = "usb480m_phy3"; |
| 722 | interrupts = <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH 0>; |
| 723 | resets = <&cru SRST_OTGPHY_U2_1>, <&cru SRST_P_USB2PHY_U2_1_GRF0>; |
| 724 | reset-names = "phy", "apb"; |
| 725 | status = "disabled"; |
| 726 | |
| 727 | u2phy3_host: host-port { |
| 728 | #phy-cells = <0>; |
| 729 | status = "disabled"; |
| 730 | }; |
| 731 | }; |
| 732 | }; |
| 733 | |
| 734 | hdptxphy0_grf: syscon@fd5e0000 { |
| 735 | compatible = "rockchip,rk3588-hdptxphy-grf", "syscon"; |
| 736 | reg = <0x0 0xfd5e0000 0x0 0x100>; |
| 737 | }; |
| 738 | |
| 739 | ioc: syscon@fd5f0000 { |
| 740 | compatible = "rockchip,rk3588-ioc", "syscon"; |
| 741 | reg = <0x0 0xfd5f0000 0x0 0x10000>; |
| 742 | }; |
| 743 | |
| 744 | system_sram1: sram@fd600000 { |
| 745 | compatible = "mmio-sram"; |
| 746 | reg = <0x0 0xfd600000 0x0 0x100000>; |
| 747 | ranges = <0x0 0x0 0xfd600000 0x100000>; |
| 748 | #address-cells = <1>; |
| 749 | #size-cells = <1>; |
| 750 | }; |
| 751 | |
| 752 | cru: clock-controller@fd7c0000 { |
| 753 | compatible = "rockchip,rk3588-cru"; |
| 754 | reg = <0x0 0xfd7c0000 0x0 0x5c000>; |
| 755 | assigned-clocks = |
| 756 | <&cru PLL_PPLL>, <&cru PLL_AUPLL>, |
| 757 | <&cru PLL_NPLL>, <&cru PLL_GPLL>, |
| 758 | <&cru ACLK_CENTER_ROOT>, |
| 759 | <&cru HCLK_CENTER_ROOT>, <&cru ACLK_CENTER_LOW_ROOT>, |
| 760 | <&cru ACLK_TOP_ROOT>, <&cru PCLK_TOP_ROOT>, |
| 761 | <&cru ACLK_LOW_TOP_ROOT>, <&cru PCLK_PMU0_ROOT>, |
| 762 | <&cru HCLK_PMU_CM0_ROOT>, <&cru ACLK_VOP>, |
| 763 | <&cru ACLK_BUS_ROOT>, <&cru CLK_150M_SRC>, |
| 764 | <&cru CLK_GPU>; |
| 765 | assigned-clock-rates = |
| 766 | <1100000000>, <786432000>, |
| 767 | <850000000>, <1188000000>, |
| 768 | <702000000>, |
| 769 | <400000000>, <500000000>, |
| 770 | <800000000>, <100000000>, |
| 771 | <400000000>, <100000000>, |
| 772 | <200000000>, <500000000>, |
| 773 | <375000000>, <150000000>, |
| 774 | <200000000>; |
| 775 | rockchip,grf = <&php_grf>; |
| 776 | #clock-cells = <1>; |
| 777 | #reset-cells = <1>; |
| 778 | }; |
| 779 | |
| 780 | i2c0: i2c@fd880000 { |
| 781 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 782 | reg = <0x0 0xfd880000 0x0 0x1000>; |
| 783 | interrupts = <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 0>; |
| 784 | clocks = <&cru CLK_I2C0>, <&cru PCLK_I2C0>; |
| 785 | clock-names = "i2c", "pclk"; |
| 786 | pinctrl-0 = <&i2c0m0_xfer>; |
| 787 | pinctrl-names = "default"; |
| 788 | #address-cells = <1>; |
| 789 | #size-cells = <0>; |
| 790 | status = "disabled"; |
| 791 | }; |
| 792 | |
| 793 | uart0: serial@fd890000 { |
| 794 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 795 | reg = <0x0 0xfd890000 0x0 0x100>; |
| 796 | interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH 0>; |
| 797 | clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; |
| 798 | clock-names = "baudclk", "apb_pclk"; |
| 799 | dmas = <&dmac0 6>, <&dmac0 7>; |
| 800 | dma-names = "tx", "rx"; |
| 801 | pinctrl-0 = <&uart0m1_xfer>; |
| 802 | pinctrl-names = "default"; |
| 803 | reg-shift = <2>; |
| 804 | reg-io-width = <4>; |
| 805 | status = "disabled"; |
| 806 | }; |
| 807 | |
| 808 | pwm0: pwm@fd8b0000 { |
| 809 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 810 | reg = <0x0 0xfd8b0000 0x0 0x10>; |
| 811 | clocks = <&cru CLK_PMU1PWM>, <&cru PCLK_PMU1PWM>; |
| 812 | clock-names = "pwm", "pclk"; |
| 813 | pinctrl-0 = <&pwm0m0_pins>; |
| 814 | pinctrl-names = "default"; |
| 815 | #pwm-cells = <3>; |
| 816 | status = "disabled"; |
| 817 | }; |
| 818 | |
| 819 | pwm1: pwm@fd8b0010 { |
| 820 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 821 | reg = <0x0 0xfd8b0010 0x0 0x10>; |
| 822 | clocks = <&cru CLK_PMU1PWM>, <&cru PCLK_PMU1PWM>; |
| 823 | clock-names = "pwm", "pclk"; |
| 824 | pinctrl-0 = <&pwm1m0_pins>; |
| 825 | pinctrl-names = "default"; |
| 826 | #pwm-cells = <3>; |
| 827 | status = "disabled"; |
| 828 | }; |
| 829 | |
| 830 | pwm2: pwm@fd8b0020 { |
| 831 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 832 | reg = <0x0 0xfd8b0020 0x0 0x10>; |
| 833 | clocks = <&cru CLK_PMU1PWM>, <&cru PCLK_PMU1PWM>; |
| 834 | clock-names = "pwm", "pclk"; |
| 835 | pinctrl-0 = <&pwm2m0_pins>; |
| 836 | pinctrl-names = "default"; |
| 837 | #pwm-cells = <3>; |
| 838 | status = "disabled"; |
| 839 | }; |
| 840 | |
| 841 | pwm3: pwm@fd8b0030 { |
| 842 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 843 | reg = <0x0 0xfd8b0030 0x0 0x10>; |
| 844 | clocks = <&cru CLK_PMU1PWM>, <&cru PCLK_PMU1PWM>; |
| 845 | clock-names = "pwm", "pclk"; |
| 846 | pinctrl-0 = <&pwm3m0_pins>; |
| 847 | pinctrl-names = "default"; |
| 848 | #pwm-cells = <3>; |
| 849 | status = "disabled"; |
| 850 | }; |
| 851 | |
| 852 | pmu: power-management@fd8d8000 { |
| 853 | compatible = "rockchip,rk3588-pmu", "syscon", "simple-mfd"; |
| 854 | reg = <0x0 0xfd8d8000 0x0 0x400>; |
| 855 | |
| 856 | power: power-controller { |
| 857 | compatible = "rockchip,rk3588-power-controller"; |
| 858 | #address-cells = <1>; |
| 859 | #power-domain-cells = <1>; |
| 860 | #size-cells = <0>; |
| 861 | status = "okay"; |
| 862 | |
| 863 | /* These power domains are grouped by VD_NPU */ |
| 864 | power-domain@RK3588_PD_NPU { |
| 865 | reg = <RK3588_PD_NPU>; |
| 866 | #power-domain-cells = <0>; |
| 867 | #address-cells = <1>; |
| 868 | #size-cells = <0>; |
| 869 | |
| 870 | power-domain@RK3588_PD_NPUTOP { |
| 871 | reg = <RK3588_PD_NPUTOP>; |
| 872 | clocks = <&cru HCLK_NPU_ROOT>, |
| 873 | <&cru PCLK_NPU_ROOT>, |
| 874 | <&cru CLK_NPU_DSU0>, |
| 875 | <&cru HCLK_NPU_CM0_ROOT>; |
| 876 | pm_qos = <&qos_npu0_mwr>, |
| 877 | <&qos_npu0_mro>, |
| 878 | <&qos_mcu_npu>; |
| 879 | #power-domain-cells = <0>; |
| 880 | #address-cells = <1>; |
| 881 | #size-cells = <0>; |
| 882 | |
| 883 | power-domain@RK3588_PD_NPU1 { |
| 884 | reg = <RK3588_PD_NPU1>; |
| 885 | clocks = <&cru HCLK_NPU_ROOT>, |
| 886 | <&cru PCLK_NPU_ROOT>, |
| 887 | <&cru CLK_NPU_DSU0>; |
| 888 | pm_qos = <&qos_npu1>; |
| 889 | #power-domain-cells = <0>; |
| 890 | }; |
| 891 | power-domain@RK3588_PD_NPU2 { |
| 892 | reg = <RK3588_PD_NPU2>; |
| 893 | clocks = <&cru HCLK_NPU_ROOT>, |
| 894 | <&cru PCLK_NPU_ROOT>, |
| 895 | <&cru CLK_NPU_DSU0>; |
| 896 | pm_qos = <&qos_npu2>; |
| 897 | #power-domain-cells = <0>; |
| 898 | }; |
| 899 | }; |
| 900 | }; |
| 901 | /* These power domains are grouped by VD_GPU */ |
| 902 | power-domain@RK3588_PD_GPU { |
| 903 | reg = <RK3588_PD_GPU>; |
| 904 | clocks = <&cru CLK_GPU>, |
| 905 | <&cru CLK_GPU_COREGROUP>, |
| 906 | <&cru CLK_GPU_STACKS>; |
| 907 | pm_qos = <&qos_gpu_m0>, |
| 908 | <&qos_gpu_m1>, |
| 909 | <&qos_gpu_m2>, |
| 910 | <&qos_gpu_m3>; |
| 911 | #power-domain-cells = <0>; |
| 912 | }; |
| 913 | /* These power domains are grouped by VD_VCODEC */ |
| 914 | power-domain@RK3588_PD_VCODEC { |
| 915 | reg = <RK3588_PD_VCODEC>; |
| 916 | #address-cells = <1>; |
| 917 | #size-cells = <0>; |
| 918 | #power-domain-cells = <0>; |
| 919 | |
| 920 | power-domain@RK3588_PD_RKVDEC0 { |
| 921 | reg = <RK3588_PD_RKVDEC0>; |
| 922 | clocks = <&cru HCLK_RKVDEC0>, |
| 923 | <&cru HCLK_VDPU_ROOT>, |
| 924 | <&cru ACLK_VDPU_ROOT>, |
| 925 | <&cru ACLK_RKVDEC0>, |
| 926 | <&cru ACLK_RKVDEC_CCU>; |
| 927 | pm_qos = <&qos_rkvdec0>; |
| 928 | #power-domain-cells = <0>; |
| 929 | }; |
| 930 | power-domain@RK3588_PD_RKVDEC1 { |
| 931 | reg = <RK3588_PD_RKVDEC1>; |
| 932 | clocks = <&cru HCLK_RKVDEC1>, |
| 933 | <&cru HCLK_VDPU_ROOT>, |
| 934 | <&cru ACLK_VDPU_ROOT>, |
| 935 | <&cru ACLK_RKVDEC1>; |
| 936 | pm_qos = <&qos_rkvdec1>; |
| 937 | #power-domain-cells = <0>; |
| 938 | }; |
| 939 | power-domain@RK3588_PD_VENC0 { |
| 940 | reg = <RK3588_PD_VENC0>; |
| 941 | clocks = <&cru HCLK_RKVENC0>, |
| 942 | <&cru ACLK_RKVENC0>; |
| 943 | pm_qos = <&qos_rkvenc0_m0ro>, |
| 944 | <&qos_rkvenc0_m1ro>, |
| 945 | <&qos_rkvenc0_m2wo>; |
| 946 | #address-cells = <1>; |
| 947 | #size-cells = <0>; |
| 948 | #power-domain-cells = <0>; |
| 949 | |
| 950 | power-domain@RK3588_PD_VENC1 { |
| 951 | reg = <RK3588_PD_VENC1>; |
| 952 | clocks = <&cru HCLK_RKVENC1>, |
| 953 | <&cru HCLK_RKVENC0>, |
| 954 | <&cru ACLK_RKVENC0>, |
| 955 | <&cru ACLK_RKVENC1>; |
| 956 | pm_qos = <&qos_rkvenc1_m0ro>, |
| 957 | <&qos_rkvenc1_m1ro>, |
| 958 | <&qos_rkvenc1_m2wo>; |
| 959 | #power-domain-cells = <0>; |
| 960 | }; |
| 961 | }; |
| 962 | }; |
| 963 | /* These power domains are grouped by VD_LOGIC */ |
| 964 | power-domain@RK3588_PD_VDPU { |
| 965 | reg = <RK3588_PD_VDPU>; |
| 966 | clocks = <&cru HCLK_VDPU_ROOT>, |
| 967 | <&cru ACLK_VDPU_LOW_ROOT>, |
| 968 | <&cru ACLK_VDPU_ROOT>, |
| 969 | <&cru ACLK_JPEG_DECODER_ROOT>, |
| 970 | <&cru ACLK_IEP2P0>, |
| 971 | <&cru HCLK_IEP2P0>, |
| 972 | <&cru ACLK_JPEG_ENCODER0>, |
| 973 | <&cru HCLK_JPEG_ENCODER0>, |
| 974 | <&cru ACLK_JPEG_ENCODER1>, |
| 975 | <&cru HCLK_JPEG_ENCODER1>, |
| 976 | <&cru ACLK_JPEG_ENCODER2>, |
| 977 | <&cru HCLK_JPEG_ENCODER2>, |
| 978 | <&cru ACLK_JPEG_ENCODER3>, |
| 979 | <&cru HCLK_JPEG_ENCODER3>, |
| 980 | <&cru ACLK_JPEG_DECODER>, |
| 981 | <&cru HCLK_JPEG_DECODER>, |
| 982 | <&cru ACLK_RGA2>, |
| 983 | <&cru HCLK_RGA2>; |
| 984 | pm_qos = <&qos_iep>, |
| 985 | <&qos_jpeg_dec>, |
| 986 | <&qos_jpeg_enc0>, |
| 987 | <&qos_jpeg_enc1>, |
| 988 | <&qos_jpeg_enc2>, |
| 989 | <&qos_jpeg_enc3>, |
| 990 | <&qos_rga2_mro>, |
| 991 | <&qos_rga2_mwo>; |
| 992 | #address-cells = <1>; |
| 993 | #size-cells = <0>; |
| 994 | #power-domain-cells = <0>; |
| 995 | |
| 996 | |
| 997 | power-domain@RK3588_PD_AV1 { |
| 998 | reg = <RK3588_PD_AV1>; |
| 999 | clocks = <&cru PCLK_AV1>, |
| 1000 | <&cru ACLK_AV1>, |
| 1001 | <&cru HCLK_VDPU_ROOT>; |
| 1002 | pm_qos = <&qos_av1>; |
| 1003 | #power-domain-cells = <0>; |
| 1004 | }; |
| 1005 | power-domain@RK3588_PD_RKVDEC0 { |
| 1006 | reg = <RK3588_PD_RKVDEC0>; |
| 1007 | clocks = <&cru HCLK_RKVDEC0>, |
| 1008 | <&cru HCLK_VDPU_ROOT>, |
| 1009 | <&cru ACLK_VDPU_ROOT>, |
| 1010 | <&cru ACLK_RKVDEC0>; |
| 1011 | pm_qos = <&qos_rkvdec0>; |
| 1012 | #power-domain-cells = <0>; |
| 1013 | }; |
| 1014 | power-domain@RK3588_PD_RKVDEC1 { |
| 1015 | reg = <RK3588_PD_RKVDEC1>; |
| 1016 | clocks = <&cru HCLK_RKVDEC1>, |
| 1017 | <&cru HCLK_VDPU_ROOT>, |
| 1018 | <&cru ACLK_VDPU_ROOT>; |
| 1019 | pm_qos = <&qos_rkvdec1>; |
| 1020 | #power-domain-cells = <0>; |
| 1021 | }; |
| 1022 | power-domain@RK3588_PD_RGA30 { |
| 1023 | reg = <RK3588_PD_RGA30>; |
| 1024 | clocks = <&cru ACLK_RGA3_0>, |
| 1025 | <&cru HCLK_RGA3_0>; |
| 1026 | pm_qos = <&qos_rga3_0>; |
| 1027 | #power-domain-cells = <0>; |
| 1028 | }; |
| 1029 | }; |
| 1030 | power-domain@RK3588_PD_VOP { |
| 1031 | reg = <RK3588_PD_VOP>; |
| 1032 | clocks = <&cru PCLK_VOP_ROOT>, |
| 1033 | <&cru HCLK_VOP_ROOT>, |
| 1034 | <&cru ACLK_VOP>; |
| 1035 | pm_qos = <&qos_vop_m0>, |
| 1036 | <&qos_vop_m1>; |
| 1037 | #address-cells = <1>; |
| 1038 | #size-cells = <0>; |
| 1039 | #power-domain-cells = <0>; |
| 1040 | |
| 1041 | power-domain@RK3588_PD_VO0 { |
| 1042 | reg = <RK3588_PD_VO0>; |
| 1043 | clocks = <&cru PCLK_VO0_ROOT>, |
| 1044 | <&cru PCLK_VO0_S_ROOT>, |
| 1045 | <&cru HCLK_VO0_S_ROOT>, |
| 1046 | <&cru ACLK_VO0_ROOT>, |
| 1047 | <&cru HCLK_HDCP0>, |
| 1048 | <&cru ACLK_HDCP0>, |
| 1049 | <&cru HCLK_VOP_ROOT>; |
| 1050 | pm_qos = <&qos_hdcp0>; |
| 1051 | #power-domain-cells = <0>; |
| 1052 | }; |
| 1053 | }; |
| 1054 | power-domain@RK3588_PD_VO1 { |
| 1055 | reg = <RK3588_PD_VO1>; |
| 1056 | clocks = <&cru PCLK_VO1_ROOT>, |
| 1057 | <&cru PCLK_VO1_S_ROOT>, |
| 1058 | <&cru HCLK_VO1_S_ROOT>, |
| 1059 | <&cru HCLK_HDCP1>, |
| 1060 | <&cru ACLK_HDCP1>, |
| 1061 | <&cru ACLK_HDMIRX_ROOT>, |
| 1062 | <&cru HCLK_VO1USB_TOP_ROOT>; |
| 1063 | pm_qos = <&qos_hdcp1>, |
| 1064 | <&qos_hdmirx>; |
| 1065 | #power-domain-cells = <0>; |
| 1066 | }; |
| 1067 | power-domain@RK3588_PD_VI { |
| 1068 | reg = <RK3588_PD_VI>; |
| 1069 | clocks = <&cru HCLK_VI_ROOT>, |
| 1070 | <&cru PCLK_VI_ROOT>, |
| 1071 | <&cru HCLK_ISP0>, |
| 1072 | <&cru ACLK_ISP0>, |
| 1073 | <&cru HCLK_VICAP>, |
| 1074 | <&cru ACLK_VICAP>; |
| 1075 | pm_qos = <&qos_isp0_mro>, |
| 1076 | <&qos_isp0_mwo>, |
| 1077 | <&qos_vicap_m0>, |
| 1078 | <&qos_vicap_m1>; |
| 1079 | #address-cells = <1>; |
| 1080 | #size-cells = <0>; |
| 1081 | #power-domain-cells = <0>; |
| 1082 | |
| 1083 | power-domain@RK3588_PD_ISP1 { |
| 1084 | reg = <RK3588_PD_ISP1>; |
| 1085 | clocks = <&cru HCLK_ISP1>, |
| 1086 | <&cru ACLK_ISP1>, |
| 1087 | <&cru HCLK_VI_ROOT>, |
| 1088 | <&cru PCLK_VI_ROOT>; |
| 1089 | pm_qos = <&qos_isp1_mwo>, |
| 1090 | <&qos_isp1_mro>; |
| 1091 | #power-domain-cells = <0>; |
| 1092 | }; |
| 1093 | power-domain@RK3588_PD_FEC { |
| 1094 | reg = <RK3588_PD_FEC>; |
| 1095 | clocks = <&cru HCLK_FISHEYE0>, |
| 1096 | <&cru ACLK_FISHEYE0>, |
| 1097 | <&cru HCLK_FISHEYE1>, |
| 1098 | <&cru ACLK_FISHEYE1>, |
| 1099 | <&cru PCLK_VI_ROOT>; |
| 1100 | pm_qos = <&qos_fisheye0>, |
| 1101 | <&qos_fisheye1>; |
| 1102 | #power-domain-cells = <0>; |
| 1103 | }; |
| 1104 | }; |
| 1105 | power-domain@RK3588_PD_RGA31 { |
| 1106 | reg = <RK3588_PD_RGA31>; |
| 1107 | clocks = <&cru HCLK_RGA3_1>, |
| 1108 | <&cru ACLK_RGA3_1>; |
| 1109 | pm_qos = <&qos_rga3_1>; |
| 1110 | #power-domain-cells = <0>; |
| 1111 | }; |
| 1112 | power-domain@RK3588_PD_USB { |
| 1113 | reg = <RK3588_PD_USB>; |
| 1114 | clocks = <&cru PCLK_PHP_ROOT>, |
| 1115 | <&cru ACLK_USB_ROOT>, |
| 1116 | <&cru ACLK_USB>, |
| 1117 | <&cru HCLK_USB_ROOT>, |
| 1118 | <&cru HCLK_HOST0>, |
| 1119 | <&cru HCLK_HOST_ARB0>, |
| 1120 | <&cru HCLK_HOST1>, |
| 1121 | <&cru HCLK_HOST_ARB1>; |
| 1122 | pm_qos = <&qos_usb3_0>, |
| 1123 | <&qos_usb3_1>, |
| 1124 | <&qos_usb2host_0>, |
| 1125 | <&qos_usb2host_1>; |
| 1126 | #power-domain-cells = <0>; |
| 1127 | }; |
| 1128 | power-domain@RK3588_PD_GMAC { |
| 1129 | reg = <RK3588_PD_GMAC>; |
| 1130 | clocks = <&cru PCLK_PHP_ROOT>, |
| 1131 | <&cru ACLK_PCIE_ROOT>, |
| 1132 | <&cru ACLK_PHP_ROOT>; |
| 1133 | #power-domain-cells = <0>; |
| 1134 | }; |
| 1135 | power-domain@RK3588_PD_PCIE { |
| 1136 | reg = <RK3588_PD_PCIE>; |
| 1137 | clocks = <&cru PCLK_PHP_ROOT>, |
| 1138 | <&cru ACLK_PCIE_ROOT>, |
| 1139 | <&cru ACLK_PHP_ROOT>; |
| 1140 | #power-domain-cells = <0>; |
| 1141 | }; |
| 1142 | power-domain@RK3588_PD_SDIO { |
| 1143 | reg = <RK3588_PD_SDIO>; |
| 1144 | clocks = <&cru HCLK_SDIO>, |
| 1145 | <&cru HCLK_NVM_ROOT>; |
| 1146 | pm_qos = <&qos_sdio>; |
| 1147 | #power-domain-cells = <0>; |
| 1148 | }; |
| 1149 | power-domain@RK3588_PD_AUDIO { |
| 1150 | reg = <RK3588_PD_AUDIO>; |
| 1151 | clocks = <&cru HCLK_AUDIO_ROOT>, |
| 1152 | <&cru PCLK_AUDIO_ROOT>; |
| 1153 | #power-domain-cells = <0>; |
| 1154 | }; |
| 1155 | power-domain@RK3588_PD_SDMMC { |
| 1156 | reg = <RK3588_PD_SDMMC>; |
| 1157 | pm_qos = <&qos_sdmmc>; |
| 1158 | #power-domain-cells = <0>; |
| 1159 | }; |
| 1160 | }; |
| 1161 | }; |
| 1162 | |
| 1163 | av1d: video-codec@fdc70000 { |
| 1164 | compatible = "rockchip,rk3588-av1-vpu"; |
| 1165 | reg = <0x0 0xfdc70000 0x0 0x800>; |
| 1166 | interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1167 | interrupt-names = "vdpu"; |
| 1168 | assigned-clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>; |
| 1169 | assigned-clock-rates = <400000000>, <400000000>; |
| 1170 | clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>; |
| 1171 | clock-names = "aclk", "hclk"; |
| 1172 | power-domains = <&power RK3588_PD_AV1>; |
| 1173 | resets = <&cru SRST_A_AV1>, <&cru SRST_P_AV1>, <&cru SRST_A_AV1_BIU>, <&cru SRST_P_AV1_BIU>; |
| 1174 | }; |
| 1175 | |
| 1176 | vop: vop@fdd90000 { |
| 1177 | compatible = "rockchip,rk3588-vop"; |
| 1178 | reg = <0x0 0xfdd90000 0x0 0x4200>, <0x0 0xfdd95000 0x0 0x1000>; |
| 1179 | reg-names = "vop", "gamma-lut"; |
| 1180 | interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1181 | clocks = <&cru ACLK_VOP>, |
| 1182 | <&cru HCLK_VOP>, |
| 1183 | <&cru DCLK_VOP0>, |
| 1184 | <&cru DCLK_VOP1>, |
| 1185 | <&cru DCLK_VOP2>, |
| 1186 | <&cru DCLK_VOP3>, |
| 1187 | <&cru PCLK_VOP_ROOT>; |
| 1188 | clock-names = "aclk", |
| 1189 | "hclk", |
| 1190 | "dclk_vp0", |
| 1191 | "dclk_vp1", |
| 1192 | "dclk_vp2", |
| 1193 | "dclk_vp3", |
| 1194 | "pclk_vop"; |
| 1195 | iommus = <&vop_mmu>; |
| 1196 | power-domains = <&power RK3588_PD_VOP>; |
| 1197 | rockchip,grf = <&sys_grf>; |
| 1198 | rockchip,vop-grf = <&vop_grf>; |
| 1199 | rockchip,vo1-grf = <&vo1_grf>; |
| 1200 | rockchip,pmu = <&pmu>; |
| 1201 | status = "disabled"; |
| 1202 | |
| 1203 | vop_out: ports { |
| 1204 | #address-cells = <1>; |
| 1205 | #size-cells = <0>; |
| 1206 | |
| 1207 | vp0: port@0 { |
| 1208 | #address-cells = <1>; |
| 1209 | #size-cells = <0>; |
| 1210 | reg = <0>; |
| 1211 | }; |
| 1212 | |
| 1213 | vp1: port@1 { |
| 1214 | #address-cells = <1>; |
| 1215 | #size-cells = <0>; |
| 1216 | reg = <1>; |
| 1217 | }; |
| 1218 | |
| 1219 | vp2: port@2 { |
| 1220 | #address-cells = <1>; |
| 1221 | #size-cells = <0>; |
| 1222 | reg = <2>; |
| 1223 | }; |
| 1224 | |
| 1225 | vp3: port@3 { |
| 1226 | #address-cells = <1>; |
| 1227 | #size-cells = <0>; |
| 1228 | reg = <3>; |
| 1229 | }; |
| 1230 | }; |
| 1231 | }; |
| 1232 | |
| 1233 | vop_mmu: iommu@fdd97e00 { |
| 1234 | compatible = "rockchip,rk3588-iommu", "rockchip,rk3568-iommu"; |
| 1235 | reg = <0x0 0xfdd97e00 0x0 0x100>, <0x0 0xfdd97f00 0x0 0x100>; |
| 1236 | interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1237 | clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>; |
| 1238 | clock-names = "aclk", "iface"; |
| 1239 | #iommu-cells = <0>; |
| 1240 | power-domains = <&power RK3588_PD_VOP>; |
| 1241 | status = "disabled"; |
| 1242 | }; |
| 1243 | |
| 1244 | i2s4_8ch: i2s@fddc0000 { |
| 1245 | compatible = "rockchip,rk3588-i2s-tdm"; |
| 1246 | reg = <0x0 0xfddc0000 0x0 0x1000>; |
| 1247 | interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1248 | clocks = <&cru MCLK_I2S4_8CH_TX>, <&cru MCLK_I2S4_8CH_TX>, <&cru HCLK_I2S4_8CH>; |
| 1249 | clock-names = "mclk_tx", "mclk_rx", "hclk"; |
| 1250 | assigned-clocks = <&cru CLK_I2S4_8CH_TX_SRC>; |
| 1251 | assigned-clock-parents = <&cru PLL_AUPLL>; |
| 1252 | dmas = <&dmac2 0>; |
| 1253 | dma-names = "tx"; |
| 1254 | power-domains = <&power RK3588_PD_VO0>; |
| 1255 | resets = <&cru SRST_M_I2S4_8CH_TX>; |
| 1256 | reset-names = "tx-m"; |
| 1257 | #sound-dai-cells = <0>; |
| 1258 | status = "disabled"; |
| 1259 | }; |
| 1260 | |
| 1261 | i2s5_8ch: i2s@fddf0000 { |
| 1262 | compatible = "rockchip,rk3588-i2s-tdm"; |
| 1263 | reg = <0x0 0xfddf0000 0x0 0x1000>; |
| 1264 | interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1265 | clocks = <&cru MCLK_I2S5_8CH_TX>, <&cru MCLK_I2S5_8CH_TX>, <&cru HCLK_I2S5_8CH>; |
| 1266 | clock-names = "mclk_tx", "mclk_rx", "hclk"; |
| 1267 | assigned-clocks = <&cru CLK_I2S5_8CH_TX_SRC>; |
| 1268 | assigned-clock-parents = <&cru PLL_AUPLL>; |
| 1269 | dmas = <&dmac2 2>; |
| 1270 | dma-names = "tx"; |
| 1271 | power-domains = <&power RK3588_PD_VO1>; |
| 1272 | resets = <&cru SRST_M_I2S5_8CH_TX>; |
| 1273 | reset-names = "tx-m"; |
| 1274 | #sound-dai-cells = <0>; |
| 1275 | status = "disabled"; |
| 1276 | }; |
| 1277 | |
| 1278 | i2s9_8ch: i2s@fddfc000 { |
| 1279 | compatible = "rockchip,rk3588-i2s-tdm"; |
| 1280 | reg = <0x0 0xfddfc000 0x0 0x1000>; |
| 1281 | interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1282 | clocks = <&cru MCLK_I2S9_8CH_RX>, <&cru MCLK_I2S9_8CH_RX>, <&cru HCLK_I2S9_8CH>; |
| 1283 | clock-names = "mclk_tx", "mclk_rx", "hclk"; |
| 1284 | assigned-clocks = <&cru CLK_I2S9_8CH_RX_SRC>; |
| 1285 | assigned-clock-parents = <&cru PLL_AUPLL>; |
| 1286 | dmas = <&dmac2 23>; |
| 1287 | dma-names = "rx"; |
| 1288 | power-domains = <&power RK3588_PD_VO1>; |
| 1289 | resets = <&cru SRST_M_I2S9_8CH_RX>; |
| 1290 | reset-names = "rx-m"; |
| 1291 | #sound-dai-cells = <0>; |
| 1292 | status = "disabled"; |
| 1293 | }; |
| 1294 | |
| 1295 | qos_gpu_m0: qos@fdf35000 { |
| 1296 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1297 | reg = <0x0 0xfdf35000 0x0 0x20>; |
| 1298 | }; |
| 1299 | |
| 1300 | qos_gpu_m1: qos@fdf35200 { |
| 1301 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1302 | reg = <0x0 0xfdf35200 0x0 0x20>; |
| 1303 | }; |
| 1304 | |
| 1305 | qos_gpu_m2: qos@fdf35400 { |
| 1306 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1307 | reg = <0x0 0xfdf35400 0x0 0x20>; |
| 1308 | }; |
| 1309 | |
| 1310 | qos_gpu_m3: qos@fdf35600 { |
| 1311 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1312 | reg = <0x0 0xfdf35600 0x0 0x20>; |
| 1313 | }; |
| 1314 | |
| 1315 | qos_rga3_1: qos@fdf36000 { |
| 1316 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1317 | reg = <0x0 0xfdf36000 0x0 0x20>; |
| 1318 | }; |
| 1319 | |
| 1320 | qos_sdio: qos@fdf39000 { |
| 1321 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1322 | reg = <0x0 0xfdf39000 0x0 0x20>; |
| 1323 | }; |
| 1324 | |
| 1325 | qos_sdmmc: qos@fdf3d800 { |
| 1326 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1327 | reg = <0x0 0xfdf3d800 0x0 0x20>; |
| 1328 | }; |
| 1329 | |
| 1330 | qos_usb3_1: qos@fdf3e000 { |
| 1331 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1332 | reg = <0x0 0xfdf3e000 0x0 0x20>; |
| 1333 | }; |
| 1334 | |
| 1335 | qos_usb3_0: qos@fdf3e200 { |
| 1336 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1337 | reg = <0x0 0xfdf3e200 0x0 0x20>; |
| 1338 | }; |
| 1339 | |
| 1340 | qos_usb2host_0: qos@fdf3e400 { |
| 1341 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1342 | reg = <0x0 0xfdf3e400 0x0 0x20>; |
| 1343 | }; |
| 1344 | |
| 1345 | qos_usb2host_1: qos@fdf3e600 { |
| 1346 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1347 | reg = <0x0 0xfdf3e600 0x0 0x20>; |
| 1348 | }; |
| 1349 | |
| 1350 | qos_fisheye0: qos@fdf40000 { |
| 1351 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1352 | reg = <0x0 0xfdf40000 0x0 0x20>; |
| 1353 | }; |
| 1354 | |
| 1355 | qos_fisheye1: qos@fdf40200 { |
| 1356 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1357 | reg = <0x0 0xfdf40200 0x0 0x20>; |
| 1358 | }; |
| 1359 | |
| 1360 | qos_isp0_mro: qos@fdf40400 { |
| 1361 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1362 | reg = <0x0 0xfdf40400 0x0 0x20>; |
| 1363 | }; |
| 1364 | |
| 1365 | qos_isp0_mwo: qos@fdf40500 { |
| 1366 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1367 | reg = <0x0 0xfdf40500 0x0 0x20>; |
| 1368 | }; |
| 1369 | |
| 1370 | qos_vicap_m0: qos@fdf40600 { |
| 1371 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1372 | reg = <0x0 0xfdf40600 0x0 0x20>; |
| 1373 | }; |
| 1374 | |
| 1375 | qos_vicap_m1: qos@fdf40800 { |
| 1376 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1377 | reg = <0x0 0xfdf40800 0x0 0x20>; |
| 1378 | }; |
| 1379 | |
| 1380 | qos_isp1_mwo: qos@fdf41000 { |
| 1381 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1382 | reg = <0x0 0xfdf41000 0x0 0x20>; |
| 1383 | }; |
| 1384 | |
| 1385 | qos_isp1_mro: qos@fdf41100 { |
| 1386 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1387 | reg = <0x0 0xfdf41100 0x0 0x20>; |
| 1388 | }; |
| 1389 | |
| 1390 | qos_rkvenc0_m0ro: qos@fdf60000 { |
| 1391 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1392 | reg = <0x0 0xfdf60000 0x0 0x20>; |
| 1393 | }; |
| 1394 | |
| 1395 | qos_rkvenc0_m1ro: qos@fdf60200 { |
| 1396 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1397 | reg = <0x0 0xfdf60200 0x0 0x20>; |
| 1398 | }; |
| 1399 | |
| 1400 | qos_rkvenc0_m2wo: qos@fdf60400 { |
| 1401 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1402 | reg = <0x0 0xfdf60400 0x0 0x20>; |
| 1403 | }; |
| 1404 | |
| 1405 | qos_rkvenc1_m0ro: qos@fdf61000 { |
| 1406 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1407 | reg = <0x0 0xfdf61000 0x0 0x20>; |
| 1408 | }; |
| 1409 | |
| 1410 | qos_rkvenc1_m1ro: qos@fdf61200 { |
| 1411 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1412 | reg = <0x0 0xfdf61200 0x0 0x20>; |
| 1413 | }; |
| 1414 | |
| 1415 | qos_rkvenc1_m2wo: qos@fdf61400 { |
| 1416 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1417 | reg = <0x0 0xfdf61400 0x0 0x20>; |
| 1418 | }; |
| 1419 | |
| 1420 | qos_rkvdec0: qos@fdf62000 { |
| 1421 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1422 | reg = <0x0 0xfdf62000 0x0 0x20>; |
| 1423 | }; |
| 1424 | |
| 1425 | qos_rkvdec1: qos@fdf63000 { |
| 1426 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1427 | reg = <0x0 0xfdf63000 0x0 0x20>; |
| 1428 | }; |
| 1429 | |
| 1430 | qos_av1: qos@fdf64000 { |
| 1431 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1432 | reg = <0x0 0xfdf64000 0x0 0x20>; |
| 1433 | }; |
| 1434 | |
| 1435 | qos_iep: qos@fdf66000 { |
| 1436 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1437 | reg = <0x0 0xfdf66000 0x0 0x20>; |
| 1438 | }; |
| 1439 | |
| 1440 | qos_jpeg_dec: qos@fdf66200 { |
| 1441 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1442 | reg = <0x0 0xfdf66200 0x0 0x20>; |
| 1443 | }; |
| 1444 | |
| 1445 | qos_jpeg_enc0: qos@fdf66400 { |
| 1446 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1447 | reg = <0x0 0xfdf66400 0x0 0x20>; |
| 1448 | }; |
| 1449 | |
| 1450 | qos_jpeg_enc1: qos@fdf66600 { |
| 1451 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1452 | reg = <0x0 0xfdf66600 0x0 0x20>; |
| 1453 | }; |
| 1454 | |
| 1455 | qos_jpeg_enc2: qos@fdf66800 { |
| 1456 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1457 | reg = <0x0 0xfdf66800 0x0 0x20>; |
| 1458 | }; |
| 1459 | |
| 1460 | qos_jpeg_enc3: qos@fdf66a00 { |
| 1461 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1462 | reg = <0x0 0xfdf66a00 0x0 0x20>; |
| 1463 | }; |
| 1464 | |
| 1465 | qos_rga2_mro: qos@fdf66c00 { |
| 1466 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1467 | reg = <0x0 0xfdf66c00 0x0 0x20>; |
| 1468 | }; |
| 1469 | |
| 1470 | qos_rga2_mwo: qos@fdf66e00 { |
| 1471 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1472 | reg = <0x0 0xfdf66e00 0x0 0x20>; |
| 1473 | }; |
| 1474 | |
| 1475 | qos_rga3_0: qos@fdf67000 { |
| 1476 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1477 | reg = <0x0 0xfdf67000 0x0 0x20>; |
| 1478 | }; |
| 1479 | |
| 1480 | qos_vdpu: qos@fdf67200 { |
| 1481 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1482 | reg = <0x0 0xfdf67200 0x0 0x20>; |
| 1483 | }; |
| 1484 | |
| 1485 | qos_npu1: qos@fdf70000 { |
| 1486 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1487 | reg = <0x0 0xfdf70000 0x0 0x20>; |
| 1488 | }; |
| 1489 | |
| 1490 | qos_npu2: qos@fdf71000 { |
| 1491 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1492 | reg = <0x0 0xfdf71000 0x0 0x20>; |
| 1493 | }; |
| 1494 | |
| 1495 | qos_npu0_mwr: qos@fdf72000 { |
| 1496 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1497 | reg = <0x0 0xfdf72000 0x0 0x20>; |
| 1498 | }; |
| 1499 | |
| 1500 | qos_npu0_mro: qos@fdf72200 { |
| 1501 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1502 | reg = <0x0 0xfdf72200 0x0 0x20>; |
| 1503 | }; |
| 1504 | |
| 1505 | qos_mcu_npu: qos@fdf72400 { |
| 1506 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1507 | reg = <0x0 0xfdf72400 0x0 0x20>; |
| 1508 | }; |
| 1509 | |
| 1510 | qos_hdcp0: qos@fdf80000 { |
| 1511 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1512 | reg = <0x0 0xfdf80000 0x0 0x20>; |
| 1513 | }; |
| 1514 | |
| 1515 | qos_hdcp1: qos@fdf81000 { |
| 1516 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1517 | reg = <0x0 0xfdf81000 0x0 0x20>; |
| 1518 | }; |
| 1519 | |
| 1520 | qos_hdmirx: qos@fdf81200 { |
| 1521 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1522 | reg = <0x0 0xfdf81200 0x0 0x20>; |
| 1523 | }; |
| 1524 | |
| 1525 | qos_vop_m0: qos@fdf82000 { |
| 1526 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1527 | reg = <0x0 0xfdf82000 0x0 0x20>; |
| 1528 | }; |
| 1529 | |
| 1530 | qos_vop_m1: qos@fdf82200 { |
| 1531 | compatible = "rockchip,rk3588-qos", "syscon"; |
| 1532 | reg = <0x0 0xfdf82200 0x0 0x20>; |
| 1533 | }; |
| 1534 | |
| 1535 | dfi: dfi@fe060000 { |
| 1536 | reg = <0x00 0xfe060000 0x00 0x10000>; |
| 1537 | compatible = "rockchip,rk3588-dfi"; |
| 1538 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1539 | <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1540 | <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1541 | <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1542 | rockchip,pmu = <&pmu1grf>; |
| 1543 | }; |
| 1544 | |
| 1545 | pcie2x1l1: pcie@fe180000 { |
| 1546 | compatible = "rockchip,rk3588-pcie", "rockchip,rk3568-pcie"; |
| 1547 | bus-range = <0x30 0x3f>; |
| 1548 | clocks = <&cru ACLK_PCIE_1L1_MSTR>, <&cru ACLK_PCIE_1L1_SLV>, |
| 1549 | <&cru ACLK_PCIE_1L1_DBI>, <&cru PCLK_PCIE_1L1>, |
| 1550 | <&cru CLK_PCIE_AUX3>, <&cru CLK_PCIE1L1_PIPE>; |
| 1551 | clock-names = "aclk_mst", "aclk_slv", |
| 1552 | "aclk_dbi", "pclk", |
| 1553 | "aux", "pipe"; |
| 1554 | device_type = "pci"; |
| 1555 | interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1556 | <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1557 | <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1558 | <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1559 | <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1560 | interrupt-names = "sys", "pmc", "msg", "legacy", "err"; |
| 1561 | #interrupt-cells = <1>; |
| 1562 | interrupt-map-mask = <0 0 0 7>; |
| 1563 | interrupt-map = <0 0 0 1 &pcie2x1l1_intc 0>, |
| 1564 | <0 0 0 2 &pcie2x1l1_intc 1>, |
| 1565 | <0 0 0 3 &pcie2x1l1_intc 2>, |
| 1566 | <0 0 0 4 &pcie2x1l1_intc 3>; |
| 1567 | linux,pci-domain = <3>; |
| 1568 | max-link-speed = <2>; |
| 1569 | msi-map = <0x3000 &its0 0x3000 0x1000>; |
| 1570 | num-lanes = <1>; |
| 1571 | phys = <&combphy2_psu PHY_TYPE_PCIE>; |
| 1572 | phy-names = "pcie-phy"; |
| 1573 | power-domains = <&power RK3588_PD_PCIE>; |
| 1574 | ranges = <0x01000000 0x0 0xf3100000 0x0 0xf3100000 0x0 0x00100000>, |
| 1575 | <0x02000000 0x0 0xf3200000 0x0 0xf3200000 0x0 0x00e00000>, |
| 1576 | <0x03000000 0x0 0x40000000 0x9 0xc0000000 0x0 0x40000000>; |
| 1577 | reg = <0xa 0x40c00000 0x0 0x00400000>, |
| 1578 | <0x0 0xfe180000 0x0 0x00010000>, |
| 1579 | <0x0 0xf3000000 0x0 0x00100000>; |
| 1580 | reg-names = "dbi", "apb", "config"; |
| 1581 | resets = <&cru SRST_PCIE3_POWER_UP>, <&cru SRST_P_PCIE3>; |
| 1582 | reset-names = "pwr", "pipe"; |
| 1583 | #address-cells = <3>; |
| 1584 | #size-cells = <2>; |
| 1585 | status = "disabled"; |
| 1586 | |
| 1587 | pcie2x1l1_intc: legacy-interrupt-controller { |
| 1588 | interrupt-controller; |
| 1589 | #address-cells = <0>; |
| 1590 | #interrupt-cells = <1>; |
| 1591 | interrupt-parent = <&gic>; |
| 1592 | interrupts = <GIC_SPI 245 IRQ_TYPE_EDGE_RISING 0>; |
| 1593 | }; |
| 1594 | }; |
| 1595 | |
| 1596 | pcie2x1l2: pcie@fe190000 { |
| 1597 | compatible = "rockchip,rk3588-pcie", "rockchip,rk3568-pcie"; |
| 1598 | bus-range = <0x40 0x4f>; |
| 1599 | clocks = <&cru ACLK_PCIE_1L2_MSTR>, <&cru ACLK_PCIE_1L2_SLV>, |
| 1600 | <&cru ACLK_PCIE_1L2_DBI>, <&cru PCLK_PCIE_1L2>, |
| 1601 | <&cru CLK_PCIE_AUX4>, <&cru CLK_PCIE1L2_PIPE>; |
| 1602 | clock-names = "aclk_mst", "aclk_slv", |
| 1603 | "aclk_dbi", "pclk", |
| 1604 | "aux", "pipe"; |
| 1605 | device_type = "pci"; |
| 1606 | interrupts = <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1607 | <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1608 | <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1609 | <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1610 | <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1611 | interrupt-names = "sys", "pmc", "msg", "legacy", "err"; |
| 1612 | #interrupt-cells = <1>; |
| 1613 | interrupt-map-mask = <0 0 0 7>; |
| 1614 | interrupt-map = <0 0 0 1 &pcie2x1l2_intc 0>, |
| 1615 | <0 0 0 2 &pcie2x1l2_intc 1>, |
| 1616 | <0 0 0 3 &pcie2x1l2_intc 2>, |
| 1617 | <0 0 0 4 &pcie2x1l2_intc 3>; |
| 1618 | linux,pci-domain = <4>; |
| 1619 | max-link-speed = <2>; |
| 1620 | msi-map = <0x4000 &its0 0x4000 0x1000>; |
| 1621 | num-lanes = <1>; |
| 1622 | phys = <&combphy0_ps PHY_TYPE_PCIE>; |
| 1623 | phy-names = "pcie-phy"; |
| 1624 | power-domains = <&power RK3588_PD_PCIE>; |
| 1625 | ranges = <0x01000000 0x0 0xf4100000 0x0 0xf4100000 0x0 0x00100000>, |
| 1626 | <0x02000000 0x0 0xf4200000 0x0 0xf4200000 0x0 0x00e00000>, |
| 1627 | <0x03000000 0x0 0x40000000 0xa 0x00000000 0x0 0x40000000>; |
| 1628 | reg = <0xa 0x41000000 0x0 0x00400000>, |
| 1629 | <0x0 0xfe190000 0x0 0x00010000>, |
| 1630 | <0x0 0xf4000000 0x0 0x00100000>; |
| 1631 | reg-names = "dbi", "apb", "config"; |
| 1632 | resets = <&cru SRST_PCIE4_POWER_UP>, <&cru SRST_P_PCIE4>; |
| 1633 | reset-names = "pwr", "pipe"; |
| 1634 | #address-cells = <3>; |
| 1635 | #size-cells = <2>; |
| 1636 | status = "disabled"; |
| 1637 | |
| 1638 | pcie2x1l2_intc: legacy-interrupt-controller { |
| 1639 | interrupt-controller; |
| 1640 | #address-cells = <0>; |
| 1641 | #interrupt-cells = <1>; |
| 1642 | interrupt-parent = <&gic>; |
| 1643 | interrupts = <GIC_SPI 250 IRQ_TYPE_EDGE_RISING 0>; |
| 1644 | }; |
| 1645 | }; |
| 1646 | |
| 1647 | gmac1: ethernet@fe1c0000 { |
| 1648 | compatible = "rockchip,rk3588-gmac", "snps,dwmac-4.20a"; |
| 1649 | reg = <0x0 0xfe1c0000 0x0 0x10000>; |
| 1650 | interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1651 | <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1652 | interrupt-names = "macirq", "eth_wake_irq"; |
| 1653 | clocks = <&cru CLK_GMAC_125M>, <&cru CLK_GMAC_50M>, |
| 1654 | <&cru PCLK_GMAC1>, <&cru ACLK_GMAC1>, |
| 1655 | <&cru CLK_GMAC1_PTP_REF>; |
| 1656 | clock-names = "stmmaceth", "clk_mac_ref", |
| 1657 | "pclk_mac", "aclk_mac", |
| 1658 | "ptp_ref"; |
| 1659 | power-domains = <&power RK3588_PD_GMAC>; |
| 1660 | resets = <&cru SRST_A_GMAC1>; |
| 1661 | reset-names = "stmmaceth"; |
| 1662 | rockchip,grf = <&sys_grf>; |
| 1663 | rockchip,php-grf = <&php_grf>; |
| 1664 | snps,axi-config = <&gmac1_stmmac_axi_setup>; |
| 1665 | snps,mixed-burst; |
| 1666 | snps,mtl-rx-config = <&gmac1_mtl_rx_setup>; |
| 1667 | snps,mtl-tx-config = <&gmac1_mtl_tx_setup>; |
| 1668 | snps,tso; |
| 1669 | status = "disabled"; |
| 1670 | |
| 1671 | mdio1: mdio { |
| 1672 | compatible = "snps,dwmac-mdio"; |
| 1673 | #address-cells = <0x1>; |
| 1674 | #size-cells = <0x0>; |
| 1675 | }; |
| 1676 | |
| 1677 | gmac1_stmmac_axi_setup: stmmac-axi-config { |
| 1678 | snps,blen = <0 0 0 0 16 8 4>; |
| 1679 | snps,wr_osr_lmt = <4>; |
| 1680 | snps,rd_osr_lmt = <8>; |
| 1681 | }; |
| 1682 | |
| 1683 | gmac1_mtl_rx_setup: rx-queues-config { |
| 1684 | snps,rx-queues-to-use = <2>; |
| 1685 | queue0 {}; |
| 1686 | queue1 {}; |
| 1687 | }; |
| 1688 | |
| 1689 | gmac1_mtl_tx_setup: tx-queues-config { |
| 1690 | snps,tx-queues-to-use = <2>; |
| 1691 | queue0 {}; |
| 1692 | queue1 {}; |
| 1693 | }; |
| 1694 | }; |
| 1695 | |
| 1696 | sata0: sata@fe210000 { |
| 1697 | compatible = "rockchip,rk3588-dwc-ahci", "snps,dwc-ahci"; |
| 1698 | reg = <0 0xfe210000 0 0x1000>; |
| 1699 | interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1700 | clocks = <&cru ACLK_SATA0>, <&cru CLK_PMALIVE0>, |
| 1701 | <&cru CLK_RXOOB0>, <&cru CLK_PIPEPHY0_REF>, |
| 1702 | <&cru CLK_PIPEPHY0_PIPE_ASIC_G>; |
| 1703 | clock-names = "sata", "pmalive", "rxoob", "ref", "asic"; |
| 1704 | ports-implemented = <0x1>; |
| 1705 | #address-cells = <1>; |
| 1706 | #size-cells = <0>; |
| 1707 | status = "disabled"; |
| 1708 | |
| 1709 | sata-port@0 { |
| 1710 | reg = <0>; |
| 1711 | hba-port-cap = <HBA_PORT_FBSCP>; |
| 1712 | phys = <&combphy0_ps PHY_TYPE_SATA>; |
| 1713 | phy-names = "sata-phy"; |
| 1714 | snps,rx-ts-max = <32>; |
| 1715 | snps,tx-ts-max = <32>; |
| 1716 | }; |
| 1717 | }; |
| 1718 | |
| 1719 | sata2: sata@fe230000 { |
| 1720 | compatible = "rockchip,rk3588-dwc-ahci", "snps,dwc-ahci"; |
| 1721 | reg = <0 0xfe230000 0 0x1000>; |
| 1722 | interrupts = <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1723 | clocks = <&cru ACLK_SATA2>, <&cru CLK_PMALIVE2>, |
| 1724 | <&cru CLK_RXOOB2>, <&cru CLK_PIPEPHY2_REF>, |
| 1725 | <&cru CLK_PIPEPHY2_PIPE_ASIC_G>; |
| 1726 | clock-names = "sata", "pmalive", "rxoob", "ref", "asic"; |
| 1727 | ports-implemented = <0x1>; |
| 1728 | #address-cells = <1>; |
| 1729 | #size-cells = <0>; |
| 1730 | status = "disabled"; |
| 1731 | |
| 1732 | sata-port@0 { |
| 1733 | reg = <0>; |
| 1734 | hba-port-cap = <HBA_PORT_FBSCP>; |
| 1735 | phys = <&combphy2_psu PHY_TYPE_SATA>; |
| 1736 | phy-names = "sata-phy"; |
| 1737 | snps,rx-ts-max = <32>; |
| 1738 | snps,tx-ts-max = <32>; |
| 1739 | }; |
| 1740 | }; |
| 1741 | |
| 1742 | sfc: spi@fe2b0000 { |
| 1743 | compatible = "rockchip,sfc"; |
| 1744 | reg = <0x0 0xfe2b0000 0x0 0x4000>; |
| 1745 | interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1746 | clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>; |
| 1747 | clock-names = "clk_sfc", "hclk_sfc"; |
| 1748 | #address-cells = <1>; |
| 1749 | #size-cells = <0>; |
| 1750 | status = "disabled"; |
| 1751 | }; |
| 1752 | |
| 1753 | sdmmc: mmc@fe2c0000 { |
| 1754 | compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc"; |
| 1755 | reg = <0x0 0xfe2c0000 0x0 0x4000>; |
| 1756 | interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1757 | clocks = <&scmi_clk SCMI_HCLK_SD>, <&scmi_clk SCMI_CCLK_SD>, |
| 1758 | <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; |
| 1759 | clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; |
| 1760 | fifo-depth = <0x100>; |
| 1761 | max-frequency = <200000000>; |
| 1762 | pinctrl-names = "default"; |
| 1763 | pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>; |
| 1764 | power-domains = <&power RK3588_PD_SDMMC>; |
| 1765 | status = "disabled"; |
| 1766 | }; |
| 1767 | |
| 1768 | sdio: mmc@fe2d0000 { |
| 1769 | compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc"; |
| 1770 | reg = <0x00 0xfe2d0000 0x00 0x4000>; |
| 1771 | interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1772 | clocks = <&cru HCLK_SDIO>, <&cru CCLK_SRC_SDIO>, |
| 1773 | <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; |
| 1774 | clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; |
| 1775 | fifo-depth = <0x100>; |
| 1776 | max-frequency = <200000000>; |
| 1777 | pinctrl-names = "default"; |
| 1778 | pinctrl-0 = <&sdiom1_pins>; |
| 1779 | power-domains = <&power RK3588_PD_SDIO>; |
| 1780 | status = "disabled"; |
| 1781 | }; |
| 1782 | |
| 1783 | sdhci: mmc@fe2e0000 { |
| 1784 | compatible = "rockchip,rk3588-dwcmshc"; |
| 1785 | reg = <0x0 0xfe2e0000 0x0 0x10000>; |
| 1786 | interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1787 | assigned-clocks = <&cru BCLK_EMMC>, <&cru TMCLK_EMMC>, <&cru CCLK_EMMC>; |
| 1788 | assigned-clock-rates = <200000000>, <24000000>, <200000000>; |
| 1789 | clocks = <&cru CCLK_EMMC>, <&cru HCLK_EMMC>, |
| 1790 | <&cru ACLK_EMMC>, <&cru BCLK_EMMC>, |
| 1791 | <&cru TMCLK_EMMC>; |
| 1792 | clock-names = "core", "bus", "axi", "block", "timer"; |
| 1793 | max-frequency = <200000000>; |
| 1794 | pinctrl-0 = <&emmc_rstnout>, <&emmc_bus8>, <&emmc_clk>, |
| 1795 | <&emmc_cmd>, <&emmc_data_strobe>; |
| 1796 | pinctrl-names = "default"; |
| 1797 | resets = <&cru SRST_C_EMMC>, <&cru SRST_H_EMMC>, |
| 1798 | <&cru SRST_A_EMMC>, <&cru SRST_B_EMMC>, |
| 1799 | <&cru SRST_T_EMMC>; |
| 1800 | reset-names = "core", "bus", "axi", "block", "timer"; |
| 1801 | status = "disabled"; |
| 1802 | }; |
| 1803 | |
| 1804 | i2s0_8ch: i2s@fe470000 { |
| 1805 | compatible = "rockchip,rk3588-i2s-tdm"; |
| 1806 | reg = <0x0 0xfe470000 0x0 0x1000>; |
| 1807 | interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1808 | clocks = <&cru MCLK_I2S0_8CH_TX>, <&cru MCLK_I2S0_8CH_RX>, <&cru HCLK_I2S0_8CH>; |
| 1809 | clock-names = "mclk_tx", "mclk_rx", "hclk"; |
| 1810 | assigned-clocks = <&cru CLK_I2S0_8CH_TX_SRC>, <&cru CLK_I2S0_8CH_RX_SRC>; |
| 1811 | assigned-clock-parents = <&cru PLL_AUPLL>, <&cru PLL_AUPLL>; |
| 1812 | dmas = <&dmac0 0>, <&dmac0 1>; |
| 1813 | dma-names = "tx", "rx"; |
| 1814 | power-domains = <&power RK3588_PD_AUDIO>; |
| 1815 | resets = <&cru SRST_M_I2S0_8CH_TX>, <&cru SRST_M_I2S0_8CH_RX>; |
| 1816 | reset-names = "tx-m", "rx-m"; |
| 1817 | rockchip,trcm-sync-tx-only; |
| 1818 | pinctrl-names = "default"; |
| 1819 | pinctrl-0 = <&i2s0_lrck |
| 1820 | &i2s0_sclk |
| 1821 | &i2s0_sdi0 |
| 1822 | &i2s0_sdi1 |
| 1823 | &i2s0_sdi2 |
| 1824 | &i2s0_sdi3 |
| 1825 | &i2s0_sdo0 |
| 1826 | &i2s0_sdo1 |
| 1827 | &i2s0_sdo2 |
| 1828 | &i2s0_sdo3>; |
| 1829 | #sound-dai-cells = <0>; |
| 1830 | status = "disabled"; |
| 1831 | }; |
| 1832 | |
| 1833 | i2s1_8ch: i2s@fe480000 { |
| 1834 | compatible = "rockchip,rk3588-i2s-tdm"; |
| 1835 | reg = <0x0 0xfe480000 0x0 0x1000>; |
| 1836 | interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1837 | clocks = <&cru MCLK_I2S1_8CH_TX>, <&cru MCLK_I2S1_8CH_RX>, <&cru HCLK_I2S1_8CH>; |
| 1838 | clock-names = "mclk_tx", "mclk_rx", "hclk"; |
| 1839 | dmas = <&dmac0 2>, <&dmac0 3>; |
| 1840 | dma-names = "tx", "rx"; |
| 1841 | resets = <&cru SRST_M_I2S1_8CH_TX>, <&cru SRST_M_I2S1_8CH_RX>; |
| 1842 | reset-names = "tx-m", "rx-m"; |
| 1843 | rockchip,trcm-sync-tx-only; |
| 1844 | pinctrl-names = "default"; |
| 1845 | pinctrl-0 = <&i2s1m0_lrck |
| 1846 | &i2s1m0_sclk |
| 1847 | &i2s1m0_sdi0 |
| 1848 | &i2s1m0_sdi1 |
| 1849 | &i2s1m0_sdi2 |
| 1850 | &i2s1m0_sdi3 |
| 1851 | &i2s1m0_sdo0 |
| 1852 | &i2s1m0_sdo1 |
| 1853 | &i2s1m0_sdo2 |
| 1854 | &i2s1m0_sdo3>; |
| 1855 | #sound-dai-cells = <0>; |
| 1856 | status = "disabled"; |
| 1857 | }; |
| 1858 | |
| 1859 | i2s2_2ch: i2s@fe490000 { |
| 1860 | compatible = "rockchip,rk3588-i2s", "rockchip,rk3066-i2s"; |
| 1861 | reg = <0x0 0xfe490000 0x0 0x1000>; |
| 1862 | interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1863 | clocks = <&cru MCLK_I2S2_2CH>, <&cru HCLK_I2S2_2CH>; |
| 1864 | clock-names = "i2s_clk", "i2s_hclk"; |
| 1865 | assigned-clocks = <&cru CLK_I2S2_2CH_SRC>; |
| 1866 | assigned-clock-parents = <&cru PLL_AUPLL>; |
| 1867 | dmas = <&dmac1 0>, <&dmac1 1>; |
| 1868 | dma-names = "tx", "rx"; |
| 1869 | power-domains = <&power RK3588_PD_AUDIO>; |
| 1870 | pinctrl-names = "default"; |
| 1871 | pinctrl-0 = <&i2s2m1_lrck |
| 1872 | &i2s2m1_sclk |
| 1873 | &i2s2m1_sdi |
| 1874 | &i2s2m1_sdo>; |
| 1875 | #sound-dai-cells = <0>; |
| 1876 | status = "disabled"; |
| 1877 | }; |
| 1878 | |
| 1879 | i2s3_2ch: i2s@fe4a0000 { |
| 1880 | compatible = "rockchip,rk3588-i2s", "rockchip,rk3066-i2s"; |
| 1881 | reg = <0x0 0xfe4a0000 0x0 0x1000>; |
| 1882 | interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1883 | clocks = <&cru MCLK_I2S3_2CH>, <&cru HCLK_I2S3_2CH>; |
| 1884 | clock-names = "i2s_clk", "i2s_hclk"; |
| 1885 | assigned-clocks = <&cru CLK_I2S3_2CH_SRC>; |
| 1886 | assigned-clock-parents = <&cru PLL_AUPLL>; |
| 1887 | dmas = <&dmac1 2>, <&dmac1 3>; |
| 1888 | dma-names = "tx", "rx"; |
| 1889 | power-domains = <&power RK3588_PD_AUDIO>; |
| 1890 | pinctrl-names = "default"; |
| 1891 | pinctrl-0 = <&i2s3_lrck |
| 1892 | &i2s3_sclk |
| 1893 | &i2s3_sdi |
| 1894 | &i2s3_sdo>; |
| 1895 | #sound-dai-cells = <0>; |
| 1896 | status = "disabled"; |
| 1897 | }; |
| 1898 | |
| 1899 | gic: interrupt-controller@fe600000 { |
| 1900 | compatible = "arm,gic-v3"; |
| 1901 | reg = <0x0 0xfe600000 0 0x10000>, /* GICD */ |
| 1902 | <0x0 0xfe680000 0 0x100000>; /* GICR */ |
| 1903 | interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1904 | interrupt-controller; |
| 1905 | mbi-alias = <0x0 0xfe610000>; |
| 1906 | mbi-ranges = <424 56>; |
| 1907 | msi-controller; |
| 1908 | ranges; |
| 1909 | #address-cells = <2>; |
| 1910 | #interrupt-cells = <4>; |
| 1911 | #size-cells = <2>; |
| 1912 | |
| 1913 | its0: msi-controller@fe640000 { |
| 1914 | compatible = "arm,gic-v3-its"; |
| 1915 | reg = <0x0 0xfe640000 0x0 0x20000>; |
| 1916 | msi-controller; |
| 1917 | #msi-cells = <1>; |
| 1918 | }; |
| 1919 | |
| 1920 | its1: msi-controller@fe660000 { |
| 1921 | compatible = "arm,gic-v3-its"; |
| 1922 | reg = <0x0 0xfe660000 0x0 0x20000>; |
| 1923 | msi-controller; |
| 1924 | #msi-cells = <1>; |
| 1925 | }; |
| 1926 | |
| 1927 | ppi-partitions { |
| 1928 | ppi_partition0: interrupt-partition-0 { |
| 1929 | affinity = <&cpu_l0 &cpu_l1 &cpu_l2 &cpu_l3>; |
| 1930 | }; |
| 1931 | |
| 1932 | ppi_partition1: interrupt-partition-1 { |
| 1933 | affinity = <&cpu_b0 &cpu_b1 &cpu_b2 &cpu_b3>; |
| 1934 | }; |
| 1935 | }; |
| 1936 | }; |
| 1937 | |
| 1938 | dmac0: dma-controller@fea10000 { |
| 1939 | compatible = "arm,pl330", "arm,primecell"; |
| 1940 | reg = <0x0 0xfea10000 0x0 0x4000>; |
| 1941 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1942 | <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1943 | arm,pl330-periph-burst; |
| 1944 | clocks = <&cru ACLK_DMAC0>; |
| 1945 | clock-names = "apb_pclk"; |
| 1946 | #dma-cells = <1>; |
| 1947 | }; |
| 1948 | |
| 1949 | dmac1: dma-controller@fea30000 { |
| 1950 | compatible = "arm,pl330", "arm,primecell"; |
| 1951 | reg = <0x0 0xfea30000 0x0 0x4000>; |
| 1952 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH 0>, |
| 1953 | <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1954 | arm,pl330-periph-burst; |
| 1955 | clocks = <&cru ACLK_DMAC1>; |
| 1956 | clock-names = "apb_pclk"; |
| 1957 | #dma-cells = <1>; |
| 1958 | }; |
| 1959 | |
| 1960 | i2c1: i2c@fea90000 { |
| 1961 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 1962 | reg = <0x0 0xfea90000 0x0 0x1000>; |
| 1963 | clocks = <&cru CLK_I2C1>, <&cru PCLK_I2C1>; |
| 1964 | clock-names = "i2c", "pclk"; |
| 1965 | interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1966 | pinctrl-0 = <&i2c1m0_xfer>; |
| 1967 | pinctrl-names = "default"; |
| 1968 | #address-cells = <1>; |
| 1969 | #size-cells = <0>; |
| 1970 | status = "disabled"; |
| 1971 | }; |
| 1972 | |
| 1973 | i2c2: i2c@feaa0000 { |
| 1974 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 1975 | reg = <0x0 0xfeaa0000 0x0 0x1000>; |
| 1976 | clocks = <&cru CLK_I2C2>, <&cru PCLK_I2C2>; |
| 1977 | clock-names = "i2c", "pclk"; |
| 1978 | interrupts = <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1979 | pinctrl-0 = <&i2c2m0_xfer>; |
| 1980 | pinctrl-names = "default"; |
| 1981 | #address-cells = <1>; |
| 1982 | #size-cells = <0>; |
| 1983 | status = "disabled"; |
| 1984 | }; |
| 1985 | |
| 1986 | i2c3: i2c@feab0000 { |
| 1987 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 1988 | reg = <0x0 0xfeab0000 0x0 0x1000>; |
| 1989 | clocks = <&cru CLK_I2C3>, <&cru PCLK_I2C3>; |
| 1990 | clock-names = "i2c", "pclk"; |
| 1991 | interrupts = <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH 0>; |
| 1992 | pinctrl-0 = <&i2c3m0_xfer>; |
| 1993 | pinctrl-names = "default"; |
| 1994 | #address-cells = <1>; |
| 1995 | #size-cells = <0>; |
| 1996 | status = "disabled"; |
| 1997 | }; |
| 1998 | |
| 1999 | i2c4: i2c@feac0000 { |
| 2000 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 2001 | reg = <0x0 0xfeac0000 0x0 0x1000>; |
| 2002 | clocks = <&cru CLK_I2C4>, <&cru PCLK_I2C4>; |
| 2003 | clock-names = "i2c", "pclk"; |
| 2004 | interrupts = <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2005 | pinctrl-0 = <&i2c4m0_xfer>; |
| 2006 | pinctrl-names = "default"; |
| 2007 | #address-cells = <1>; |
| 2008 | #size-cells = <0>; |
| 2009 | status = "disabled"; |
| 2010 | }; |
| 2011 | |
| 2012 | i2c5: i2c@fead0000 { |
| 2013 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 2014 | reg = <0x0 0xfead0000 0x0 0x1000>; |
| 2015 | clocks = <&cru CLK_I2C5>, <&cru PCLK_I2C5>; |
| 2016 | clock-names = "i2c", "pclk"; |
| 2017 | interrupts = <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2018 | pinctrl-0 = <&i2c5m0_xfer>; |
| 2019 | pinctrl-names = "default"; |
| 2020 | #address-cells = <1>; |
| 2021 | #size-cells = <0>; |
| 2022 | status = "disabled"; |
| 2023 | }; |
| 2024 | |
| 2025 | timer0: timer@feae0000 { |
| 2026 | compatible = "rockchip,rk3588-timer", "rockchip,rk3288-timer"; |
| 2027 | reg = <0x0 0xfeae0000 0x0 0x20>; |
| 2028 | interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2029 | clocks = <&cru PCLK_BUSTIMER0>, <&cru CLK_BUSTIMER0>; |
| 2030 | clock-names = "pclk", "timer"; |
| 2031 | }; |
| 2032 | |
| 2033 | wdt: watchdog@feaf0000 { |
| 2034 | compatible = "rockchip,rk3588-wdt", "snps,dw-wdt"; |
| 2035 | reg = <0x0 0xfeaf0000 0x0 0x100>; |
| 2036 | clocks = <&cru TCLK_WDT0>, <&cru PCLK_WDT0>; |
| 2037 | clock-names = "tclk", "pclk"; |
| 2038 | interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2039 | }; |
| 2040 | |
| 2041 | spi0: spi@feb00000 { |
| 2042 | compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi"; |
| 2043 | reg = <0x0 0xfeb00000 0x0 0x1000>; |
| 2044 | interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2045 | clocks = <&cru CLK_SPI0>, <&cru PCLK_SPI0>; |
| 2046 | clock-names = "spiclk", "apb_pclk"; |
| 2047 | dmas = <&dmac0 14>, <&dmac0 15>; |
| 2048 | dma-names = "tx", "rx"; |
| 2049 | num-cs = <2>; |
| 2050 | pinctrl-0 = <&spi0m0_cs0 &spi0m0_cs1 &spi0m0_pins>; |
| 2051 | pinctrl-names = "default"; |
| 2052 | #address-cells = <1>; |
| 2053 | #size-cells = <0>; |
| 2054 | status = "disabled"; |
| 2055 | }; |
| 2056 | |
| 2057 | spi1: spi@feb10000 { |
| 2058 | compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi"; |
| 2059 | reg = <0x0 0xfeb10000 0x0 0x1000>; |
| 2060 | interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2061 | clocks = <&cru CLK_SPI1>, <&cru PCLK_SPI1>; |
| 2062 | clock-names = "spiclk", "apb_pclk"; |
| 2063 | dmas = <&dmac0 16>, <&dmac0 17>; |
| 2064 | dma-names = "tx", "rx"; |
| 2065 | num-cs = <2>; |
| 2066 | pinctrl-0 = <&spi1m1_cs0 &spi1m1_cs1 &spi1m1_pins>; |
| 2067 | pinctrl-names = "default"; |
| 2068 | #address-cells = <1>; |
| 2069 | #size-cells = <0>; |
| 2070 | status = "disabled"; |
| 2071 | }; |
| 2072 | |
| 2073 | spi2: spi@feb20000 { |
| 2074 | compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi"; |
| 2075 | reg = <0x0 0xfeb20000 0x0 0x1000>; |
| 2076 | interrupts = <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2077 | clocks = <&cru CLK_SPI2>, <&cru PCLK_SPI2>; |
| 2078 | clock-names = "spiclk", "apb_pclk"; |
| 2079 | dmas = <&dmac1 15>, <&dmac1 16>; |
| 2080 | dma-names = "tx", "rx"; |
| 2081 | num-cs = <2>; |
| 2082 | pinctrl-0 = <&spi2m2_cs0 &spi2m2_cs1 &spi2m2_pins>; |
| 2083 | pinctrl-names = "default"; |
| 2084 | #address-cells = <1>; |
| 2085 | #size-cells = <0>; |
| 2086 | status = "disabled"; |
| 2087 | }; |
| 2088 | |
| 2089 | spi3: spi@feb30000 { |
| 2090 | compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi"; |
| 2091 | reg = <0x0 0xfeb30000 0x0 0x1000>; |
| 2092 | interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2093 | clocks = <&cru CLK_SPI3>, <&cru PCLK_SPI3>; |
| 2094 | clock-names = "spiclk", "apb_pclk"; |
| 2095 | dmas = <&dmac1 17>, <&dmac1 18>; |
| 2096 | dma-names = "tx", "rx"; |
| 2097 | num-cs = <2>; |
| 2098 | pinctrl-0 = <&spi3m1_cs0 &spi3m1_cs1 &spi3m1_pins>; |
| 2099 | pinctrl-names = "default"; |
| 2100 | #address-cells = <1>; |
| 2101 | #size-cells = <0>; |
| 2102 | status = "disabled"; |
| 2103 | }; |
| 2104 | |
| 2105 | uart1: serial@feb40000 { |
| 2106 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2107 | reg = <0x0 0xfeb40000 0x0 0x100>; |
| 2108 | interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2109 | clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; |
| 2110 | clock-names = "baudclk", "apb_pclk"; |
| 2111 | dmas = <&dmac0 8>, <&dmac0 9>; |
| 2112 | dma-names = "tx", "rx"; |
| 2113 | pinctrl-0 = <&uart1m1_xfer>; |
| 2114 | pinctrl-names = "default"; |
| 2115 | reg-io-width = <4>; |
| 2116 | reg-shift = <2>; |
| 2117 | status = "disabled"; |
| 2118 | }; |
| 2119 | |
| 2120 | uart2: serial@feb50000 { |
| 2121 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2122 | reg = <0x0 0xfeb50000 0x0 0x100>; |
| 2123 | interrupts = <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2124 | clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; |
| 2125 | clock-names = "baudclk", "apb_pclk"; |
| 2126 | dmas = <&dmac0 10>, <&dmac0 11>; |
| 2127 | dma-names = "tx", "rx"; |
| 2128 | pinctrl-0 = <&uart2m1_xfer>; |
| 2129 | pinctrl-names = "default"; |
| 2130 | reg-io-width = <4>; |
| 2131 | reg-shift = <2>; |
| 2132 | status = "disabled"; |
| 2133 | }; |
| 2134 | |
| 2135 | uart3: serial@feb60000 { |
| 2136 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2137 | reg = <0x0 0xfeb60000 0x0 0x100>; |
| 2138 | interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2139 | clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>; |
| 2140 | clock-names = "baudclk", "apb_pclk"; |
| 2141 | dmas = <&dmac0 12>, <&dmac0 13>; |
| 2142 | dma-names = "tx", "rx"; |
| 2143 | pinctrl-0 = <&uart3m1_xfer>; |
| 2144 | pinctrl-names = "default"; |
| 2145 | reg-io-width = <4>; |
| 2146 | reg-shift = <2>; |
| 2147 | status = "disabled"; |
| 2148 | }; |
| 2149 | |
| 2150 | uart4: serial@feb70000 { |
| 2151 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2152 | reg = <0x0 0xfeb70000 0x0 0x100>; |
| 2153 | interrupts = <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2154 | clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>; |
| 2155 | clock-names = "baudclk", "apb_pclk"; |
| 2156 | dmas = <&dmac1 9>, <&dmac1 10>; |
| 2157 | dma-names = "tx", "rx"; |
| 2158 | pinctrl-0 = <&uart4m1_xfer>; |
| 2159 | pinctrl-names = "default"; |
| 2160 | reg-io-width = <4>; |
| 2161 | reg-shift = <2>; |
| 2162 | status = "disabled"; |
| 2163 | }; |
| 2164 | |
| 2165 | uart5: serial@feb80000 { |
| 2166 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2167 | reg = <0x0 0xfeb80000 0x0 0x100>; |
| 2168 | interrupts = <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2169 | clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>; |
| 2170 | clock-names = "baudclk", "apb_pclk"; |
| 2171 | dmas = <&dmac1 11>, <&dmac1 12>; |
| 2172 | dma-names = "tx", "rx"; |
| 2173 | pinctrl-0 = <&uart5m1_xfer>; |
| 2174 | pinctrl-names = "default"; |
| 2175 | reg-io-width = <4>; |
| 2176 | reg-shift = <2>; |
| 2177 | status = "disabled"; |
| 2178 | }; |
| 2179 | |
| 2180 | uart6: serial@feb90000 { |
| 2181 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2182 | reg = <0x0 0xfeb90000 0x0 0x100>; |
| 2183 | interrupts = <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2184 | clocks = <&cru SCLK_UART6>, <&cru PCLK_UART6>; |
| 2185 | clock-names = "baudclk", "apb_pclk"; |
| 2186 | dmas = <&dmac1 13>, <&dmac1 14>; |
| 2187 | dma-names = "tx", "rx"; |
| 2188 | pinctrl-0 = <&uart6m1_xfer>; |
| 2189 | pinctrl-names = "default"; |
| 2190 | reg-io-width = <4>; |
| 2191 | reg-shift = <2>; |
| 2192 | status = "disabled"; |
| 2193 | }; |
| 2194 | |
| 2195 | uart7: serial@feba0000 { |
| 2196 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2197 | reg = <0x0 0xfeba0000 0x0 0x100>; |
| 2198 | interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2199 | clocks = <&cru SCLK_UART7>, <&cru PCLK_UART7>; |
| 2200 | clock-names = "baudclk", "apb_pclk"; |
| 2201 | dmas = <&dmac2 7>, <&dmac2 8>; |
| 2202 | dma-names = "tx", "rx"; |
| 2203 | pinctrl-0 = <&uart7m1_xfer>; |
| 2204 | pinctrl-names = "default"; |
| 2205 | reg-io-width = <4>; |
| 2206 | reg-shift = <2>; |
| 2207 | status = "disabled"; |
| 2208 | }; |
| 2209 | |
| 2210 | uart8: serial@febb0000 { |
| 2211 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2212 | reg = <0x0 0xfebb0000 0x0 0x100>; |
| 2213 | interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2214 | clocks = <&cru SCLK_UART8>, <&cru PCLK_UART8>; |
| 2215 | clock-names = "baudclk", "apb_pclk"; |
| 2216 | dmas = <&dmac2 9>, <&dmac2 10>; |
| 2217 | dma-names = "tx", "rx"; |
| 2218 | pinctrl-0 = <&uart8m1_xfer>; |
| 2219 | pinctrl-names = "default"; |
| 2220 | reg-io-width = <4>; |
| 2221 | reg-shift = <2>; |
| 2222 | status = "disabled"; |
| 2223 | }; |
| 2224 | |
| 2225 | uart9: serial@febc0000 { |
| 2226 | compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; |
| 2227 | reg = <0x0 0xfebc0000 0x0 0x100>; |
| 2228 | interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2229 | clocks = <&cru SCLK_UART9>, <&cru PCLK_UART9>; |
| 2230 | clock-names = "baudclk", "apb_pclk"; |
| 2231 | dmas = <&dmac2 11>, <&dmac2 12>; |
| 2232 | dma-names = "tx", "rx"; |
| 2233 | pinctrl-0 = <&uart9m1_xfer>; |
| 2234 | pinctrl-names = "default"; |
| 2235 | reg-io-width = <4>; |
| 2236 | reg-shift = <2>; |
| 2237 | status = "disabled"; |
| 2238 | }; |
| 2239 | |
| 2240 | pwm4: pwm@febd0000 { |
| 2241 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2242 | reg = <0x0 0xfebd0000 0x0 0x10>; |
| 2243 | clocks = <&cru CLK_PWM1>, <&cru PCLK_PWM1>; |
| 2244 | clock-names = "pwm", "pclk"; |
| 2245 | pinctrl-0 = <&pwm4m0_pins>; |
| 2246 | pinctrl-names = "default"; |
| 2247 | #pwm-cells = <3>; |
| 2248 | status = "disabled"; |
| 2249 | }; |
| 2250 | |
| 2251 | pwm5: pwm@febd0010 { |
| 2252 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2253 | reg = <0x0 0xfebd0010 0x0 0x10>; |
| 2254 | clocks = <&cru CLK_PWM1>, <&cru PCLK_PWM1>; |
| 2255 | clock-names = "pwm", "pclk"; |
| 2256 | pinctrl-0 = <&pwm5m0_pins>; |
| 2257 | pinctrl-names = "default"; |
| 2258 | #pwm-cells = <3>; |
| 2259 | status = "disabled"; |
| 2260 | }; |
| 2261 | |
| 2262 | pwm6: pwm@febd0020 { |
| 2263 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2264 | reg = <0x0 0xfebd0020 0x0 0x10>; |
| 2265 | clocks = <&cru CLK_PWM1>, <&cru PCLK_PWM1>; |
| 2266 | clock-names = "pwm", "pclk"; |
| 2267 | pinctrl-0 = <&pwm6m0_pins>; |
| 2268 | pinctrl-names = "default"; |
| 2269 | #pwm-cells = <3>; |
| 2270 | status = "disabled"; |
| 2271 | }; |
| 2272 | |
| 2273 | pwm7: pwm@febd0030 { |
| 2274 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2275 | reg = <0x0 0xfebd0030 0x0 0x10>; |
| 2276 | clocks = <&cru CLK_PWM1>, <&cru PCLK_PWM1>; |
| 2277 | clock-names = "pwm", "pclk"; |
| 2278 | pinctrl-0 = <&pwm7m0_pins>; |
| 2279 | pinctrl-names = "default"; |
| 2280 | #pwm-cells = <3>; |
| 2281 | status = "disabled"; |
| 2282 | }; |
| 2283 | |
| 2284 | pwm8: pwm@febe0000 { |
| 2285 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2286 | reg = <0x0 0xfebe0000 0x0 0x10>; |
| 2287 | clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; |
| 2288 | clock-names = "pwm", "pclk"; |
| 2289 | pinctrl-0 = <&pwm8m0_pins>; |
| 2290 | pinctrl-names = "default"; |
| 2291 | #pwm-cells = <3>; |
| 2292 | status = "disabled"; |
| 2293 | }; |
| 2294 | |
| 2295 | pwm9: pwm@febe0010 { |
| 2296 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2297 | reg = <0x0 0xfebe0010 0x0 0x10>; |
| 2298 | clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; |
| 2299 | clock-names = "pwm", "pclk"; |
| 2300 | pinctrl-0 = <&pwm9m0_pins>; |
| 2301 | pinctrl-names = "default"; |
| 2302 | #pwm-cells = <3>; |
| 2303 | status = "disabled"; |
| 2304 | }; |
| 2305 | |
| 2306 | pwm10: pwm@febe0020 { |
| 2307 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2308 | reg = <0x0 0xfebe0020 0x0 0x10>; |
| 2309 | clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; |
| 2310 | clock-names = "pwm", "pclk"; |
| 2311 | pinctrl-0 = <&pwm10m0_pins>; |
| 2312 | pinctrl-names = "default"; |
| 2313 | #pwm-cells = <3>; |
| 2314 | status = "disabled"; |
| 2315 | }; |
| 2316 | |
| 2317 | pwm11: pwm@febe0030 { |
| 2318 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2319 | reg = <0x0 0xfebe0030 0x0 0x10>; |
| 2320 | clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; |
| 2321 | clock-names = "pwm", "pclk"; |
| 2322 | pinctrl-0 = <&pwm11m0_pins>; |
| 2323 | pinctrl-names = "default"; |
| 2324 | #pwm-cells = <3>; |
| 2325 | status = "disabled"; |
| 2326 | }; |
| 2327 | |
| 2328 | pwm12: pwm@febf0000 { |
| 2329 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2330 | reg = <0x0 0xfebf0000 0x0 0x10>; |
| 2331 | clocks = <&cru CLK_PWM3>, <&cru PCLK_PWM3>; |
| 2332 | clock-names = "pwm", "pclk"; |
| 2333 | pinctrl-0 = <&pwm12m0_pins>; |
| 2334 | pinctrl-names = "default"; |
| 2335 | #pwm-cells = <3>; |
| 2336 | status = "disabled"; |
| 2337 | }; |
| 2338 | |
| 2339 | pwm13: pwm@febf0010 { |
| 2340 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2341 | reg = <0x0 0xfebf0010 0x0 0x10>; |
| 2342 | clocks = <&cru CLK_PWM3>, <&cru PCLK_PWM3>; |
| 2343 | clock-names = "pwm", "pclk"; |
| 2344 | pinctrl-0 = <&pwm13m0_pins>; |
| 2345 | pinctrl-names = "default"; |
| 2346 | #pwm-cells = <3>; |
| 2347 | status = "disabled"; |
| 2348 | }; |
| 2349 | |
| 2350 | pwm14: pwm@febf0020 { |
| 2351 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2352 | reg = <0x0 0xfebf0020 0x0 0x10>; |
| 2353 | clocks = <&cru CLK_PWM3>, <&cru PCLK_PWM3>; |
| 2354 | clock-names = "pwm", "pclk"; |
| 2355 | pinctrl-0 = <&pwm14m0_pins>; |
| 2356 | pinctrl-names = "default"; |
| 2357 | #pwm-cells = <3>; |
| 2358 | status = "disabled"; |
| 2359 | }; |
| 2360 | |
| 2361 | pwm15: pwm@febf0030 { |
| 2362 | compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm"; |
| 2363 | reg = <0x0 0xfebf0030 0x0 0x10>; |
| 2364 | clocks = <&cru CLK_PWM3>, <&cru PCLK_PWM3>; |
| 2365 | clock-names = "pwm", "pclk"; |
| 2366 | pinctrl-0 = <&pwm15m0_pins>; |
| 2367 | pinctrl-names = "default"; |
| 2368 | #pwm-cells = <3>; |
| 2369 | status = "disabled"; |
| 2370 | }; |
| 2371 | |
Alexey Charkov | 932a8f9 | 2024-08-02 23:00:26 +0200 | [diff] [blame] | 2372 | thermal_zones: thermal-zones { |
| 2373 | /* sensor near the center of the SoC */ |
| 2374 | package_thermal: package-thermal { |
| 2375 | polling-delay-passive = <0>; |
| 2376 | polling-delay = <0>; |
| 2377 | thermal-sensors = <&tsadc 0>; |
| 2378 | |
| 2379 | trips { |
| 2380 | package_crit: package-crit { |
| 2381 | temperature = <115000>; |
| 2382 | hysteresis = <0>; |
| 2383 | type = "critical"; |
| 2384 | }; |
| 2385 | }; |
| 2386 | }; |
| 2387 | |
| 2388 | /* sensor between A76 cores 0 and 1 */ |
| 2389 | bigcore0_thermal: bigcore0-thermal { |
| 2390 | polling-delay-passive = <100>; |
| 2391 | polling-delay = <0>; |
| 2392 | thermal-sensors = <&tsadc 1>; |
| 2393 | |
| 2394 | trips { |
| 2395 | bigcore0_alert: bigcore0-alert { |
| 2396 | temperature = <85000>; |
| 2397 | hysteresis = <2000>; |
| 2398 | type = "passive"; |
| 2399 | }; |
| 2400 | |
| 2401 | bigcore0_crit: bigcore0-crit { |
| 2402 | temperature = <115000>; |
| 2403 | hysteresis = <0>; |
| 2404 | type = "critical"; |
| 2405 | }; |
| 2406 | }; |
| 2407 | |
| 2408 | cooling-maps { |
| 2409 | map0 { |
| 2410 | trip = <&bigcore0_alert>; |
| 2411 | cooling-device = |
| 2412 | <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 2413 | <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 2414 | }; |
| 2415 | }; |
| 2416 | }; |
| 2417 | |
| 2418 | /* sensor between A76 cores 2 and 3 */ |
| 2419 | bigcore2_thermal: bigcore2-thermal { |
| 2420 | polling-delay-passive = <100>; |
| 2421 | polling-delay = <0>; |
| 2422 | thermal-sensors = <&tsadc 2>; |
| 2423 | |
| 2424 | trips { |
| 2425 | bigcore2_alert: bigcore2-alert { |
| 2426 | temperature = <85000>; |
| 2427 | hysteresis = <2000>; |
| 2428 | type = "passive"; |
| 2429 | }; |
| 2430 | |
| 2431 | bigcore2_crit: bigcore2-crit { |
| 2432 | temperature = <115000>; |
| 2433 | hysteresis = <0>; |
| 2434 | type = "critical"; |
| 2435 | }; |
| 2436 | }; |
| 2437 | |
| 2438 | cooling-maps { |
| 2439 | map0 { |
| 2440 | trip = <&bigcore2_alert>; |
| 2441 | cooling-device = |
| 2442 | <&cpu_b2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 2443 | <&cpu_b3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 2444 | }; |
| 2445 | }; |
| 2446 | }; |
| 2447 | |
| 2448 | /* sensor between the four A55 cores */ |
| 2449 | little_core_thermal: littlecore-thermal { |
| 2450 | polling-delay-passive = <100>; |
| 2451 | polling-delay = <0>; |
| 2452 | thermal-sensors = <&tsadc 3>; |
| 2453 | |
| 2454 | trips { |
| 2455 | littlecore_alert: littlecore-alert { |
| 2456 | temperature = <85000>; |
| 2457 | hysteresis = <2000>; |
| 2458 | type = "passive"; |
| 2459 | }; |
| 2460 | |
| 2461 | littlecore_crit: littlecore-crit { |
| 2462 | temperature = <115000>; |
| 2463 | hysteresis = <0>; |
| 2464 | type = "critical"; |
| 2465 | }; |
| 2466 | }; |
| 2467 | |
| 2468 | cooling-maps { |
| 2469 | map0 { |
| 2470 | trip = <&littlecore_alert>; |
| 2471 | cooling-device = |
| 2472 | <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 2473 | <&cpu_l1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 2474 | <&cpu_l2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 2475 | <&cpu_l3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 2476 | }; |
| 2477 | }; |
| 2478 | }; |
| 2479 | |
| 2480 | /* sensor near the PD_CENTER power domain */ |
| 2481 | center_thermal: center-thermal { |
| 2482 | polling-delay-passive = <0>; |
| 2483 | polling-delay = <0>; |
| 2484 | thermal-sensors = <&tsadc 4>; |
| 2485 | |
| 2486 | trips { |
| 2487 | center_crit: center-crit { |
| 2488 | temperature = <115000>; |
| 2489 | hysteresis = <0>; |
| 2490 | type = "critical"; |
| 2491 | }; |
| 2492 | }; |
| 2493 | }; |
| 2494 | |
| 2495 | gpu_thermal: gpu-thermal { |
| 2496 | polling-delay-passive = <0>; |
| 2497 | polling-delay = <0>; |
| 2498 | thermal-sensors = <&tsadc 5>; |
| 2499 | |
| 2500 | trips { |
| 2501 | gpu_crit: gpu-crit { |
| 2502 | temperature = <115000>; |
| 2503 | hysteresis = <0>; |
| 2504 | type = "critical"; |
| 2505 | }; |
| 2506 | }; |
| 2507 | }; |
| 2508 | |
| 2509 | npu_thermal: npu-thermal { |
| 2510 | polling-delay-passive = <0>; |
| 2511 | polling-delay = <0>; |
| 2512 | thermal-sensors = <&tsadc 6>; |
| 2513 | |
| 2514 | trips { |
| 2515 | npu_crit: npu-crit { |
| 2516 | temperature = <115000>; |
| 2517 | hysteresis = <0>; |
| 2518 | type = "critical"; |
| 2519 | }; |
| 2520 | }; |
| 2521 | }; |
| 2522 | }; |
| 2523 | |
Dragan Simic | 8b70d5b | 2024-08-02 23:00:25 +0200 | [diff] [blame] | 2524 | tsadc: tsadc@fec00000 { |
| 2525 | compatible = "rockchip,rk3588-tsadc"; |
| 2526 | reg = <0x0 0xfec00000 0x0 0x400>; |
| 2527 | interrupts = <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2528 | clocks = <&cru CLK_TSADC>, <&cru PCLK_TSADC>; |
| 2529 | clock-names = "tsadc", "apb_pclk"; |
| 2530 | assigned-clocks = <&cru CLK_TSADC>; |
| 2531 | assigned-clock-rates = <2000000>; |
| 2532 | resets = <&cru SRST_P_TSADC>, <&cru SRST_TSADC>; |
| 2533 | reset-names = "tsadc-apb", "tsadc"; |
| 2534 | rockchip,hw-tshut-temp = <120000>; |
| 2535 | rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ |
| 2536 | rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */ |
| 2537 | pinctrl-0 = <&tsadc_gpio_func>; |
| 2538 | pinctrl-1 = <&tsadc_shut>; |
| 2539 | pinctrl-names = "gpio", "otpout"; |
| 2540 | #thermal-sensor-cells = <1>; |
| 2541 | status = "disabled"; |
| 2542 | }; |
| 2543 | |
| 2544 | saradc: adc@fec10000 { |
| 2545 | compatible = "rockchip,rk3588-saradc"; |
| 2546 | reg = <0x0 0xfec10000 0x0 0x10000>; |
| 2547 | interrupts = <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2548 | #io-channel-cells = <1>; |
| 2549 | clocks = <&cru CLK_SARADC>, <&cru PCLK_SARADC>; |
| 2550 | clock-names = "saradc", "apb_pclk"; |
| 2551 | resets = <&cru SRST_P_SARADC>; |
| 2552 | reset-names = "saradc-apb"; |
| 2553 | status = "disabled"; |
| 2554 | }; |
| 2555 | |
| 2556 | i2c6: i2c@fec80000 { |
| 2557 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 2558 | reg = <0x0 0xfec80000 0x0 0x1000>; |
| 2559 | clocks = <&cru CLK_I2C6>, <&cru PCLK_I2C6>; |
| 2560 | clock-names = "i2c", "pclk"; |
| 2561 | interrupts = <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2562 | pinctrl-0 = <&i2c6m0_xfer>; |
| 2563 | pinctrl-names = "default"; |
| 2564 | #address-cells = <1>; |
| 2565 | #size-cells = <0>; |
| 2566 | status = "disabled"; |
| 2567 | }; |
| 2568 | |
| 2569 | i2c7: i2c@fec90000 { |
| 2570 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 2571 | reg = <0x0 0xfec90000 0x0 0x1000>; |
| 2572 | clocks = <&cru CLK_I2C7>, <&cru PCLK_I2C7>; |
| 2573 | clock-names = "i2c", "pclk"; |
| 2574 | interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2575 | pinctrl-0 = <&i2c7m0_xfer>; |
| 2576 | pinctrl-names = "default"; |
| 2577 | #address-cells = <1>; |
| 2578 | #size-cells = <0>; |
| 2579 | status = "disabled"; |
| 2580 | }; |
| 2581 | |
| 2582 | i2c8: i2c@feca0000 { |
| 2583 | compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c"; |
| 2584 | reg = <0x0 0xfeca0000 0x0 0x1000>; |
| 2585 | clocks = <&cru CLK_I2C8>, <&cru PCLK_I2C8>; |
| 2586 | clock-names = "i2c", "pclk"; |
| 2587 | interrupts = <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2588 | pinctrl-0 = <&i2c8m0_xfer>; |
| 2589 | pinctrl-names = "default"; |
| 2590 | #address-cells = <1>; |
| 2591 | #size-cells = <0>; |
| 2592 | status = "disabled"; |
| 2593 | }; |
| 2594 | |
| 2595 | spi4: spi@fecb0000 { |
| 2596 | compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi"; |
| 2597 | reg = <0x0 0xfecb0000 0x0 0x1000>; |
| 2598 | interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2599 | clocks = <&cru CLK_SPI4>, <&cru PCLK_SPI4>; |
| 2600 | clock-names = "spiclk", "apb_pclk"; |
| 2601 | dmas = <&dmac2 13>, <&dmac2 14>; |
| 2602 | dma-names = "tx", "rx"; |
| 2603 | num-cs = <2>; |
| 2604 | pinctrl-0 = <&spi4m0_cs0 &spi4m0_cs1 &spi4m0_pins>; |
| 2605 | pinctrl-names = "default"; |
| 2606 | #address-cells = <1>; |
| 2607 | #size-cells = <0>; |
| 2608 | status = "disabled"; |
| 2609 | }; |
| 2610 | |
| 2611 | otp: efuse@fecc0000 { |
| 2612 | compatible = "rockchip,rk3588-otp"; |
| 2613 | reg = <0x0 0xfecc0000 0x0 0x400>; |
| 2614 | clocks = <&cru CLK_OTPC_NS>, <&cru PCLK_OTPC_NS>, |
| 2615 | <&cru CLK_OTP_PHY_G>, <&cru CLK_OTPC_ARB>; |
| 2616 | clock-names = "otp", "apb_pclk", "phy", "arb"; |
| 2617 | resets = <&cru SRST_OTPC_NS>, <&cru SRST_P_OTPC_NS>, |
| 2618 | <&cru SRST_OTPC_ARB>; |
| 2619 | reset-names = "otp", "apb", "arb"; |
| 2620 | #address-cells = <1>; |
| 2621 | #size-cells = <1>; |
| 2622 | |
| 2623 | cpu_code: cpu-code@2 { |
| 2624 | reg = <0x02 0x2>; |
| 2625 | }; |
| 2626 | |
| 2627 | otp_id: id@7 { |
| 2628 | reg = <0x07 0x10>; |
| 2629 | }; |
| 2630 | |
| 2631 | cpub0_leakage: cpu-leakage@17 { |
| 2632 | reg = <0x17 0x1>; |
| 2633 | }; |
| 2634 | |
| 2635 | cpub1_leakage: cpu-leakage@18 { |
| 2636 | reg = <0x18 0x1>; |
| 2637 | }; |
| 2638 | |
| 2639 | cpul_leakage: cpu-leakage@19 { |
| 2640 | reg = <0x19 0x1>; |
| 2641 | }; |
| 2642 | |
| 2643 | log_leakage: log-leakage@1a { |
| 2644 | reg = <0x1a 0x1>; |
| 2645 | }; |
| 2646 | |
| 2647 | gpu_leakage: gpu-leakage@1b { |
| 2648 | reg = <0x1b 0x1>; |
| 2649 | }; |
| 2650 | |
| 2651 | otp_cpu_version: cpu-version@1c { |
| 2652 | reg = <0x1c 0x1>; |
| 2653 | bits = <3 3>; |
| 2654 | }; |
| 2655 | |
| 2656 | npu_leakage: npu-leakage@28 { |
| 2657 | reg = <0x28 0x1>; |
| 2658 | }; |
| 2659 | |
| 2660 | codec_leakage: codec-leakage@29 { |
| 2661 | reg = <0x29 0x1>; |
| 2662 | }; |
| 2663 | }; |
| 2664 | |
| 2665 | dmac2: dma-controller@fed10000 { |
| 2666 | compatible = "arm,pl330", "arm,primecell"; |
| 2667 | reg = <0x0 0xfed10000 0x0 0x4000>; |
| 2668 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH 0>, |
| 2669 | <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2670 | arm,pl330-periph-burst; |
| 2671 | clocks = <&cru ACLK_DMAC2>; |
| 2672 | clock-names = "apb_pclk"; |
| 2673 | #dma-cells = <1>; |
| 2674 | }; |
| 2675 | |
| 2676 | hdptxphy_hdmi0: phy@fed60000 { |
| 2677 | compatible = "rockchip,rk3588-hdptx-phy"; |
| 2678 | reg = <0x0 0xfed60000 0x0 0x2000>; |
| 2679 | clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>, <&cru PCLK_HDPTX0>; |
| 2680 | clock-names = "ref", "apb"; |
| 2681 | #phy-cells = <0>; |
| 2682 | resets = <&cru SRST_HDPTX0>, <&cru SRST_P_HDPTX0>, |
| 2683 | <&cru SRST_HDPTX0_INIT>, <&cru SRST_HDPTX0_CMN>, |
| 2684 | <&cru SRST_HDPTX0_LANE>, <&cru SRST_HDPTX0_ROPLL>, |
| 2685 | <&cru SRST_HDPTX0_LCPLL>; |
| 2686 | reset-names = "phy", "apb", "init", "cmn", "lane", "ropll", |
| 2687 | "lcpll"; |
| 2688 | rockchip,grf = <&hdptxphy0_grf>; |
| 2689 | status = "disabled"; |
| 2690 | }; |
| 2691 | |
| 2692 | usbdp_phy0: phy@fed80000 { |
| 2693 | compatible = "rockchip,rk3588-usbdp-phy"; |
| 2694 | reg = <0x0 0xfed80000 0x0 0x10000>; |
| 2695 | #phy-cells = <1>; |
| 2696 | clocks = <&cru CLK_USBDPPHY_MIPIDCPPHY_REF>, |
| 2697 | <&cru CLK_USBDP_PHY0_IMMORTAL>, |
| 2698 | <&cru PCLK_USBDPPHY0>, |
| 2699 | <&u2phy0>; |
| 2700 | clock-names = "refclk", "immortal", "pclk", "utmi"; |
| 2701 | resets = <&cru SRST_USBDP_COMBO_PHY0_INIT>, |
| 2702 | <&cru SRST_USBDP_COMBO_PHY0_CMN>, |
| 2703 | <&cru SRST_USBDP_COMBO_PHY0_LANE>, |
| 2704 | <&cru SRST_USBDP_COMBO_PHY0_PCS>, |
| 2705 | <&cru SRST_P_USBDPPHY0>; |
| 2706 | reset-names = "init", "cmn", "lane", "pcs_apb", "pma_apb"; |
| 2707 | rockchip,u2phy-grf = <&usb2phy0_grf>; |
| 2708 | rockchip,usb-grf = <&usb_grf>; |
| 2709 | rockchip,usbdpphy-grf = <&usbdpphy0_grf>; |
| 2710 | rockchip,vo-grf = <&vo0_grf>; |
| 2711 | status = "disabled"; |
| 2712 | }; |
| 2713 | |
| 2714 | combphy0_ps: phy@fee00000 { |
| 2715 | compatible = "rockchip,rk3588-naneng-combphy"; |
| 2716 | reg = <0x0 0xfee00000 0x0 0x100>; |
| 2717 | clocks = <&cru CLK_REF_PIPE_PHY0>, <&cru PCLK_PCIE_COMBO_PIPE_PHY0>, |
| 2718 | <&cru PCLK_PHP_ROOT>; |
| 2719 | clock-names = "ref", "apb", "pipe"; |
| 2720 | assigned-clocks = <&cru CLK_REF_PIPE_PHY0>; |
| 2721 | assigned-clock-rates = <100000000>; |
| 2722 | #phy-cells = <1>; |
| 2723 | resets = <&cru SRST_REF_PIPE_PHY0>, <&cru SRST_P_PCIE2_PHY0>; |
| 2724 | reset-names = "phy", "apb"; |
| 2725 | rockchip,pipe-grf = <&php_grf>; |
| 2726 | rockchip,pipe-phy-grf = <&pipe_phy0_grf>; |
| 2727 | status = "disabled"; |
| 2728 | }; |
| 2729 | |
| 2730 | combphy2_psu: phy@fee20000 { |
| 2731 | compatible = "rockchip,rk3588-naneng-combphy"; |
| 2732 | reg = <0x0 0xfee20000 0x0 0x100>; |
| 2733 | clocks = <&cru CLK_REF_PIPE_PHY2>, <&cru PCLK_PCIE_COMBO_PIPE_PHY2>, |
| 2734 | <&cru PCLK_PHP_ROOT>; |
| 2735 | clock-names = "ref", "apb", "pipe"; |
| 2736 | assigned-clocks = <&cru CLK_REF_PIPE_PHY2>; |
| 2737 | assigned-clock-rates = <100000000>; |
| 2738 | #phy-cells = <1>; |
| 2739 | resets = <&cru SRST_REF_PIPE_PHY2>, <&cru SRST_P_PCIE2_PHY2>; |
| 2740 | reset-names = "phy", "apb"; |
| 2741 | rockchip,pipe-grf = <&php_grf>; |
| 2742 | rockchip,pipe-phy-grf = <&pipe_phy2_grf>; |
| 2743 | status = "disabled"; |
| 2744 | }; |
| 2745 | |
| 2746 | system_sram2: sram@ff001000 { |
| 2747 | compatible = "mmio-sram"; |
| 2748 | reg = <0x0 0xff001000 0x0 0xef000>; |
| 2749 | ranges = <0x0 0x0 0xff001000 0xef000>; |
| 2750 | #address-cells = <1>; |
| 2751 | #size-cells = <1>; |
| 2752 | }; |
| 2753 | |
| 2754 | pinctrl: pinctrl { |
| 2755 | compatible = "rockchip,rk3588-pinctrl"; |
| 2756 | ranges; |
| 2757 | rockchip,grf = <&ioc>; |
| 2758 | #address-cells = <2>; |
| 2759 | #size-cells = <2>; |
| 2760 | |
| 2761 | gpio0: gpio@fd8a0000 { |
| 2762 | compatible = "rockchip,gpio-bank"; |
| 2763 | reg = <0x0 0xfd8a0000 0x0 0x100>; |
| 2764 | interrupts = <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2765 | clocks = <&cru PCLK_GPIO0>, <&cru DBCLK_GPIO0>; |
| 2766 | gpio-controller; |
| 2767 | gpio-ranges = <&pinctrl 0 0 32>; |
| 2768 | interrupt-controller; |
| 2769 | #gpio-cells = <2>; |
| 2770 | #interrupt-cells = <2>; |
| 2771 | }; |
| 2772 | |
| 2773 | gpio1: gpio@fec20000 { |
| 2774 | compatible = "rockchip,gpio-bank"; |
| 2775 | reg = <0x0 0xfec20000 0x0 0x100>; |
| 2776 | interrupts = <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2777 | clocks = <&cru PCLK_GPIO1>, <&cru DBCLK_GPIO1>; |
| 2778 | gpio-controller; |
| 2779 | gpio-ranges = <&pinctrl 0 32 32>; |
| 2780 | interrupt-controller; |
| 2781 | #gpio-cells = <2>; |
| 2782 | #interrupt-cells = <2>; |
| 2783 | }; |
| 2784 | |
| 2785 | gpio2: gpio@fec30000 { |
| 2786 | compatible = "rockchip,gpio-bank"; |
| 2787 | reg = <0x0 0xfec30000 0x0 0x100>; |
| 2788 | interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2789 | clocks = <&cru PCLK_GPIO2>, <&cru DBCLK_GPIO2>; |
| 2790 | gpio-controller; |
| 2791 | gpio-ranges = <&pinctrl 0 64 32>; |
| 2792 | interrupt-controller; |
| 2793 | #gpio-cells = <2>; |
| 2794 | #interrupt-cells = <2>; |
| 2795 | }; |
| 2796 | |
| 2797 | gpio3: gpio@fec40000 { |
| 2798 | compatible = "rockchip,gpio-bank"; |
| 2799 | reg = <0x0 0xfec40000 0x0 0x100>; |
| 2800 | interrupts = <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2801 | clocks = <&cru PCLK_GPIO3>, <&cru DBCLK_GPIO3>; |
| 2802 | gpio-controller; |
| 2803 | gpio-ranges = <&pinctrl 0 96 32>; |
| 2804 | interrupt-controller; |
| 2805 | #gpio-cells = <2>; |
| 2806 | #interrupt-cells = <2>; |
| 2807 | }; |
| 2808 | |
| 2809 | gpio4: gpio@fec50000 { |
| 2810 | compatible = "rockchip,gpio-bank"; |
| 2811 | reg = <0x0 0xfec50000 0x0 0x100>; |
| 2812 | interrupts = <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH 0>; |
| 2813 | clocks = <&cru PCLK_GPIO4>, <&cru DBCLK_GPIO4>; |
| 2814 | gpio-controller; |
| 2815 | gpio-ranges = <&pinctrl 0 128 32>; |
| 2816 | interrupt-controller; |
| 2817 | #gpio-cells = <2>; |
| 2818 | #interrupt-cells = <2>; |
| 2819 | }; |
| 2820 | }; |
| 2821 | }; |
| 2822 | |
| 2823 | #include "rk3588-base-pinctrl.dtsi" |