From: Michal Wilczynski Date: Thu, 3 Apr 2025 09:44:25 +0000 (+0200) Subject: riscv: dts: thead: Add device tree VO clock controller X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a4c95b924d513728df8631471eb3b1c300909e21;p=users%2Fwilly%2Fxarray.git 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 Signed-off-by: Michal Wilczynski Signed-off-by: Drew Fustini --- diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index 32ef846d569c..1db0054c4e09 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -503,6 +503,13 @@ #reset-cells = <1>; }; + clk_vo: clock-controller@ffef528050 { + compatible = "thead,th1520-clk-vo"; + reg = <0xff 0xef528050 0x0 0xfb0>; + clocks = <&clk CLK_VIDEO_PLL>; + #clock-cells = <1>; + }; + dmac0: dma-controller@ffefc00000 { compatible = "snps,axi-dma-1.01a"; reg = <0xff 0xefc00000 0x0 0x1000>;