Netdev List
 help / color / mirror / Atom feed
From: Ho Jie Feng <hjf3108@gmail.com>
To: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Felix Fietkau <nbd@nbd.name>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	Russell King <linux@armlinux.org.uk>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	Gleb Pesin <dormancygrace@gmail.com>,
	Ho Jie Feng <hjf3108@gmail.com>
Subject: [PATCH net-next 06/13] dt-bindings: net: mediatek,net: add ralink,rt3883-eth
Date: Sun,  6 Dec 2026 01:21:45 +0800	[thread overview]
Message-ID: <20261205172152.3142989-7-hjf3108@gmail.com> (raw)
In-Reply-To: <20261205172152.3142989-1-hjf3108@gmail.com>

The RT3883 frame engine is the older Ralink one. It has a single
interrupt, clock and reset, and like the rt5350 one, no ethsys syscon
and no WED.

Add ralink,rt3883-eth to the Ralink compatibles, with these limits.

Signed-off-by: Ho Jie Feng <hjf3108@gmail.com>
---
 .../devicetree/bindings/net/mediatek,net.yaml | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml
index a7291852bf..5c3ec3b3a4 100644
--- a/Documentation/devicetree/bindings/net/mediatek,net.yaml
+++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml
@@ -25,6 +25,7 @@ properties:
       - mediatek,mt7981-eth
       - mediatek,mt7986-eth
       - mediatek,mt7988-eth
+      - ralink,rt3883-eth
       - ralink,rt5350-eth
 
   reg:
@@ -440,11 +441,41 @@ allOf:
         mediatek,wed:
           minItems: 2
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: ralink,rt3883-eth
+    then:
+      properties:
+        interrupts:
+          maxItems: 1
+
+        interrupt-names:
+          maxItems: 1
+
+        clocks:
+          maxItems: 1
+
+        clock-names:
+          items:
+            - const: fe
+
+        resets:
+          maxItems: 1
+
+        reset-names:
+          maxItems: 1
+
+      required:
+        - resets
+
   - if:
       properties:
         compatible:
           contains:
             enum:
+              - ralink,rt3883-eth
               - ralink,rt5350-eth
     then:
       properties:
-- 
2.53.0


  parent reply	other threads:[~2026-12-05 17:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 17:21 [PATCH net-next 00/13] net: ethernet: mtk_eth_soc: add support for RT3883 and related SoCs Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 01/13] net: ethernet: mtk_eth_soc: reset PDMA TX completion index on ring setup Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 02/13] net: ethernet: mtk_eth_soc: move PDMA TX ring registers to the register map Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 03/13] net: ethernet: mtk_eth_soc: add a per-SoC TX done interrupt mask Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 04/13] net: ethernet: mtk_eth_soc: complete PDMA TX on the right MAC Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 05/13] dt-bindings: net: mediatek,net: fix the ralink,rt5350-eth constraints Ho Jie Feng
2026-12-05 17:21 ` Ho Jie Feng [this message]
2026-12-05 17:21 ` [PATCH net-next 07/13] net: ethernet: mtk_eth_soc: use BIT_ULL() for the required clocks Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 08/13] net: ethernet: mtk_eth_soc: add RT3883 support Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 09/13] net: ethernet: mtk_eth_soc: allow building for RT5350 Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 10/13] dt-bindings: net: mediatek,net: add ralink,rt2880-eth Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 11/13] net: ethernet: mtk_eth_soc: add RT2880 support Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 12/13] dt-bindings: net: mediatek,net: add ralink,rt3050-eth Ho Jie Feng
2026-12-05 17:21 ` [PATCH net-next 13/13] net: ethernet: mtk_eth_soc: add RT305x support Ho Jie Feng
2026-12-05 17:28 ` [PATCH net-next 00/13] net: ethernet: mtk_eth_soc: add support for RT3883 and related SoCs netdev-bot+sinfo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205172152.3142989-7-hjf3108@gmail.com \
    --to=hjf3108@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=dormancygrace@gmail.com \
    --cc=edumazet@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=lorenzo@kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=nbd@nbd.name \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox