From: Claudiu Beznea <claudiu.beznea@tuxon.dev>
To: Ryan.Wanner@microchip.com, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org,
onor+dt@kernel.org, alexandre.belloni@bootlin.com
Cc: nicolas.ferre@microchip.com, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 4/6] ARM: dts: microchip: sama7d65: Enable GMAC interface
Date: Fri, 11 Apr 2025 17:29:37 +0300 [thread overview]
Message-ID: <ba68477d-33b8-4b3d-9a88-9f6bee6feac3@tuxon.dev> (raw)
In-Reply-To: <fca0c1deb74006cdedbdd71061dec9dabf1e9b9a.1743523114.git.Ryan.Wanner@microchip.com>
Hi, Ryan,
On 01.04.2025 19:13, Ryan.Wanner@microchip.com wrote:
> From: Ryan Wanner <Ryan.Wanner@microchip.com>
>
> Enable GMAC0 interface for sama7d65_curiosity board.
>
> Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
> ---
> .../dts/microchip/at91-sama7d65_curiosity.dts | 51 +++++++++++++++++++
> 1 file changed, 51 insertions(+)
>
> diff --git a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
> index 30fdc4f55a3b..441370dbb4c2 100644
> --- a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
> +++ b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
> @@ -105,7 +105,58 @@ &main_xtal {
> clock-frequency = <24000000>;
> };
>
> +&gmac0 {
Please keep nodes alphanumerically sorted.
> + #address-cells = <1>;
> + #size-cells = <0>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_gmac0_default
> + &pinctrl_gmac0_mdio_default
> + &pinctrl_gmac0_txck_default
> + &pinctrl_gmac0_phy_irq>;
> + phy-mode = "rgmii-id";
> + status = "okay";
> +
> + ethernet-phy@7 {
> + reg = <0x7>;
> + interrupt-parent = <&pioa>;
> + interrupts = <PIN_PC1 IRQ_TYPE_LEVEL_LOW>;
> + status = "okay";
No need for status here, default is okay.
> + };
> +};
Missing blank line here.
As this are mainly cosmetics I will adjust while applying.
Thank you,
Claudiu
> &pioa {
> + pinctrl_gmac0_default: gmac0-default {
> + pinmux = <PIN_PA26__G0_TX0>,
> + <PIN_PA27__G0_TX1>,
> + <PIN_PB4__G0_TX2>,
> + <PIN_PB5__G0_TX3>,
> + <PIN_PA29__G0_RX0>,
> + <PIN_PA30__G0_RX1>,
> + <PIN_PB2__G0_RX2>,
> + <PIN_PB6__G0_RX3>,
> + <PIN_PA25__G0_TXCTL>,
> + <PIN_PB3__G0_RXCK>,
> + <PIN_PA28__G0_RXCTL>;
> + slew-rate = <0>;
> + bias-disable;
> + };
> +
> + pinctrl_gmac0_mdio_default: gmac0-mdio-default {
> + pinmux = <PIN_PA31__G0_MDC>,
> + <PIN_PB0__G0_MDIO>;
> + bias-disable;
> + };
> +
> + pinctrl_gmac0_phy_irq: gmac0-phy-irq {
> + pinmux = <PIN_PC1__GPIO>;
> + bias-disable;
> + };
> +
> + pinctrl_gmac0_txck_default: gmac0-txck-default {
> + pinmux = <PIN_PB1__G0_REFCK>;
> + slew-rate = <0>;
> + bias-pull-up;
> + };
> +
> pinctrl_i2c10_default: i2c10-default{
> pinmux = <PIN_PB19__FLEXCOM10_IO1>,
> <PIN_PB20__FLEXCOM10_IO0>;
next prev parent reply other threads:[~2025-04-11 14:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-01 16:13 [PATCH 0/6] Enable FLEXCOMs and GMAC for SAMA7D65 SoC Ryan.Wanner
2025-04-01 16:13 ` [PATCH 1/6] dt-bindings: net: cdns,macb: add sama7d65 ethernet interface Ryan.Wanner
2025-04-02 0:54 ` Jakub Kicinski
2025-04-02 13:28 ` Conor Dooley
2025-04-01 16:13 ` [PATCH 2/6] ARM: dts: microchip: sama7d65: Add gmac interfaces for sama7d65 SoC Ryan.Wanner
2025-04-01 16:13 ` [PATCH 3/6] ARM: dts: microchip: sama7d65: Add FLEXCOMs to " Ryan.Wanner
2025-04-11 14:29 ` Claudiu Beznea
2025-04-01 16:13 ` [PATCH 4/6] ARM: dts: microchip: sama7d65: Enable GMAC interface Ryan.Wanner
2025-04-11 14:29 ` Claudiu Beznea [this message]
2025-04-01 16:13 ` [PATCH 5/6] ARM: dts: microchip: sama7d65: Add MCP16502 to sama7d65 curiosity Ryan.Wanner
2025-04-11 14:30 ` Claudiu Beznea
2025-04-14 15:38 ` Ryan.Wanner
2025-04-27 13:43 ` Claudiu Beznea
2025-04-01 16:13 ` [PATCH 6/6] ARM: dts: microchip: sama7d65_curiosity: add EEPROM Ryan.Wanner
2025-04-27 13:44 ` [PATCH 0/6] Enable FLEXCOMs and GMAC for SAMA7D65 SoC Claudiu Beznea
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=ba68477d-33b8-4b3d-9a88-9f6bee6feac3@tuxon.dev \
--to=claudiu.beznea@tuxon.dev \
--cc=Ryan.Wanner@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=onor+dt@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
all inboxes | Powered by JetHome®