Skip to content

Commit 62169c1

Browse files
prabhakarladgeertu
authored andcommitted
arm64: dts: renesas: r9a09g056n48-rzv2n-evk: Enable PCIe
Enable the PCIE1 slot available on the RZ/V2N EVK. Note, the PCIE_REFCLK comes from 5L35023B versa clock generator, once the support for this clock generator is added, the fixed clock node can be removed and can be replaced with a reference to the clock generator. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20260501105116.33452-3-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent 4c44329 commit 62169c1

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

arch/arm64/boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@
6363
reg = <0x0 0x48000000 0x1 0xf8000000>;
6464
};
6565

66+
pcie_refclk: clock-pcie-ref {
67+
compatible = "fixed-clock";
68+
#clock-cells = <0>;
69+
clock-frequency = <100000000>;
70+
};
71+
6672
reg_0p8v: regulator-0p8v {
6773
compatible = "regulator-fixed";
6874
regulator-name = "fixed-0.8V";
@@ -333,6 +339,17 @@
333339
status = "okay";
334340
};
335341

342+
&pcie {
343+
pinctrl-0 = <&pcie_pins>;
344+
pinctrl-names = "default";
345+
status = "okay";
346+
};
347+
348+
&pcie_port0 {
349+
clocks = <&pcie_refclk>;
350+
clock-names = "ref";
351+
};
352+
336353
&pinctrl {
337354
eth0_pins: eth0 {
338355
pins = "ET0_TXC_TXCLK";
@@ -383,6 +400,12 @@
383400
<RZV2N_PORT_PINMUX(0, 7, 1)>; /* I2C8_SCL */
384401
};
385402

403+
pcie_pins: pcie {
404+
pins = "PCIE0_RSTOUTB";
405+
slew-rate = <0>;
406+
renesas,output-impedance = <2>;
407+
};
408+
386409
scif_pins: scif {
387410
pins = "SCIF_TXD", "SCIF_RXD";
388411
renesas,output-impedance = <1>;

0 commit comments

Comments
 (0)