From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7647431DDB8; Wed, 21 Jan 2026 02:07:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768961250; cv=none; b=HVnfiTV26eqkbEJ8iwvnojCv7s7fHQ5LQqtMrKsNYv+wA10m/qIW1arydz+OYF3zeBiLVhhnkHdPg6B0G+s136p0LntNbvUTw8JYDQO3HkfuCNHbBg4TTkQt6dVB7qolL8y+JYbrKdxQYdb/GlAZcgEbsjl4qHfOAxbvpXQ2X2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768961250; c=relaxed/simple; bh=UhRa/hhK1GRwkMusaBuB1dhc0k3sK6FAZHAw1qd42mg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HOFErMpX6H8X7PyLRVVVlcsK+JOMKXM8ExcsjsjzNMwga5eigJZtiAuv4c6fTTg149HbIifb3gweVOs4q68RycTJA0h+lSSsU7NPFU7Si4l0r3dxDjZNrKtYrZbv4jO2JSdASzTc20A/wzZMAUvtieQFm8qCsixbIwidcGa3LGs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y3ugkjBm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y3ugkjBm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC259C16AAE; Wed, 21 Jan 2026 02:07:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768961249; bh=UhRa/hhK1GRwkMusaBuB1dhc0k3sK6FAZHAw1qd42mg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y3ugkjBmcHRyS3AoS57oEOFQ22Ym/OSCmv9lxyaQmg8ZUrms0j+6EdpH9SbEm4CVK 9yywF6QfgnX9d8ZtiCG+aQonvUFK5pxoVsh+w/0IkXBEXI54+er4iiHfYQinr6+Nyc KxsPpCJL1MsrJ2zjL218ozcBKbz4a33CU7R77nUJxHZ4+o7s30fAlea1aWlwnEyeiO ixjpdp7IYv3oZYOgae9T0j7K2tgyoLWAFBEOE0H66O+LfLEUq0ZepzznScuhYUQkoa pLlDDhxXmVFE9wy3oTDeB989JWf6VQDFkze/W8vKJ3AVguGLBPNpfLzPeUQ5TjEPUX LKG8HrpLIOZrA== Date: Tue, 20 Jan 2026 20:07:28 -0600 From: Rob Herring To: Joey Lu 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 Message-ID: <20260121020728.GA1671298-robh@kernel.org> References: <20260119073342.3132502-1-a0987203069@gmail.com> <20260119073342.3132502-2-a0987203069@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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) > 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 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 > + > +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 > + #include > + #include > + ethernet@40120000 { > + compatible = "nuvoton,ma35d1-dwmac"; > + reg = <0x40120000 0x10000>; > + interrupts = ; > + 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 >