Hi Geert, Thanks for the feedback. > Subject: Re: [PATCH 7/7] arm64: dts: renesas: rzg2ul-smarc-som: Enable > Ethernet on SMARC platform > > Hi Biju, > > On Tue, Mar 15, 2022 at 4:59 PM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > wrote: > > Enable Ethernet{0,1} interfaces on RZ/G2UL SMARC EVK. > > > > Ethernet0 pins are muxed with CAN0, CAN1, SSI1 and RSPI1 pins and > > Ethernet0 device selection is based on the SW1[3] switch position. > > > > Set SW1[3] to position OFF for selecting CAN0, CAN1, SSI1 and RSPI1. > > Set SW1[3] to position ON for selecting Ethernet0. > > > > This patch disables Ethernet0 on RZ/G2UL SMARC platform by default. > > > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > > Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > > Thanks for your patch! > > > --- a/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi > > +++ b/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi > > @@ -52,11 +57,101 @@ > > #endif > > }; > > > > +#if (!SW_ET0_EN_N) > > +ð0 { > > + pinctrl-0 = <ð0_pins>; > > + pinctrl-names = "default"; > > + phy-handle = <&phy0>; > > + phy-mode = "rgmii-id"; > > + status = "okay"; > > + > > + phy0: ethernet-phy@7 { > > + compatible = "ethernet-phy-id0022.1640", > > + "ethernet-phy-ieee802.3-c22"; > > To be augmented with interrupt properties when the RZ/G2L IRQC driver and > bindings have been completed. But that can be done later.. OK. Agreed. Cheers, Biju > > > + reg = <7>; > > + rxc-skew-psec = <2400>; > > + txc-skew-psec = <2400>; > > + rxdv-skew-psec = <0>; > > + txdv-skew-psec = <0>; > > + rxd0-skew-psec = <0>; > > + rxd1-skew-psec = <0>; > > + rxd2-skew-psec = <0>; > > + rxd3-skew-psec = <0>; > > + txd0-skew-psec = <0>; > > + txd1-skew-psec = <0>; > > + txd2-skew-psec = <0>; > > + txd3-skew-psec = <0>; > > + }; > > +}; > > +#endif > > + > > +ð1 { > > + pinctrl-0 = <ð1_pins>; > > + pinctrl-names = "default"; > > + phy-handle = <&phy1>; > > + phy-mode = "rgmii-id"; > > + status = "okay"; > > + > > + phy1: ethernet-phy@7 { > > + compatible = "ethernet-phy-id0022.1640", > > + "ethernet-phy-ieee802.3-c22"; > > + reg = <7>; > > Likewise. > > > + rxc-skew-psec = <2400>; > > + txc-skew-psec = <2400>; > > + rxdv-skew-psec = <0>; > > + txdv-skew-psec = <0>; > > + rxd0-skew-psec = <0>; > > + rxd1-skew-psec = <0>; > > + rxd2-skew-psec = <0>; > > + rxd3-skew-psec = <0>; > > + txd0-skew-psec = <0>; > > + txd1-skew-psec = <0>; > > + txd2-skew-psec = <0>; > > + txd3-skew-psec = <0>; > > + }; > > +}; > > Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > > 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