From nobody Sun Feb 8 17:43:02 2026 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCB8D2BD580 for ; Thu, 5 Feb 2026 01:40:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770255617; cv=none; b=pCcdv0+xE9M/M1YyYm/RGmve44Mksw+Ve/XPw2Q3TnXePv0TB7xyTtUJhkpQK8gbyzzwvMGo88AxYoh0GCU4dVSTj7ZmGReNKqxrr161gEMKkgFL8aKdzpxM2OxwAjUCOe1WWWHGFBDzoxzfE6sC49RiaPYoiMfICFLZR6mAfKk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770255617; c=relaxed/simple; bh=y1lGC/teIR/FTGRVTgw+bosav+jMP2M9QnBcEXFTaME=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MqdnwnQINnMFO8F6+rQG5Xi+flDR6OspDjNgRdmtxxQHrTbmTXxeIO2FUOcOnBTPz1K/YinFs9LeqsecSD/uQud/KyJ2GlE1t3AlQT9u7V8W0SYnggzrghH8lkwIrcDQTtaTuYWp5PCAvbks3rlsrKRl4YGYfUoZIGUzDwlZHSE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZayI3iYZ; arc=none smtp.client-ip=209.85.216.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZayI3iYZ" Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-35480b0827bso310735a91.0 for ; Wed, 04 Feb 2026 17:40:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770255616; x=1770860416; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tJ1+S2Wah0B24B4nb8d1ZRSd0AUn0CCMY72mwuIFWBk=; b=ZayI3iYZaoVB3rSWGAZw/va3zcXPGGt/Nt/vQHlJV9LGL8NSaDhnar7cIbvUhhQWeb 3yEhD45H/ddEDkNtG/4dsFbCH6q871scasPY1CWeFu5JbbiyyS7IFr04xbVqZpskLCFD TRlMO4gJMbbIAKeA1lMGSMYzwItF2QnxJl7htcQbiSrWvOLacPFJyzLMzZXlQW0tVzw5 HxVYJIBR3WGIZVx5S5iD/UC4Rv0B9c5bqfXeUYOfDyVLZpovMKVFfZzFMskmJxCvUX0B xupiqYgFyxGojQ26/xI98YygQqjwSWKWWAM/XK30s/diEgjdxU5wr7XP/hYkNCfpZ4uS EMug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770255616; x=1770860416; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tJ1+S2Wah0B24B4nb8d1ZRSd0AUn0CCMY72mwuIFWBk=; b=iPDkEM7ZvVEu5srBubIymt0ybiqLkiPTJz+lUTQux5gxbJqHDxUmq8M11iaZbvcsEu M3zKPKmnrAB9so0DPb9mhlm4zLxlMAmmC9ks4qgwwDi0UuuF1OZx7Z1gxBUqsEoaiRtF OXOorNyRGmBc3g20CCpF7KhrpNbHYIe7D4RYzou10XEIMBbL2b0ZdDcLM4hZS17yzNJe nfGDyCBhjiOjRh7HqdHP3xa4M72e+a2og74hZg/BYQcHYSPxaXb08AtNVJBzak6g5tBG 9wOpehDYiMeXdDtqIiref8LmMJkkx2Hk3T7f4kcU2gK+Diej/kt8Kam/rWhZg2L0ohkA fEow== X-Forwarded-Encrypted: i=1; AJvYcCWYQouuxlxOgF2XzHeimlr5Y7zytGoUZcqYdca6lWEY4E1xe+tVQEpKQ1dJ2T0cGkruvkTLWwdyZdgm3eI=@vger.kernel.org X-Gm-Message-State: AOJu0Yx6DWt5np+uNUng3AIEP0MHvvnaqg9bPMMCv3esnZ3CODK/I1yC arCcxGelHqha/Kuvr7XEJt37co0/E4Ne15+CBPnslJWP+H6dojkegOcL X-Gm-Gg: AZuq6aK3SssjjgHIAVmVKZ/Rje2LVNwSj5BaM9PO1idRQD5aIA1p8ExDqvFVzEtzwAN 8VaCjTM9q16WM3mZILCa/uObD7cEz65PlB0LuUSrv+YtXJGSpwXj6goLrdnymLOWcUC7IiwPLJT Ooo+dEgrhHqABm/gBcLaqhFJEso4c4H49J5TVIeJu5i9cMR/Jyn7nePrvDVqCbELeTwH8ftZzRx Qwd/niJoCqq+8xb79k117qwmoh/No8tEx4i7aRzsR2E2X/aBQcXoHTeFgqC9w/78j1vVwlNSSeJ NxByc75jU4st7MVhV21rzDZd3nV5vWloV9RXNfkkH/ery/WV8qqlGVIqyQ/gY5Rjya5GEukkl3J EYLl/XWfYJvFzOJq717uqBi4xAOUatzbEwWBW9SVLCSf130VcB+eAesmpi2ZSucbIW2MR7uEUFR iEkGf4qgpgWLChqkItER0qTuzWr536M50m+0PtY7RuQEyEJ6ZdWz+IQxw0B1jyJIQaqknuW+ry X-Received: by 2002:a17:90b:51c1:b0:340:b501:7b83 with SMTP id 98e67ed59e1d1-3549beb61d0mr1038013a91.10.1770255616232; Wed, 04 Feb 2026 17:40:16 -0800 (PST) Received: from localhost.localdomain (60-250-196-139.hinet-ip.hinet.net. [60.250.196.139]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3549c487a7bsm673571a91.16.2026.02.04.17.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Feb 2026 17:40:15 -0800 (PST) From: Joey Lu To: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mcoquelin.stm32@gmail.com, richardcochran@gmail.com Cc: alexandre.torgue@foss.st.com, joabreu@synopsys.com, ychuang3@nuvoton.com, schung@nuvoton.com, yclu4@nuvoton.com, peppe.cavallaro@st.com, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-stm32@st-md-mailman.stormreply.com, Joey Lu Subject: [PATCH net-next v11 1/3] dt-bindings: net: nuvoton: Add schema for Nuvoton MA35 family GMAC Date: Thu, 5 Feb 2026 09:40:03 +0800 Message-ID: <20260205014006.735408-2-a0987203069@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260205014006.735408-1-a0987203069@gmail.com> References: <20260205014006.735408-1-a0987203069@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Create initial schema for Nuvoton MA35 family Gigabit MAC. Reviewed-by: Rob Herring (Arm) Signed-off-by: Joey Lu --- .../bindings/net/nuvoton,ma35d1-dwmac.yaml | 126 ++++++++++++++++++ .../devicetree/bindings/net/snps,dwmac.yaml | 1 + 2 files changed, 127 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/nuvoton,ma35d1-dw= mac.yaml diff --git a/Documentation/devicetree/bindings/net/nuvoton,ma35d1-dwmac.yam= l b/Documentation/devicetree/bindings/net/nuvoton,ma35d1-dwmac.yaml new file mode 100644 index 000000000000..8eaddfdc937c --- /dev/null +++ b/Documentation/devicetree/bindings/net/nuvoton,ma35d1-dwmac.yaml @@ -0,0 +1,126 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/nuvoton,ma35d1-dwmac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton DWMAC glue layer controller + +maintainers: + - Joey Lu + +description: + Nuvoton 10/100/1000Mbps Gigabit Ethernet MAC Controller is based on + Synopsys DesignWare MAC (version 3.73a). + +allOf: + - $ref: snps,dwmac.yaml# + +properties: + compatible: + items: + - enum: + - nuvoton,ma35d1-dwmac + + reg: + maxItems: 1 + description: + Register range should be one of the GMAC interface. + + interrupts: + maxItems: 1 + + clocks: + items: + - description: MAC clock + - description: PTP clock + + clock-names: + items: + - const: stmmaceth + - const: ptp_ref + + nuvoton,sys: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to access syscon registers. + - description: GMAC interface ID. + enum: + - 0 + - 1 + description: + A phandle to the syscon with one argument that configures system reg= isters + for MA35D1's two GMACs. The argument specifies the GMAC interface ID. + + resets: + maxItems: 1 + + reset-names: + items: + - const: stmmaceth + + phy-mode: + enum: + - rmii + - rgmii + - rgmii-id + - rgmii-txid + - rgmii-rxid + + tx-internal-delay-ps: + default: 0 + minimum: 0 + maximum: 2000 + description: + RGMII TX path delay used only when PHY operates in RGMII mode with + internal delay (phy-mode is 'rgmii-id' or 'rgmii-txid') in pico-seco= nds. + Allowed values are from 0 to 2000. + + rx-internal-delay-ps: + default: 0 + minimum: 0 + maximum: 2000 + description: + RGMII RX path delay used only when PHY operates in RGMII mode with + internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seco= nds. + Allowed values are from 0 to 2000. + +required: + - clocks + - clock-names + - nuvoton,sys + - resets + - reset-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + ethernet@40120000 { + compatible =3D "nuvoton,ma35d1-dwmac"; + reg =3D <0x40120000 0x10000>; + interrupts =3D ; + interrupt-names =3D "macirq"; + clocks =3D <&clk EMAC0_GATE>, <&clk EPLL_DIV8>; + clock-names =3D "stmmaceth", "ptp_ref"; + + nuvoton,sys =3D <&sys 0>; + resets =3D <&sys MA35D1_RESET_GMAC0>; + reset-names =3D "stmmaceth"; + + phy-mode =3D "rgmii-id"; + phy-handle =3D <ð_phy0>; + mdio { + compatible =3D "snps,dwmac-mdio"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + eth_phy0: ethernet-phy@0 { + reg =3D <0>; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Docume= ntation/devicetree/bindings/net/snps,dwmac.yaml index dd3c72e8363e..10cb5e555750 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -69,6 +69,7 @@ properties: - ingenic,x2000-mac - loongson,ls2k-dwmac - loongson,ls7a-dwmac + - nuvoton,ma35d1-dwmac - nxp,s32g2-dwmac - qcom,qcs404-ethqos - qcom,sa8775p-ethqos --=20 2.43.0