🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8031

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

#8031
From: Rob Herring
Date: Tue, 27 Oct 2026 21:48
65 lines
10000 bytes
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@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@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
Technical Details
Message-ID: <20261027214830.GA1267186-robh@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352624-linux-kernel-netdev=dewy.ru
References: <20261014072109.1759502-1-ghahramani.navid@gmail.com> <20261014072109.1759502-18-ghahramani.navid@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352624-linux-kernel-netdev=dewy.ru
From: robh@kernel.org (Rob Herring)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v2 17/24] dt-bindings: net: Add ZTE ZX279128S Ethernet
 switch
Date: Tue, 27 Oct 2026 16:48:30 -0500
Organization: Usenet Network
Message-ID: <20261027214830.GA1267186-robh@kernel.org>
References: <20261014072109.1759502-1-ghahramani.navid@gmail.com>
 <20261014072109.1759502-18-ghahramani.navid@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1640677"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Q65SLlJKs8KtU7h/KYXUgDPf6PQ= sha256:FHceoxqvByh114qBw8QoW7YgfNyJOApOLLc946ckkWM=
	sha1:4Qc0r92E9DoEACz8va4JIWJE7Ag= sha256:bGhh1sbmrDCTEgk79EOw0z0loo6Nx2NMsfnWs2Ee7lI=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B2A6B125C29; Wed, 28 Oct 2026 00:49:48 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.3
X-Spam-Status: No, score=-2.3 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001,
	DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id FbsU-mPZd5eJ;
	Wed, 28 Oct 2026 00:49:45 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352624-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 407B0125B0B; Wed, 28 Oct 2026 00:49:36 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 319F12BCE1; Tue, 27 Oct 2026 21:48:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793137725;
	b=AY5ye2Rj2MD3ogFTIka8ebvD2JaqIdzXojJSxIniOIScWBYIOjwvv6VJ8xAZJfh9gwD9
	 S6P+d7AXiqBJgsEV+TdtXT2Dfuzsrv4wMkkqQjnco5XTUZ78XX/q99XQwcEDkAcW9V3Sc
	 Xfah0tnA6CGpzEAf1CePBJ8bAZk7GxJwV5laQ5I6CUis0xnmAAxrIgO/T7RtfxndFfbxg
	 GDt3i/wmi89LkXWcCfCKljlIIxf/eHyQ3rHgYA5uQiKJZ0GeDPGKdSeIdyn1fgtNh5vix
	 7qZD0g7mXcRcabDi+5JaPksBnYObXm6u+5UcLEpm3GlPUL6AjAO0Amv3ihO2zxleIcw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793137725;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=iZPro0Zetz+CfLgJB9N6QxpD/1Z6TlyduqwjCEpWEDA=;
	b=tp0h9EZDg4vEnng1taTtTP/AHZvmAEqNv+X8wJyVXh7f7CxCtffFJgTTwcGoZStRGJUH
	 3vwfnDcmrpBWMIoKINw6DQf/JuAi3oVG6nFYaoZlzh17puo8eu5rIq/ctbeymyGSF+sfm
	 FEy+Ffh2SOWquvmqCx80gIgJyjwsdxSo79v0GjIGC56c/2T8KmUXL8j+kyYBbO3Dn54BS
	 Xy32ObEZ/v4JvFYUGceGSqLesXlcemb0tJhhGUhy/iznOQeVV3Mm9KgSHEhXLP+hOwEb3
	 otMB1zqUWArBF1YKNxupkpd0N3h8MWQ7vptRMu0YVLk+Xk7fGU3u0P3omKA7w9S8u9Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=frurcEEY;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 54253606A322;
	Tue, 27 Oct 2026 21:48:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=frurcEEY
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793137714;
	b=RLgUOJzqCe27EPGnj5sgV/zJ4nQJZSAFzTUWhuc+ij7jrRbflGC67461WFQUzjsUkElx
	 UE1ZlnoYbdtvrNyiEflOIcPMkpoHRzzy5AzVPh2yGOPAnasf7hRl6uSohwaQEA2maDVaz
	 AS4cXFKVCrbBDCJTxdEFO0ky/2FqCVP4c55tNUpY93kjg1C9jZXpuDLwWqPuE7D+wYd1M
	 /AMq9IWM+0q+4LTjnaf1iPjjeZMSnlA7n9v+uEzOLjKESmMn2XAv6Myh6HGtQWacLiXhx
	 sjTwG/w5RTBFaRxIx4sFL+qP/kgnY+wk6qL1i6EgEkVo5KTkMyzNvvVXEvkSDbLSR1A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793137714;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=iZPro0Zetz+CfLgJB9N6QxpD/1Z6TlyduqwjCEpWEDA=;
	b=mjjbXCbKvD5lDSkeWebDn+RI7lMi0BGTph0YuDd1P199l1aEAGVqdwwoWXotFcutqEJS
	 JcyziZiE2kNMFogJ/8niVFyggechAJ1/E2ssYGix1TtxelYkbHIesVfaWoJ6LEHWkvbER
	 Mbalntd39J1Hhp1NOH6zze5qMBDdu2OOgiucuicUgJVnk8b7sseVcnwa4hZOu7/Pq1jeY
	 xycEmG2uDOKf7mKW9kXyxPgfp2LrM8zVenYEgQ0+GAVUPnr17HZDmwn9uUouCiFpOPnel
	 6W3Z9+rNvJ16jJIBPKLch8Sw4nmSSKJSm7N3UUfRe/D1r6MU8IXLStWhqnDZ/1LDSWw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=frurcEEY;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27387606A325;
	Tue, 27 Oct 2026 21:48:33 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F37F1F01825;
	Tue, 27 Oct 2026 21:48:33 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793137713;
	bh=iZPro0Zetz+CfLgJB9N6QxpD/1Z6TlyduqwjCEpWEDA=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=frurcEEYXOjzDEHQAq29BDBpzxuur7lknBF06mjH2ouf6yf1jbsOG87mTDnHD9Iq9
	 FBvEbozbz7L6dTDak0dBzX4S333EiTHlQHphpv2Y/nqS0P+m6j6tidyznWz8feoifE
	 V6TCaEO/yhxN58AM8FtIfCVGwChnhXjJltgNlFDmyjtICbDgdGVs0Ik3U4fjlsdNRZ
	 PqwlsEjMIcYoJIZciLGWZM+nIV8w+uKqMUHouanS/pTrSQNjFE4JFN5AEJ9RRj0tHM
	 FGsHndDLwJXRZt67DVrhZLY4USBQs2T/dHJEZnkXlbLi4bGzDnAnt/6lkm+4EDlvM4
	 zVp+21+x0Natw==
X-Cc: linux-arm-kernel@lists.infradead.org, arnd@arndb.de,
	stefandoesinger@gmail.com, krzk@kernel.org,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, netdev@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261014072109.1759502-18-ghahramani.navid@gmail.com>