Skip to content

Commit a4c95b9

Browse files
Michal Wilczynskitt-fustini
authored andcommitted
riscv: dts: thead: Add device tree VO clock controller
VO clocks reside in a different address space from the AP clocks on the T-HEAD SoC. Add the device tree node of a clock-controller to handle VO address space as well. Reviewed-by: Drew Fustini <[email protected]> Signed-off-by: Michal Wilczynski <[email protected]> Signed-off-by: Drew Fustini <[email protected]>
1 parent 1b136de commit a4c95b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,13 @@
503503
#reset-cells = <1>;
504504
};
505505

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+
506513
dmac0: dma-controller@ffefc00000 {
507514
compatible = "snps,axi-dma-1.01a";
508515
reg = <0xff 0xefc00000 0x0 0x1000>;

0 commit comments

Comments
 (0)