This series adds the Devicetree binding and Ethernet driver for the embedded r8169soc Ethernet controller on Realtek STB SoCs, starting with the RTD1625 SoC ("realtek,rtd1625-r8169soc"). Why a separate r8169soc driver instead of extending r8169: Although the r8169soc MAC originally evolved from the RTL8168 descriptor ring architecture, the hardware IP and software driver are developed and maintained by a separate SoC division within Realtek, and the hardware integration differs fundamentally from the PCIe r8169 NICs: - Bus interface: r8169 is a PCIe driver relying on PCI configuration space, BAR mapping, MSI/MSI-X, and PCIE ASPM, whereas r8169soc is an on-chip platform device integrated into the SoC internal bus (RBUS/DBUS) with no PCIe interface or PCI configuration registers. - SoC clocks, resets, and syscon integration: r8169soc requires coordinating multiple SoC clocks (etn_250m, etn_sys, misc), reset lines (gmac, gphy, misc), and SoC system controller regmaps (realtek,iso and realtek,m2tmx) for PHY bypass mode, DBUS clock gating, power-cut, and hardware autoload handshaking. - Register and feature divergence: SoC generations introduce custom MMIO and OCP register layouts (such as dedicated OCP MDIO access at 0xde08..0xde0c and remapped TX no-close descriptor tail/close index registers at 0x20/0x22). Keeping r8169soc as a dedicated platform driver avoids polluting the PCIe-centric r8169 driver with SoC-specific platform, clock, reset, and syscon logic. Patch 1 adds the DT binding schema (realtek,r8169soc.yaml) and MAINTAINERS entry. Patch 2 adds the r8169soc driver supporting RTD1625 and its internal Fast Ethernet PHY (via CONFIG_REALTEK_PHY). Eric Wang (2): dt-bindings: net: Add Realtek STB SoC r8169soc Ethernet controller net: ethernet: realtek: Add r8169soc Ethernet driver for Realtek STB SoCs .../bindings/net/realtek,r8169soc.yaml | 102 + MAINTAINERS | 8 + drivers/net/ethernet/realtek/Kconfig | 19 +- drivers/net/ethernet/realtek/Makefile | 1 + .../net/ethernet/realtek/r8169soc/Makefile | 3 + .../ethernet/realtek/r8169soc/rtl8169soc.c | 2375 +++++++++++++++++ .../ethernet/realtek/r8169soc/rtl8169soc.h | 513 ++++ 7 files changed, 3020 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/net/realtek,r8169soc.yaml create mode 100644 drivers/net/ethernet/realtek/r8169soc/Makefile create mode 100644 drivers/net/ethernet/realtek/r8169soc/rtl8169soc.c create mode 100644 drivers/net/ethernet/realtek/r8169soc/rtl8169soc.h
-- 2.49.0