🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12373

[PATCH net-next v10 01/11] dt-bindings: net: add onsemi's S2500

#12373
From: Selvamani Rajagopal via B4 Relay
Date: Fri, 06 Nov 2026 23:18
142 lines
14902 bytes
From: Selvamani Rajagopal <Selvamani.Rajagopal@onsemi.com>

Add device tree binding for the onsemi S2500 IEEE 802.3cg
compliant Ethernet transceiver device.

S2500 has both Media Access Controller (MAC) and 10Base-T1S
Ethernet PHY. MAC implements 10 Mbps half duplex Ethernet
MAC. Communication between the host and MAC-PHY is defined in
OPEN Alliance 10BASE-T1x MACPHY Serial Interface document

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Selvamani Rajagopal <Selvamani.Rajagopal@onsemi.com>

---
changes in v10
  - No change
changes in v9
  - No changes
changes in v8
  - Changed the interrupt type to level triggered
  - Added reset-gpio entry that was recently supported.
changes in v7
  - Added the missing review tag
  - Removed the word YAML from the commit message
changes in v6
  - Moved the signed off information to the right place.
changes in v5
  - no changes
changes in v4:
  - added spi-max-frequency as suggested by AI review
  - changed interrupt to IRQ_TYPE_EDGE_FALLING as it is
    being taken care in net (stable) branch
changes in v3
  - Removed URL link that failed verification
changes in v2
  - removed spi-max-frequency entry
  - changed the compatible string to s2500
changes in v1
  - Added the first version of YAML file for onsemi MAC-PHY
---
 .../devicetree/bindings/net/onnn,s2500.yaml        | 71 ++++++++++++++++++++++
 MAINTAINERS                                        |  6 ++
 2 files changed, 77 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/onnn,s2500.yaml b/Documentation/devicetree/bindings/net/onnn,s2500.yaml
new file mode 100644
index 000000000000..fadd656629f1
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/onnn,s2500.yaml
@@ -0,0 +1,71 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/onnn,s2500.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: onsemi S2500 10BASE-T1S MACPHY Ethernet Controllers
+
+maintainers:
+  - Selva Rajagopal <Selvamani.Rajagopal@onsemi.com>
+
+description:
+  The S2500 combines a Media Access Controller (MAC) and an
+  Ethernet PHY to enable 10BASE‑T1S networks. The Ethernet Media Access
+  Controller (MAC) module implements a 10 Mbps half duplex Ethernet MAC,
+  compatible with the IEEE 802.3 standard and a 10BASE-T1S physical layer
+  transceiver integrated into the S2500. The communication between
+  the host and the MAC-PHY is specified in the OPEN Alliance 10BASE-T1x
+  MACPHY Serial Interface (TC6).
+
+allOf:
+  - $ref: /schemas/net/ethernet-controller.yaml#
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+properties:
+  compatible:
+    const: onnn,s2500
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    description:
+      Interrupt from MAC-PHY asserted in the event of Receive Chunks
+      Available, Transmit Chunk Credits Available and Extended Status
+      Event.
+    maxItems: 1
+
+  reset-gpios:
+    description:
+      GPIO connected to the active-low RST_N pin of the MAC-PHY.
+    maxItems: 1
+
+  spi-max-frequency:
+    maximum: 25000000
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - spi-max-frequency
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+    spi {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      ethernet@0 {
+        compatible = "onnn,s2500";
+        reg = <0>;
+        pinctrl-names = "default";
+        pinctrl-0 = <&eth0_pins>;
+        interrupt-parent = <&gpio>;
+        interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
+        spi-max-frequency = <15000000>;
+      };
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index fe23913b1e43..92053fd89bb2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -20999,6 +20999,12 @@ S:	Supported
 W:	http://www.onsemi.com
 F:	drivers/net/phy/ncn*
 
+ONSEMI S2500 10BASE-T1S MACPHY ETHERNET DRIVER
+M:	Selva Rajagopal <selvamani.rajagopal@onsemi.com>
+L:	netdev@vger.kernel.org
+S:	Supported
+F:	Documentation/devicetree/bindings/net/onnn,s2500.yaml
+
 OP-TEE DRIVER
 M:	Jens Wiklander <jenswi@kernel.org>
 L:	op-tee@lists.trustedfirmware.org (moderated for non-subscribers)

-- 
2.43.0
Technical Details
Message-ID: <20261106-s2500-mac-phy-support-v10-1-31b5a69b85b7@onsemi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-358219-linux-kernel-netdev=dewy.ru
References: <20261106-s2500-mac-phy-support-v10-0-31b5a69b85b7@onsemi.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-358219-linux-kernel-netdev=dewy.ru
From: devnull+Selvamani.Rajagopal.onsemi.com@kernel.org (Selvamani Rajagopal via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v10 01/11] dt-bindings: net: add onsemi's S2500
Date: Fri, 06 Nov 2026 15:18:47 -0800
Organization: Usenet Network
Message-ID: <20261106-s2500-mac-phy-support-v10-1-31b5a69b85b7@onsemi.com>
References: <20261106-s2500-mac-phy-support-v10-0-31b5a69b85b7@onsemi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="4000544"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:7uUQUSTaHTGq6FYkQCQgAHCvSUs= sha256:kjhaIPEoMxrSg0H2gRI6mM2CfIVNUj962QrXmrUHsUw=
	sha1:ivNxSigmBZj3GZzIqI67apfL7C8= sha256:uahuJoyA66OUfnplM2JUXBc85xoF1JMmgx1sCJsLP7Y=
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 1CED311337F; Sat,  7 Nov 2026 02:25:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Status: No, score=-2.301 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] 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 Tg00rBxGS5IX;
	Sat,  7 Nov 2026 02:25:06 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-358219-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 4F24B1132E6; Sat,  7 Nov 2026 02:24:58 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 4609A31ACD; Fri,  6 Nov 2026 23:19:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1794007163;
	b=iPnEjHercGcN2ediSzbwv/sD3TyJ5z62Ga5ng+gH1pcoG3IsLd2SUTV5xd07TVgNFEE5
	 Jkr2erbdiIekDazPHk13xFUHpVBGEyttQ8eNJZA7UtpWMf9H3WrMot0v3kReMzIBBvfvF
	 BDO/OtY/NNEEA9zNpYwa39fPkYIU8+0keYqjAwxgLxGaepIiuV/L1J5d2m3u3HjMRiB6b
	 gHKnZjmauslIaYwghNGI7+i1y79fA69cn6rgjiNJPLUozIUNRqiifeiYHiFT0aRE+sQ/f
	 uUzr9QthhdRBtBmKSNv3vM9krerlfs6NjMcL3ER+o6lBtY/lMEwk+aUhF8nx4FZvzFw==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794007163;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Date:
	 Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=R324iPA1nVnX6XySYR0RG10HRqpn4NvGFx/Uev8VlXg=;
	b=L6NYuuQUoi9PYcoI/YtdmyZQvJDQB5wU/1ydGvVf0IJeCQkNcZ6lq67inQC1X1DmFwMK
	 posCfEkzjFR51DiWNO1xlawizSBsB3fm2PPLivok8iu0QfduvbZ5m2LW5siqFgKa3bO/1
	 H3feWjhx08wmu0Sgvdf+RBP3Iqb6b1kdIdUp1KrvW4dBkuoRX7/UIf64V+5kmVU4jN5ol
	 GmZmTJp0jwcYXM5/h8qUrHz2sBkyEkNUncuuY/hF+ctNdNdYAYnDVbC9pfAErs8rl1qQW
	 OxdhKk58rQ07tNhAV9AimXXo5dmvv4QDW+q+eWKtVC6xTGJmrT8p1LWDYYwNAamyunQ==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="H2t/+RRv";
	arc=fail 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 EF080606A331;
	Fri,  6 Nov 2026 23:19:22 +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=H2t/+RRv
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794007137;
	b=YTg9EDo4PCcOi//AMHzvVcVqbGwUtOQVEEI7VK5XDpoLExbUQR7oPijGLD1nvXGbyo1Q
	 ZENHdpSyf5mcb7431BPJ1aFZd+jRjbAC/tXhWPG8ErgyYm4sJIMYtcHBSOo93kYYqoM9O
	 uUVPx4by/lKkAxZND0W7emvB6UVYwO793gi7fP8qrSNfXuevi9txM6KONm5De7/dZYZXk
	 z/0eT6HI/m1AMlGNIEgUz6+ny3ZuKzUA4hqRUIQvAFIyrBUh3047vffKgrnUbtegZRI5L
	 fXDXSiixNbaDiAGnAu+wz+6jlpSB2x0v2HiciuMlXoUvkqYsrKP0Go41BePzD/iTQrQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794007137;
	h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version:
	 Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=R324iPA1nVnX6XySYR0RG10HRqpn4NvGFx/Uev8VlXg=;
	b=Rh262s0rCdcTJjAUpFZ0vND/zBhTA+34rFiwH/AXwztqeg5sRhW4ozQme5CIZEnOnYLr
	 ZTzsXrsLQHlNpx4YGvBQaTdNvPnU1qm+svaZdh7JrruH4YZqgKXuPwkNFlwk+rhPB73d4
	 mQGSM+yRwF2qEdV+S07doha/sG+BkcYJdzwQNMRDAP74i6T9Bl57Wz0hEBdg7y7aEERw+
	 0HK58h5Ca7hqbHhUmzED6AwzPpIRnKZwcXA5bSHQ6T6kGzX/8Psgkvvaii8B0VqCE340a
	 51WBEezIfFGFlrUVJBqmv64rsavYQt+EHoYcEIUw1b1DsvYt7h4nTOVXe/zZ5Sw76Yw==
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="H2t/+RRv";
	arc=pass header.oldest-pass=0 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))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3C98606A32D;
	Fri,  6 Nov 2026 23:18:56 +0000 (UTC)
X-Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77
X-ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none;
	t=1794007136;
	b=ptK3xFO6oa3+4hXmpTbMg68kVr42cz8VDb2uO0KCG9LUY2JOUBJAXT9U5Uvbhf6f39ZO
	 6RJx53dStCvOhycp83a/1UCplXwLF16NbZcwdVRoGtma0ObAfjvvs7BFsaXLunb7CuAuj
	 pQcaSBCuzJH36VGaT3nodMuiSfDK5qJ0QIuvODk0EXq2Skph8eYBPvEVBq3tPk2W9gnvD
	 SEnf2IubtXeprogRnHNYcdSD1gYEXlfMEptG9Tnz3gQNt0YqEtM4qGjyovopicExLCNTN
	 aIXk+N2IKSCAPGSJDqT2GpRVcNmuqneh7tQpOojgr5+ofFdL5PZvHOBzBq8cS9elluQ==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1794007136;
	h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=R324iPA1nVnX6XySYR0RG10HRqpn4NvGFx/Uev8VlXg=;
	b=J/D2rK1lwJAgLHJX3Tn0NxijN1m+mcnOfkATBdH5bOHXnvk3bfV3Fkhlrf2R2M8Y9jOV
	 LqqikA3SifrphrSCf2EweFUjOY4ztKvP712kIiUQcr2KhxOVk5RTUeLAsay2i+aTOFmrc
	 zDNC3/CYdGbzIz2XcODhT39x2XLfxUYvVfCuLVflRbYd22df8EmGECGn3chlR93iYYDN7
	 SQKNGichqaQDzv9xc1EfoTTcncM3HTo6ba2oAVv7OmwRoJiskxssXcSiClAdTN5toF3p3
	 SuewFPXabvC1Z3Sqx+DfrBnI5efZEjSN8wQSbrGizJ6IV3RQ4JQpCeQw/UHHvOk0Zwg==
X-ARC-Authentication-Results: i=1; smtp.kernel.org; 
	arc=none smtp.remote-ip=100.80.115.77
X-Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77])
	(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.kernel.org (Postfix) with ESMTPS id 6F5A21F008A3;
	Fri,  6 Nov 2026 23:18:55 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794007136;
	bh=R324iPA1nVnX6XySYR0RG10HRqpn4NvGFx/Uev8VlXg=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=H2t/+RRvrPiMiZCRoRdSTldjoBErTzDSi2c7hWtMZYZp4WQfiwjPt0MMl6JQIscXI
	 LtVm7047U4NDe4yuGeAvwl3mPDkmt56vlVjXgUDROTxBMO58D1C6/xYqLr1hazFrZ8
	 PbYtbWKKtB5HSLnYdH4NbmuFZ/XxDBZtEYxvIMOv2iL8s/MyP9ms6HZmcgOhv4Ey2A
	 UQNGH1GqKC3bKaqWGzpKab3twe6ad/si1y/65RGs4VlbgNeWXJarrwFKLtZCqnpB9j
	 kz9OnnUssd99+AJRd9YnbB7rp74by+K87NQ1EDRh7zi6oh2mlAYznnJqGp6HgF8JfX
	 A6hMM+BxlpMvQ==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id D73B3478C0;
	Fri,  6 Nov 2026 23:18:54 +0000 (UTC)
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: <20261106-s2500-mac-phy-support-v10-0-31b5a69b85b7@onsemi.com>
X-Cc: Selva Rajagopal <Selvamani.Rajagopal@onsemi.com>, 
 netdev@vger.kernel.org, devicetree@vger.kernel.org, 
 linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, 
 Jerry Ray <jerry.ray@microchip.com>, 
 Ciprian Regus <ciprian.regus@analog.com>, 
 Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
X-Mailer: b4 0.13.0
X-Developer-Signature: v=1; a=ed25519-sha256; t=1794007133; l=4285;
 i=Selvamani.Rajagopal@onsemi.com; s=20260531; h=from:subject:message-id;
 bh=hdOOixoEOyjlodDhMqEkzNZDkNngr5knmgPzc+o/5Uo=;
 b=gU0ZoLCli6m8aUX0OnrCBb+e0AIq0lMiVls9heMe/s1eRscUDok5EELELjtZs/p8DI73TTOL7
 +HhMa4Y/OrtAMuAkfDKbiSSIP+89KzM+C/Ckyj93jPclESPJ6H1w3/v
X-Developer-Key: i=Selvamani.Rajagopal@onsemi.com; a=ed25519;
 pk=5QRdM0HS/LGWWcUZZ9hVfZ+qbPQGZCumcTXOiN7Fyug=
X-Endpoint-Received: by B4 Relay for
 Selvamani.Rajagopal@onsemi.com/20260531 with auth_id=803
X-Original-From: Selvamani Rajagopal <Selvamani.Rajagopal@onsemi.com>
X-Reply-To: Selvamani.Rajagopal@onsemi.com