[PATCH v2 17/24] dt-bindings: net: Add ZTE ZX279128S Ethernet switch

Rob Herring robh at kernel.org
Tue Oct 27 14:48:30 PDT 2026


On Wed, Oct 14, 2026 at 08:20:57AM +0100, Navid Ghahremani wrote:
> Describe the switch, receive interrupt and per-port PHY modes and MAC
> addresses.
> 
> Signed-off-by: Navid Ghahremani <ghahramani.navid at gmail.com>
> ---
>  .../bindings/net/zte,zx279128s-gmac.yaml      | 125 ++++++++++++++++++
>  1 file changed, 125 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/net/zte,zx279128s-gmac.yaml
> 
> diff --git a/Documentation/devicetree/bindings/net/zte,zx279128s-gmac.yaml b/Documentation/devicetree/bindings/net/zte,zx279128s-gmac.yaml
> new file mode 100644
> index 0000000000..fcbdbafa76
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/zte,zx279128s-gmac.yaml
> @@ -0,0 +1,125 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/zte,zx279128s-gmac.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ZTE zx279128s Ethernet switch
> +
> +maintainers:
> +  - Navid Ghahremani <ghahramani.navid at gmail.com>
> +
> +description:
> +  The ZTE zx279128s has a five-port gigabit Ethernet switch with a traffic
> +  manager, a buffer manager and a DMA engine that connects it to the CPU.
> +  Each port is described by a child node of ethernet-ports and becomes its
> +  own network interface, with the MAC address given in that node.
> +

Use the ethernet-switch.yaml schema here.

> +properties:
> +  compatible:
> +    const: zte,zx279128s-gmac
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    maxItems: 1
> +    description: The traffic manager's interrupt, which signals frames
> +      received for the CPU.
> +
> +  ethernet-ports:
> +    type: object
> +    additionalProperties: false
> +
> +    properties:
> +      '#address-cells':
> +        const: 1
> +      '#size-cells':
> +        const: 0
> +
> +    patternProperties:
> +      "^port@[0-4]$":

ethernet-port is preferred for new bindings.

Rob



More information about the linux-arm-kernel mailing list