Skip to content

Commit 95e4ade

Browse files
committed
Merge tag 'thead-dt-for-v6.17' of https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux into soc/dt
T-HEAD Devicetrees for v6.17 There are several additions for the T-Head TH1520 SoC: - Add PVT node for thermal sensor which works with the existing Moortec MR75203 driver. - Add "gpu-clkgen" reset property to the AON node which allows the power domain driver to detect the capability to power sequence the GPU. All of these patches have been tested in linux-next. Signed-off-by: Drew Fustini <[email protected]> * tag 'thead-dt-for-v6.17' of https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux: riscv: dts: thead: Add PVT node riscv: dts: thead: th1520: Add GPU clkgen reset to AON node Link: https://lore.kernel.org/r/aHtnwthmTpfkIBMr@x1 Signed-off-by: Arnd Bergmann <[email protected]>
2 parents dd9f821 + c31f289 commit 95e4ade

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/riscv/boot/dts/thead/th1520.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <dt-bindings/interrupt-controller/irq.h>
88
#include <dt-bindings/clock/thead,th1520-clk-ap.h>
99
#include <dt-bindings/power/thead,th1520-power.h>
10+
#include <dt-bindings/reset/thead,th1520-reset.h>
1011

1112
/ {
1213
compatible = "thead,th1520";
@@ -234,6 +235,8 @@
234235
compatible = "thead,th1520-aon";
235236
mboxes = <&mbox_910t 1>;
236237
mbox-names = "aon";
238+
resets = <&rst TH1520_RESET_ID_GPU_CLKGEN>;
239+
reset-names = "gpu-clkgen";
237240
#power-domain-cells = <1>;
238241
};
239242

@@ -662,6 +665,17 @@
662665
thead,pad-group = <1>;
663666
};
664667

668+
pvt: pvt@fffff4e000 {
669+
compatible = "moortec,mr75203";
670+
reg = <0xff 0xfff4e000 0x0 0x80>,
671+
<0xff 0xfff4e080 0x0 0x100>,
672+
<0xff 0xfff4e180 0x0 0x680>,
673+
<0xff 0xfff4e800 0x0 0x600>;
674+
reg-names = "common", "ts", "pd", "vm";
675+
clocks = <&aonsys_clk>;
676+
#thermal-sensor-cells = <1>;
677+
};
678+
665679
gpio@fffff52000 {
666680
compatible = "snps,dw-apb-gpio";
667681
reg = <0xff 0xfff52000 0x0 0x1000>;

0 commit comments

Comments
 (0)