diff mbox series

[RFC,v2,15/19] riscv: dts: thead: Extend device tree clk with VO reg

Message ID 20241223125553.3527812-16-m.wilczynski@samsung.com
State New
Headers show
Series Enable drm/imagination BXM-4-64 Support for LicheePi 4A | expand

Commit Message

Michal Wilczynski Dec. 23, 2024, 12:55 p.m. UTC
VO clocks reside in a different address space from the AP clocks on the
T-HEAD SoC. Extend the device tree node of a clock-controller to handle
VO address space as well.

Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
---
 arch/riscv/boot/dts/thead/th1520.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi
index acfe030e803a..d823b6da75df 100644
--- a/arch/riscv/boot/dts/thead/th1520.dtsi
+++ b/arch/riscv/boot/dts/thead/th1520.dtsi
@@ -484,7 +484,9 @@  uart2: serial@ffec010000 {
 
 		clk: clock-controller@ffef010000 {
 			compatible = "thead,th1520-clk-ap";
-			reg = <0xff 0xef010000 0x0 0x1000>;
+			reg = <0xff 0xef010000 0x0 0x1000>,
+			      <0xff 0xef528050 0x0 0xfb0>;
+			reg-names = "ap-clks", "vo-clks";
 			clocks = <&osc>;
 			#clock-cells = <1>;
 		};