]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
riscv: dts: thead: Add device tree VO clock controller
authorMichal Wilczynski <m.wilczynski@samsung.com>
Thu, 3 Apr 2025 09:44:25 +0000 (11:44 +0200)
committerDrew Fustini <dfustini@tenstorrent.com>
Thu, 8 May 2025 06:38:41 +0000 (23:38 -0700)
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 <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 32ef846d569caa9193069cb5bf3867d7fc4e5fa5..1db0054c4e093400e9dbebcee5fcfa5b5cae6e32 100644 (file)
                        #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>;