OSDN Git Service

arm64: dts: renesas: eagle: Add x1 clock
authorValentine Barshak <valentine.barshak@cogentembedded.com>
Tue, 4 May 2021 09:14:34 +0000 (11:14 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 25 May 2021 07:55:52 +0000 (09:55 +0200)
This adds X1 clock which supplies a frequency of 148.5 MHz.
This clock is connected to the external dot clock input signal.

Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
[geert: Verified schematics]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/75a66bae21937da1c69e8024ce61b35aad4ac9b8.1620119570.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts

index 874a7fc..5c84681 100644 (file)
                /* first 128MB is reserved for secure area. */
                reg = <0x0 0x48000000 0x0 0x38000000>;
        };
+
+       x1_clk: x1-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <148500000>;
+       };
 };
 
 &avb {
 };
 
 &du {
+       clocks = <&cpg CPG_MOD 724>, <&x1_clk>;
+       clock-names = "du.0", "dclkin.0";
        status = "okay";
 };