18ccc0d23SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 28ccc0d23SEmmanuel Vadot/* 38ccc0d23SEmmanuel Vadot * Copyright (c) 2025 Collabora Ltd. 48ccc0d23SEmmanuel Vadot * Author: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> 58ccc0d23SEmmanuel Vadot */ 68ccc0d23SEmmanuel Vadot 78ccc0d23SEmmanuel Vadot/dts-v1/; 88ccc0d23SEmmanuel Vadot#include "mt8188.dtsi" 98ccc0d23SEmmanuel Vadot 108ccc0d23SEmmanuel Vadot/ { 118ccc0d23SEmmanuel Vadot compatible = "mediatek,mt8370"; 128ccc0d23SEmmanuel Vadot 138ccc0d23SEmmanuel Vadot cpus { 148ccc0d23SEmmanuel Vadot /delete-node/ cpu@400; 158ccc0d23SEmmanuel Vadot /delete-node/ cpu@500; 168ccc0d23SEmmanuel Vadot 178ccc0d23SEmmanuel Vadot cpu-map { 188ccc0d23SEmmanuel Vadot cluster0 { 198ccc0d23SEmmanuel Vadot /delete-node/ core4; 208ccc0d23SEmmanuel Vadot /delete-node/ core5; 218ccc0d23SEmmanuel Vadot }; 228ccc0d23SEmmanuel Vadot }; 238ccc0d23SEmmanuel Vadot }; 248ccc0d23SEmmanuel Vadot}; 258ccc0d23SEmmanuel Vadot 268ccc0d23SEmmanuel Vadot&cpu6 { 278ccc0d23SEmmanuel Vadot clock-frequency = <2200000000>; 288ccc0d23SEmmanuel Vadot}; 298ccc0d23SEmmanuel Vadot 308ccc0d23SEmmanuel Vadot&cpu7 { 318ccc0d23SEmmanuel Vadot clock-frequency = <2200000000>; 328ccc0d23SEmmanuel Vadot}; 338ccc0d23SEmmanuel Vadot 348ccc0d23SEmmanuel Vadot&cpu_little0_cooling_map0 { 358ccc0d23SEmmanuel Vadot cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 368ccc0d23SEmmanuel Vadot <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 378ccc0d23SEmmanuel Vadot <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 388ccc0d23SEmmanuel Vadot <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 398ccc0d23SEmmanuel Vadot}; 408ccc0d23SEmmanuel Vadot 418ccc0d23SEmmanuel Vadot&cpu_little1_cooling_map0 { 428ccc0d23SEmmanuel Vadot cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 438ccc0d23SEmmanuel Vadot <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 448ccc0d23SEmmanuel Vadot <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 458ccc0d23SEmmanuel Vadot <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 468ccc0d23SEmmanuel Vadot}; 478ccc0d23SEmmanuel Vadot 488ccc0d23SEmmanuel Vadot&cpu_little2_cooling_map0 { 498ccc0d23SEmmanuel Vadot cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 508ccc0d23SEmmanuel Vadot <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 518ccc0d23SEmmanuel Vadot <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 528ccc0d23SEmmanuel Vadot <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 538ccc0d23SEmmanuel Vadot}; 548ccc0d23SEmmanuel Vadot 558ccc0d23SEmmanuel Vadot&cpu_little3_cooling_map0 { 568ccc0d23SEmmanuel Vadot cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 578ccc0d23SEmmanuel Vadot <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 588ccc0d23SEmmanuel Vadot <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 598ccc0d23SEmmanuel Vadot <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 608ccc0d23SEmmanuel Vadot}; 618ccc0d23SEmmanuel Vadot 62*833e5d42SEmmanuel Vadot/* 63*833e5d42SEmmanuel Vadot * Please note that overriding compatibles is a discouraged practice and is a 64*833e5d42SEmmanuel Vadot * clear indication of nodes not being, well, compatible! 65*833e5d42SEmmanuel Vadot * 66*833e5d42SEmmanuel Vadot * This is a special case, where the GPU is the same as MT8188, but with one 67*833e5d42SEmmanuel Vadot * of the cores fused out in this lower-binned SoC. 68*833e5d42SEmmanuel Vadot */ 69*833e5d42SEmmanuel Vadot&gpu { 70*833e5d42SEmmanuel Vadot compatible = "mediatek,mt8370-mali", "arm,mali-valhall-jm"; 71*833e5d42SEmmanuel Vadot 72*833e5d42SEmmanuel Vadot power-domains = <&spm MT8188_POWER_DOMAIN_MFG2>, 73*833e5d42SEmmanuel Vadot <&spm MT8188_POWER_DOMAIN_MFG3>; 74*833e5d42SEmmanuel Vadot 75*833e5d42SEmmanuel Vadot power-domain-names = "core0", "core1"; 76*833e5d42SEmmanuel Vadot}; 77*833e5d42SEmmanuel Vadot 788ccc0d23SEmmanuel Vadot&ppi_cluster0 { 798ccc0d23SEmmanuel Vadot affinity = <&cpu0 &cpu1 &cpu2 &cpu3>; 808ccc0d23SEmmanuel Vadot}; 81