]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
riscv: dts: thead: Add PVT node
authorMichal Wilczynski <m.wilczynski@samsung.com>
Mon, 23 Jun 2025 18:08:56 +0000 (20:08 +0200)
committerDrew Fustini <drew@pdp7.com>
Mon, 30 Jun 2025 20:13:08 +0000 (13:13 -0700)
Add PVT DT node for thermal sensor.

Reviewed-by: Drew Fustini <drew@pdp7.com>
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Signed-off-by: Drew Fustini <drew@pdp7.com>
arch/riscv/boot/dts/thead/th1520.dtsi

index f3f5db0201ab8c0306d4d63072a1573431e51893..42724bf7e90e08fac326c464d0f080e3bd2cd59b 100644 (file)
                        thead,pad-group = <1>;
                };
 
+               pvt: pvt@fffff4e000 {
+                       compatible = "moortec,mr75203";
+                       reg = <0xff 0xfff4e000 0x0 0x80>,
+                             <0xff 0xfff4e080 0x0 0x100>,
+                             <0xff 0xfff4e180 0x0 0x680>,
+                             <0xff 0xfff4e800 0x0 0x600>;
+                       reg-names = "common", "ts", "pd", "vm";
+                       clocks = <&aonsys_clk>;
+                       #thermal-sensor-cells = <1>;
+               };
+
                gpio@fffff52000 {
                        compatible = "snps,dw-apb-gpio";
                        reg = <0xff 0xfff52000 0x0 0x1000>;