[PATCH v2 0/7] net: stmmac: dwmac-sun55i: Enable Orange Pi 4 Pro GMAC0 Ethernet

Alastair D'Silva alastair at d-silva.org
Sun Nov 29 17:29:55 PST 2026


This series enables Gigabit Ethernet (GMAC0) on the Allwinner A733
Xunlong Orange Pi 4 Pro board on top of linux-next/master and BayLibre's
A733 GMAC210 series.

The goal is working 1000BASE-T RGMII Ethernet with mainline drivers and
bindings. Tested on the Orange Pi 4 Pro with a YT8531 PHY (DHCP, ping,
and iperf3 at 1Gbps/Full).

Depends-on:
1. "pinctrl: sunxi: use automatic voltage detection on A733" (v4)
   https://lore.kernel.org/r/20261125-a733-pinctrl-v4@gmail.com
2. "pinctrl: sunxi: number the IRQ banks from the first one that has IRQs" (v3)
   https://lore.kernel.org/r/20261124215048.42074-1-pmazzini@gmail.com
3. "arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support"
   https://lore.kernel.org/r/20261125124407.4098345-1-alastair@d-silva.org
4. "net: stmmac: Add support for Allwinner A733 GMAC210" (v3)
   https://lore.kernel.org/r/20260923-allwinner-a733-gmac-support-v3-0-15735155a789@baylibre.com

Changes in v2:
- Rebase onto linux-next/master (20261125), the merged A733 CCU/pinctrl
  drivers, the unmerged pinctrl/board prerequisites above, and BayLibre's
  A733 GMAC210 v3 series, dropping duplicated patches.
- Replace the msi-lite0 CLK_IS_CRITICAL CCU patch with explicit
  ahb-msi-lite0 and mbus-msi-lite0 clocks in the A733 GMAC binding,
  dwmac-sun55i.c, and sun60i-a733.dtsi.
- Add allwinner,rgmii-clk-ext binding and dwmac-sun55i support so
  external 125 MHz PHY TX clocking works on Orange Pi 4 Pro without
  breaking Cubie A7A.
- Enable RGMII RX clock inversion (SYSCON_ERXIE, BIT(4)) on A733 GMAC210
  and downgrade RGMII_ID to RGMII_TXID (and RGMII_RXID to RGMII) so the
  PHY only adds TX delay.
- Switch Orange Pi 4 Pro DTS to phy-mode = "rgmii-id" with
  allwinner,rgmii-clk-ext, add reg_swout1/reg_swout2, and drop all
  tx/rx-internal-delay-ps overrides.

Alastair D'Silva (7):
  dt-bindings: net: allwinner,sun8i-a83t-emac: Add
    allwinner,rgmii-clk-ext
  dt-bindings: net: allwinner,sun8i-a83t-emac: Add A733 MSI-Lite0 clocks
  net: stmmac: dwmac-sun55i: Support external RGMII TX clock
  net: stmmac: dwmac-sun55i: Invert RGMII RX clock on A733 GMAC210
  net: stmmac: dwmac-sun55i: Enable optional MSI-Lite0 clocks on A733
  arm64: dts: allwinner: sun60i-a733: Add GMAC0 node
  arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable GMAC0
    Ethernet

 .../net/allwinner,sun8i-a83t-emac.yaml        | 12 ++++-
 .../allwinner/sun60i-a733-orangepi-4-pro.dts  | 37 ++++++++++++++++
 .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 44 +++++++++++++++++++
 .../ethernet/stmicro/stmmac/dwmac-sun55i.c    | 32 +++++++++++++-
 4 files changed, 122 insertions(+), 3 deletions(-)


base-commit: 9437046953b2fb3bf55b36582450ea0267df82a7
prerequisite-patch-id: 19691099774bd3dc41f56585c03ddefb7bdc6f9c
prerequisite-patch-id: 85db03df3394cdcb2780a0da122a74b2c1fe220d
prerequisite-patch-id: a3e883da50bf03e8f522444def66fec7f996ffbe
prerequisite-patch-id: c6889699a6dc13c336ce4cf4659e21b551e9a9fc
prerequisite-patch-id: ef2f0344452092edb2221b93c44a3e82cb896a2d
prerequisite-patch-id: c598480f753e36b7f6230129b864c559b9f185d5
prerequisite-patch-id: f86b468a896a40f132adfcba885700327dff1bc5
prerequisite-patch-id: a733e6bbf6de77dd9f260e65912894fd4d97aa78
prerequisite-patch-id: 090c5ff78d4e2150804aa8d294581cd338b1e971
prerequisite-patch-id: af0aebcae7c38d58354925119c412178b5821b5e
prerequisite-patch-id: beb8a098ba14724e316ff243bdf8e00e729243c1
prerequisite-patch-id: 63342c5ec38e8eb9e55c8c74d3c5a81a630d5f69
prerequisite-patch-id: 1dc8d70f80674c98b2b15d09556dd27f643b20da
prerequisite-patch-id: 4555860586ef50f27bf787a23f6ba693e9c3b0d6
prerequisite-patch-id: 0279f281cd59cf54bceee39b0fa4d0b6a7b87c48
prerequisite-patch-id: 14424bd8324b6cae2b8c4d6840df0db626d1385f
prerequisite-patch-id: 7b42728bc8271e5dfd57fffec47a7f5745eff357
prerequisite-patch-id: 74f5c7d066477024a374a789b3180e841398fb07
prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c
prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9
prerequisite-patch-id: 463b21ab2f50d9ef706fe54a55fb01270855dcb7
prerequisite-patch-id: efb7309a2e35618925b9363c3edff3c429017245
prerequisite-patch-id: e1c857f17ead345129f7ab2becf256c92d26db9d
prerequisite-patch-id: 6e1b76fe66a2c780cb0a387ca34ce5256a753f24
prerequisite-patch-id: 33c19efa1b8c4c074e68af16059964b3c1db5d11
-- 
2.53.0




More information about the linux-arm-kernel mailing list