openwrt/target/linux/airoha
Lorenzo Bianconi e1915674ab
airoha: Introduce support multi-serdes on the same GDM port
EN7581 or AN7583 SoCs support connecting multiple external SerDes (e.g.
Ethernet or USB SerDes) to GDM3 or GDM4 ports via a hw arbiter that
manages the traffic in a TDM manner. As a result multiple net_devices can
connect to the same GDM{3,4} port and there is a theoretical "1:n"
relation between GDM ports and net_devices.

           ┌─────────────────────────────────┐
           │                                 │    ┌──────┐
           │                         P1 GDM1 ├────►MT7530│
           │                                 │    └──────┘
           │                                 │      ETH0 (DSA conduit)
           │                                 │
           │              PSE/FE             │
           │                                 │
           │                                 │
           │                                 │    ┌─────┐
           │                         P0 CDM1 ├────►QDMA0│
           │  P4                     P9 GDM4 │    └─────┘
           └──┬─────────────────────────┬────┘
              │                         │
           ┌──▼──┐                 ┌────▼────┐
           │ PPE │                 │   ARB   │
           └─────┘                 └─┬─────┬─┘
                                     │     │
                                  ┌──▼──┐┌─▼───┐
                                  │ ETH ││ USB │
                                  └─────┘└─────┘
                                   ETH1   ETH2

This series introduces support for multiple net_devices connected to the
same Frame Engine (FE) GDM port (GDM3 or GDM4) via an external hw
arbiter. Please note GDM1 or GDM2 does not support the connection with
the external arbiter.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://github.com/openwrt/openwrt/pull/23481
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2026-05-25 12:41:35 +02:00
..
an7581 airoha: increase the size of reserved_bmt partition 2026-05-11 14:43:01 +02:00
an7583 airoha: disable IPSEC 2026-05-10 23:17:47 +02:00
base-files/lib/preinit airoha: support openwrt,netdev-name for renaming interfaces 2025-10-29 22:01:23 +01:00
dts airoha: dts: Enable in-band status for PHY as21xxx 2026-05-25 12:41:34 +02:00
en7523 kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic 2026-04-06 01:38:41 +02:00
image airoha: increase the size of reserved_bmt partition 2026-05-11 14:43:01 +02:00
patches-6.12 airoha: Introduce support multi-serdes on the same GDM port 2026-05-25 12:41:35 +02:00
Makefile airoha: add leds-gpio and gpio-button-hotplug to default packages 2026-03-11 00:42:35 +01:00
modules.mk airoha: rename kmod-pwm-an7581 to kmod-pwm-airoha 2026-03-16 17:42:17 +01:00