arm64: dts: mediatek: add cpufreq support for mt8365-evk
authorAlexandre Mergnat <amergnat@baylibre.com>
Thu, 25 May 2023 08:33:18 +0000 (10:33 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 29 May 2023 13:19:43 +0000 (15:19 +0200)
In order to have cpufreq support, this patch adds proc-supply and
sram-supply for each CPU.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
Link: https://lore.kernel.org/r/20230203-evk-board-support-v8-9-7019f3fd0adf@baylibre.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8365-evk.dts

index 86524cbf43548a98bcf72c9d9bcaf85b8c72cdea..50cbaefa1a9936c6ff6c3bb7ccb94e7326d4f7a1 100644 (file)
        };
 };
 
+&cpu0 {
+       proc-supply = <&mt6357_vproc_reg>;
+       sram-supply = <&mt6357_vsram_proc_reg>;
+};
+
+&cpu1 {
+       proc-supply = <&mt6357_vproc_reg>;
+       sram-supply = <&mt6357_vsram_proc_reg>;
+};
+
+&cpu2 {
+       proc-supply = <&mt6357_vproc_reg>;
+       sram-supply = <&mt6357_vsram_proc_reg>;
+};
+
+&cpu3 {
+       proc-supply = <&mt6357_vproc_reg>;
+       sram-supply = <&mt6357_vsram_proc_reg>;
+};
+
 &ethernet {
        pinctrl-0 = <&ethernet_pins>;
        pinctrl-names = "default";