Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
81 lines
1.9 KiB
Devicetree
81 lines
1.9 KiB
Devicetree
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright (c) 2025 Collabora Ltd.
|
|
* Author: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "mt8188.dtsi"
|
|
|
|
/ {
|
|
compatible = "mediatek,mt8370";
|
|
|
|
cpus {
|
|
/delete-node/ cpu@400;
|
|
/delete-node/ cpu@500;
|
|
|
|
cpu-map {
|
|
cluster0 {
|
|
/delete-node/ core4;
|
|
/delete-node/ core5;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&cpu6 {
|
|
clock-frequency = <2200000000>;
|
|
};
|
|
|
|
&cpu7 {
|
|
clock-frequency = <2200000000>;
|
|
};
|
|
|
|
&cpu_little0_cooling_map0 {
|
|
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
};
|
|
|
|
&cpu_little1_cooling_map0 {
|
|
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
};
|
|
|
|
&cpu_little2_cooling_map0 {
|
|
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
};
|
|
|
|
&cpu_little3_cooling_map0 {
|
|
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
};
|
|
|
|
/*
|
|
* Please note that overriding compatibles is a discouraged practice and is a
|
|
* clear indication of nodes not being, well, compatible!
|
|
*
|
|
* This is a special case, where the GPU is the same as MT8188, but with one
|
|
* of the cores fused out in this lower-binned SoC.
|
|
*/
|
|
&gpu {
|
|
compatible = "mediatek,mt8370-mali", "arm,mali-valhall-jm";
|
|
|
|
power-domains = <&spm MT8188_POWER_DOMAIN_MFG2>,
|
|
<&spm MT8188_POWER_DOMAIN_MFG3>;
|
|
|
|
power-domain-names = "core0", "core1";
|
|
};
|
|
|
|
&ppi_cluster0 {
|
|
affinity = <&cpu0 &cpu1 &cpu2 &cpu3>;
|
|
};
|