From: Rob Herring <robh@kernel.org>
To: Joey Lu <a0987203069@gmail.com>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, krzk+dt@kernel.org,
conor+dt@kernel.org, mcoquelin.stm32@gmail.com,
richardcochran@gmail.com, 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
Subject: Re: [PATCH net-next v8 1/3] dt-bindings: net: nuvoton: Add schema for Nuvoton MA35 family GMAC
Date: Tue, 20 Jan 2026 20:07:28 -0600 [thread overview]
Message-ID: <20260121020728.GA1671298-robh@kernel.org> (raw)
In-Reply-To: <20260119073342.3132502-2-a0987203069@gmail.com>
On Mon, Jan 19, 2026 at 03:33:39PM +0800, Joey Lu wrote:
> Create initial schema for Nuvoton MA35 family Gigabit MAC.
>
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Joey Lu <a0987203069@gmail.com>
> ---
> .../bindings/net/nuvoton,ma35d1-dwmac.yaml | 126 ++++++++++++++++++
> .../devicetree/bindings/net/snps,dwmac.yaml | 1 +
> 2 files changed, 127 insertions(+)
> create mode 100755 Documentation/devicetree/bindings/net/nuvoton,ma35d1-dwmac.yaml
This should not be executable.
Rob
>
> diff --git a/Documentation/devicetree/bindings/net/nuvoton,ma35d1-dwmac.yaml b/Documentation/devicetree/bindings/net/nuvoton,ma35d1-dwmac.yaml
> new file mode 100755
> 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 <yclu4@nuvoton.com>
> +
> +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 registers
> + 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-seconds.
> + 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-seconds.
> + Allowed values are from 0 to 2000.
> +
> +required:
> + - clocks
> + - clock-names
> + - nuvoton,sys
> + - resets
> + - reset-names
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
> + #include <dt-bindings/reset/nuvoton,ma35d1-reset.h>
> + ethernet@40120000 {
> + compatible = "nuvoton,ma35d1-dwmac";
> + reg = <0x40120000 0x10000>;
> + interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "macirq";
> + clocks = <&clk EMAC0_GATE>, <&clk EPLL_DIV8>;
> + clock-names = "stmmaceth", "ptp_ref";
> +
> + nuvoton,sys = <&sys 0>;
> + resets = <&sys MA35D1_RESET_GMAC0>;
> + reset-names = "stmmaceth";
> +
> + phy-mode = "rgmii-id";
> + phy-handle = <ð_phy0>;
> + mdio {
> + compatible = "snps,dwmac-mdio";
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + eth_phy0: ethernet-phy@0 {
> + reg = <0>;
> + };
> + };
> + };
> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/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
> --
> 2.43.0
>
next prev parent reply other threads:[~2026-01-21 2:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-19 7:33 [PATCH net-next v8 0/3] Add support for Nuvoton MA35D1 GMAC Joey Lu
2026-01-19 7:33 ` [PATCH net-next v8 1/3] dt-bindings: net: nuvoton: Add schema for Nuvoton MA35 family GMAC Joey Lu
2026-01-21 2:07 ` Rob Herring [this message]
2026-01-21 3:22 ` Joey Lu
2026-01-19 7:33 ` [PATCH net-next v8 2/3] arm64: dts: nuvoton: Add Ethernet nodes Joey Lu
2026-01-19 15:22 ` Andrew Lunn
2026-01-20 1:34 ` Joey Lu
2026-01-20 22:10 ` Andrew Lunn
2026-01-21 1:43 ` Joey Lu
2026-01-19 7:33 ` [PATCH net-next v8 3/3] net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family Joey Lu
-- strict thread matches above, loose matches on Subject: below --
2025-02-03 5:41 [PATCH net-next v8 0/3] Add support for Nuvoton MA35D1 GMAC Joey Lu
2025-02-03 5:41 ` [PATCH net-next v8 1/3] dt-bindings: net: nuvoton: Add schema for Nuvoton MA35 family GMAC Joey Lu
2025-02-03 5:41 ` Joey Lu
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=20260121020728.GA1671298-robh@kernel.org \
--to=robh@kernel.org \
--cc=a0987203069@gmail.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=joabreu@synopsys.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=pabeni@redhat.com \
--cc=peppe.cavallaro@st.com \
--cc=richardcochran@gmail.com \
--cc=schung@nuvoton.com \
--cc=ychuang3@nuvoton.com \
--cc=yclu4@nuvoton.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.