riscv: dts: thead: Move osc_32k and rc_24m clocks under clock parent 91/311591/3
authorMichal Wilczynski <m.wilczynski@samsung.com>
Wed, 22 May 2024 12:46:42 +0000 (14:46 +0200)
committerMichal Wilczynski <m.wilczynski@samsung.com>
Mon, 27 May 2024 14:05:26 +0000 (16:05 +0200)
Both osc_32k and rc_24m clocks are under soc parent, while they should
be under 'clocks' parent, per vendor kernel. Move them to appropriate
place.

Change-Id: I3f65c2697da4f6f0403482f70042daf99680a48b
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
arch/riscv/boot/dts/thead/th1520.dtsi

index af5eb6418871b80acdebd4e700b8ecd5f3e81ac7..8c96f8994aced5da1b7d3eff99d187f15b47a71a 100644 (file)
                #clock-cells = <0>;
        };
 
-       osc_32k: 32k-oscillator {
-               compatible = "fixed-clock";
-               clock-output-names = "osc_32k";
-               #clock-cells = <0>;
-       };
-
-       rc_24m: clock-rc-24m@13 {
-               compatible = "fixed-clock";
-               reg = <13>;
-               #clock-cells = <0>;
-               clock-frequency = <24000000>;
-               clock-output-names = "rc_24m";
-       };
-
        apb_clk: apb-clk-clock {
                compatible = "fixed-clock";
                clock-output-names = "apb_clk";
                        riscv,ndev = <240>;
                };
 
+               clocks {
+                       compatible = "simple-bus";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       osc_32k: clock-osc-32k@11 {
+                               compatible = "fixed-clock";
+                               reg = <11>;
+                               #clock-cells = <0>;
+                               clock-frequency = <32768>;
+                               clock-output-names = "osc_32k";
+                       };
+
+                       rc_24m: clock-rc-24m@13 {
+                               compatible = "fixed-clock";
+                               reg = <13>;
+                               #clock-cells = <0>;
+                               clock-frequency = <24000000>;
+                               clock-output-names = "rc_24m";
+                       };
+
+               };
+
                clint: timer@ffdc000000 {
                        compatible = "thead,th1520-clint", "thead,c900-clint";
                        reg = <0xff 0xdc000000 0x0 0x00010000>;