1 // SPDX-License-Identifier: (GPL-2.0-only OR B 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* 2 /* 3 * Copyright (C) 2022 MediaTek Inc. 3 * Copyright (C) 2022 MediaTek Inc. 4 * Author: Allen-KH Cheng <allen-kh.cheng@media 4 * Author: Allen-KH Cheng <allen-kh.cheng@mediatek.com> 5 */ 5 */ 6 /dts-v1/; 6 /dts-v1/; 7 #include <dt-bindings/clock/mt8186-clk.h> 7 #include <dt-bindings/clock/mt8186-clk.h> 8 #include <dt-bindings/gce/mt8186-gce.h> << 9 #include <dt-bindings/interrupt-controller/arm 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq 9 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/memory/mt8186-memory-por << 12 #include <dt-bindings/pinctrl/mt8186-pinfunc.h 10 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 13 #include <dt-bindings/power/mt8186-power.h> 11 #include <dt-bindings/power/mt8186-power.h> 14 #include <dt-bindings/phy/phy.h> 12 #include <dt-bindings/phy/phy.h> 15 #include <dt-bindings/reset/mt8186-resets.h> 13 #include <dt-bindings/reset/mt8186-resets.h> 16 #include <dt-bindings/thermal/thermal.h> << 17 #include <dt-bindings/thermal/mediatek,lvts-th << 18 14 19 / { 15 / { 20 compatible = "mediatek,mt8186"; 16 compatible = "mediatek,mt8186"; 21 interrupt-parent = <&gic>; 17 interrupt-parent = <&gic>; 22 #address-cells = <2>; 18 #address-cells = <2>; 23 #size-cells = <2>; 19 #size-cells = <2>; 24 20 25 aliases { << 26 ovl0 = &ovl0; << 27 ovl-2l0 = &ovl_2l0; << 28 rdma0 = &rdma0; << 29 rdma1 = &rdma1; << 30 }; << 31 << 32 cci: cci { << 33 compatible = "mediatek,mt8186- << 34 clocks = <&mcusys CLK_MCU_ARMP << 35 <&apmixedsys CLK_APMI << 36 clock-names = "cci", "intermed << 37 operating-points-v2 = <&cci_op << 38 }; << 39 << 40 cci_opp: opp-table-cci { << 41 compatible = "operating-points << 42 opp-shared; << 43 << 44 cci_opp_0: opp-500000000 { << 45 opp-hz = /bits/ 64 <50 << 46 opp-microvolt = <60000 << 47 }; << 48 << 49 cci_opp_1: opp-560000000 { << 50 opp-hz = /bits/ 64 <56 << 51 opp-microvolt = <67500 << 52 }; << 53 << 54 cci_opp_2: opp-612000000 { << 55 opp-hz = /bits/ 64 <61 << 56 opp-microvolt = <69375 << 57 }; << 58 << 59 cci_opp_3: opp-682000000 { << 60 opp-hz = /bits/ 64 <68 << 61 opp-microvolt = <71875 << 62 }; << 63 << 64 cci_opp_4: opp-752000000 { << 65 opp-hz = /bits/ 64 <75 << 66 opp-microvolt = <74375 << 67 }; << 68 << 69 cci_opp_5: opp-822000000 { << 70 opp-hz = /bits/ 64 <82 << 71 opp-microvolt = <76875 << 72 }; << 73 << 74 cci_opp_6: opp-875000000 { << 75 opp-hz = /bits/ 64 <87 << 76 opp-microvolt = <78125 << 77 }; << 78 << 79 cci_opp_7: opp-927000000 { << 80 opp-hz = /bits/ 64 <92 << 81 opp-microvolt = <80000 << 82 }; << 83 << 84 cci_opp_8: opp-980000000 { << 85 opp-hz = /bits/ 64 <98 << 86 opp-microvolt = <81875 << 87 }; << 88 << 89 cci_opp_9: opp-1050000000 { << 90 opp-hz = /bits/ 64 <10 << 91 opp-microvolt = <84375 << 92 }; << 93 << 94 cci_opp_10: opp-1120000000 { << 95 opp-hz = /bits/ 64 <11 << 96 opp-microvolt = <86250 << 97 }; << 98 << 99 cci_opp_11: opp-1155000000 { << 100 opp-hz = /bits/ 64 <11 << 101 opp-microvolt = <88750 << 102 }; << 103 << 104 cci_opp_12: opp-1190000000 { << 105 opp-hz = /bits/ 64 <11 << 106 opp-microvolt = <90625 << 107 }; << 108 << 109 cci_opp_13: opp-1260000000 { << 110 opp-hz = /bits/ 64 <12 << 111 opp-microvolt = <95000 << 112 }; << 113 << 114 cci_opp_14: opp-1330000000 { << 115 opp-hz = /bits/ 64 <13 << 116 opp-microvolt = <99375 << 117 }; << 118 << 119 cci_opp_15: opp-1400000000 { << 120 opp-hz = /bits/ 64 <14 << 121 opp-microvolt = <10312 << 122 }; << 123 }; << 124 << 125 cluster0_opp: opp-table-cluster0 { << 126 compatible = "operating-points << 127 opp-shared; << 128 << 129 opp-500000000 { << 130 opp-hz = /bits/ 64 <50 << 131 opp-microvolt = <60000 << 132 required-opps = <&cci_ << 133 }; << 134 << 135 opp-774000000 { << 136 opp-hz = /bits/ 64 <77 << 137 opp-microvolt = <67500 << 138 required-opps = <&cci_ << 139 }; << 140 << 141 opp-875000000 { << 142 opp-hz = /bits/ 64 <87 << 143 opp-microvolt = <70000 << 144 required-opps = <&cci_ << 145 }; << 146 << 147 opp-975000000 { << 148 opp-hz = /bits/ 64 <97 << 149 opp-microvolt = <72500 << 150 required-opps = <&cci_ << 151 }; << 152 << 153 opp-1075000000 { << 154 opp-hz = /bits/ 64 <10 << 155 opp-microvolt = <75000 << 156 required-opps = <&cci_ << 157 }; << 158 << 159 opp-1175000000 { << 160 opp-hz = /bits/ 64 <11 << 161 opp-microvolt = <77500 << 162 required-opps = <&cci_ << 163 }; << 164 << 165 opp-1275000000 { << 166 opp-hz = /bits/ 64 <12 << 167 opp-microvolt = <80000 << 168 required-opps = <&cci_ << 169 }; << 170 << 171 opp-1375000000 { << 172 opp-hz = /bits/ 64 <13 << 173 opp-microvolt = <82500 << 174 required-opps = <&cci_ << 175 }; << 176 << 177 opp-1500000000 { << 178 opp-hz = /bits/ 64 <15 << 179 opp-microvolt = <85625 << 180 required-opps = <&cci_ << 181 }; << 182 << 183 opp-1618000000 { << 184 opp-hz = /bits/ 64 <16 << 185 opp-microvolt = <87500 << 186 required-opps = <&cci_ << 187 }; << 188 << 189 opp-1666000000 { << 190 opp-hz = /bits/ 64 <16 << 191 opp-microvolt = <90000 << 192 required-opps = <&cci_ << 193 }; << 194 << 195 opp-1733000000 { << 196 opp-hz = /bits/ 64 <17 << 197 opp-microvolt = <92500 << 198 required-opps = <&cci_ << 199 }; << 200 << 201 opp-1800000000 { << 202 opp-hz = /bits/ 64 <18 << 203 opp-microvolt = <95000 << 204 required-opps = <&cci_ << 205 }; << 206 << 207 opp-1866000000 { << 208 opp-hz = /bits/ 64 <18 << 209 opp-microvolt = <98125 << 210 required-opps = <&cci_ << 211 }; << 212 << 213 opp-1933000000 { << 214 opp-hz = /bits/ 64 <19 << 215 opp-microvolt = <10062 << 216 required-opps = <&cci_ << 217 }; << 218 << 219 opp-2000000000 { << 220 opp-hz = /bits/ 64 <20 << 221 opp-microvolt = <10312 << 222 required-opps = <&cci_ << 223 }; << 224 }; << 225 << 226 cluster1_opp: opp-table-cluster1 { << 227 compatible = "operating-points << 228 opp-shared; << 229 << 230 opp-774000000 { << 231 opp-hz = /bits/ 64 <77 << 232 opp-microvolt = <67500 << 233 required-opps = <&cci_ << 234 }; << 235 << 236 opp-835000000 { << 237 opp-hz = /bits/ 64 <83 << 238 opp-microvolt = <69375 << 239 required-opps = <&cci_ << 240 }; << 241 << 242 opp-919000000 { << 243 opp-hz = /bits/ 64 <91 << 244 opp-microvolt = <71875 << 245 required-opps = <&cci_ << 246 }; << 247 << 248 opp-1002000000 { << 249 opp-hz = /bits/ 64 <10 << 250 opp-microvolt = <74375 << 251 required-opps = <&cci_ << 252 }; << 253 << 254 opp-1085000000 { << 255 opp-hz = /bits/ 64 <10 << 256 opp-microvolt = <77500 << 257 required-opps = <&cci_ << 258 }; << 259 << 260 opp-1169000000 { << 261 opp-hz = /bits/ 64 <11 << 262 opp-microvolt = <80000 << 263 required-opps = <&cci_ << 264 }; << 265 << 266 opp-1308000000 { << 267 opp-hz = /bits/ 64 <13 << 268 opp-microvolt = <84375 << 269 required-opps = <&cci_ << 270 }; << 271 << 272 opp-1419000000 { << 273 opp-hz = /bits/ 64 <14 << 274 opp-microvolt = <87500 << 275 required-opps = <&cci_ << 276 }; << 277 << 278 opp-1530000000 { << 279 opp-hz = /bits/ 64 <15 << 280 opp-microvolt = <91250 << 281 required-opps = <&cci_ << 282 }; << 283 << 284 opp-1670000000 { << 285 opp-hz = /bits/ 64 <16 << 286 opp-microvolt = <95625 << 287 required-opps = <&cci_ << 288 }; << 289 << 290 opp-1733000000 { << 291 opp-hz = /bits/ 64 <17 << 292 opp-microvolt = <98125 << 293 required-opps = <&cci_ << 294 }; << 295 << 296 opp-1796000000 { << 297 opp-hz = /bits/ 64 <17 << 298 opp-microvolt = <10125 << 299 required-opps = <&cci_ << 300 }; << 301 << 302 opp-1860000000 { << 303 opp-hz = /bits/ 64 <18 << 304 opp-microvolt = <10375 << 305 required-opps = <&cci_ << 306 }; << 307 << 308 opp-1923000000 { << 309 opp-hz = /bits/ 64 <19 << 310 opp-microvolt = <10625 << 311 required-opps = <&cci_ << 312 }; << 313 << 314 cluster1_opp_14: opp-198600000 << 315 opp-hz = /bits/ 64 <19 << 316 opp-microvolt = <10937 << 317 required-opps = <&cci_ << 318 }; << 319 << 320 cluster1_opp_15: opp-205000000 << 321 opp-hz = /bits/ 64 <20 << 322 opp-microvolt = <11187 << 323 required-opps = <&cci_ << 324 }; << 325 }; << 326 << 327 cpus { 21 cpus { 328 #address-cells = <1>; 22 #address-cells = <1>; 329 #size-cells = <0>; 23 #size-cells = <0>; 330 24 331 cpu-map { 25 cpu-map { 332 cluster0 { 26 cluster0 { 333 core0 { 27 core0 { 334 cpu = 28 cpu = <&cpu0>; 335 }; 29 }; 336 30 337 core1 { 31 core1 { 338 cpu = 32 cpu = <&cpu1>; 339 }; 33 }; 340 34 341 core2 { 35 core2 { 342 cpu = 36 cpu = <&cpu2>; 343 }; 37 }; 344 38 345 core3 { 39 core3 { 346 cpu = 40 cpu = <&cpu3>; 347 }; 41 }; 348 42 349 core4 { 43 core4 { 350 cpu = 44 cpu = <&cpu4>; 351 }; 45 }; 352 46 353 core5 { 47 core5 { 354 cpu = 48 cpu = <&cpu5>; 355 }; 49 }; 356 50 357 core6 { 51 core6 { 358 cpu = 52 cpu = <&cpu6>; 359 }; 53 }; 360 54 361 core7 { 55 core7 { 362 cpu = 56 cpu = <&cpu7>; 363 }; 57 }; 364 }; 58 }; 365 }; 59 }; 366 60 367 cpu0: cpu@0 { 61 cpu0: cpu@0 { 368 device_type = "cpu"; 62 device_type = "cpu"; 369 compatible = "arm,cort 63 compatible = "arm,cortex-a55"; 370 reg = <0x000>; 64 reg = <0x000>; 371 enable-method = "psci" 65 enable-method = "psci"; 372 clock-frequency = <200 66 clock-frequency = <2000000000>; 373 clocks = <&mcusys CLK_ << 374 <&apmixedsys << 375 clock-names = "cpu", " << 376 operating-points-v2 = << 377 dynamic-power-coeffici << 378 capacity-dmips-mhz = < 67 capacity-dmips-mhz = <382>; 379 cpu-idle-states = <&cp !! 68 cpu-idle-states = <&cpu_off_l &cluster_off_l>; 380 i-cache-size = <32768> << 381 i-cache-line-size = <6 << 382 i-cache-sets = <128>; << 383 d-cache-size = <32768> << 384 d-cache-line-size = <6 << 385 d-cache-sets = <128>; << 386 next-level-cache = <&l 69 next-level-cache = <&l2_0>; 387 #cooling-cells = <2>; 70 #cooling-cells = <2>; 388 mediatek,cci = <&cci>; << 389 }; 71 }; 390 72 391 cpu1: cpu@100 { 73 cpu1: cpu@100 { 392 device_type = "cpu"; 74 device_type = "cpu"; 393 compatible = "arm,cort 75 compatible = "arm,cortex-a55"; 394 reg = <0x100>; 76 reg = <0x100>; 395 enable-method = "psci" 77 enable-method = "psci"; 396 clock-frequency = <200 78 clock-frequency = <2000000000>; 397 clocks = <&mcusys CLK_ << 398 <&apmixedsys << 399 clock-names = "cpu", " << 400 operating-points-v2 = << 401 dynamic-power-coeffici << 402 capacity-dmips-mhz = < 79 capacity-dmips-mhz = <382>; 403 cpu-idle-states = <&cp !! 80 cpu-idle-states = <&cpu_off_l &cluster_off_l>; 404 i-cache-size = <32768> << 405 i-cache-line-size = <6 << 406 i-cache-sets = <128>; << 407 d-cache-size = <32768> << 408 d-cache-line-size = <6 << 409 d-cache-sets = <128>; << 410 next-level-cache = <&l 81 next-level-cache = <&l2_0>; 411 #cooling-cells = <2>; 82 #cooling-cells = <2>; 412 mediatek,cci = <&cci>; << 413 }; 83 }; 414 84 415 cpu2: cpu@200 { 85 cpu2: cpu@200 { 416 device_type = "cpu"; 86 device_type = "cpu"; 417 compatible = "arm,cort 87 compatible = "arm,cortex-a55"; 418 reg = <0x200>; 88 reg = <0x200>; 419 enable-method = "psci" 89 enable-method = "psci"; 420 clock-frequency = <200 90 clock-frequency = <2000000000>; 421 clocks = <&mcusys CLK_ << 422 <&apmixedsys << 423 clock-names = "cpu", " << 424 operating-points-v2 = << 425 dynamic-power-coeffici << 426 capacity-dmips-mhz = < 91 capacity-dmips-mhz = <382>; 427 cpu-idle-states = <&cp !! 92 cpu-idle-states = <&cpu_off_l &cluster_off_l>; 428 i-cache-size = <32768> << 429 i-cache-line-size = <6 << 430 i-cache-sets = <128>; << 431 d-cache-size = <32768> << 432 d-cache-line-size = <6 << 433 d-cache-sets = <128>; << 434 next-level-cache = <&l 93 next-level-cache = <&l2_0>; 435 #cooling-cells = <2>; 94 #cooling-cells = <2>; 436 mediatek,cci = <&cci>; << 437 }; 95 }; 438 96 439 cpu3: cpu@300 { 97 cpu3: cpu@300 { 440 device_type = "cpu"; 98 device_type = "cpu"; 441 compatible = "arm,cort 99 compatible = "arm,cortex-a55"; 442 reg = <0x300>; 100 reg = <0x300>; 443 enable-method = "psci" 101 enable-method = "psci"; 444 clock-frequency = <200 102 clock-frequency = <2000000000>; 445 clocks = <&mcusys CLK_ << 446 <&apmixedsys << 447 clock-names = "cpu", " << 448 operating-points-v2 = << 449 dynamic-power-coeffici << 450 capacity-dmips-mhz = < 103 capacity-dmips-mhz = <382>; 451 cpu-idle-states = <&cp !! 104 cpu-idle-states = <&cpu_off_l &cluster_off_l>; 452 i-cache-size = <32768> << 453 i-cache-line-size = <6 << 454 i-cache-sets = <128>; << 455 d-cache-size = <32768> << 456 d-cache-line-size = <6 << 457 d-cache-sets = <128>; << 458 next-level-cache = <&l 105 next-level-cache = <&l2_0>; 459 #cooling-cells = <2>; 106 #cooling-cells = <2>; 460 mediatek,cci = <&cci>; << 461 }; 107 }; 462 108 463 cpu4: cpu@400 { 109 cpu4: cpu@400 { 464 device_type = "cpu"; 110 device_type = "cpu"; 465 compatible = "arm,cort 111 compatible = "arm,cortex-a55"; 466 reg = <0x400>; 112 reg = <0x400>; 467 enable-method = "psci" 113 enable-method = "psci"; 468 clock-frequency = <200 114 clock-frequency = <2000000000>; 469 clocks = <&mcusys CLK_ << 470 <&apmixedsys << 471 clock-names = "cpu", " << 472 operating-points-v2 = << 473 dynamic-power-coeffici << 474 capacity-dmips-mhz = < 115 capacity-dmips-mhz = <382>; 475 cpu-idle-states = <&cp !! 116 cpu-idle-states = <&cpu_off_l &cluster_off_l>; 476 i-cache-size = <32768> << 477 i-cache-line-size = <6 << 478 i-cache-sets = <128>; << 479 d-cache-size = <32768> << 480 d-cache-line-size = <6 << 481 d-cache-sets = <128>; << 482 next-level-cache = <&l 117 next-level-cache = <&l2_0>; 483 #cooling-cells = <2>; 118 #cooling-cells = <2>; 484 mediatek,cci = <&cci>; << 485 }; 119 }; 486 120 487 cpu5: cpu@500 { 121 cpu5: cpu@500 { 488 device_type = "cpu"; 122 device_type = "cpu"; 489 compatible = "arm,cort 123 compatible = "arm,cortex-a55"; 490 reg = <0x500>; 124 reg = <0x500>; 491 enable-method = "psci" 125 enable-method = "psci"; 492 clock-frequency = <200 126 clock-frequency = <2000000000>; 493 clocks = <&mcusys CLK_ << 494 <&apmixedsys << 495 clock-names = "cpu", " << 496 operating-points-v2 = << 497 dynamic-power-coeffici << 498 capacity-dmips-mhz = < 127 capacity-dmips-mhz = <382>; 499 cpu-idle-states = <&cp !! 128 cpu-idle-states = <&cpu_off_l &cluster_off_l>; 500 i-cache-size = <32768> << 501 i-cache-line-size = <6 << 502 i-cache-sets = <128>; << 503 d-cache-size = <32768> << 504 d-cache-line-size = <6 << 505 d-cache-sets = <128>; << 506 next-level-cache = <&l 129 next-level-cache = <&l2_0>; 507 #cooling-cells = <2>; 130 #cooling-cells = <2>; 508 mediatek,cci = <&cci>; << 509 }; 131 }; 510 132 511 cpu6: cpu@600 { 133 cpu6: cpu@600 { 512 device_type = "cpu"; 134 device_type = "cpu"; 513 compatible = "arm,cort 135 compatible = "arm,cortex-a76"; 514 reg = <0x600>; 136 reg = <0x600>; 515 enable-method = "psci" 137 enable-method = "psci"; 516 clock-frequency = <205 138 clock-frequency = <2050000000>; 517 clocks = <&mcusys CLK_ << 518 <&apmixedsys << 519 clock-names = "cpu", " << 520 operating-points-v2 = << 521 dynamic-power-coeffici << 522 capacity-dmips-mhz = < 139 capacity-dmips-mhz = <1024>; 523 cpu-idle-states = <&cp !! 140 cpu-idle-states = <&cpu_off_b &cluster_off_b>; 524 i-cache-size = <65536> << 525 i-cache-line-size = <6 << 526 i-cache-sets = <256>; << 527 d-cache-size = <65536> << 528 d-cache-line-size = <6 << 529 d-cache-sets = <256>; << 530 next-level-cache = <&l 141 next-level-cache = <&l2_1>; 531 #cooling-cells = <2>; 142 #cooling-cells = <2>; 532 mediatek,cci = <&cci>; << 533 }; 143 }; 534 144 535 cpu7: cpu@700 { 145 cpu7: cpu@700 { 536 device_type = "cpu"; 146 device_type = "cpu"; 537 compatible = "arm,cort 147 compatible = "arm,cortex-a76"; 538 reg = <0x700>; 148 reg = <0x700>; 539 enable-method = "psci" 149 enable-method = "psci"; 540 clock-frequency = <205 150 clock-frequency = <2050000000>; 541 clocks = <&mcusys CLK_ << 542 <&apmixedsys << 543 clock-names = "cpu", " << 544 operating-points-v2 = << 545 dynamic-power-coeffici << 546 capacity-dmips-mhz = < 151 capacity-dmips-mhz = <1024>; 547 cpu-idle-states = <&cp !! 152 cpu-idle-states = <&cpu_off_b &cluster_off_b>; 548 i-cache-size = <65536> << 549 i-cache-line-size = <6 << 550 i-cache-sets = <256>; << 551 d-cache-size = <65536> << 552 d-cache-line-size = <6 << 553 d-cache-sets = <256>; << 554 next-level-cache = <&l 153 next-level-cache = <&l2_1>; 555 #cooling-cells = <2>; 154 #cooling-cells = <2>; 556 mediatek,cci = <&cci>; << 557 }; 155 }; 558 156 559 idle-states { 157 idle-states { 560 entry-method = "psci"; 158 entry-method = "psci"; 561 159 562 cpu_ret_l: cpu-retenti !! 160 cpu_off_l: cpu-off-l { 563 compatible = " 161 compatible = "arm,idle-state"; 564 arm,psci-suspe 162 arm,psci-suspend-param = <0x00010001>; 565 local-timer-st 163 local-timer-stop; 566 entry-latency- 164 entry-latency-us = <50>; 567 exit-latency-u 165 exit-latency-us = <100>; 568 min-residency- 166 min-residency-us = <1600>; 569 }; 167 }; 570 168 571 cpu_ret_b: cpu-retenti !! 169 cpu_off_b: cpu-off-b { 572 compatible = " 170 compatible = "arm,idle-state"; 573 arm,psci-suspe 171 arm,psci-suspend-param = <0x00010001>; 574 local-timer-st 172 local-timer-stop; 575 entry-latency- 173 entry-latency-us = <50>; 576 exit-latency-u 174 exit-latency-us = <100>; 577 min-residency- 175 min-residency-us = <1400>; 578 }; 176 }; 579 177 580 cpu_off_l: cpu-off-l { !! 178 cluster_off_l: cluster-off-l { 581 compatible = " 179 compatible = "arm,idle-state"; 582 arm,psci-suspe 180 arm,psci-suspend-param = <0x01010001>; 583 local-timer-st 181 local-timer-stop; 584 entry-latency- 182 entry-latency-us = <100>; 585 exit-latency-u 183 exit-latency-us = <250>; 586 min-residency- 184 min-residency-us = <2100>; 587 }; 185 }; 588 186 589 cpu_off_b: cpu-off-b { !! 187 cluster_off_b: cluster-off-b { 590 compatible = " 188 compatible = "arm,idle-state"; 591 arm,psci-suspe 189 arm,psci-suspend-param = <0x01010001>; 592 local-timer-st 190 local-timer-stop; 593 entry-latency- 191 entry-latency-us = <100>; 594 exit-latency-u 192 exit-latency-us = <250>; 595 min-residency- 193 min-residency-us = <1900>; 596 }; 194 }; 597 }; 195 }; 598 196 599 l2_0: l2-cache0 { 197 l2_0: l2-cache0 { 600 compatible = "cache"; 198 compatible = "cache"; 601 cache-level = <2>; 199 cache-level = <2>; 602 cache-size = <131072>; << 603 cache-line-size = <64> << 604 cache-sets = <512>; << 605 next-level-cache = <&l 200 next-level-cache = <&l3_0>; 606 cache-unified; << 607 }; 201 }; 608 202 609 l2_1: l2-cache1 { 203 l2_1: l2-cache1 { 610 compatible = "cache"; 204 compatible = "cache"; 611 cache-level = <2>; 205 cache-level = <2>; 612 cache-size = <262144>; << 613 cache-line-size = <64> << 614 cache-sets = <512>; << 615 next-level-cache = <&l 206 next-level-cache = <&l3_0>; 616 cache-unified; << 617 }; 207 }; 618 208 619 l3_0: l3-cache { 209 l3_0: l3-cache { 620 compatible = "cache"; 210 compatible = "cache"; 621 cache-level = <3>; 211 cache-level = <3>; 622 cache-size = <1048576> << 623 cache-line-size = <64> << 624 cache-sets = <1024>; << 625 cache-unified; << 626 }; 212 }; 627 }; 213 }; 628 214 629 clk13m: fixed-factor-clock-13m { 215 clk13m: fixed-factor-clock-13m { 630 compatible = "fixed-factor-clo 216 compatible = "fixed-factor-clock"; 631 #clock-cells = <0>; 217 #clock-cells = <0>; 632 clocks = <&clk26m>; 218 clocks = <&clk26m>; 633 clock-div = <2>; 219 clock-div = <2>; 634 clock-mult = <1>; 220 clock-mult = <1>; 635 clock-output-names = "clk13m"; 221 clock-output-names = "clk13m"; 636 }; 222 }; 637 223 638 clk26m: oscillator-26m { 224 clk26m: oscillator-26m { 639 compatible = "fixed-clock"; 225 compatible = "fixed-clock"; 640 #clock-cells = <0>; 226 #clock-cells = <0>; 641 clock-frequency = <26000000>; 227 clock-frequency = <26000000>; 642 clock-output-names = "clk26m"; 228 clock-output-names = "clk26m"; 643 }; 229 }; 644 230 645 clk32k: oscillator-32k { 231 clk32k: oscillator-32k { 646 compatible = "fixed-clock"; 232 compatible = "fixed-clock"; 647 #clock-cells = <0>; 233 #clock-cells = <0>; 648 clock-frequency = <32768>; 234 clock-frequency = <32768>; 649 clock-output-names = "clk32k"; 235 clock-output-names = "clk32k"; 650 }; 236 }; 651 237 652 gpu_opp_table: opp-table-gpu { << 653 compatible = "operating-points << 654 << 655 opp-299000000 { << 656 opp-hz = /bits/ 64 <29 << 657 opp-microvolt = <61250 << 658 opp-supported-hw = <0x << 659 }; << 660 << 661 opp-332000000 { << 662 opp-hz = /bits/ 64 <33 << 663 opp-microvolt = <62500 << 664 opp-supported-hw = <0x << 665 }; << 666 << 667 opp-366000000 { << 668 opp-hz = /bits/ 64 <36 << 669 opp-microvolt = <63750 << 670 opp-supported-hw = <0x << 671 }; << 672 << 673 opp-400000000 { << 674 opp-hz = /bits/ 64 <40 << 675 opp-microvolt = <64375 << 676 opp-supported-hw = <0x << 677 }; << 678 << 679 opp-434000000 { << 680 opp-hz = /bits/ 64 <43 << 681 opp-microvolt = <65625 << 682 opp-supported-hw = <0x << 683 }; << 684 << 685 opp-484000000 { << 686 opp-hz = /bits/ 64 <48 << 687 opp-microvolt = <66875 << 688 opp-supported-hw = <0x << 689 }; << 690 << 691 opp-535000000 { << 692 opp-hz = /bits/ 64 <53 << 693 opp-microvolt = <68750 << 694 opp-supported-hw = <0x << 695 }; << 696 << 697 opp-586000000 { << 698 opp-hz = /bits/ 64 <58 << 699 opp-microvolt = <70000 << 700 opp-supported-hw = <0x << 701 }; << 702 << 703 opp-637000000 { << 704 opp-hz = /bits/ 64 <63 << 705 opp-microvolt = <71250 << 706 opp-supported-hw = <0x << 707 }; << 708 << 709 opp-690000000 { << 710 opp-hz = /bits/ 64 <69 << 711 opp-microvolt = <73750 << 712 opp-supported-hw = <0x << 713 }; << 714 << 715 opp-743000000 { << 716 opp-hz = /bits/ 64 <74 << 717 opp-microvolt = <75625 << 718 opp-supported-hw = <0x << 719 }; << 720 << 721 opp-796000000 { << 722 opp-hz = /bits/ 64 <79 << 723 opp-microvolt = <78125 << 724 opp-supported-hw = <0x << 725 }; << 726 << 727 opp-850000000 { << 728 opp-hz = /bits/ 64 <85 << 729 opp-microvolt = <80000 << 730 opp-supported-hw = <0x << 731 }; << 732 << 733 opp-900000000-3 { << 734 opp-hz = /bits/ 64 <90 << 735 opp-microvolt = <85000 << 736 opp-supported-hw = <0x << 737 }; << 738 << 739 opp-900000000-4 { << 740 opp-hz = /bits/ 64 <90 << 741 opp-microvolt = <83750 << 742 opp-supported-hw = <0x << 743 }; << 744 << 745 opp-900000000-5 { << 746 opp-hz = /bits/ 64 <90 << 747 opp-microvolt = <82500 << 748 opp-supported-hw = <0x << 749 }; << 750 << 751 opp-950000000-3 { << 752 opp-hz = /bits/ 64 <95 << 753 opp-microvolt = <90000 << 754 opp-supported-hw = <0x << 755 }; << 756 << 757 opp-950000000-4 { << 758 opp-hz = /bits/ 64 <95 << 759 opp-microvolt = <87500 << 760 opp-supported-hw = <0x << 761 }; << 762 << 763 opp-950000000-5 { << 764 opp-hz = /bits/ 64 <95 << 765 opp-microvolt = <85000 << 766 opp-supported-hw = <0x << 767 }; << 768 << 769 opp-1000000000-3 { << 770 opp-hz = /bits/ 64 <10 << 771 opp-microvolt = <95000 << 772 opp-supported-hw = <0x << 773 }; << 774 << 775 opp-1000000000-4 { << 776 opp-hz = /bits/ 64 <10 << 777 opp-microvolt = <91250 << 778 opp-supported-hw = <0x << 779 }; << 780 << 781 opp-1000000000-5 { << 782 opp-hz = /bits/ 64 <10 << 783 opp-microvolt = <87500 << 784 opp-supported-hw = <0x << 785 }; << 786 }; << 787 << 788 pmu-a55 { 238 pmu-a55 { 789 compatible = "arm,cortex-a55-p 239 compatible = "arm,cortex-a55-pmu"; 790 interrupt-parent = <&gic>; 240 interrupt-parent = <&gic>; 791 interrupts = <GIC_PPI 7 IRQ_TY 241 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster0>; 792 }; 242 }; 793 243 794 pmu-a76 { 244 pmu-a76 { 795 compatible = "arm,cortex-a76-p 245 compatible = "arm,cortex-a76-pmu"; 796 interrupt-parent = <&gic>; 246 interrupt-parent = <&gic>; 797 interrupts = <GIC_PPI 7 IRQ_TY 247 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster1>; 798 }; 248 }; 799 249 800 psci { 250 psci { 801 compatible = "arm,psci-1.0"; 251 compatible = "arm,psci-1.0"; 802 method = "smc"; 252 method = "smc"; 803 }; 253 }; 804 254 805 timer { 255 timer { 806 compatible = "arm,armv8-timer" 256 compatible = "arm,armv8-timer"; 807 interrupt-parent = <&gic>; 257 interrupt-parent = <&gic>; 808 interrupts = <GIC_PPI 13 IRQ_T 258 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>, 809 <GIC_PPI 14 IRQ_T 259 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>, 810 <GIC_PPI 11 IRQ_T 260 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>, 811 <GIC_PPI 10 IRQ_T 261 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>; 812 }; 262 }; 813 263 814 soc { 264 soc { 815 #address-cells = <2>; 265 #address-cells = <2>; 816 #size-cells = <2>; 266 #size-cells = <2>; 817 compatible = "simple-bus"; 267 compatible = "simple-bus"; 818 dma-ranges = <0x0 0x0 0x0 0x0 << 819 ranges; 268 ranges; 820 269 821 gic: interrupt-controller@c000 270 gic: interrupt-controller@c000000 { 822 compatible = "arm,gic- 271 compatible = "arm,gic-v3"; 823 #interrupt-cells = <4> 272 #interrupt-cells = <4>; 824 #redistributor-regions 273 #redistributor-regions = <1>; 825 interrupt-parent = <&g 274 interrupt-parent = <&gic>; 826 interrupt-controller; 275 interrupt-controller; 827 reg = <0 0x0c000000 0 276 reg = <0 0x0c000000 0 0x40000>, 828 <0 0x0c040000 0 277 <0 0x0c040000 0 0x200000>; 829 interrupts = <GIC_PPI 278 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>; 830 279 831 ppi-partitions { 280 ppi-partitions { 832 ppi_cluster0: 281 ppi_cluster0: interrupt-partition-0 { 833 affini 282 affinity = <&cpu0 &cpu1 &cpu2 &cpu3 &cpu4 &cpu5>; 834 }; 283 }; 835 284 836 ppi_cluster1: 285 ppi_cluster1: interrupt-partition-1 { 837 affini 286 affinity = <&cpu6 &cpu7>; 838 }; 287 }; 839 }; 288 }; 840 }; 289 }; 841 290 842 mcusys: syscon@c53a000 { 291 mcusys: syscon@c53a000 { 843 compatible = "mediatek 292 compatible = "mediatek,mt8186-mcusys", "syscon"; 844 reg = <0 0xc53a000 0 0 293 reg = <0 0xc53a000 0 0x1000>; 845 #clock-cells = <1>; 294 #clock-cells = <1>; 846 }; 295 }; 847 296 848 topckgen: syscon@10000000 { 297 topckgen: syscon@10000000 { 849 compatible = "mediatek 298 compatible = "mediatek,mt8186-topckgen", "syscon"; 850 reg = <0 0x10000000 0 299 reg = <0 0x10000000 0 0x1000>; 851 #clock-cells = <1>; 300 #clock-cells = <1>; 852 }; 301 }; 853 302 854 infracfg_ao: syscon@10001000 { 303 infracfg_ao: syscon@10001000 { 855 compatible = "mediatek 304 compatible = "mediatek,mt8186-infracfg_ao", "syscon"; 856 reg = <0 0x10001000 0 305 reg = <0 0x10001000 0 0x1000>; 857 #clock-cells = <1>; 306 #clock-cells = <1>; 858 #reset-cells = <1>; 307 #reset-cells = <1>; 859 }; 308 }; 860 309 861 pericfg: syscon@10003000 { 310 pericfg: syscon@10003000 { 862 compatible = "mediatek 311 compatible = "mediatek,mt8186-pericfg", "syscon"; 863 reg = <0 0x10003000 0 312 reg = <0 0x10003000 0 0x1000>; 864 }; 313 }; 865 314 866 pio: pinctrl@10005000 { 315 pio: pinctrl@10005000 { 867 compatible = "mediatek 316 compatible = "mediatek,mt8186-pinctrl"; 868 reg = <0 0x10005000 0 317 reg = <0 0x10005000 0 0x1000>, 869 <0 0x10002000 0 318 <0 0x10002000 0 0x0200>, 870 <0 0x10002200 0 319 <0 0x10002200 0 0x0200>, 871 <0 0x10002400 0 320 <0 0x10002400 0 0x0200>, 872 <0 0x10002600 0 321 <0 0x10002600 0 0x0200>, 873 <0 0x10002a00 0 322 <0 0x10002a00 0 0x0200>, 874 <0 0x10002c00 0 323 <0 0x10002c00 0 0x0200>, 875 <0 0x1000b000 0 324 <0 0x1000b000 0 0x1000>; 876 reg-names = "iocfg0", 325 reg-names = "iocfg0", "iocfg_lt", "iocfg_lm", "iocfg_lb", 877 "iocfg_bl" 326 "iocfg_bl", "iocfg_rb", "iocfg_rt", "eint"; 878 gpio-controller; 327 gpio-controller; 879 #gpio-cells = <2>; 328 #gpio-cells = <2>; 880 gpio-ranges = <&pio 0 329 gpio-ranges = <&pio 0 0 185>; 881 interrupt-controller; 330 interrupt-controller; 882 interrupts = <GIC_SPI 331 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH 0>; 883 #interrupt-cells = <2> 332 #interrupt-cells = <2>; 884 }; 333 }; 885 334 886 scpsys: syscon@10006000 { << 887 compatible = "mediatek << 888 reg = <0 0x10006000 0 << 889 << 890 /* System Power Manage << 891 spm: power-controller << 892 compatible = " << 893 #address-cells << 894 #size-cells = << 895 #power-domain- << 896 << 897 /* power domai << 898 mfg0: power-do << 899 reg = << 900 clocks << 901 clock- << 902 #addre << 903 #size- << 904 #power << 905 << 906 mfg1: << 907 << 908 << 909 << 910 << 911 << 912 << 913 << 914 << 915 << 916 << 917 << 918 << 919 << 920 << 921 << 922 }; << 923 }; << 924 << 925 power-domain@M << 926 reg = << 927 clocks << 928 << 929 clock- << 930 << 931 #power << 932 }; << 933 << 934 power-domain@M << 935 reg = << 936 clocks << 937 << 938 clock- << 939 #power << 940 }; << 941 << 942 power-domain@M << 943 reg = << 944 clocks << 945 << 946 clock- << 947 #power << 948 }; << 949 << 950 power-domain@M << 951 reg = << 952 clocks << 953 << 954 clock- << 955 << 956 #addre << 957 #size- << 958 #power << 959 << 960 power- << 961 << 962 << 963 << 964 << 965 << 966 << 967 << 968 << 969 << 970 << 971 }; << 972 }; << 973 << 974 power-domain@M << 975 reg = << 976 mediat << 977 #power << 978 }; << 979 << 980 power-domain@M << 981 reg = << 982 clocks << 983 << 984 << 985 << 986 << 987 << 988 clock- << 989 << 990 << 991 << 992 << 993 mediat << 994 #addre << 995 #size- << 996 #power << 997 << 998 power- << 999 << 1000 << 1001 << 1002 << 1003 << 1004 << 1005 }; << 1006 << 1007 power << 1008 << 1009 << 1010 << 1011 << 1012 << 1013 << 1014 << 1015 << 1016 << 1017 << 1018 << 1019 << 1020 << 1021 << 1022 << 1023 << 1024 << 1025 << 1026 << 1027 << 1028 << 1029 << 1030 << 1031 << 1032 << 1033 << 1034 }; << 1035 << 1036 power << 1037 << 1038 << 1039 << 1040 << 1041 << 1042 << 1043 << 1044 << 1045 << 1046 << 1047 << 1048 << 1049 << 1050 }; << 1051 << 1052 power << 1053 << 1054 << 1055 << 1056 << 1057 << 1058 << 1059 << 1060 << 1061 << 1062 << 1063 << 1064 << 1065 << 1066 }; << 1067 << 1068 power << 1069 << 1070 << 1071 << 1072 << 1073 << 1074 << 1075 }; << 1076 << 1077 power << 1078 << 1079 << 1080 << 1081 << 1082 << 1083 << 1084 << 1085 << 1086 << 1087 }; << 1088 }; << 1089 }; << 1090 }; << 1091 << 1092 watchdog: watchdog@10007000 { 335 watchdog: watchdog@10007000 { 1093 compatible = "mediate 336 compatible = "mediatek,mt8186-wdt"; 1094 mediatek,disable-extr 337 mediatek,disable-extrst; 1095 reg = <0 0x10007000 0 338 reg = <0 0x10007000 0 0x1000>; 1096 #reset-cells = <1>; 339 #reset-cells = <1>; 1097 }; 340 }; 1098 341 1099 apmixedsys: syscon@1000c000 { 342 apmixedsys: syscon@1000c000 { 1100 compatible = "mediate 343 compatible = "mediatek,mt8186-apmixedsys", "syscon"; 1101 reg = <0 0x1000c000 0 344 reg = <0 0x1000c000 0 0x1000>; 1102 #clock-cells = <1>; 345 #clock-cells = <1>; 1103 }; 346 }; 1104 347 1105 pwrap: pwrap@1000d000 { 348 pwrap: pwrap@1000d000 { 1106 compatible = "mediate 349 compatible = "mediatek,mt8186-pwrap", "syscon"; 1107 reg = <0 0x1000d000 0 350 reg = <0 0x1000d000 0 0x1000>; 1108 reg-names = "pwrap"; 351 reg-names = "pwrap"; 1109 interrupts = <GIC_SPI 352 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH 0>; 1110 clocks = <&infracfg_a 353 clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>, 1111 <&infracfg_a 354 <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>; 1112 clock-names = "spi", 355 clock-names = "spi", "wrap"; 1113 }; 356 }; 1114 357 1115 spmi: spmi@10015000 { << 1116 compatible = "mediate << 1117 reg = <0 0x10015000 0 << 1118 reg-names = "pmif", " << 1119 clocks = <&infracfg_a << 1120 <&infracfg_a << 1121 <&topckgen C << 1122 clock-names = "pmif_s << 1123 assigned-clocks = <&t << 1124 assigned-clock-parent << 1125 interrupts = <GIC_SPI << 1126 <GIC_SPI << 1127 status = "disabled"; << 1128 }; << 1129 << 1130 systimer: timer@10017000 { 358 systimer: timer@10017000 { 1131 compatible = "mediate 359 compatible = "mediatek,mt8186-timer", 1132 "mediate 360 "mediatek,mt6765-timer"; 1133 reg = <0 0x10017000 0 361 reg = <0 0x10017000 0 0x1000>; 1134 interrupts = <GIC_SPI 362 interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH 0>; 1135 clocks = <&clk13m>; 363 clocks = <&clk13m>; 1136 }; 364 }; 1137 365 1138 gce: mailbox@1022c000 { << 1139 compatible = "mediate << 1140 reg = <0 0X1022c000 0 << 1141 clocks = <&infracfg_a << 1142 clock-names = "gce"; << 1143 interrupts = <GIC_SPI << 1144 #mbox-cells = <2>; << 1145 }; << 1146 << 1147 scp: scp@10500000 { 366 scp: scp@10500000 { 1148 compatible = "mediate 367 compatible = "mediatek,mt8186-scp"; 1149 reg = <0 0x10500000 0 368 reg = <0 0x10500000 0 0x40000>, 1150 <0 0x105c0000 0 369 <0 0x105c0000 0 0x19080>; 1151 reg-names = "sram", " 370 reg-names = "sram", "cfg"; 1152 interrupts = <GIC_SPI 371 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH 0>; 1153 }; 372 }; 1154 373 1155 adsp: adsp@10680000 { << 1156 compatible = "mediate << 1157 reg = <0 0x10680000 0 << 1158 <0 0x1068b000 0 << 1159 reg-names = "cfg", "s << 1160 clocks = <&topckgen C << 1161 clock-names = "audiod << 1162 assigned-clocks = <&t << 1163 <&t << 1164 assigned-clock-parent << 1165 mbox-names = "rx", "t << 1166 mboxes = <&adsp_mailb << 1167 power-domains = <&spm << 1168 status = "disabled"; << 1169 }; << 1170 << 1171 adsp_mailbox0: mailbox@106861 << 1172 compatible = "mediate << 1173 #mbox-cells = <0>; << 1174 reg = <0 0x10686100 0 << 1175 interrupts = <GIC_SPI << 1176 }; << 1177 << 1178 adsp_mailbox1: mailbox@106871 << 1179 compatible = "mediate << 1180 #mbox-cells = <0>; << 1181 reg = <0 0x10687100 0 << 1182 interrupts = <GIC_SPI << 1183 }; << 1184 << 1185 nor_flash: spi@11000000 { 374 nor_flash: spi@11000000 { 1186 compatible = "mediate 375 compatible = "mediatek,mt8186-nor"; 1187 reg = <0 0x11000000 0 376 reg = <0 0x11000000 0 0x1000>; 1188 clocks = <&topckgen C 377 clocks = <&topckgen CLK_TOP_SPINOR>, 1189 <&infracfg_a 378 <&infracfg_ao CLK_INFRA_AO_SPINOR>, 1190 <&infracfg_a 379 <&infracfg_ao CLK_INFRA_AO_FLASHIF_133M>, 1191 <&infracfg_a 380 <&infracfg_ao CLK_INFRA_AO_FLASHIF_66M>; 1192 clock-names = "spi", 381 clock-names = "spi", "sf", "axi", "axi_s"; 1193 assigned-clocks = <&t 382 assigned-clocks = <&topckgen CLK_TOP_SPINOR>; 1194 assigned-clock-parent 383 assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D3_D8>; 1195 interrupts = <GIC_SPI 384 interrupts = <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH 0>; 1196 status = "disabled"; 385 status = "disabled"; 1197 }; 386 }; 1198 387 1199 auxadc: adc@11001000 { 388 auxadc: adc@11001000 { 1200 compatible = "mediate 389 compatible = "mediatek,mt8186-auxadc", "mediatek,mt8173-auxadc"; 1201 reg = <0 0x11001000 0 390 reg = <0 0x11001000 0 0x1000>; 1202 #io-channel-cells = < 391 #io-channel-cells = <1>; 1203 clocks = <&infracfg_a 392 clocks = <&infracfg_ao CLK_INFRA_AO_AUXADC>; 1204 clock-names = "main"; 393 clock-names = "main"; 1205 }; 394 }; 1206 395 1207 uart0: serial@11002000 { 396 uart0: serial@11002000 { 1208 compatible = "mediate 397 compatible = "mediatek,mt8186-uart", 1209 "mediate 398 "mediatek,mt6577-uart"; 1210 reg = <0 0x11002000 0 399 reg = <0 0x11002000 0 0x1000>; 1211 interrupts = <GIC_SPI 400 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH 0>; 1212 clocks = <&clk26m>, < 401 clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART0>; 1213 clock-names = "baud", 402 clock-names = "baud", "bus"; 1214 status = "disabled"; 403 status = "disabled"; 1215 }; 404 }; 1216 405 1217 uart1: serial@11003000 { 406 uart1: serial@11003000 { 1218 compatible = "mediate 407 compatible = "mediatek,mt8186-uart", 1219 "mediate 408 "mediatek,mt6577-uart"; 1220 reg = <0 0x11003000 0 409 reg = <0 0x11003000 0 0x1000>; 1221 interrupts = <GIC_SPI 410 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>; 1222 clocks = <&clk26m>, < 411 clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART1>; 1223 clock-names = "baud", 412 clock-names = "baud", "bus"; 1224 status = "disabled"; 413 status = "disabled"; 1225 }; 414 }; 1226 415 1227 i2c0: i2c@11007000 { 416 i2c0: i2c@11007000 { 1228 compatible = "mediate 417 compatible = "mediatek,mt8186-i2c"; 1229 reg = <0 0x11007000 0 418 reg = <0 0x11007000 0 0x1000>, 1230 <0 0x10200100 0 419 <0 0x10200100 0 0x100>; 1231 interrupts = <GIC_SPI 420 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>; 1232 clocks = <&imp_iic_wr 421 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C0>, 1233 <&infracfg_a 422 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1234 clock-names = "main", 423 clock-names = "main", "dma"; 1235 clock-div = <1>; 424 clock-div = <1>; 1236 #address-cells = <1>; 425 #address-cells = <1>; 1237 #size-cells = <0>; 426 #size-cells = <0>; 1238 status = "disabled"; 427 status = "disabled"; 1239 }; 428 }; 1240 429 1241 i2c1: i2c@11008000 { 430 i2c1: i2c@11008000 { 1242 compatible = "mediate 431 compatible = "mediatek,mt8186-i2c"; 1243 reg = <0 0x11008000 0 432 reg = <0 0x11008000 0 0x1000>, 1244 <0 0x10200200 0 433 <0 0x10200200 0 0x100>; 1245 interrupts = <GIC_SPI 434 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>; 1246 clocks = <&imp_iic_wr 435 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C1>, 1247 <&infracfg_a 436 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1248 clock-names = "main", 437 clock-names = "main", "dma"; 1249 clock-div = <1>; 438 clock-div = <1>; 1250 #address-cells = <1>; 439 #address-cells = <1>; 1251 #size-cells = <0>; 440 #size-cells = <0>; 1252 status = "disabled"; 441 status = "disabled"; 1253 }; 442 }; 1254 443 1255 i2c2: i2c@11009000 { 444 i2c2: i2c@11009000 { 1256 compatible = "mediate 445 compatible = "mediatek,mt8186-i2c"; 1257 reg = <0 0x11009000 0 446 reg = <0 0x11009000 0 0x1000>, 1258 <0 0x10200300 0 447 <0 0x10200300 0 0x180>; 1259 interrupts = <GIC_SPI 448 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH 0>; 1260 clocks = <&imp_iic_wr 449 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C2>, 1261 <&infracfg_a 450 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1262 clock-names = "main", 451 clock-names = "main", "dma"; 1263 clock-div = <1>; 452 clock-div = <1>; 1264 #address-cells = <1>; 453 #address-cells = <1>; 1265 #size-cells = <0>; 454 #size-cells = <0>; 1266 status = "disabled"; 455 status = "disabled"; 1267 }; 456 }; 1268 457 1269 i2c3: i2c@1100f000 { 458 i2c3: i2c@1100f000 { 1270 compatible = "mediate 459 compatible = "mediatek,mt8186-i2c"; 1271 reg = <0 0x1100f000 0 460 reg = <0 0x1100f000 0 0x1000>, 1272 <0 0x10200480 0 461 <0 0x10200480 0 0x100>; 1273 interrupts = <GIC_SPI 462 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>; 1274 clocks = <&imp_iic_wr 463 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C3>, 1275 <&infracfg_a 464 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1276 clock-names = "main", 465 clock-names = "main", "dma"; 1277 clock-div = <1>; 466 clock-div = <1>; 1278 #address-cells = <1>; 467 #address-cells = <1>; 1279 #size-cells = <0>; 468 #size-cells = <0>; 1280 status = "disabled"; 469 status = "disabled"; 1281 }; 470 }; 1282 471 1283 i2c4: i2c@11011000 { 472 i2c4: i2c@11011000 { 1284 compatible = "mediate 473 compatible = "mediatek,mt8186-i2c"; 1285 reg = <0 0x11011000 0 474 reg = <0 0x11011000 0 0x1000>, 1286 <0 0x10200580 0 475 <0 0x10200580 0 0x180>; 1287 interrupts = <GIC_SPI 476 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>; 1288 clocks = <&imp_iic_wr 477 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C4>, 1289 <&infracfg_a 478 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1290 clock-names = "main", 479 clock-names = "main", "dma"; 1291 clock-div = <1>; 480 clock-div = <1>; 1292 #address-cells = <1>; 481 #address-cells = <1>; 1293 #size-cells = <0>; 482 #size-cells = <0>; 1294 status = "disabled"; 483 status = "disabled"; 1295 }; 484 }; 1296 485 1297 i2c5: i2c@11016000 { 486 i2c5: i2c@11016000 { 1298 compatible = "mediate 487 compatible = "mediatek,mt8186-i2c"; 1299 reg = <0 0x11016000 0 488 reg = <0 0x11016000 0 0x1000>, 1300 <0 0x10200700 0 489 <0 0x10200700 0 0x100>; 1301 interrupts = <GIC_SPI 490 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 0>; 1302 clocks = <&imp_iic_wr 491 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C5>, 1303 <&infracfg_a 492 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1304 clock-names = "main", 493 clock-names = "main", "dma"; 1305 clock-div = <1>; 494 clock-div = <1>; 1306 #address-cells = <1>; 495 #address-cells = <1>; 1307 #size-cells = <0>; 496 #size-cells = <0>; 1308 status = "disabled"; 497 status = "disabled"; 1309 }; 498 }; 1310 499 1311 i2c6: i2c@1100d000 { 500 i2c6: i2c@1100d000 { 1312 compatible = "mediate 501 compatible = "mediatek,mt8186-i2c"; 1313 reg = <0 0x1100d000 0 502 reg = <0 0x1100d000 0 0x1000>, 1314 <0 0x10200800 0 503 <0 0x10200800 0 0x100>; 1315 interrupts = <GIC_SPI 504 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 0>; 1316 clocks = <&imp_iic_wr 505 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C6>, 1317 <&infracfg_a 506 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1318 clock-names = "main", 507 clock-names = "main", "dma"; 1319 clock-div = <1>; 508 clock-div = <1>; 1320 #address-cells = <1>; 509 #address-cells = <1>; 1321 #size-cells = <0>; 510 #size-cells = <0>; 1322 status = "disabled"; 511 status = "disabled"; 1323 }; 512 }; 1324 513 1325 i2c7: i2c@11004000 { 514 i2c7: i2c@11004000 { 1326 compatible = "mediate 515 compatible = "mediatek,mt8186-i2c"; 1327 reg = <0 0x11004000 0 516 reg = <0 0x11004000 0 0x1000>, 1328 <0 0x10200900 0 517 <0 0x10200900 0 0x180>; 1329 interrupts = <GIC_SPI 518 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>; 1330 clocks = <&imp_iic_wr 519 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C7>, 1331 <&infracfg_a 520 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1332 clock-names = "main", 521 clock-names = "main", "dma"; 1333 clock-div = <1>; 522 clock-div = <1>; 1334 #address-cells = <1>; 523 #address-cells = <1>; 1335 #size-cells = <0>; 524 #size-cells = <0>; 1336 status = "disabled"; 525 status = "disabled"; 1337 }; 526 }; 1338 527 1339 i2c8: i2c@11005000 { 528 i2c8: i2c@11005000 { 1340 compatible = "mediate 529 compatible = "mediatek,mt8186-i2c"; 1341 reg = <0 0x11005000 0 530 reg = <0 0x11005000 0 0x1000>, 1342 <0 0x10200A80 0 531 <0 0x10200A80 0 0x180>; 1343 interrupts = <GIC_SPI 532 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>; 1344 clocks = <&imp_iic_wr 533 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C8>, 1345 <&infracfg_a 534 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1346 clock-names = "main", 535 clock-names = "main", "dma"; 1347 clock-div = <1>; 536 clock-div = <1>; 1348 #address-cells = <1>; 537 #address-cells = <1>; 1349 #size-cells = <0>; 538 #size-cells = <0>; 1350 status = "disabled"; 539 status = "disabled"; 1351 }; 540 }; 1352 541 1353 spi0: spi@1100a000 { 542 spi0: spi@1100a000 { 1354 compatible = "mediate 543 compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi"; 1355 #address-cells = <1>; 544 #address-cells = <1>; 1356 #size-cells = <0>; 545 #size-cells = <0>; 1357 reg = <0 0x1100a000 0 546 reg = <0 0x1100a000 0 0x1000>; 1358 interrupts = <GIC_SPI 547 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH 0>; 1359 clocks = <&topckgen C 548 clocks = <&topckgen CLK_TOP_MAINPLL_D5>, 1360 <&topckgen C 549 <&topckgen CLK_TOP_SPI>, 1361 <&infracfg_a 550 <&infracfg_ao CLK_INFRA_AO_SPI0>; 1362 clock-names = "parent 551 clock-names = "parent-clk", "sel-clk", "spi-clk"; 1363 status = "disabled"; 552 status = "disabled"; 1364 }; 553 }; 1365 554 1366 lvts: thermal-sensor@1100b000 << 1367 compatible = "mediate << 1368 reg = <0 0x1100b000 0 << 1369 interrupts = <GIC_SPI << 1370 clocks = <&infracfg_a << 1371 resets = <&infracfg_a << 1372 nvmem-cells = <&lvts_ << 1373 nvmem-cell-names = "l << 1374 #thermal-sensor-cells << 1375 }; << 1376 << 1377 svs: svs@1100bc00 { << 1378 compatible = "mediate << 1379 reg = <0 0x1100bc00 0 << 1380 interrupts = <GIC_SPI << 1381 clocks = <&infracfg_a << 1382 clock-names = "main"; << 1383 nvmem-cells = <&svs_c << 1384 nvmem-cell-names = "s << 1385 resets = <&infracfg_a << 1386 reset-names = "svs_rs << 1387 }; << 1388 << 1389 pwm0: pwm@1100e000 { 555 pwm0: pwm@1100e000 { 1390 compatible = "mediate 556 compatible = "mediatek,mt8186-disp-pwm", "mediatek,mt8183-disp-pwm"; 1391 reg = <0 0x1100e000 0 557 reg = <0 0x1100e000 0 0x1000>; 1392 interrupts = <GIC_SPI 558 interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH 0>; 1393 #pwm-cells = <2>; 559 #pwm-cells = <2>; 1394 clocks = <&topckgen C 560 clocks = <&topckgen CLK_TOP_DISP_PWM>, 1395 <&infracfg_a 561 <&infracfg_ao CLK_INFRA_AO_DISP_PWM>; 1396 clock-names = "main", 562 clock-names = "main", "mm"; 1397 status = "disabled"; 563 status = "disabled"; 1398 }; 564 }; 1399 565 1400 spi1: spi@11010000 { 566 spi1: spi@11010000 { 1401 compatible = "mediate 567 compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi"; 1402 #address-cells = <1>; 568 #address-cells = <1>; 1403 #size-cells = <0>; 569 #size-cells = <0>; 1404 reg = <0 0x11010000 0 570 reg = <0 0x11010000 0 0x1000>; 1405 interrupts = <GIC_SPI 571 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH 0>; 1406 clocks = <&topckgen C 572 clocks = <&topckgen CLK_TOP_MAINPLL_D5>, 1407 <&topckgen C 573 <&topckgen CLK_TOP_SPI>, 1408 <&infracfg_a 574 <&infracfg_ao CLK_INFRA_AO_SPI1>; 1409 clock-names = "parent 575 clock-names = "parent-clk", "sel-clk", "spi-clk"; 1410 status = "disabled"; 576 status = "disabled"; 1411 }; 577 }; 1412 578 1413 spi2: spi@11012000 { 579 spi2: spi@11012000 { 1414 compatible = "mediate 580 compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi"; 1415 #address-cells = <1>; 581 #address-cells = <1>; 1416 #size-cells = <0>; 582 #size-cells = <0>; 1417 reg = <0 0x11012000 0 583 reg = <0 0x11012000 0 0x1000>; 1418 interrupts = <GIC_SPI 584 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH 0>; 1419 clocks = <&topckgen C 585 clocks = <&topckgen CLK_TOP_MAINPLL_D5>, 1420 <&topckgen C 586 <&topckgen CLK_TOP_SPI>, 1421 <&infracfg_a 587 <&infracfg_ao CLK_INFRA_AO_SPI2>; 1422 clock-names = "parent 588 clock-names = "parent-clk", "sel-clk", "spi-clk"; 1423 status = "disabled"; 589 status = "disabled"; 1424 }; 590 }; 1425 591 1426 spi3: spi@11013000 { 592 spi3: spi@11013000 { 1427 compatible = "mediate 593 compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi"; 1428 #address-cells = <1>; 594 #address-cells = <1>; 1429 #size-cells = <0>; 595 #size-cells = <0>; 1430 reg = <0 0x11013000 0 596 reg = <0 0x11013000 0 0x1000>; 1431 interrupts = <GIC_SPI 597 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH 0>; 1432 clocks = <&topckgen C 598 clocks = <&topckgen CLK_TOP_MAINPLL_D5>, 1433 <&topckgen C 599 <&topckgen CLK_TOP_SPI>, 1434 <&infracfg_a 600 <&infracfg_ao CLK_INFRA_AO_SPI3>; 1435 clock-names = "parent 601 clock-names = "parent-clk", "sel-clk", "spi-clk"; 1436 status = "disabled"; 602 status = "disabled"; 1437 }; 603 }; 1438 604 1439 spi4: spi@11014000 { 605 spi4: spi@11014000 { 1440 compatible = "mediate 606 compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi"; 1441 #address-cells = <1>; 607 #address-cells = <1>; 1442 #size-cells = <0>; 608 #size-cells = <0>; 1443 reg = <0 0x11014000 0 609 reg = <0 0x11014000 0 0x1000>; 1444 interrupts = <GIC_SPI 610 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>; 1445 clocks = <&topckgen C 611 clocks = <&topckgen CLK_TOP_MAINPLL_D5>, 1446 <&topckgen C 612 <&topckgen CLK_TOP_SPI>, 1447 <&infracfg_a 613 <&infracfg_ao CLK_INFRA_AO_SPI4>; 1448 clock-names = "parent 614 clock-names = "parent-clk", "sel-clk", "spi-clk"; 1449 status = "disabled"; 615 status = "disabled"; 1450 }; 616 }; 1451 617 1452 spi5: spi@11015000 { 618 spi5: spi@11015000 { 1453 compatible = "mediate 619 compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi"; 1454 #address-cells = <1>; 620 #address-cells = <1>; 1455 #size-cells = <0>; 621 #size-cells = <0>; 1456 reg = <0 0x11015000 0 622 reg = <0 0x11015000 0 0x1000>; 1457 interrupts = <GIC_SPI 623 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>; 1458 clocks = <&topckgen C 624 clocks = <&topckgen CLK_TOP_MAINPLL_D5>, 1459 <&topckgen C 625 <&topckgen CLK_TOP_SPI>, 1460 <&infracfg_a 626 <&infracfg_ao CLK_INFRA_AO_SPI5>; 1461 clock-names = "parent 627 clock-names = "parent-clk", "sel-clk", "spi-clk"; 1462 status = "disabled"; 628 status = "disabled"; 1463 }; 629 }; 1464 630 1465 imp_iic_wrap: clock-controlle 631 imp_iic_wrap: clock-controller@11017000 { 1466 compatible = "mediate 632 compatible = "mediatek,mt8186-imp_iic_wrap"; 1467 reg = <0 0x11017000 0 633 reg = <0 0x11017000 0 0x1000>; 1468 #clock-cells = <1>; 634 #clock-cells = <1>; 1469 }; 635 }; 1470 636 1471 uart2: serial@11018000 { 637 uart2: serial@11018000 { 1472 compatible = "mediate 638 compatible = "mediatek,mt8186-uart", 1473 "mediate 639 "mediatek,mt6577-uart"; 1474 reg = <0 0x11018000 0 640 reg = <0 0x11018000 0 0x1000>; 1475 interrupts = <GIC_SPI 641 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH 0>; 1476 clocks = <&clk26m>, < 642 clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART2>; 1477 clock-names = "baud", 643 clock-names = "baud", "bus"; 1478 status = "disabled"; 644 status = "disabled"; 1479 }; 645 }; 1480 646 1481 i2c9: i2c@11019000 { 647 i2c9: i2c@11019000 { 1482 compatible = "mediate 648 compatible = "mediatek,mt8186-i2c"; 1483 reg = <0 0x11019000 0 649 reg = <0 0x11019000 0 0x1000>, 1484 <0 0x10200c00 0 650 <0 0x10200c00 0 0x180>; 1485 interrupts = <GIC_SPI 651 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH 0>; 1486 clocks = <&imp_iic_wr 652 clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C9>, 1487 <&infracfg_a 653 <&infracfg_ao CLK_INFRA_AO_AP_DMA>; 1488 clock-names = "main", 654 clock-names = "main", "dma"; 1489 clock-div = <1>; 655 clock-div = <1>; 1490 #address-cells = <1>; 656 #address-cells = <1>; 1491 #size-cells = <0>; 657 #size-cells = <0>; 1492 status = "disabled"; 658 status = "disabled"; 1493 }; 659 }; 1494 660 1495 afe: audio-controller@1121000 << 1496 compatible = "mediate << 1497 reg = <0 0x11210000 0 << 1498 clocks = <&infracfg_a << 1499 <&infracfg_a << 1500 <&topckgen C << 1501 <&topckgen C << 1502 <&topckgen C << 1503 <&topckgen C << 1504 <&apmixedsys << 1505 <&topckgen C << 1506 <&apmixedsys << 1507 <&topckgen C << 1508 <&topckgen C << 1509 <&topckgen C << 1510 <&topckgen C << 1511 <&topckgen C << 1512 <&topckgen C << 1513 <&topckgen C << 1514 <&topckgen C << 1515 <&topckgen C << 1516 <&topckgen C << 1517 <&topckgen C << 1518 <&topckgen C << 1519 <&topckgen C << 1520 <&topckgen C << 1521 <&topckgen C << 1522 <&clk26m>; << 1523 clock-names = "aud_in << 1524 "mtkaif << 1525 "top_mu << 1526 "top_mu << 1527 "top_ma << 1528 "top_mu << 1529 "top_ap << 1530 "top_mu << 1531 "top_ap << 1532 "top_mu << 1533 "top_ap << 1534 "top_mu << 1535 "top_ap << 1536 "top_i2 << 1537 "top_i2 << 1538 "top_i2 << 1539 "top_i2 << 1540 "top_td << 1541 "top_ap << 1542 "top_ap << 1543 "top_ap << 1544 "top_ap << 1545 "top_ap << 1546 "top_mu << 1547 "top_cl << 1548 interrupts = <GIC_SPI << 1549 mediatek,apmixedsys = << 1550 mediatek,infracfg = < << 1551 mediatek,topckgen = < << 1552 resets = <&watchdog M << 1553 reset-names = "audios << 1554 status = "disabled"; << 1555 }; << 1556 << 1557 ssusb0: usb@11201000 { << 1558 compatible = "mediate << 1559 reg = <0 0x11201000 0 << 1560 reg-names = "mac", "i << 1561 clocks = <&topckgen C << 1562 <&infracfg_a << 1563 <&infracfg_a << 1564 <&infracfg_a << 1565 <&infracfg_a << 1566 clock-names = "sys_ck << 1567 interrupts = <GIC_SPI << 1568 phys = <&u2port0 PHY_ << 1569 power-domains = <&spm << 1570 #address-cells = <2>; << 1571 #size-cells = <2>; << 1572 ranges; << 1573 status = "disabled"; << 1574 << 1575 usb_host0: usb@112000 << 1576 compatible = << 1577 reg = <0 0x11 << 1578 reg-names = " << 1579 clocks = <&to << 1580 <&in << 1581 <&in << 1582 <&in << 1583 <&in << 1584 clock-names = << 1585 interrupts = << 1586 mediatek,sysc << 1587 wakeup-source << 1588 status = "dis << 1589 }; << 1590 }; << 1591 << 1592 mmc0: mmc@11230000 { 661 mmc0: mmc@11230000 { 1593 compatible = "mediate 662 compatible = "mediatek,mt8186-mmc", 1594 "mediate 663 "mediatek,mt8183-mmc"; 1595 reg = <0 0x11230000 0 !! 664 reg = <0 0x11230000 0 0x1000>, 1596 <0 0x11cd0000 0 665 <0 0x11cd0000 0 0x1000>; 1597 clocks = <&topckgen C 666 clocks = <&topckgen CLK_TOP_MSDC50_0>, 1598 <&infracfg_a 667 <&infracfg_ao CLK_INFRA_AO_MSDC0>, 1599 <&infracfg_a !! 668 <&infracfg_ao CLK_INFRA_AO_MSDC0_SRC>; 1600 <&infracfg_a !! 669 clock-names = "source", "hclk", "source_cg"; 1601 clock-names = "source << 1602 interrupts = <GIC_SPI 670 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH 0>; 1603 assigned-clocks = <&t 671 assigned-clocks = <&topckgen CLK_TOP_MSDC50_0>; 1604 assigned-clock-parent 672 assigned-clock-parents = <&apmixedsys CLK_APMIXED_MSDCPLL>; 1605 status = "disabled"; 673 status = "disabled"; 1606 }; 674 }; 1607 675 1608 mmc1: mmc@11240000 { 676 mmc1: mmc@11240000 { 1609 compatible = "mediate 677 compatible = "mediatek,mt8186-mmc", 1610 "mediate 678 "mediatek,mt8183-mmc"; 1611 reg = <0 0x11240000 0 679 reg = <0 0x11240000 0 0x1000>, 1612 <0 0x11c90000 0 680 <0 0x11c90000 0 0x1000>; 1613 clocks = <&topckgen C 681 clocks = <&topckgen CLK_TOP_MSDC30_1>, 1614 <&infracfg_a 682 <&infracfg_ao CLK_INFRA_AO_MSDC1>, 1615 <&infracfg_a 683 <&infracfg_ao CLK_INFRA_AO_MSDC1_SRC>; 1616 clock-names = "source 684 clock-names = "source", "hclk", "source_cg"; 1617 interrupts = <GIC_SPI 685 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH 0>; 1618 assigned-clocks = <&t 686 assigned-clocks = <&topckgen CLK_TOP_MSDC30_1>; 1619 assigned-clock-parent 687 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>; 1620 status = "disabled"; 688 status = "disabled"; 1621 }; 689 }; 1622 690 1623 ssusb1: usb@11281000 { << 1624 compatible = "mediate << 1625 reg = <0 0x11281000 0 << 1626 reg-names = "mac", "i << 1627 clocks = <&infracfg_a << 1628 <&infracfg_a << 1629 <&infracfg_a << 1630 <&clk26m>, << 1631 <&infracfg_a << 1632 clock-names = "sys_ck << 1633 interrupts = <GIC_SPI << 1634 phys = <&u2port1 PHY_ << 1635 power-domains = <&spm << 1636 #address-cells = <2>; << 1637 #size-cells = <2>; << 1638 ranges; << 1639 status = "disabled"; << 1640 << 1641 usb_host1: usb@112800 << 1642 compatible = << 1643 reg = <0 0x11 << 1644 reg-names = " << 1645 clocks = <&in << 1646 <&in << 1647 <&in << 1648 <&cl << 1649 <&in << 1650 clock-names = << 1651 interrupts = << 1652 mediatek,sysc << 1653 wakeup-source << 1654 status = "dis << 1655 }; << 1656 }; << 1657 << 1658 u3phy0: t-phy@11c80000 { 691 u3phy0: t-phy@11c80000 { 1659 compatible = "mediate 692 compatible = "mediatek,mt8186-tphy", 1660 "mediate 693 "mediatek,generic-tphy-v2"; 1661 #address-cells = <1>; 694 #address-cells = <1>; 1662 #size-cells = <1>; 695 #size-cells = <1>; 1663 ranges = <0x0 0x0 0x1 696 ranges = <0x0 0x0 0x11c80000 0x1000>; 1664 status = "disabled"; 697 status = "disabled"; 1665 698 1666 u2port1: usb-phy@0 { 699 u2port1: usb-phy@0 { 1667 reg = <0x0 0x 700 reg = <0x0 0x700>; 1668 clocks = <&cl 701 clocks = <&clk26m>; 1669 clock-names = 702 clock-names = "ref"; 1670 #phy-cells = 703 #phy-cells = <1>; 1671 }; 704 }; 1672 705 1673 u3port1: usb-phy@700 706 u3port1: usb-phy@700 { 1674 reg = <0x700 707 reg = <0x700 0x900>; 1675 clocks = <&cl 708 clocks = <&clk26m>; 1676 clock-names = 709 clock-names = "ref"; 1677 #phy-cells = 710 #phy-cells = <1>; 1678 }; 711 }; 1679 }; 712 }; 1680 713 1681 u3phy1: t-phy@11ca0000 { 714 u3phy1: t-phy@11ca0000 { 1682 compatible = "mediate 715 compatible = "mediatek,mt8186-tphy", 1683 "mediate 716 "mediatek,generic-tphy-v2"; 1684 #address-cells = <1>; 717 #address-cells = <1>; 1685 #size-cells = <1>; 718 #size-cells = <1>; 1686 ranges = <0x0 0x0 0x1 719 ranges = <0x0 0x0 0x11ca0000 0x1000>; 1687 status = "disabled"; 720 status = "disabled"; 1688 721 1689 u2port0: usb-phy@0 { 722 u2port0: usb-phy@0 { 1690 reg = <0x0 0x 723 reg = <0x0 0x700>; 1691 clocks = <&cl 724 clocks = <&clk26m>; 1692 clock-names = 725 clock-names = "ref"; 1693 #phy-cells = 726 #phy-cells = <1>; 1694 mediatek,disc 727 mediatek,discth = <0x8>; 1695 }; 728 }; 1696 }; 729 }; 1697 730 1698 efuse: efuse@11cb0000 { 731 efuse: efuse@11cb0000 { 1699 compatible = "mediate 732 compatible = "mediatek,mt8186-efuse", "mediatek,efuse"; 1700 reg = <0 0x11cb0000 0 733 reg = <0 0x11cb0000 0 0x1000>; 1701 #address-cells = <1>; 734 #address-cells = <1>; 1702 #size-cells = <1>; 735 #size-cells = <1>; 1703 << 1704 lvts_efuse_data1: lvt << 1705 reg = <0x1cc << 1706 }; << 1707 << 1708 lvts_efuse_data2: lvt << 1709 reg = <0x2f8 << 1710 }; << 1711 << 1712 svs_calibration: cali << 1713 reg = <0x550 << 1714 }; << 1715 << 1716 gpu_speedbin: gpu-spe << 1717 reg = <0x59c << 1718 bits = <0 3>; << 1719 }; << 1720 << 1721 socinfo-data1@7a0 { << 1722 reg = <0x7a0 << 1723 }; << 1724 }; 736 }; 1725 737 1726 mipi_tx0: dsi-phy@11cc0000 { 738 mipi_tx0: dsi-phy@11cc0000 { 1727 compatible = "mediate 739 compatible = "mediatek,mt8183-mipi-tx"; 1728 reg = <0 0x11cc0000 0 740 reg = <0 0x11cc0000 0 0x1000>; 1729 clocks = <&clk26m>; 741 clocks = <&clk26m>; 1730 #clock-cells = <0>; 742 #clock-cells = <0>; 1731 #phy-cells = <0>; 743 #phy-cells = <0>; 1732 clock-output-names = 744 clock-output-names = "mipi_tx0_pll"; 1733 status = "disabled"; 745 status = "disabled"; 1734 }; 746 }; 1735 747 1736 mfgsys: clock-controller@1300 748 mfgsys: clock-controller@13000000 { 1737 compatible = "mediate 749 compatible = "mediatek,mt8186-mfgsys"; 1738 reg = <0 0x13000000 0 750 reg = <0 0x13000000 0 0x1000>; 1739 #clock-cells = <1>; 751 #clock-cells = <1>; 1740 }; 752 }; 1741 753 1742 gpu: gpu@13040000 { << 1743 compatible = "mediate << 1744 "arm,mal << 1745 reg = <0 0x13040000 0 << 1746 << 1747 clocks = <&mfgsys CLK << 1748 interrupts = <GIC_SPI << 1749 <GIC_SPI << 1750 <GIC_SPI << 1751 interrupt-names = "jo << 1752 power-domains = <&spm << 1753 <&spm << 1754 power-domain-names = << 1755 #cooling-cells = <2>; << 1756 nvmem-cells = <&gpu_s << 1757 nvmem-cell-names = "s << 1758 operating-points-v2 = << 1759 dynamic-power-coeffic << 1760 status = "disabled"; << 1761 }; << 1762 << 1763 mmsys: syscon@14000000 { 754 mmsys: syscon@14000000 { 1764 compatible = "mediate 755 compatible = "mediatek,mt8186-mmsys", "syscon"; 1765 reg = <0 0x14000000 0 756 reg = <0 0x14000000 0 0x1000>; 1766 #clock-cells = <1>; 757 #clock-cells = <1>; 1767 #reset-cells = <1>; 758 #reset-cells = <1>; 1768 mboxes = <&gce 0 CMDQ << 1769 <&gce 1 CMDQ << 1770 mediatek,gce-client-r << 1771 }; << 1772 << 1773 mutex: mutex@14001000 { << 1774 compatible = "mediate << 1775 reg = <0 0x14001000 0 << 1776 clocks = <&mmsys CLK_ << 1777 interrupts = <GIC_SPI << 1778 mediatek,gce-client-r << 1779 mediatek,gce-events = << 1780 << 1781 power-domains = <&spm << 1782 }; << 1783 << 1784 smi_common: smi@14002000 { << 1785 compatible = "mediate << 1786 reg = <0 0x14002000 0 << 1787 clocks = <&mmsys CLK_ << 1788 <&mmsys CLK_ << 1789 clock-names = "apb", << 1790 power-domains = <&spm << 1791 }; << 1792 << 1793 larb0: smi@14003000 { << 1794 compatible = "mediate << 1795 reg = <0 0x14003000 0 << 1796 clocks = <&mmsys CLK_ << 1797 <&mmsys CLK_ << 1798 clock-names = "apb", << 1799 mediatek,larb-id = <0 << 1800 mediatek,smi = <&smi_ << 1801 power-domains = <&spm << 1802 }; << 1803 << 1804 larb1: smi@14004000 { << 1805 compatible = "mediate << 1806 reg = <0 0x14004000 0 << 1807 clocks = <&mmsys CLK_ << 1808 <&mmsys CLK_ << 1809 clock-names = "apb", << 1810 mediatek,larb-id = <1 << 1811 mediatek,smi = <&smi_ << 1812 power-domains = <&spm << 1813 }; << 1814 << 1815 ovl0: ovl@14005000 { << 1816 compatible = "mediate << 1817 reg = <0 0x14005000 0 << 1818 clocks = <&mmsys CLK_ << 1819 interrupts = <GIC_SPI << 1820 iommus = <&iommu_mm I << 1821 mediatek,gce-client-r << 1822 power-domains = <&spm << 1823 }; << 1824 << 1825 ovl_2l0: ovl@14006000 { << 1826 compatible = "mediate << 1827 reg = <0 0x14006000 0 << 1828 clocks = <&mmsys CLK_ << 1829 interrupts = <GIC_SPI << 1830 iommus = <&iommu_mm I << 1831 mediatek,gce-client-r << 1832 power-domains = <&spm << 1833 }; << 1834 << 1835 rdma0: rdma@14007000 { << 1836 compatible = "mediate << 1837 reg = <0 0x14007000 0 << 1838 clocks = <&mmsys CLK_ << 1839 interrupts = <GIC_SPI << 1840 iommus = <&iommu_mm I << 1841 mediatek,gce-client-r << 1842 power-domains = <&spm << 1843 }; << 1844 << 1845 color: color@14009000 { << 1846 compatible = "mediate << 1847 reg = <0 0x14009000 0 << 1848 clocks = <&mmsys CLK_ << 1849 interrupts = <GIC_SPI << 1850 mediatek,gce-client-r << 1851 power-domains = <&spm << 1852 }; << 1853 << 1854 dpi: dpi@1400a000 { << 1855 compatible = "mediate << 1856 reg = <0 0x1400a000 0 << 1857 clocks = <&topckgen C << 1858 <&mmsys CLK_ << 1859 <&apmixedsys << 1860 clock-names = "pixel" << 1861 assigned-clocks = <&t << 1862 assigned-clock-parent << 1863 interrupts = <GIC_SPI << 1864 power-domains = <&spm << 1865 status = "disabled"; << 1866 << 1867 port { << 1868 dpi_out: endp << 1869 }; << 1870 }; << 1871 << 1872 ccorr: ccorr@1400b000 { << 1873 compatible = "mediate << 1874 reg = <0 0x1400b000 0 << 1875 clocks = <&mmsys CLK_ << 1876 interrupts = <GIC_SPI << 1877 mediatek,gce-client-r << 1878 power-domains = <&spm << 1879 }; << 1880 << 1881 aal: aal@1400c000 { << 1882 compatible = "mediate << 1883 reg = <0 0x1400c000 0 << 1884 clocks = <&mmsys CLK_ << 1885 interrupts = <GIC_SPI << 1886 mediatek,gce-client-r << 1887 power-domains = <&spm << 1888 }; << 1889 << 1890 gamma: gamma@1400d000 { << 1891 compatible = "mediate << 1892 reg = <0 0x1400d000 0 << 1893 clocks = <&mmsys CLK_ << 1894 interrupts = <GIC_SPI << 1895 mediatek,gce-client-r << 1896 power-domains = <&spm << 1897 }; << 1898 << 1899 postmask: postmask@1400e000 { << 1900 compatible = "mediate << 1901 "mediate << 1902 reg = <0 0x1400e000 0 << 1903 clocks = <&mmsys CLK_ << 1904 interrupts = <GIC_SPI << 1905 mediatek,gce-client-r << 1906 power-domains = <&spm << 1907 }; << 1908 << 1909 dither: dither@1400f000 { << 1910 compatible = "mediate << 1911 reg = <0 0x1400f000 0 << 1912 clocks = <&mmsys CLK_ << 1913 interrupts = <GIC_SPI << 1914 mediatek,gce-client-r << 1915 power-domains = <&spm << 1916 }; << 1917 << 1918 dsi0: dsi@14013000 { << 1919 compatible = "mediate << 1920 reg = <0 0x14013000 0 << 1921 clocks = <&mmsys CLK_ << 1922 <&mmsys CLK_ << 1923 <&mipi_tx0>; << 1924 clock-names = "engine << 1925 interrupts = <GIC_SPI << 1926 power-domains = <&spm << 1927 resets = <&mmsys MT81 << 1928 phys = <&mipi_tx0>; << 1929 phy-names = "dphy"; << 1930 status = "disabled"; << 1931 << 1932 port { << 1933 dsi_out: endp << 1934 }; << 1935 }; << 1936 << 1937 iommu_mm: iommu@14016000 { << 1938 compatible = "mediate << 1939 reg = <0 0x14016000 0 << 1940 clocks = <&mmsys CLK_ << 1941 clock-names = "bclk"; << 1942 interrupts = <GIC_SPI << 1943 mediatek,larbs = <&la << 1944 &la << 1945 &la << 1946 &la << 1947 power-domains = <&spm << 1948 #iommu-cells = <1>; << 1949 }; << 1950 << 1951 rdma1: rdma@1401f000 { << 1952 compatible = "mediate << 1953 reg = <0 0x1401f000 0 << 1954 clocks = <&mmsys CLK_ << 1955 interrupts = <GIC_SPI << 1956 iommus = <&iommu_mm I << 1957 mediatek,gce-client-r << 1958 power-domains = <&spm << 1959 }; 759 }; 1960 760 1961 wpesys: clock-controller@1402 761 wpesys: clock-controller@14020000 { 1962 compatible = "mediate 762 compatible = "mediatek,mt8186-wpesys"; 1963 reg = <0 0x14020000 0 763 reg = <0 0x14020000 0 0x1000>; 1964 #clock-cells = <1>; 764 #clock-cells = <1>; 1965 }; 765 }; 1966 766 1967 larb8: smi@14023000 { << 1968 compatible = "mediate << 1969 reg = <0 0x14023000 0 << 1970 clocks = <&wpesys CLK << 1971 <&wpesys CLK << 1972 clock-names = "apb", << 1973 mediatek,larb-id = <8 << 1974 mediatek,smi = <&smi_ << 1975 power-domains = <&spm << 1976 }; << 1977 << 1978 imgsys1: clock-controller@150 767 imgsys1: clock-controller@15020000 { 1979 compatible = "mediate 768 compatible = "mediatek,mt8186-imgsys1"; 1980 reg = <0 0x15020000 0 769 reg = <0 0x15020000 0 0x1000>; 1981 #clock-cells = <1>; 770 #clock-cells = <1>; 1982 }; 771 }; 1983 772 1984 larb9: smi@1502e000 { << 1985 compatible = "mediate << 1986 reg = <0 0x1502e000 0 << 1987 clocks = <&imgsys1 CL << 1988 <&imgsys1 CL << 1989 clock-names = "apb", << 1990 mediatek,larb-id = <9 << 1991 mediatek,smi = <&smi_ << 1992 power-domains = <&spm << 1993 }; << 1994 << 1995 imgsys2: clock-controller@158 773 imgsys2: clock-controller@15820000 { 1996 compatible = "mediate 774 compatible = "mediatek,mt8186-imgsys2"; 1997 reg = <0 0x15820000 0 775 reg = <0 0x15820000 0 0x1000>; 1998 #clock-cells = <1>; 776 #clock-cells = <1>; 1999 }; 777 }; 2000 778 2001 larb11: smi@1582e000 { << 2002 compatible = "mediate << 2003 reg = <0 0x1582e000 0 << 2004 clocks = <&imgsys1 CL << 2005 <&imgsys2 CL << 2006 clock-names = "apb", << 2007 mediatek,larb-id = <1 << 2008 mediatek,smi = <&smi_ << 2009 power-domains = <&spm << 2010 }; << 2011 << 2012 video_decoder: video-decoder@ << 2013 compatible = "mediate << 2014 reg = <0 0x16000000 0 << 2015 ranges; << 2016 #address-cells = <2>; << 2017 #size-cells = <2>; << 2018 dma-ranges = <0x1 0x0 << 2019 iommus = <&iommu_mm I << 2020 mediatek,scp = <&scp> << 2021 << 2022 vcodec_core: video-co << 2023 compatible = << 2024 reg = <0 0x16 << 2025 interrupts = << 2026 iommus = <&io << 2027 <&io << 2028 <&io << 2029 <&io << 2030 <&io << 2031 <&io << 2032 <&io << 2033 <&io << 2034 <&io << 2035 <&io << 2036 <&io << 2037 <&io << 2038 clocks = <&to << 2039 <&vd << 2040 <&vd << 2041 <&to << 2042 clock-names = << 2043 assigned-cloc << 2044 assigned-cloc << 2045 power-domains << 2046 }; << 2047 }; << 2048 << 2049 larb4: smi@1602e000 { << 2050 compatible = "mediate << 2051 reg = <0 0x1602e000 0 << 2052 clocks = <&vdecsys CL << 2053 <&vdecsys CL << 2054 clock-names = "apb", << 2055 mediatek,larb-id = <4 << 2056 mediatek,smi = <&smi_ << 2057 power-domains = <&spm << 2058 }; << 2059 << 2060 vdecsys: clock-controller@160 779 vdecsys: clock-controller@1602f000 { 2061 compatible = "mediate 780 compatible = "mediatek,mt8186-vdecsys"; 2062 reg = <0 0x1602f000 0 781 reg = <0 0x1602f000 0 0x1000>; 2063 #clock-cells = <1>; 782 #clock-cells = <1>; 2064 }; 783 }; 2065 784 2066 vencsys: clock-controller@170 785 vencsys: clock-controller@17000000 { 2067 compatible = "mediate 786 compatible = "mediatek,mt8186-vencsys"; 2068 reg = <0 0x17000000 0 787 reg = <0 0x17000000 0 0x1000>; 2069 #clock-cells = <1>; 788 #clock-cells = <1>; 2070 }; 789 }; 2071 790 2072 larb7: smi@17010000 { << 2073 compatible = "mediate << 2074 reg = <0 0x17010000 0 << 2075 clocks = <&vencsys CL << 2076 <&vencsys CL << 2077 clock-names = "apb", << 2078 mediatek,larb-id = <7 << 2079 mediatek,smi = <&smi_ << 2080 power-domains = <&spm << 2081 }; << 2082 << 2083 venc: video-encoder@17020000 << 2084 compatible = "mediate << 2085 reg = <0 0x17020000 0 << 2086 interrupts = <GIC_SPI << 2087 iommus = <&iommu_mm I << 2088 <&iommu_mm I << 2089 <&iommu_mm I << 2090 <&iommu_mm I << 2091 <&iommu_mm I << 2092 <&iommu_mm I << 2093 <&iommu_mm I << 2094 <&iommu_mm I << 2095 <&iommu_mm I << 2096 clocks = <&vencsys CL << 2097 clock-names = "venc_s << 2098 assigned-clocks = <&t << 2099 assigned-clock-parent << 2100 power-domains = <&spm << 2101 mediatek,scp = <&scp> << 2102 }; << 2103 << 2104 jpgenc: jpeg-encoder@17030000 << 2105 compatible = "mediate << 2106 reg = <0 0x17030000 0 << 2107 interrupts = <GIC_SPI << 2108 clocks = <&vencsys CL << 2109 clock-names = "jpgenc << 2110 iommus = <&iommu_mm I << 2111 <&iommu_mm I << 2112 <&iommu_mm I << 2113 <&iommu_mm I << 2114 power-domains = <&spm << 2115 }; << 2116 << 2117 camsys: clock-controller@1a00 791 camsys: clock-controller@1a000000 { 2118 compatible = "mediate 792 compatible = "mediatek,mt8186-camsys"; 2119 reg = <0 0x1a000000 0 793 reg = <0 0x1a000000 0 0x1000>; 2120 #clock-cells = <1>; 794 #clock-cells = <1>; 2121 }; 795 }; 2122 796 2123 larb13: smi@1a001000 { << 2124 compatible = "mediate << 2125 reg = <0 0x1a001000 0 << 2126 clocks = <&camsys CLK << 2127 clock-names = "apb", << 2128 mediatek,larb-id = <1 << 2129 mediatek,smi = <&smi_ << 2130 power-domains = <&spm << 2131 }; << 2132 << 2133 larb14: smi@1a002000 { << 2134 compatible = "mediate << 2135 reg = <0 0x1a002000 0 << 2136 clocks = <&camsys CLK << 2137 clock-names = "apb", << 2138 mediatek,larb-id = <1 << 2139 mediatek,smi = <&smi_ << 2140 power-domains = <&spm << 2141 }; << 2142 << 2143 larb16: smi@1a00f000 { << 2144 compatible = "mediate << 2145 reg = <0 0x1a00f000 0 << 2146 clocks = <&camsys CLK << 2147 <&camsys_raw << 2148 clock-names = "apb", << 2149 mediatek,larb-id = <1 << 2150 mediatek,smi = <&smi_ << 2151 power-domains = <&spm << 2152 }; << 2153 << 2154 larb17: smi@1a010000 { << 2155 compatible = "mediate << 2156 reg = <0 0x1a010000 0 << 2157 clocks = <&camsys CLK << 2158 <&camsys_raw << 2159 clock-names = "apb", << 2160 mediatek,larb-id = <1 << 2161 mediatek,smi = <&smi_ << 2162 power-domains = <&spm << 2163 }; << 2164 << 2165 camsys_rawa: clock-controller 797 camsys_rawa: clock-controller@1a04f000 { 2166 compatible = "mediate 798 compatible = "mediatek,mt8186-camsys_rawa"; 2167 reg = <0 0x1a04f000 0 799 reg = <0 0x1a04f000 0 0x1000>; 2168 #clock-cells = <1>; 800 #clock-cells = <1>; 2169 }; 801 }; 2170 802 2171 camsys_rawb: clock-controller 803 camsys_rawb: clock-controller@1a06f000 { 2172 compatible = "mediate 804 compatible = "mediatek,mt8186-camsys_rawb"; 2173 reg = <0 0x1a06f000 0 805 reg = <0 0x1a06f000 0 0x1000>; 2174 #clock-cells = <1>; 806 #clock-cells = <1>; 2175 }; 807 }; 2176 808 2177 mdpsys: clock-controller@1b00 809 mdpsys: clock-controller@1b000000 { 2178 compatible = "mediate 810 compatible = "mediatek,mt8186-mdpsys"; 2179 reg = <0 0x1b000000 0 811 reg = <0 0x1b000000 0 0x1000>; 2180 #clock-cells = <1>; 812 #clock-cells = <1>; 2181 }; 813 }; 2182 814 2183 larb2: smi@1b002000 { << 2184 compatible = "mediate << 2185 reg = <0 0x1b002000 0 << 2186 clocks = <&mdpsys CLK << 2187 clock-names = "apb", << 2188 mediatek,larb-id = <2 << 2189 mediatek,smi = <&smi_ << 2190 power-domains = <&spm << 2191 }; << 2192 << 2193 ipesys: clock-controller@1c00 815 ipesys: clock-controller@1c000000 { 2194 compatible = "mediate 816 compatible = "mediatek,mt8186-ipesys"; 2195 reg = <0 0x1c000000 0 817 reg = <0 0x1c000000 0 0x1000>; 2196 #clock-cells = <1>; 818 #clock-cells = <1>; 2197 }; << 2198 << 2199 larb20: smi@1c00f000 { << 2200 compatible = "mediate << 2201 reg = <0 0x1c00f000 0 << 2202 clocks = <&ipesys CLK << 2203 clock-names = "apb", << 2204 mediatek,larb-id = <2 << 2205 mediatek,smi = <&smi_ << 2206 power-domains = <&spm << 2207 }; << 2208 << 2209 larb19: smi@1c10f000 { << 2210 compatible = "mediate << 2211 reg = <0 0x1c10f000 0 << 2212 clocks = <&ipesys CLK << 2213 clock-names = "apb", << 2214 mediatek,larb-id = <1 << 2215 mediatek,smi = <&smi_ << 2216 power-domains = <&spm << 2217 }; << 2218 }; << 2219 << 2220 thermal_zones: thermal-zones { << 2221 cpu-little0-thermal { << 2222 polling-delay = <1000 << 2223 polling-delay-passive << 2224 thermal-sensors = <&l << 2225 << 2226 trips { << 2227 cpu_little0_a << 2228 tempe << 2229 hyste << 2230 type << 2231 }; << 2232 << 2233 cpu_little0_a << 2234 tempe << 2235 hyste << 2236 type << 2237 }; << 2238 << 2239 cpu_little0_c << 2240 tempe << 2241 hyste << 2242 type << 2243 }; << 2244 }; << 2245 << 2246 cooling-maps { << 2247 map0 { << 2248 trip << 2249 cooli << 2250 << 2251 << 2252 << 2253 << 2254 << 2255 }; << 2256 }; << 2257 }; << 2258 << 2259 cpu-little1-thermal { << 2260 polling-delay = <1000 << 2261 polling-delay-passive << 2262 thermal-sensors = <&l << 2263 << 2264 trips { << 2265 cpu_little1_a << 2266 tempe << 2267 hyste << 2268 type << 2269 }; << 2270 << 2271 cpu_little1_a << 2272 tempe << 2273 hyste << 2274 type << 2275 }; << 2276 << 2277 cpu_little1_c << 2278 tempe << 2279 hyste << 2280 type << 2281 }; << 2282 }; << 2283 << 2284 cooling-maps { << 2285 map0 { << 2286 trip << 2287 cooli << 2288 << 2289 << 2290 << 2291 << 2292 << 2293 }; << 2294 }; << 2295 }; << 2296 << 2297 cpu-little2-thermal { << 2298 polling-delay = <1000 << 2299 polling-delay-passive << 2300 thermal-sensors = <&l << 2301 << 2302 trips { << 2303 cpu_little2_a << 2304 tempe << 2305 hyste << 2306 type << 2307 }; << 2308 << 2309 cpu_little2_a << 2310 tempe << 2311 hyste << 2312 type << 2313 }; << 2314 << 2315 cpu_little2_c << 2316 tempe << 2317 hyste << 2318 type << 2319 }; << 2320 }; << 2321 << 2322 cooling-maps { << 2323 map0 { << 2324 trip << 2325 cooli << 2326 << 2327 << 2328 << 2329 << 2330 << 2331 }; << 2332 }; << 2333 }; << 2334 << 2335 cam-thermal { << 2336 polling-delay = <1000 << 2337 polling-delay-passive << 2338 thermal-sensors = <&l << 2339 << 2340 trips { << 2341 cam_alert0: t << 2342 tempe << 2343 hyste << 2344 type << 2345 }; << 2346 << 2347 cam_alert1: t << 2348 tempe << 2349 hyste << 2350 type << 2351 }; << 2352 << 2353 cam_crit: tri << 2354 tempe << 2355 hyste << 2356 type << 2357 }; << 2358 }; << 2359 }; << 2360 << 2361 nna-thermal { << 2362 polling-delay = <1000 << 2363 polling-delay-passive << 2364 thermal-sensors = <&l << 2365 << 2366 trips { << 2367 nna_alert0: t << 2368 tempe << 2369 hyste << 2370 type << 2371 }; << 2372 << 2373 nna_alert1: t << 2374 tempe << 2375 hyste << 2376 type << 2377 }; << 2378 << 2379 nna_crit: tri << 2380 tempe << 2381 hyste << 2382 type << 2383 }; << 2384 }; << 2385 }; << 2386 << 2387 adsp-thermal { << 2388 polling-delay = <1000 << 2389 polling-delay-passive << 2390 thermal-sensors = <&l << 2391 << 2392 trips { << 2393 adsp_alert0: << 2394 tempe << 2395 hyste << 2396 type << 2397 }; << 2398 << 2399 adsp_alert1: << 2400 tempe << 2401 hyste << 2402 type << 2403 }; << 2404 << 2405 adsp_crit: tr << 2406 tempe << 2407 hyste << 2408 type << 2409 }; << 2410 }; << 2411 }; << 2412 << 2413 gpu-thermal { << 2414 polling-delay = <1000 << 2415 polling-delay-passive << 2416 thermal-sensors = <&l << 2417 << 2418 trips { << 2419 gpu_alert0: t << 2420 tempe << 2421 hyste << 2422 type << 2423 }; << 2424 << 2425 gpu_alert1: t << 2426 tempe << 2427 hyste << 2428 type << 2429 }; << 2430 << 2431 gpu_crit: tri << 2432 tempe << 2433 hyste << 2434 type << 2435 }; << 2436 }; << 2437 << 2438 cooling-maps { << 2439 map0 { << 2440 trip << 2441 cooli << 2442 }; << 2443 }; << 2444 }; << 2445 << 2446 cpu-big0-thermal { << 2447 polling-delay = <1000 << 2448 polling-delay-passive << 2449 thermal-sensors = <&l << 2450 << 2451 trips { << 2452 cpu_big0_aler << 2453 tempe << 2454 hyste << 2455 type << 2456 }; << 2457 << 2458 cpu_big0_aler << 2459 tempe << 2460 hyste << 2461 type << 2462 }; << 2463 << 2464 cpu_big0_crit << 2465 tempe << 2466 hyste << 2467 type << 2468 }; << 2469 }; << 2470 << 2471 cooling-maps { << 2472 map0 { << 2473 trip << 2474 cooli << 2475 << 2476 }; << 2477 }; << 2478 }; << 2479 << 2480 cpu-big1-thermal { << 2481 polling-delay = <1000 << 2482 polling-delay-passive << 2483 thermal-sensors = <&l << 2484 << 2485 trips { << 2486 cpu_big1_aler << 2487 tempe << 2488 hyste << 2489 type << 2490 }; << 2491 << 2492 cpu_big1_aler << 2493 tempe << 2494 hyste << 2495 type << 2496 }; << 2497 << 2498 cpu_big1_crit << 2499 tempe << 2500 hyste << 2501 type << 2502 }; << 2503 }; << 2504 << 2505 cooling-maps { << 2506 map0 { << 2507 trip << 2508 cooli << 2509 << 2510 }; << 2511 }; << 2512 }; 819 }; 2513 }; 820 }; 2514 }; 821 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.