Skip to content

Commit 7e358b8

Browse files
committed
Merge tag 'thead-dt-for-v6.16' of https://github.com/pdp7/linux into soc/dt
T-HEAD Devicetrees for v6.16 There are several additions for the T-Head TH1520 SoC: - AON (Always-On) node which serves as a power-domain controller - Reset controller node - VO (Video Output) clock controller node These changes have all been tested in linux-next with the corresponding driver patches. Signed-off-by: Drew Fustini <[email protected]> * tag 'thead-dt-for-v6.16' of https://github.com/pdp7/linux: riscv: dts: thead: Add device tree VO clock controller riscv: dts: thead: Introduce reset controller node riscv: dts: thead: Introduce power domain nodes with aon firmware
2 parents 24822c4 + a4c95b9 commit 7e358b8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <dt-bindings/interrupt-controller/irq.h>
88
#include <dt-bindings/clock/thead,th1520-clk-ap.h>
9+
#include <dt-bindings/power/thead,th1520-power.h>
910

1011
/ {
1112
compatible = "thead,th1520";
@@ -229,6 +230,13 @@
229230
snps,blen = <0 0 64 32 0 0 0>;
230231
};
231232

233+
aon: aon {
234+
compatible = "thead,th1520-aon";
235+
mboxes = <&mbox_910t 1>;
236+
mbox-names = "aon";
237+
#power-domain-cells = <1>;
238+
};
239+
232240
soc {
233241
compatible = "simple-bus";
234242
interrupt-parent = <&plic>;
@@ -489,6 +497,19 @@
489497
#clock-cells = <1>;
490498
};
491499

500+
rst: reset-controller@ffef528000 {
501+
compatible = "thead,th1520-reset";
502+
reg = <0xff 0xef528000 0x0 0x4f>;
503+
#reset-cells = <1>;
504+
};
505+
506+
clk_vo: clock-controller@ffef528050 {
507+
compatible = "thead,th1520-clk-vo";
508+
reg = <0xff 0xef528050 0x0 0xfb0>;
509+
clocks = <&clk CLK_VIDEO_PLL>;
510+
#clock-cells = <1>;
511+
};
512+
492513
dmac0: dma-controller@ffefc00000 {
493514
compatible = "snps,axi-dma-1.01a";
494515
reg = <0xff 0xefc00000 0x0 0x1000>;

0 commit comments

Comments
 (0)