]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: socfpga: agilex: fix dtbs_check warning for f2s-free-clk
authorDinh Nguyen <dinguyen@kernel.org>
Wed, 4 Jun 2025 18:44:08 +0000 (13:44 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Sat, 12 Jul 2025 12:19:53 +0000 (07:19 -0500)
The f2s-free-clk requires a clock-frequency value. We put in an
arbitrary value of 100 MHz for a constant. The true clock frequency
would get generated in an FPGA design and the bootloader will populated
in actual hardware designs.

This fixes warning like this:

arch/arm64/boot/dts/intel:34:8
      4  f2s-free-clk (fixed-clock): 'clock-frequency' is a required property

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi

index a77a504effeab6b487ea0ef4c733f3ed80cad5be..c1e66db0f4c524809d4334b86ef741f834a9b896 100644 (file)
                f2s_free_clk: f2s-free-clk {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
+                       clock-frequency = <100000000>;
                };
 
                osc1: osc1 {