arm64: dts: mediatek: Add MediaTek CCI node for MT8183
authorRex-BC Chen <rex-bc.chen@mediatek.com>
Mon, 16 May 2022 11:11:29 +0000 (19:11 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 7 Jun 2022 16:26:33 +0000 (18:26 +0200)
Add MediaTek CCI devfreq node for MT8183.

Signed-off-by: Andrew-sh.Cheng <andrew-sh.cheng@mediatek.com>
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220516111130.13325-3-rex-bc.chen@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183-evb.dts
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index 8953dbf84f3e8847c378bcb8e9e4471b41c223c0..7ac9864db9de27a6bce330581d8eba78dea2032e 100644 (file)
 
 };
 
+&cci {
+       proc-supply = <&mt6358_vproc12_reg>;
+};
+
 &cpu0 {
        proc-supply = <&mt6358_vproc12_reg>;
 };
index 8d5bf73a909968c521bd0ea46a4e1c4bc72c59be..b035e06840e65838961b90b432695e88090aff81 100644 (file)
        status = "okay";
 };
 
+&cci {
+       proc-supply = <&mt6358_vproc12_reg>;
+};
+
 &cpu0 {
        proc-supply = <&mt6358_vproc12_reg>;
 };
index cecf96b628b7b1d5c10c2ba27d7be4b800a859b0..21ec9f1ef406a0570673d92c0e08b2ddc1e1bf9f 100644 (file)
                };
        };
 
+       cci: cci {
+               compatible = "mediatek,mt8183-cci";
+               clocks = <&mcucfg CLK_MCU_BUS_SEL>,
+                        <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>;
+               clock-names = "cci", "intermediate";
+               operating-points-v2 = <&cci_opp>;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;