]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dts: riscv: spacemit: correct 32k clock frequency
authorYixun Lan <dlan@kernel.org>
Tue, 28 Apr 2026 10:57:29 +0000 (10:57 +0000)
committerYixun Lan <dlan@kernel.org>
Sat, 9 May 2026 12:20:42 +0000 (12:20 +0000)
The 32k oscillator's clock frequency is actually 32768Hz, so correct it.

Fixes: 67072c8cd48c ("riscv: dts: spacemit: k3: add clock tree")
Fixes: a6fafa64b03a ("riscv: dts: spacemit: Add clock tree for SpacemiT K1")
Link: https://patch.msgid.link/20260428-06-k3-clk-osc32k-v1-1-e2378da7cb9b@kernel.org
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k1.dtsi
arch/riscv/boot/dts/spacemit/k3.dtsi

index f8747190d2e127fb33b33cbfb868ea2cafede330..24becab4c959479f488bc3d771722fa8fa02dd55 100644 (file)
 
                osc_32k: clock-32k {
                        compatible = "fixed-clock";
-                       clock-frequency = <32000>;
+                       clock-frequency = <32768>;
                        clock-output-names = "osc_32k";
                        #clock-cells = <0>;
                };
index 815debd16409be1f850d6aff19afe1d5f5eb3103..e6faf8d8759e1f773ee17fa097166e62e6c7b363 100644 (file)
 
                osc_32k: clock-32k {
                        compatible = "fixed-clock";
-                       clock-frequency = <32000>;
+                       clock-frequency = <32768>;
                        clock-output-names = "osc_32k";
                        #clock-cells = <0>;
                };