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.wilczyn...@samsung.com>
---
 arch/riscv/boot/dts/thead/th1520.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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>;
                };
-- 
2.34.1

Reply via email to