nvmem-cell-names = "calibration-data";
                };
  
 -              thermal_zones: thermal-zones {
 -                      cpu_thermal: cpu-thermal {
 -                              polling-delay-passive = <100>;
 -                              polling-delay = <500>;
 -                              thermal-sensors = <&thermal 0>;
 -                              sustainable-power = <5000>;
 -
 -                              trips {
 -                                      threshold: trip-point0 {
 -                                              temperature = <68000>;
 -                                              hysteresis = <2000>;
 -                                              type = "passive";
 -                                      };
 -
 -                                      target: trip-point1 {
 -                                              temperature = <80000>;
 -                                              hysteresis = <2000>;
 -                                              type = "passive";
 -                                      };
 -
 -                                      cpu_crit: cpu-crit {
 -                                              temperature = <115000>;
 -                                              hysteresis = <2000>;
 -                                              type = "critical";
 -                                      };
 -                              };
 -
 -                              cooling-maps {
 -                                      map0 {
 -                                              trip = <&target>;
 -                                              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>;
 -                                              contribution = <3072>;
 -                                      };
 -                                      map1 {
 -                                              trip = <&target>;
 -                                              cooling-device = <&cpu4
 -                                                      THERMAL_NO_LIMIT
 -                                                      THERMAL_NO_LIMIT>,
 -                                                               <&cpu5
 -                                                      THERMAL_NO_LIMIT
 -                                                      THERMAL_NO_LIMIT>,
 -                                                               <&cpu6
 -                                                      THERMAL_NO_LIMIT
 -                                                      THERMAL_NO_LIMIT>,
 -                                                               <&cpu7
 -                                                      THERMAL_NO_LIMIT
 -                                                      THERMAL_NO_LIMIT>;
 -                                              contribution = <1024>;
 -                                      };
 -                              };
 -                      };
 -
 -                      /* The tzts1 ~ tzts6 don't need to polling */
 -                      /* The tzts1 ~ tzts6 don't need to thermal throttle */
 -
 -                      tzts1: tzts1 {
 -                              polling-delay-passive = <0>;
 -                              polling-delay = <0>;
 -                              thermal-sensors = <&thermal 1>;
 -                              sustainable-power = <5000>;
 -                              trips {};
 -                              cooling-maps {};
 -                      };
 -
 -                      tzts2: tzts2 {
 -                              polling-delay-passive = <0>;
 -                              polling-delay = <0>;
 -                              thermal-sensors = <&thermal 2>;
 -                              sustainable-power = <5000>;
 -                              trips {};
 -                              cooling-maps {};
 -                      };
 -
 -                      tzts3: tzts3 {
 -                              polling-delay-passive = <0>;
 -                              polling-delay = <0>;
 -                              thermal-sensors = <&thermal 3>;
 -                              sustainable-power = <5000>;
 -                              trips {};
 -                              cooling-maps {};
 -                      };
 -
 -                      tzts4: tzts4 {
 -                              polling-delay-passive = <0>;
 -                              polling-delay = <0>;
 -                              thermal-sensors = <&thermal 4>;
 -                              sustainable-power = <5000>;
 -                              trips {};
 -                              cooling-maps {};
 -                      };
 -
 -                      tzts5: tzts5 {
 -                              polling-delay-passive = <0>;
 -                              polling-delay = <0>;
 -                              thermal-sensors = <&thermal 5>;
 -                              sustainable-power = <5000>;
 -                              trips {};
 -                              cooling-maps {};
 -                      };
 -
 -                      tztsABB: tztsABB {
 -                              polling-delay-passive = <0>;
 -                              polling-delay = <0>;
 -                              thermal-sensors = <&thermal 6>;
 -                              sustainable-power = <5000>;
 -                              trips {};
 -                              cooling-maps {};
 -                      };
 -              };
 -
+               svs: svs@1100bc00 {
+                       compatible = "mediatek,mt8183-svs";
+                       reg = <0 0x1100bc00 0 0x400>;
+                       interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>;
+                       clocks = <&infracfg CLK_INFRA_THERM>;
+                       clock-names = "main";
+                       nvmem-cells = <&svs_calibration>,
+                                     <&thermal_calibration>;
+                       nvmem-cell-names = "svs-calibration-data",
+                                          "t-calibration-data";
+               };
+ 
                pwm0: pwm@1100e000 {
                        compatible = "mediatek,mt8183-disp-pwm";
                        reg = <0 0x1100e000 0 0x1000>;
 
--- /dev/null
 -                              #address-cells = <0>;
+ // SPDX-License-Identifier: (GPL-2.0 OR MIT)
+ /*
+  * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
+  * Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
+  */
+ 
+ #include <dt-bindings/interrupt-controller/irq.h>
+ 
+ / {
+       #address-cells = <1>;
+       #size-cells = <1>;
+ 
+       cpus: cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               timebase-frequency = <25000000>;
+ 
+               cpu0: cpu@0 {
+                       compatible = "thead,c906", "riscv";
+                       device_type = "cpu";
+                       reg = <0>;
+                       d-cache-block-size = <64>;
+                       d-cache-sets = <512>;
+                       d-cache-size = <65536>;
+                       i-cache-block-size = <64>;
+                       i-cache-sets = <128>;
+                       i-cache-size = <32768>;
+                       mmu-type = "riscv,sv39";
+                       riscv,isa = "rv64imafdc";
+                       riscv,isa-base = "rv64i";
+                       riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
+                                              "zifencei", "zihpm";
+ 
+                       cpu0_intc: interrupt-controller {
+                               compatible = "riscv,cpu-intc";
+                               interrupt-controller;
+                               #interrupt-cells = <1>;
+                       };
+               };
+       };
+ 
+       osc: oscillator {
+               compatible = "fixed-clock";
+               clock-output-names = "osc_25m";
+               #clock-cells = <0>;
+       };
+ 
+       soc {
+               compatible = "simple-bus";
+               interrupt-parent = <&plic>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               dma-noncoherent;
+               ranges;
+ 
+               gpio0: gpio@3020000 {
+                       compatible = "snps,dw-apb-gpio";
+                       reg = <0x3020000 0x1000>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+ 
+                       porta: gpio-controller@0 {
+                               compatible = "snps,dw-apb-gpio-port";
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               ngpios = <32>;
+                               reg = <0>;
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               interrupts = <60 IRQ_TYPE_LEVEL_HIGH>;
+                       };
+               };
+ 
+               gpio1: gpio@3021000 {
+                       compatible = "snps,dw-apb-gpio";
+                       reg = <0x3021000 0x1000>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+ 
+                       portb: gpio-controller@0 {
+                               compatible = "snps,dw-apb-gpio-port";
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               ngpios = <32>;
+                               reg = <0>;
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               interrupts = <61 IRQ_TYPE_LEVEL_HIGH>;
+                       };
+               };
+ 
+               gpio2: gpio@3022000 {
+                       compatible = "snps,dw-apb-gpio";
+                       reg = <0x3022000 0x1000>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+ 
+                       portc: gpio-controller@0 {
+                               compatible = "snps,dw-apb-gpio-port";
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               ngpios = <32>;
+                               reg = <0>;
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               interrupts = <62 IRQ_TYPE_LEVEL_HIGH>;
+                       };
+               };
+ 
+               gpio3: gpio@3023000 {
+                       compatible = "snps,dw-apb-gpio";
+                       reg = <0x3023000 0x1000>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+ 
+                       portd: gpio-controller@0 {
+                               compatible = "snps,dw-apb-gpio-port";
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               ngpios = <32>;
+                               reg = <0>;
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               interrupts = <63 IRQ_TYPE_LEVEL_HIGH>;
+                       };
+               };
+ 
+               uart0: serial@4140000 {
+                       compatible = "snps,dw-apb-uart";
+                       reg = <0x04140000 0x100>;
+                       interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&osc>;
+                       reg-shift = <2>;
+                       reg-io-width = <4>;
+                       status = "disabled";
+               };
+ 
+               uart1: serial@4150000 {
+                       compatible = "snps,dw-apb-uart";
+                       reg = <0x04150000 0x100>;
+                       interrupts = <45 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&osc>;
+                       reg-shift = <2>;
+                       reg-io-width = <4>;
+                       status = "disabled";
+               };
+ 
+               uart2: serial@4160000 {
+                       compatible = "snps,dw-apb-uart";
+                       reg = <0x04160000 0x100>;
+                       interrupts = <46 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&osc>;
+                       reg-shift = <2>;
+                       reg-io-width = <4>;
+                       status = "disabled";
+               };
+ 
+               uart3: serial@4170000 {
+                       compatible = "snps,dw-apb-uart";
+                       reg = <0x04170000 0x100>;
+                       interrupts = <47 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&osc>;
+                       reg-shift = <2>;
+                       reg-io-width = <4>;
+                       status = "disabled";
+               };
+ 
+               uart4: serial@41c0000 {
+                       compatible = "snps,dw-apb-uart";
+                       reg = <0x041c0000 0x100>;
+                       interrupts = <48 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&osc>;
+                       reg-shift = <2>;
+                       reg-io-width = <4>;
+                       status = "disabled";
+               };
+ 
+               plic: interrupt-controller@70000000 {
+                       reg = <0x70000000 0x4000000>;
+                       interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>;
+                       interrupt-controller;
+                       #address-cells = <0>;
+                       #interrupt-cells = <2>;
+                       riscv,ndev = <101>;
+               };
+ 
+               clint: timer@74000000 {
+                       reg = <0x74000000 0x10000>;
+                       interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>;
+               };
+       };
+ };