]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: dts: renesas: r8a779g3: Reinstate basic PCIe clock description for Sparrow...
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 8 Jan 2026 19:09:21 +0000 (20:09 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 25 Jan 2026 14:52:50 +0000 (15:52 +0100)
The 9FGV0441 PCIe clock generator can operate in autonomous mode, which
is the default mode. U-Boot currently does not have a driver for this
PCIe clock generator, but Linux 6.17 DT does describe the clock generator
in Sparrow Hawk board DT and this DT is included in U-Boot since commit
eea470fd7f6a ("Subtree merge tag 'v6.17-dts' of dts repo [1] into dts/upstream").

Reinstate basic PCIe clock description which matches the behavior of
Linux DT before Linux 6.17.y release in in U-Boot DT extras to allow
PCIe to be used on Sparrow Hawk board in U-Boot until the 9FGV0441
driver gets implemented or ported from Linux.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
arch/arm/dts/r8a779g3-sparrow-hawk-u-boot.dtsi

index dff0355150dbdcbd763c1dba15f1d4c9f2633fa5..968cf6684c569c75e04b5248541797daf6b2f5a4 100644 (file)
        status = "okay";
 };
 
+&pcie0_clkref {
+       clock-frequency = <100000000>;
+       status = "okay";
+};
+
+&pciec0 {
+       clocks = <&cpg CPG_MOD 624>, <&pcie0_clkref>;
+};
+
+&pcie1_clkref {
+       clock-frequency = <100000000>;
+       status = "okay";
+};
+
+&pciec1 {
+       clocks = <&cpg CPG_MOD 625>, <&pcie1_clkref>;
+};
+
 &rpc {
        flash@0 {
                /*