Re: [PATCH 2/4] dt-bindings: net: dsa: Add SoC-e switch IP and DSA bindings

From: Andrew Lunn

Date: Wed Jul 29 2026 - 13:58:47 EST


> +description: |
> + This node is the MDIO-bus device entry for the SoC-e DSA switch driver.
> + It is a lightweight configuration node that lives on the MDIO bus of the
> + SoC Ethernet controller acting as the DSA conduit (CPU port).

Must it be the conduit interfaces MDIO bus? There are boards which
exist using Marvell switches where the MDIO bus of the conduit
interface is not a Linux MDIO bus, because it is an intel i210, and
intel likes reinventing the wheel and does not use the Linux MDIO bus
infrastructure. So the MDIO interface of the switch is connected to
two GPIOs and a Linux bit bashing MDIO bus is used.

> + soce,num-ports:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: |
> + Total number of switch ports (external/user ports plus the CPU uplink
> + port). Must be greater than zero and not exceed the selected IP variant.

Why is this needed if we already have a description of the ports?

Andrew