From: Robert Marko <robert.marko@sartura.hr> To: robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, hauke@hauke-m.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Robert Marko <robert.marko@sartura.hr>, Ron Goossens <rgoossens@gmail.com>, Samuel Holland <samuel@sholland.org> Subject: [PATCH v2] arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode Date: Wed, 17 Nov 2021 15:02:22 +0100 [thread overview] Message-ID: <20211117140222.43692-1-robert.marko@sartura.hr> (raw) Orange Pi Zero Plus uses a Realtek RTL8211E RGMII Gigabit PHY, but its currently set to plain RGMII mode meaning that it doesn't introduce delays. With this setup, TX packets are completely lost and changing the mode to RGMII-ID so the PHY will add delays internally fixes the issue. Fixes: a7affb13b271 ("arm64: allwinner: H5: Add Xunlong Orange Pi Zero Plus") Tested-by: Ron Goossens <rgoossens@gmail.com> Signed-off-by: Robert Marko <robert.marko@sartura.hr> Tested-by: Samuel Holland <samuel@sholland.org> --- arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts index d13980ed7a79..7ec5ac850a0d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts @@ -69,7 +69,7 @@ &emac { pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.33.1
WARNING: multiple messages have this Message-ID (diff)
From: Robert Marko <robert.marko@sartura.hr> To: robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, hauke@hauke-m.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Robert Marko <robert.marko@sartura.hr>, Ron Goossens <rgoossens@gmail.com>, Samuel Holland <samuel@sholland.org> Subject: [PATCH v2] arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode Date: Wed, 17 Nov 2021 15:02:22 +0100 [thread overview] Message-ID: <20211117140222.43692-1-robert.marko@sartura.hr> (raw) Orange Pi Zero Plus uses a Realtek RTL8211E RGMII Gigabit PHY, but its currently set to plain RGMII mode meaning that it doesn't introduce delays. With this setup, TX packets are completely lost and changing the mode to RGMII-ID so the PHY will add delays internally fixes the issue. Fixes: a7affb13b271 ("arm64: allwinner: H5: Add Xunlong Orange Pi Zero Plus") Tested-by: Ron Goossens <rgoossens@gmail.com> Signed-off-by: Robert Marko <robert.marko@sartura.hr> Tested-by: Samuel Holland <samuel@sholland.org> --- arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts index d13980ed7a79..7ec5ac850a0d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts @@ -69,7 +69,7 @@ &emac { pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.33.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2021-11-17 14:02 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-17 14:02 Robert Marko [this message] 2021-11-17 14:02 ` [PATCH v2] arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode Robert Marko 2021-11-17 14:25 ` Chen-Yu Tsai 2021-11-17 14:25 ` Chen-Yu Tsai 2021-11-17 15:41 ` (subset) " Maxime Ripard 2021-11-17 15:41 ` Maxime Ripard
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=20211117140222.43692-1-robert.marko@sartura.hr \ --to=robert.marko@sartura.hr \ --cc=devicetree@vger.kernel.org \ --cc=hauke@hauke-m.de \ --cc=jernej.skrabec@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@lists.linux.dev \ --cc=mripard@kernel.org \ --cc=rgoossens@gmail.com \ --cc=robh+dt@kernel.org \ --cc=samuel@sholland.org \ --cc=wens@csie.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.