Article View: linux.kernel.netdev
Article #11755[PATCH net-next v4 3/8] dt-bindings: net: dsa: Add SoC-e SWIP switch function
From: Vasilij Strassheim
Date: Thu, 05 Nov 2026 14:16
Date: Thu, 05 Nov 2026 14:16
114 lines
12454 bytes
12454 bytes
Add a binding for the Ethernet switch function integrated into SoC-e
SWIP cores.
Signed-off-by: Vasilij Strassheim <v.strassheim@linutronix.de>
---
.../bindings/net/dsa/soce,swip-switch.yaml | 96 ++++++++++++++++++++++
1 file changed, 96 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/soce,swip-switch.yaml b/Documentation/devicetree/bindings/net/dsa/soce,swip-switch.yaml
new file mode 100644
index 000000000000..daac779c466d
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/dsa/soce,swip-switch.yaml
@@ -0,0 +1,96 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/dsa/soce,swip-switch.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: SoC-e SWIP FPGA Ethernet switch function
+
+maintainers:
+ - Vasilij Strassheim <v.strassheim@linutronix.de>
+
+description:
+ Ethernet switch function of the SoC-e Switch IP (SWIP) FPGA core. The port
+ count and presence of VLAN and STP register blocks depend on the FPGA
+ synthesis configuration.
+
+$ref: dsa.yaml#/$defs/ethernet-ports
+
+properties:
+ compatible:
+ const: soce,swip-switch-00-04-0c-10
+ description:
+ This compatible identifies the register layout; its suffix gives
+ the offsets of the core version and feature identification
+ registers (0x00, 0x04, 0x0c, and 0x10). Port counts and optional
+ features depend on the FPGA synthesis configuration and are
+ detected at runtime using this register layout.
+
+ reg: false
+
+ reg-names: false
+
+ ethernet-ports:
+ type: object
+ patternProperties:
+ '^ethernet-port@[0-9a-f]+$':
+ type: object
+
+ properties:
+ reg:
+ maximum: 30
+ description: Switch port index, from 0 through 30.
+
+ phy-mode:
+ enum:
+ - mii
+ - gmii
+ - rmii
+ - rgmii
+ - rgmii-id
+ - rgmii-rxid
+ - rgmii-txid
+
+ required:
+ - reg
+ - phy-mode
+
+required:
+ - compatible
+ - ethernet-ports
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ ethernet-switch {
+ compatible = "soce,swip-switch-00-04-0c-10";
+
+ ethernet-ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethernet-port@0 {
+ reg = <0>;
+ phy-handle = <&switchphy0>;
+ phy-mode = "rgmii-id";
+ };
+
+ ethernet-port@1 {
+ reg = <1>;
+ phy-handle = <&switchphy1>;
+ phy-mode = "rgmii-id";
+ };
+
+ ethernet-port@2 {
+ reg = <2>;
+ ethernet = <ð0>;
+ phy-mode = "gmii";
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
+ };
+ };
+ };
--
2.39.5
Technical Details
Message-ID:
<20261105-devel-vstrassheim-soce-dsa-ml-v4-3-02f3cde2afa1@linutronix.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357428-linux-kernel-netdev=dewy.ruReferences:
<20261105-devel-vstrassheim-soce-dsa-ml-v4-0-02f3cde2afa1@linutronix.de>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-357428-linux-kernel-netdev=dewy.ru From: v.strassheim@linutronix.de (Vasilij Strassheim) Newsgroups: linux.kernel.netdev Subject: [PATCH net-next v4 3/8] dt-bindings: net: dsa: Add SoC-e SWIP switch function Date: Thu, 05 Nov 2026 15:16:47 +0100 Organization: Usenet Network Message-ID: <20261105-devel-vstrassheim-soce-dsa-ml-v4-3-02f3cde2afa1@linutronix.de> References: <20261105-devel-vstrassheim-soce-dsa-ml-v4-0-02f3cde2afa1@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="3653951"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:HhuCq6x8hyfDMbIfe5hnZLfFvno= sha256:XmTUGpUK1CMWTPRhAcGm7jmjTS7qPAoO2kK325GLHzQ= sha1:cSztjAh1s8FAr4AqkThtIJoN/SQ= sha256:d/O+rNwYr0Tcpob7UwsMyzGT0g96qYS8peA6FdKYnEw= 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 C33FF112FCA; Thu, 5 Nov 2026 17:25:04 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.05 X-Spam-Status: No, score=-2.05 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=linutronix.de header.b=0TbWIw15; dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=linutronix.de header.b=Xroi6Sbz 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 hN7K8VzLAMDX; Thu, 5 Nov 2026 17:25:01 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-357428-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linutronix.de X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 1FBB0112FA4; Thu, 5 Nov 2026 17:24:48 +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 B3F4260EB94; Thu, 5 Nov 2026 14:18:42 +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=1793888260; b=UE8hReJiVzGxwGaA4QQ3P5niwN9OlGxCFEi0G/cp/8PTXchCsy54O4PnyVe77ub8/y6u dKgRkVU+ubhg0jf4efjROTyQ2E6EfDF0ZSt0yL39Hq5EZ/S2WB5J9yjjUT0nPLFle5qg5 A2tPUCU3YCM2tdvBjc3cWzjioMyp0zKeTeIEINJ53i9ZhxsSxoaPUXXYpyIz1xt+83Qem 586Hw0YzXFZotybMrygillx7QhcWs/nc9GqviSS80173UD6q7DAt1LdJDQseVavK9HHPC VYZ95MIcxvSRKMfXndoQKuemjvtzrOjGrXgSGhATCP9lx+o7DeP9x3CbaWvM8DR+oog== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793888260; h=X-Original-To:Received:DMARC-Filter:From:DKIM-Signature: DKIM-Signature:Date:Subject:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id: References:In-Reply-To:To:Cc; bh=Zm1SeUU+Jxb7BuZJDD+o5hL962TS6FgnURIAybrs8rY=; b=O5W31htnw1luKy1I52FByTUTGCYHP+uniT3XgmN1TXEZg/9pzuoq4wkJNWHBV/VKE4GM WoA7ezozEt8VI13XPuFpi7nf44ldEPxgKsXzM4lzRKaAwa5mR88kuf6A4CqxLQkbnKVKd xSwu+7e3duq4BwEra9PybRkdC6Hs6WeyXi6T+dtKumeqJnL+QszyNFbjtIQti+dy5/+BO ovXRkGqC8hHhQ7wrJ9p3+yk+P53qw2+75aZcGczTLThr3ediYmC8zYgZvzp6QLhVJPRNG HDQ3DlJ4jIc0dv3kq/HuDnu41hKsQvt6m25LNp9lb9xAPIJ9A+g4a64LMGJGniY1Bng== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=0TbWIw15; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=Xroi6Sbz; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; 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 BF6EF6082BE5; Thu, 5 Nov 2026 14:17:40 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=0TbWIw15; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=Xroi6Sbz X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793888249; b=KrxeNbyc6vz2CFnQiQCxv0mUySN0fJfHDEAMX/znLe2AFZA8g7JzbBlAHOyhoquS6m3P UF5zgVLs8GHdlN9XQyFUzUM1zAl87F49dIrzxjFYKO2qmsPItwN4ePDfsI+Luuof5DmCU KVJBRDdiPV0gNLUSxCj41GSArBUz3vcw0IUAGmwQfN87jdWW3b0ho0AZxUpDUYbZkf/I8 aX032WPUrFu6ruYbQiSkr1EMxUVtxTypgUMK5AHHjKxNQYpw0RBMPi53hesMlFOGJlKPu eq7zG7Adoh5SS+Toyr8exnuaFdRIb5G/TM/+uoseAA/r6nOogtd+ywFASy58kvR6qoQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793888249; h=DMARC-Filter:From:DKIM-Signature:DKIM-Signature:Date:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id: References:In-Reply-To:To:Cc; bh=Zm1SeUU+Jxb7BuZJDD+o5hL962TS6FgnURIAybrs8rY=; b=QB4KsG0c6vL0ZLDmkBKORbn0UmBgOmgiOVHbbuLqGWsIwKVrMFmBh5DvvYSibju/gmyS 9C2HyGkAnY6J31snADOq9FM85Q1Gzhux3ryvAI3ptEGvg17N4nQd3REXBRTpJIqyv7pSN SNa8wtbZ1KogC1JoIdbJzWhaLSwRl4/xtqW1ESVdd03BrBPTY6JK52DqfUtxdBC/6ntyB jcjLEFIS9f51axcGeP/JrvSKNlXWeGh/xzApo1Ybyxk9Suk77CeKZYBo2UvIr/ZmTLKw4 B7F0/mI6XhbWSneBznFh2v5WLWfoVdNlg+pYCfathLKvTN7/3uq2ignYmwf92i/wzSQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=0TbWIw15; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=Xroi6Sbz; arc=none smtp.remote-ip=193.142.43.55 X-Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 62215606A337; Thu, 5 Nov 2026 14:17:29 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 62215606A337 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1793888247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Zm1SeUU+Jxb7BuZJDD+o5hL962TS6FgnURIAybrs8rY=; b=0TbWIw15Q9SG4yCRbGARaQKknDn/ebQYf6/F26WHHt3/Sjc0ADD3BM1BLLrT4ojv7SYuwi UNwAPfF1iAruJkwGPoO01l94asqtdStWgZ3TpRMtGBkqoo8yFH1jWcCFcRE4ZdzbkhSjBX AXPcEesJik8N+dgeOZ2SWWItD2ggO5rBEQHQC6vMdk7SnJHMfxioPKSsgtm07QM6AMyPvC xzk2KZc0RSxnDRbwe6HeLiipS544nc6fEcvB1EuvUW2KX7E+vrVmke3BwzbVoNcNa0nEqC FRJ6Zf4CytY2N3CNijL6BvTA3HpS7fbtsV2RjADC0elz1aZei66MczAQ+al38g== X-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1793888247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Zm1SeUU+Jxb7BuZJDD+o5hL962TS6FgnURIAybrs8rY=; b=Xroi6SbzBEwxwVWNtjaQoiRXAHTnxP0+MMHpchhUSQrpLKffpNYz4xiwomjGRoREhsn4Yl tCU4aslSydrIh7Bw== 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: <20261105-devel-vstrassheim-soce-dsa-ml-v4-0-02f3cde2afa1@linutronix.de> X-Cc: Vasilij Strassheim <v.strassheim@linutronix.de>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, mfd@lists.linux.dev, Martin Kaistra <martin.kaistra@linutronix.de>, Benedikt Spranger <b.spranger@linutronix.de>