Thread (53 messages) 53 messages, 6 authors, 2023-12-06

Re: [PATCH 10/14] arm64: renesas: r9a08g045: Add Ethernet nodes

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2023-12-01 17:36:16
Also in: linux-arm-kernel, linux-clk, linux-devicetree, linux-gpio, linux-renesas-soc, lkml

Hi Claudiu,

On Mon, Nov 20, 2023 at 8:01 AM Claudiu [off-list ref] wrote:
From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Add Ethernet nodes available on RZ/G3S (R9A08G045).

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Thanks for your patch!
quoted hunk ↗ jump to hunk
--- a/arch/arm64/boot/dts/renesas/r9a08g045.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a08g045.dtsi
@@ -149,6 +149,38 @@ sdhi2: mmc@11c20000 {
                        status = "disabled";
                };

+               eth0: ethernet@11c30000 {
+                       compatible = "renesas,r9a08g045-gbeth", "renesas,rzg2l-gbeth";
+                       reg = <0 0x11c30000 0 0x10000>;
+                       interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "mux", "fil", "arp_ns";
+                       clocks = <&cpg CPG_MOD R9A08G045_ETH0_CLK_AXI>,
+                                <&cpg CPG_MOD R9A08G045_ETH0_CLK_CHI>,
+                                <&cpg CPG_MOD R9A08G045_ETH0_REFCLK>;
+                       clock-names = "axi", "chi", "refclk";
+                       resets = <&cpg R9A08G045_ETH0_RST_HW_N>;
+                       power-domains = <&cpg>;
Perhaps add a default phy mode, like on other SoCs?

    phy-mode = "rgmii"';

Also missing:

    #address-cells = <1>;
    #size-cells = <0>;
+                       status = "disabled";
+               };
Same comments for eth1.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help