Article View: linux.kernel.netdev
Article #17242[PATCH 3/8] dt-bindings: net: Add Synaptics SL2610 DWMAC
From: Jisheng Zhang
Date: Mon, 16 Nov 2026 13:54
Date: Mon, 16 Nov 2026 13:54
111 lines
10840 bytes
10840 bytes
Describe the Synaptics SL2610 integration of the Synopsys DWMAC 5.20.
The PHY interface mode is selected through a system-controller register,
identified by a syscon phandle and register offset.
Restrict PHY modes to the RMII and RGMII variants supported by the glue
and extend the common DWMAC compatible list for the new integration.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Assisted-by: LLM
---
.../devicetree/bindings/net/snps,dwmac.yaml | 1 +
.../bindings/net/syna,sl2610-dwmac.yaml | 75 +++++++++++++++++++
2 files changed, 76 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index 2c4842404bf6..267340a5f45c 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -119,6 +119,7 @@ properties:
- sophgo,sg2044-dwmac
- starfive,jh7100-dwmac
- starfive,jh7110-dwmac
+ - syna,sl2610-dwmac
- tesla,fsd-ethqos
- thead,th1520-gmac
- ultrarisc,dp1000-gmac
diff --git a/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml b/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml
new file mode 100644
index 000000000000..0748b623599b
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml
@@ -0,0 +1,75 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/syna,sl2610-dwmac.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Synaptics SL2610 DesignWare Ethernet MAC
+
+maintainers:
+ - Jisheng Zhang <jszhang@kernel.org>
+
+select:
+ properties:
+ compatible:
+ contains:
+ const: syna,sl2610-dwmac
+ required:
+ - compatible
+
+allOf:
+ - $ref: snps,dwmac.yaml#
+
+properties:
+ compatible:
+ items:
+ - const: syna,sl2610-dwmac
+ - const: snps,dwmac-5.20
+
+ syna,syscon:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ items:
+ - items:
+ - description: Phandle to the SL2610 system controller.
+ - description: Offset of the Ethernet interface control register.
+ description:
+ Phandle and register offset used to configure the Ethernet PHY
+ interface mode.
+
+ phy-mode:
+ enum:
+ - rmii
+ - rgmii
+ - rgmii-id
+ - rgmii-rxid
+ - rgmii-txid
+
+required:
+ - compatible
+ - syna,syscon
+ - phy-mode
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ chip: syscon@f7e10000 {
+ compatible = "syna,sl2610-soc-syscon", "syscon";
+ reg = <0xf7e10000 0x10000>;
+ clocks = <&osc>;
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
+
+ ethernet@f7a06000 {
+ compatible = "syna,sl2610-dwmac", "snps,dwmac-5.20";
+ reg = <0xf7a06000 0x2000>;
+ interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "macirq";
+ phy-mode = "rgmii-id";
+ syna,syscon = <&chip 0xa3c>;
+ };
+...
--
2.55.0
Technical Details
Message-ID:
<20261116135442.4827-4-jszhang@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364428-linux-kernel-netdev=dewy.ruReferences:
<20261116135442.4827-1-jszhang@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364428-linux-kernel-netdev=dewy.ru From: jszhang@kernel.org (Jisheng Zhang) Newsgroups: linux.kernel.netdev Subject: [PATCH 3/8] dt-bindings: net: Add Synaptics SL2610 DWMAC Date: Mon, 16 Nov 2026 21:54:37 +0800 Organization: Usenet Network Message-ID: <20261116135442.4827-4-jszhang@kernel.org> References: <20261116135442.4827-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2083082"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:2g6dz6uYqDtWQpADKVqInHBFcbw= sha256:frwTqcJ/1Z4mtsJHoQ+J4TXERGO9QikNm8N1o4ndfnk= sha1:GbW6lxJQfKxDOd6y9WVCKZWNwPc= sha256:BSMNbxA+RB8tUQ+DAA0/gIImAdz3HpZ5PHEoK1rAkgQ= 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 AE8C9114C6C; Mon, 16 Nov 2026 17:15:36 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[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 oiBBFKWEkJcv; Mon, 16 Nov 2026 17:15:33 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-364428-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 10FB2114C66; Mon, 16 Nov 2026 17:15:24 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 5C535602D47; Mon, 16 Nov 2026 14:15:24 +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=1794838520; b=WpQu4r8zcKZQ0FcP0YNdwOGQJdM7hurXYtLGIoVgaNq1XLmSG8JWRQVOf23A0X3nU9X4 mJrszm2wYEUrLZI8HL0xR2AhmL/883pyGBgVy6uQghhZ5k9znWli7XkmQ9wxGfGdAnndB IUuKNCftl4HddAUesmxmQ3ZJ+WT26kqTzifeZrN6Y+x9kLwWjq7Df4V/3PUoOdhTULd5V 7ZMYhBhc35eUkZWQUoM1oWtCnE898N/ufjzym7FUQArrhnDEpkUIi7LwcOtYLPQTbSYn9 FcycozOBIhEmsLFWRUWVF9gJIsM2lxqqrsHhXSS4V1VGCDPVmwRYu5f0XnelirL8EDQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794838520; h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:X-Mailing-List: List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe: List-Owner:Precedence:MIME-Version:Content-Transfer-Encoding; bh=K5NHzVXY3LRAB3acJJ9610fRkwObgwH6kG7Ys1BqKf4=; b=dAxQqNbdu/bvHpF/UIkhkS5rz3Wac4MFsJySs+VnYVGGZqzGUCdAcjv938CpfXyvz3U+ A2eybidI6J40ugbz9KTJTrsDF+uG7QmAmXqZ+AzGEPesT88Y+q8o8rr+6IDc9Ru1UEpYx ceF7iR+4a36ptLDMEfL/3OkH3pmou7jSg7++Qn3TuiN8peFu6M6wl76TM71IkgtKiOC/T W48is4Y30B/cfBxsF+Xl075+pg0/mIPy2NNsGCs4F/pgMxUpdgowzUFpdOFdTbgQeJ4hE CF1pPDsOyV6RtDNMh0YQEWtrPiXOChoF6VaRDYiVkHlJnD7UtBBabxnF27DV44XeUKg== 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=GCmhV8qt; 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 3C152606A88D; Mon, 16 Nov 2026 14:15: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=GCmhV8qt 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=1794838519; b=JS4abebOaT+WYPFhGOe+8BBNLmqdxAJvGwnsj3tWFSoLso4xI+z6WESgiHsBHXNEqhFE xho35lCIn4s0zVLHgYqe9TwfPlHSr1snOOrh79/8mVOtjOMPF2zNqt35cCZ9ab0kfRsWX r9xu0QYFDSKpUL/R3i5C8VnZhrfjTwKuVwWlLVAPzaS2Vhe5+volTeBBVki4fVbMk8TAU lxnh3NH+JkZhrieBgN2PWg4RdZYsGFYP+WrO2diUU4c8F0UNk+u1gi2QMaVFzHrDR4/Gy +vHQ1K6g8yb5zMca7hgqzMdetimZwpJ/rc7rMWkSTjkH3IHrSCEIqEUXvDHs1DfLTrQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794838519; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=K5NHzVXY3LRAB3acJJ9610fRkwObgwH6kG7Ys1BqKf4=; b=tZXmhhwOl3fcSa3WBtBomlKtfNNC9NnQiwkE6c0sck04pjxPtcGa/JlRkrtlzPAljIR0 fL5/Wih9maMGbCXrl+rgU0MlC4s4PPpvJpk9NT3cbTOUvjAMf0MHu43+qvednJ7kDbKRq U9D2N/3RzXPrvyg9YnjhHOme/mg1hoOD3Qs0OxJAM2FTcdQxO4BdkD+xh0h5dpRtWMbur FwP32K3DXO3cn2aj8HPMu1+H+wTnyWGalVGkXc0m2OxF9cdlLUCEGq6rw3zTka2yuJ/Ax Rk3XNPl6zizzsBcOWTqg/Z6V/OOi79271F4fGoeQ07TQEI9wdFz7K4lwJsjOoPQXM2g== 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=GCmhV8qt; 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)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B4DE606A31C; Mon, 16 Nov 2026 14:15:19 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C67A91F000C7; Mon, 16 Nov 2026 14:15:11 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794838519; bh=K5NHzVXY3LRAB3acJJ9610fRkwObgwH6kG7Ys1BqKf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=GCmhV8qttAXwtE2U3WfGcYJoOZxQXn3T24ec0r0wHcRoDrYG24fqdn1QwTQeeIBzr Q9RbjmU2yYDLyLImV3rfJi4dITgG+a70I/YND49iJ+WZJfpWE7vIgpDBcIvfp7Yn/m xOvyVNPJ5N46SHpMArhs0BTb/8j8kgYW0/v/1fMA4j4CpPLe3fIYUL2sEJ/HRrUaPv nK8QQ6XFJUGRaq2fZCitRLP0IpXyFa9PqLA5YBPiJJfS1YuCnwsw1VkBrup34Wpop1 /87SDUDWY+r+SyjN2ZagnW8w4MRtW6qU6VGANJefu2w7ARbGRdtlfhilN6Mu8QMGQF vxAiEmk/irFew== X-Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: git-send-email 2.55.0 X-In-Reply-To: <20261116135442.4827-1-jszhang@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