🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25906

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

#25906
From: Selvamani Rajagopal via B4 Relay
Date: Wed, 02 Dec 2026 17:37
148 lines
15088 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 v13
  - No change
changes in v12
  - No change
changes in v11
  - No change
changes in v10
  - No change
changes in v9
  - No changes
changes in v8
  - Changed the interrupt type to level triggered
  - Added reset-gpios 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..e1df674c0f1e
--- /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:
+  - Selvamani 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 9336fa93ce38..1b3698d696ac 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -20998,6 +20998,12 @@ S:	Supported
 W:	http://www.onsemi.com
 F:	drivers/net/phy/ncn*
 
+ONSEMI S2500 10BASE-T1S MACPHY ETHERNET DRIVER
+M:	Selvamani 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: <20261202-s2500-mac-phy-support-v13-1-a2908fad2693@onsemi.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375962-linux-kernel-netdev=dewy.ru
References: <20261202-s2500-mac-phy-support-v13-0-a2908fad2693@onsemi.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375962-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 v13 01/15] dt-bindings: net: add onsemi's S2500
Date: Wed, 02 Dec 2026 09:37:44 -0800
Organization: Usenet Network
Message-ID: <20261202-s2500-mac-phy-support-v13-1-a2908fad2693@onsemi.com>
References: <20261202-s2500-mac-phy-support-v13-0-a2908fad2693@onsemi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2021999"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:YrhL7pR6N7ScYQxiRivM3IXqcQ4= sha256:zSGvCdJyPgJ3hvKQmnaYwMKU+47fxTQjllbE7nT8JKc=
	sha1:19tXzp70hx1ASmoFoLkhEOokmPQ= sha256:O830TYJ85PUe15cjtozBjzxREemGQs73KumlvU97wY4=
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 F249A1176DC; Wed,  2 Dec 2026 20:39:07 +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 6XUJFswske1h;
	Wed,  2 Dec 2026 20:39:03 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-375962-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 9179A1176D9; Wed,  2 Dec 2026 20:38:52 +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 7B3272D6D7; Wed,  2 Dec 2026 17:38:36 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796233100;
	b=VkPA58Qv0a2+3nMsnIN0ielKyO/QmwjDRERHUNiYgPr3zEVnJAVQAZgOijpFiLmOx4q4
	 k/al2v3YjdLWWWnJGjfO2WYD2Xe4yVUW2GZc2czzLna2OnLOwZEaLEd9uRf2vbu+MZaER
	 OQzL1yNuHKflWVN7FfSo8h9HGuHdOMnPmW4LMNCjAKVLV/ryU/OsZdgUjymDqm8KrCDTb
	 5ugS99swe+Z7fRFLCTVZJZS0NrUzM8uIXSQvvWizXk54smilvDEJXpbpvm5xNa4zLi7pY
	 WsWZm/N0Px3L7AoCegKTFMtEcNVw2qi2p3bYtLxrPUa1TdnAvhP9UtmOEGb+Q/tjm/A==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796233100;
	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=g5LIR6AyNwEV33/DNzrJN0MDNlZsLcVmD2jKmxok8tI=;
	b=WgcP6EuHzeptZ0NV+xEHJ4Ii74X+hd4UzuC/znHhWhzFSsA8Uxhb87mscEzGEq/qaKL5
	 Mv0OJXKYLh799AruL1lTaPOlmkkHRvBntqRVJqURLzw3WZGbd5vYqH91N30AsqtvUH5qP
	 GVmO61qzR3rXz5D/TbGnNhHVsvk3dRPHrIoxvtt9+mTJl3H30kHmm/RA9lVqb1tFPXNvD
	 hOkif4vmZFMv5QT8NKqGr/Pc3LrRJHTL4BMMNTFqcJ3kxqUzVcAiVemAPFl9/A5z+6+HY
	 58JMywgOibE/TqaYxkq217Ce6efLrO2ho0WWphuCp+EHzARdEJrGa5FhwEmsFxeuGlA==
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=LECCDBIr;
	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 4C4A1606A697;
	Wed,  2 Dec 2026 17:38:20 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LECCDBIr
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=1796233094;
	b=QBarTQfhus+MwybuURtkp5Sx8AmhSeBux6oRj5i/2iT4EGy73IGz/YRRk+Iu7GnJwhLX
	 aVCGoVLF52Ky9O01L2yaV50FlaDakTegS94qG0p2ROdIHJKrGm8J26cHUulnbU1R5SvV/
	 KZnEQ4Kn9nbf09bLZJSkHj7xvXA3wvNnObOYq1cjbgXrREWITLfY1eer8YgBWsl390V6D
	 4oeiDsqw2ml/FzlcaNFLnqkG8Sh1l7qvWPc0ALY3eVZwYgHTYdejwAyeNWUELmBDccepd
	 8jTB0CyCd8vxgBYce1jS81XGWSnIJ2/Ov3BJU58VK5gSs1kFRTmcFfeqXDM/ctT4udw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796233094;
	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=g5LIR6AyNwEV33/DNzrJN0MDNlZsLcVmD2jKmxok8tI=;
	b=obZXFKsycP/+eExqpy+lyRxsNG/zOUZwOibgW8RcG3NHQ7za2rtMueNOeC1OyZ79TC+R
	 D+PvMr6bRGnzoBvln0TFKIErtMlydzgsq+lnkv6BjdnEmMsAcl8GEyvHTXcM5rduTFqPD
	 m5QPRboOxFqSgBvaBUz3OE99GE96Edat9vlJ5i98YLBGgNkic7E4iXdKbohFzz7Xvtji1
	 sCoaezcDEfhVi6PaTEZ/6E08VsnLwtKTBoWHYx7rnNzwBE+U6TloE4cRyrEspwbQIJ3HS
	 WqEECFJkVccJF7lC6XizlVhq4N/e7X0zrYcER9ECJk5VwtzGQC/bNGiNFaCXCn6XOcQ==
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=LECCDBIr;
	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 63D60606A685;
	Wed,  2 Dec 2026 17:38:14 +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=1796233093;
	b=QPwD3kw1VsYT3E2hEj7Yzmd07T74BtdhtmwYyXs7hxqjO9p5ztRCI3FcQsaDyXGCn71m
	 Wxxlo2mk9IVKNvJrZvRHz+VtdHRAw677cn0aA4w+LNoR45XykDrOe8T/+odm7vYZItuwS
	 VVeM7vZd0XsPYtV98ObAXGxsl1rJgxo2Cn38HQJ/25+0PpJLORQHg7l+58AisojepOek8
	 IL3ec0cmO6pjNTflKYrU55tFy8nwUWiNp/oXrf0CWknUtbOShgeOkLQDA+D7ST4lBYXG1
	 1774bw1CNecA48Q2qWUJtL/fzmUfawrGJD0tUSSsvJJPKP7JmMuHRl7Py+rJavS+n2A==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1796233093;
	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=g5LIR6AyNwEV33/DNzrJN0MDNlZsLcVmD2jKmxok8tI=;
	b=qzplTeMjyTJNoK7xGySSHJo9pHjjt/E4/56gVfXjL6cQ35sLsumAW5P3/U4P7CTMpyxl
	 T7DOsdw+Du2kDbUb99vfWCmpCI6NTQjN28IKn+oFTjmYZcl9IC5vkYzqB5GfQoyHUvEHV
	 sw7aHmMA+ALbsfug0vG25WEcstT+HfC89Z9r0cgIeqrIwZEQP7SPln5W4U+COb94Hzuq1
	 IrkXam6h1dIMnLR/DlgMf4e3oP8QcG8oFUqBwx1busziTFyVtS7qAtuYnsqBxuqEATmzP
	 B4J8z5Cbl3o14oPXCWCCUe+iq0q442XzpRc+m3LU6TbqviyMM75IXgZbK9yewtAP7BQ==
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 DF8681F00925;
	Wed,  2 Dec 2026 17:37:51 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796233093;
	bh=g5LIR6AyNwEV33/DNzrJN0MDNlZsLcVmD2jKmxok8tI=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=LECCDBIroLiU6wkJEtRxEwT8Mfh2xO6RP45/y1wtiLrxB8anBJ+uIj3y6MmXYurzd
	 exiHuMmp6lJHEw+hBALaWUYvQoAc8/Do+Zdg4JKfabweWIaQdgHKZzFRckH9GJAcDS
	 kF+oSPxz/pozh5WBil9f636fteD7A8pGU5BNNCKMGBmWMCrrVXIDl+6WpdZHHG+Dae
	 86AQyafz2mWMtqnuFAa4hzC1Ljn02bKjMtpydKpdc2R9UTErszkqEuh5/8/XdF0lp0
	 KHE8BS/SndDRFYqodpVQo2wsMFAWlHZgs2eWLqvQQ4qdo/r1N36RwC/Dg60frxuIOv
	 jhT0PxNo8AsgQ==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id 6AA1A4F589;
	Wed,  2 Dec 2026 17:37:51 +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: <20261202-s2500-mac-phy-support-v13-0-a2908fad2693@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=1796233065; l=4386;
 i=Selvamani.Rajagopal@onsemi.com; s=20260531; h=from:subject:message-id;
 bh=ySp7e7DalHFpv9C9x5GgrUGj2xgk3KLE6+Kn8OeeuT0=;
 b=8YrMuKLTVKbUzjwJLwPnSzBdrqIZliIC/IREGX/PZTNzVBuVdgFd7lNk55weVvZDFbzF4+KSq
 gAB/ruq0p4kBrfDo4weZBlrtQ7QM8dZecEar1eE4aZoFUBRO1AtOLh9
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