]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: mediatek: mt8186: Add svs node
authorRohit Agarwal <rohiagar@chromium.org>
Fri, 30 Aug 2024 08:45:44 +0000 (08:45 +0000)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 9 Sep 2024 14:41:36 +0000 (16:41 +0200)
Add clock/irq/efuse setting in svs nodes for mt8186 SoC.

Signed-off-by: Rohit Agarwal <rohiagar@chromium.org>
Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20240830084544.2898512-4-rohiagar@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8186.dtsi

index 380071822334d9336fcfab410f0930baee1e0d88..148c332018b0d86550d968367df4ed18b8d778b5 100644 (file)
                        #thermal-sensor-cells = <1>;
                };
 
+               svs: svs@1100bc00 {
+                       compatible = "mediatek,mt8186-svs";
+                       reg = <0 0x1100bc00 0 0x400>;
+                       interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH 0>;
+                       clocks = <&infracfg_ao CLK_INFRA_AO_THERM>;
+                       clock-names = "main";
+                       nvmem-cells = <&svs_calibration>, <&lvts_efuse_data1>;
+                       nvmem-cell-names = "svs-calibration-data", "t-calibration-data";
+                       resets = <&infracfg_ao MT8186_INFRA_PTP_CTRL_RST>;
+                       reset-names = "svs_rst";
+               };
+
                pwm0: pwm@1100e000 {
                        compatible = "mediatek,mt8186-disp-pwm", "mediatek,mt8183-disp-pwm";
                        reg = <0 0x1100e000 0 0x1000>;
                                reg = <0x2f8 0x14>;
                        };
 
+                       svs_calibration: calib@550 {
+                               reg = <0x550 0x50>;
+                       };
+
                        gpu_speedbin: gpu-speedbin@59c {
                                reg = <0x59c 0x4>;
                                bits = <0 3>;