From: Louis-Alexis Eyraud Date: Tue, 14 Apr 2026 10:33:32 +0000 (+0200) Subject: arm64: dts: mediatek: mt8390-genio-common: add CPU power supplies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04e7ad8c8d8abe74b05ee0c526eb8989d7a2744;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: mediatek: mt8390-genio-common: add CPU power supplies Mediatek Genio 510-EVK (MT8370) and 700-EVK (MT8390) devicetrees are missing power supply definitions for all their CPU cores. On the boards, the big core power is supplied by a MT6319 (sub PMIC), and little core power by a MT6365 (main PMIC). MT8370 and MT8390 SoC have the same core type (little cores are ARM Cortex A55, big ones are A78), the same big core number (2) but MT8390 SoC has more little cores (6) than MT8370 SoC (only 4). To handle the little core number difference, add in the board common dtsi the power supply definitions for the common CPU core nodes (0-3, 6 and 7). The power supplies for the additional MT8390 CPU core nodes (4 and 5) will be added for the Genio 700 in a separate commit. Signed-off-by: Louis-Alexis Eyraud Signed-off-by: AngeloGioacchino Del Regno --- diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi index af859a7504b81..eb58001bf5d51 100644 --- a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi @@ -285,6 +285,30 @@ status = "okay"; }; +&cpu0 { + cpu-supply = <&mt6359_vcore_buck_reg>; +}; + +&cpu1 { + cpu-supply = <&mt6359_vcore_buck_reg>; +}; + +&cpu2 { + cpu-supply = <&mt6359_vcore_buck_reg>; +}; + +&cpu3 { + cpu-supply = <&mt6359_vcore_buck_reg>; +}; + +&cpu6 { + cpu-supply = <&mt6319_vbuck1>; +}; + +&cpu7 { + cpu-supply = <&mt6319_vbuck1>; +}; + &disp_dsi0 { #address-cells = <1>; #size-cells = <0>;