Article View: linux.kernel.netdev
Article #25024[PATCH net-next v2 2/3] dt-bindings: net: Add Siflower SF19A2890 GMAC
From: Joseph Telaak via B4 Relay
Date: Tue, 01 Dec 2026 07:00
Date: Tue, 01 Dec 2026 07:00
178 lines
15853 bytes
15853 bytes
From: Joseph Telaak <joseph@telaak.dev>
The Siflower SF19A2890 has a DesignWare GMAC 3.73a whose interface
type and RGMII clock delays are set in a configuration block of its
own, next to its clock and reset manager. It takes a fourth clock, the
RGMII transmit reference.
The delay lines are calibrated per unit at the factory, and the result
is stored in flash in the lines' own steps, so the delays come from an
nvmem cell, rgmii-delay. The delay of the TX line at its lowest setting
is not known, so rx-internal-delay-ps and tx-internal-delay-ps are not
accepted: a value in picoseconds could not be honored.
Signed-off-by: Joseph Telaak <joseph@telaak.dev>
---
.../bindings/net/siflower,sf19a2890-gmac.yaml | 119 +++++++++++++++++++++
.../devicetree/bindings/net/snps,dwmac.yaml | 1 +
MAINTAINERS | 6 ++
3 files changed, 126 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/siflower,sf19a2890-gmac.yaml b/Documentation/devicetree/bindings/net/siflower,sf19a2890-gmac.yaml
new file mode 100644
index 000000000000..f42276c25d2c
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/siflower,sf19a2890-gmac.yaml
@@ -0,0 +1,119 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/siflower,sf19a2890-gmac.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Siflower SF19A2890 GMAC
+
+maintainers:
+ - Joseph Telaak <joseph@telaak.dev>
+
+description:
+ The Siflower SF19A2890 has a Synopsys DesignWare GMAC 3.73a. Its
+ interface type and RGMII clock delays are set in a configuration block
+ of its own. The delay lines are calibrated per unit at the factory, and
+ the MAC adds the delays only where that calibration is given.
+
+select:
+ properties:
+ compatible:
+ contains:
+ const: siflower,sf19a2890-gmac
+ required:
+ - compatible
+
+properties:
+ compatible:
+ items:
+ - const: siflower,sf19a2890-gmac
+ - const: snps,dwmac
+
+ reg:
+ items:
+ - description: MAC registers
+ - description: Interface configuration registers
+
+ interrupts:
+ maxItems: 3
+
+ interrupt-names:
+ items:
+ - const: macirq
+ - const: eth_wake_irq
+ - const: eth_lpi
+
+ clocks:
+ items:
+ - description: GMAC main clock
+ - description: Peripheral registers interface clock
+ - description: PTP reference clock
+ - description: RGMII transmit reference clock
+
+ clock-names:
+ items:
+ - const: stmmaceth
+ - const: pclk
+ - const: ptp_ref
+ - const: byp_ref
+
+ nvmem-cells:
+ minItems: 1
+ maxItems: 2
+
+ nvmem-cell-names:
+ minItems: 1
+ items:
+ - const: mac-address
+ - const: rgmii-delay
+ description:
+ rgmii-delay is the factory calibration of the RGMII clock delay
+ lines, four ASCII hexadecimal digits giving the TX setting and then
+ the RX setting, in the lines' own steps.
+
+ # The delay of the TX delay line at its lowest setting is not known, so
+ # the delays cannot be given in picoseconds.
+ rx-internal-delay-ps: false
+ tx-internal-delay-ps: false
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - interrupt-names
+ - clocks
+ - clock-names
+ - resets
+ - reset-names
+
+allOf:
+ - $ref: snps,dwmac.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ #include <dt-bindings/interrupt-controller/mips-gic.h>
+
+ ethernet@10800000 {
+ compatible = "siflower,sf19a2890-gmac", "snps,dwmac";
+ reg = <0x10800000 0x200000>, <0x19e04440 0x10>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SHARED 32 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SHARED 34 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SHARED 33 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
+ clocks = <&gmac_crm 0>, <&gmac_crm 1>, <&gmac_crm 3>, <&gmac_crm 2>;
+ clock-names = "stmmaceth", "pclk", "ptp_ref", "byp_ref";
+ resets = <&gmac_crm 0>;
+ reset-names = "stmmaceth";
+ phy-mode = "rgmii-id";
+ nvmem-cells = <&macaddr>, <&rgmii_delay>;
+ nvmem-cell-names = "mac-address", "rgmii-delay";
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
+ };
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index 69d88a9b1925..225aa597a012 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -99,6 +99,7 @@ properties:
- rockchip,rk3588-gmac
- rockchip,rv1108-gmac
- rockchip,rv1126-gmac
+ - siflower,sf19a2890-gmac
- snps,dwmac
- snps,dwmac-3.40a
- snps,dwmac-3.50a
diff --git a/MAINTAINERS b/MAINTAINERS
index 9336fa93ce38..c279b28bce86 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -25820,6 +25820,12 @@ N: sifive
K: fu[57]40
K: [^@]sifive
+SIFLOWER SF19A2890 DWMAC GLUE LAYER
+M: Joseph Telaak <joseph@telaak.dev>
+L: netdev@vger.kernel.org
+S: Maintained
+F: Documentation/devicetree/bindings/net/siflower,sf19a2890-gmac.yaml
+
SILEAD TOUCHSCREEN DRIVER
M: Hans de Goede <hansg@kernel.org>
L: linux-input@vger.kernel.org
--
Git-155)
Technical Details
Message-ID:
<20261201-sf19a2890-gmac-v2-2-8d2c513db496@telaak.dev>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374774-linux-kernel-netdev=dewy.ruReferences:
<20261201-sf19a2890-gmac-v2-0-8d2c513db496@telaak.dev>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374774-linux-kernel-netdev=dewy.ru From: devnull+joseph.telaak.dev@kernel.org (Joseph Telaak via B4 Relay) Newsgroups: linux.kernel.netdev Subject: [PATCH net-next v2 2/3] dt-bindings: net: Add Siflower SF19A2890 GMAC Date: Tue, 01 Dec 2026 02:00:26 -0500 Organization: Usenet Network Message-ID: <20261201-sf19a2890-gmac-v2-2-8d2c513db496@telaak.dev> References: <20261201-sf19a2890-gmac-v2-0-8d2c513db496@telaak.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="1642923"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:yKFriR7Jc9sK7KE973AigWZya38= sha256:gWeBB8IXfIeuNQOZEJJ/3A4Qms8Foumu2zzKPv9QVak= sha1:RCsYFRpFgwilYOqtvEezTqkpozk= sha256:fIDodiFleYuvm1QMUM8sWaVP6gQ4IlUQ+abq8JVeUUc= 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 E6B9A11728A; Tue, 1 Dec 2026 10:01:07 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.5 X-Spam-Status: No, score=-3.5 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, 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 bn4FGVFm_D_u; Tue, 1 Dec 2026 10:01:04 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-374774-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 3F925117286; Tue, 1 Dec 2026 10:00:44 +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 CF73E22C74; Tue, 1 Dec 2026 07:00: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=1796108435; b=hw429ee1GxCB4SZ4mB+jjnpPDXUqkZmgXca1/jymFLzMQb0z41Bblzzp9AJbRvcDw1Y9 IGzfdA7J5PgvALH/o8efxsKthMLaNo/uiUr6P2wVBd5GjCdHvzxyNYcs6G+2EI5nStTBD it6KFzlQXgZHw8D/UjpEwlYD1pqeNL21Z7tJRKrv/qFWXvke2l9t/AOY3ggMsNEZpvydl ckQeXzFx+yxC9DhKZr/YbAeI/E2s3ldQ0+B6UcOPVU6tKqc2qep5BytPTcyt/MycXQ4XZ zssUJC0olmYM/kzQcEVwXsi4MWt7OHbpoALbjVRF6o2JzfOQd5AhjjtgVO03261ocBg== X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796108435; 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=ArazswV+VHdeM/NQtkHG9leZFPeYUJN2lZDgzSqZYYE=; b=38I/Ogp0mIq8JqOCnmsWckkP51q81cEu2lvx3vt5FKQQZOwxisLTQ8QwnFEQlqftGpnL Woe7u5zepAgQwCMA80diHq7/DBfAUE9fpLmK+BQPSFzZ+6N1xiGYLGtIt1xpP1JyMV5V6 YrVQROSRwJO3xJssPbrnS1S+0jq897YZZKJVp3oxnU2Hdn8pl6KTxC3xt5o0Fd2p+plFk DkY+emcVmJONCEdJS2UthrskLeAvQGxb8g02u4mStj/5+iLoGRLAUjSXva9iYs2n/sp6p F16IaGHfAOfK08RHcmzj+vsADE2EpqctH9MGeRQycYD7s+2SlDHZ9spO2BCVbfnVKKw== 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=GUpEwavj; 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 7ED51606A6AA; Tue, 1 Dec 2026 07:00:35 +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=GUpEwavj 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=1796108429; b=QfeuH1ZuixeHmE0/AoVVUxO366niBqUnxRJikq1UEIGQnrQ1teOO3ZA2jg1nY7JnnjSJ AUv+zCdnfMp23FmSOZuhHrfsfljL7xmkKSzbRTEVuC43zWr1QYByDmKRTR+pcCGhOw5vG yHg9YMTT6g8fkYGzKBSSLMbxD74sp0pjAHw+mE72koOZoiHLSI8nebwUGzuCK0nhz0g5V SKGLp9KaNCWBtPf02+ko6kCS6fSBTCBgAI1fjh/A+fdmIYu9GqB7knfud8pxmwIRnZOfG sP2zPSkbYLnHewQdHuRP4S/Ie8CEWvXzwQl9ghPLunUGI+BsCusj29YGjAih19oItnA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796108429; 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=ArazswV+VHdeM/NQtkHG9leZFPeYUJN2lZDgzSqZYYE=; b=m3OjrZO6IOQHqslB7zbkQNYMUoMVuTEoX1sXMfHYwuECWvF3oR1MBZqfPtH34Jd8LKQo aS0g0/MQxdA08/EHwnbSdrJcceARYoK4UZ/oELroAheW4lUzuSn3uT3jwf3D2rM2VQTdX LFbh1Z0c7OOWgFBbmz1bMo69SZ3cegTHcGeIFnMayi8e/x+asSrN5yb3vrmwCeO8XDGZB IjYBlQ7SIHmixVnaG5aogTFLX0X6s1q7yxl9IDXK0eFHamKYKOnpJzyBFID3ULIp/Vu75 x5R9HwkHruEcJC38PZYV8Ie54HzQXvWjaRE55tHnl9tGI7gnttlJ6VbZtz9kNI8hhrg== 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=GUpEwavj; 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 94D0D606A68C; Tue, 1 Dec 2026 07:00:29 +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=1796108429; b=avRCHhrKegqFTkF9ppu59QbfbNzPQCkZHLm86fo2Qmgzuh+acIEmhw6h1UCRFqM718Pz iw3Wmtqx1Uo3uiMPLrJXkno4ed7V6wLID7KWJufFYen7V1fPruk/x4gCAVlnNh+6M3wxF h17Kns1Y2noQLOcwshQ9TkgHG5PRC9xMOE8ODaQ0hE8xE/1/NehwZQJ49JSk2dCXDo4Ev ngcopf5FlUWk1JGDP4r4UnYkhXoZzUJ4kZv7zVGJnanZtHs1KRlC1wyBUJaVD2PYfmyGn z7S7zW7Caa/dgo9brlFnvdu2yT1iG1XTW72U3IDmoZBuDp6wnDnkan2oMcIoUlqswxg== X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1796108429; 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=ArazswV+VHdeM/NQtkHG9leZFPeYUJN2lZDgzSqZYYE=; b=irPKOL2jLwUpBZBpM3f7uzF2iOXhly/JacQ5JrYk8uIoVKfEmgiEM93un1TZ5y1nKx43 WmgZ0fj6CMQIXSQlHu+LhIlAt5hV74K9FbwsLjPq/fiDIqTaNnK27IeWIA0nMRrSl08am VeDxazwR/KSiJa/9F9+kn1td26oXRuN0wd68zqyOQklknu2hyICP5pvMsZyrNv68aCNxt ZPIxbS48JTSjxF87l6I8cFtHdg2ImL9ELiVlI0GQZLmRfKLoUcriirYQwHJGrJomYMteb aPvU+uo2wzDMGtQLhXnWWTCjVnV3vcrp3KbmAT92xnnTSyeNENEltHMAA5uwVYYRjXQ== 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 5575D1F00897; Tue, 1 Dec 2026 07:00:28 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796108429; bh=ArazswV+VHdeM/NQtkHG9leZFPeYUJN2lZDgzSqZYYE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=GUpEwavjsqJLzX4vWVQXGdrHSGxrwyLEUB/cyxj2F/QWlHB6ujFTP/t1YlAmllJEz Rrasb5cXAzDOVdyJA/x/AiZtjTqRiKpglosR2g+4BwxOz7ujyM0/VCfrK6CPYzaMUu bxrXDEMe7/emB1w5H3GOJQE2QW2f8NDRKxFX9ArgAvbdTEjKt+Y+wUNFd17HO3FItF 7TmwVGbj3+x+OxfcDtIhMNZukOv/hPMevO7UHVVcSWCtkEadGbu+WPcv9pg4SO3rRN 1Y0j33qiGjdq3ceTvxn3KtaRpPjO0sNRcejTPl/avqi91OAS6bQQeSksxFUTQTDVa+ Fg3qFK1VAPldQ== X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id D865F4EC21; Tue, 1 Dec 2026 07:00:27 +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: <20261201-sf19a2890-gmac-v2-0-8d2c513db496@telaak.dev> X-Cc: Chuanhong Guo <gch981213@gmail.com>, Russell King <linux@armlinux.org.uk>, linux-mips@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Joseph Telaak <joseph@telaak.dev> X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796108426; l=5552; i=joseph@telaak.dev; s=20261104; h=from:subject:message-id; bh=Y4tDZmeP9+kIiKEtr2ki+fGAL4Vjg0LyLZt/UFjolQg=; b=LqggZ8BbzwL4zfBON3AdTF5rJYTlImwnzHpo0wivZnhQZYfVpF6OFZxlH463LpyibPKH+LYh5 Ay48v165+qvARwCj9q8S/gU9B5MJWQexqFYRYXpLZVW7jkeFbRLBnN4 X-Developer-Key: i=joseph@telaak.dev; a=ed25519; pk=oQI+UfddlZ0wK2ac4WKOGNjUl1ZEN8j9ZVFSqEDoNP0= X-Endpoint-Received: by B4 Relay for joseph@telaak.dev/20261104 with auth_id=1404 X-Original-From: Joseph Telaak <joseph@telaak.dev> X-Reply-To: joseph@telaak.dev