From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Biju Das <biju.das.jz@bp.renesas.com>
Cc: Rob Herring <robh+dt@kernel.org>,
Magnus Damm <magnus.damm@gmail.com>,
Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
Chris Paterson <Chris.Paterson2@renesas.com>,
Biju Das <biju.das@bp.renesas.com>,
Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH 7/7] arm64: dts: renesas: rzg2ul-smarc-som: Enable Ethernet on SMARC platform
Date: Fri, 1 Apr 2022 14:01:55 +0200 [thread overview]
Message-ID: <CAMuHMdW15oNDrDk0CGvf9ABX83HB6rs3tXz+33a80K-dmJ0fuA@mail.gmail.com> (raw)
In-Reply-To: <20220315155919.23451-8-biju.das.jz@bp.renesas.com>
Hi Biju,
On Tue, Mar 15, 2022 at 4:59 PM Biju Das <biju.das.jz@bp.renesas.com> 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@bp.renesas.com>
> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
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..
> + 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@glider.be>
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
next prev parent reply other threads:[~2022-04-01 12:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-15 15:59 [PATCH 0/7] Enable Ethernet and SDHI on RZ/G2UL SMARC EVK Biju Das
2022-03-15 15:59 ` [PATCH 1/7] arm64: dts: renesas: r9a07g043: Fillup the pinctrl stub node Biju Das
2022-04-01 11:23 ` Geert Uytterhoeven
2022-03-15 15:59 ` [PATCH 2/7] arm64: dts: renesas: rzg2ul-smarc: Add scif0 and audio clk pins Biju Das
2022-03-31 13:27 ` Geert Uytterhoeven
2022-03-31 14:16 ` Geert Uytterhoeven
2022-03-15 15:59 ` [PATCH 3/7] arm64: dts: renesas: r9a07g043: Add SDHI nodes Biju Das
2022-03-31 13:17 ` Geert Uytterhoeven
2022-03-15 15:59 ` [PATCH 4/7] arm64: dts: renesas: r9a07g043: Add GbEthernet nodes Biju Das
2022-03-31 13:17 ` Geert Uytterhoeven
2022-03-15 15:59 ` [PATCH 5/7] arm64: dts: renesas: rzg2ul-smarc: Enable microSD on SMARC platform Biju Das
2022-03-31 13:23 ` Geert Uytterhoeven
2022-03-31 13:35 ` Biju Das
2022-03-31 13:49 ` Geert Uytterhoeven
2022-03-15 15:59 ` [PATCH 6/7] arm64: dts: renesas: rzg2ul-smarc-som: Enable eMMC " Biju Das
2022-04-01 11:57 ` Geert Uytterhoeven
2022-03-15 15:59 ` [PATCH 7/7] arm64: dts: renesas: rzg2ul-smarc-som: Enable Ethernet " Biju Das
2022-04-01 12:01 ` Geert Uytterhoeven [this message]
2022-04-01 15:05 ` Biju Das
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMuHMdW15oNDrDk0CGvf9ABX83HB6rs3tXz+33a80K-dmJ0fuA@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=Chris.Paterson2@renesas.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=biju.das@bp.renesas.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).