]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: renesas: r9a09g047e57-smarc-som: Add PCIe reference clock
authorJohn Madieu <john.madieu.xa@bp.renesas.com>
Wed, 18 Mar 2026 08:51:18 +0000 (09:51 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 25 Mar 2026 17:40:50 +0000 (18:40 +0100)
The RZ/G3E SMARC SoM has a fixed 100 MHz reference clock generator
for PCIe.  Model it as a fixed-clock and assign it to the PCIe port.

Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # RZ/V2N EVK
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260318085119.44717-4-john.madieu.xa@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi

index 880bd3fc9da18b1c5aa2b5f1f92923ee4136f405..d978619155d242c842ebecd313f410a21ba04cff 100644 (file)
                reg = <0x0 0x48000000 0x0 0xf8000000>;
        };
 
+       pcie_refclk: pcie-ref-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <100000000>;
+       };
+
        reg_1p8v: regulator-1p8v {
                compatible = "regulator-fixed";
                regulator-name = "fixed-1.8V";
        };
 };
 
+&pcie_port0 {
+       clocks = <&pcie_refclk>;
+       clock-names = "ref";
+};
+
 &pinctrl {
        eth0_pins: eth0 {
                clk {