public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] arm64: dts: agilex5: Add GMAC0 node for NAND daughter card
@ 2025-10-14  2:48 Boon Khai Ng
  2025-10-15  3:16 ` Dinh Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Boon Khai Ng @ 2025-10-14  2:48 UTC (permalink / raw)
  To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	devicetree, linux-kernel, linux-drivers-review
  Cc: Boon Khai Ng

Enable the GMAC0 node for the Agilex5 device when using the NAND
daughter card.

Signed-off-by: Boon Khai Ng <boon.khai.ng@altera.com>
---
 .../dts/intel/socfpga_agilex5_socdk_nand.dts   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts
index 38a582ef86b4..ec4541d44c9b 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts
@@ -10,6 +10,7 @@ / {
 
 	aliases {
 		serial0 = &uart0;
+		ethernet0 = &gmac0;
 	};
 
 	chosen {
@@ -36,6 +37,23 @@ memory@80000000 {
 	};
 };
 
+&gmac0 {
+	status = "okay";
+	phy-mode = "rgmii-id";
+	phy-handle = <&emac0_phy0>;
+	max-frame-size = <9000>;
+
+	mdio0 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "snps,dwmac-mdio";
+
+		emac0_phy0: ethernet-phy@0 {
+			reg = <0>;
+		};
+	};
+};
+
 &gpio0 {
 	status = "okay";
 };
-- 
2.35.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] arm64: dts: agilex5: Add GMAC0 node for NAND daughter card
  2025-10-14  2:48 [PATCH v1] arm64: dts: agilex5: Add GMAC0 node for NAND daughter card Boon Khai Ng
@ 2025-10-15  3:16 ` Dinh Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2025-10-15  3:16 UTC (permalink / raw)
  To: Boon Khai Ng, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	devicetree, linux-kernel, linux-drivers-review



On 10/13/25 21:48, Boon Khai Ng wrote:
> Enable the GMAC0 node for the Agilex5 device when using the NAND
> daughter card.
> 
> Signed-off-by: Boon Khai Ng <boon.khai.ng@altera.com>
> ---
>   .../dts/intel/socfpga_agilex5_socdk_nand.dts   | 18 ++++++++++++++++++
>   1 file changed, 18 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts
> index 38a582ef86b4..ec4541d44c9b 100644
> --- a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts
> @@ -10,6 +10,7 @@ / {

Applied!

Thanks,
Dinh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-15  3:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-14  2:48 [PATCH v1] arm64: dts: agilex5: Add GMAC0 node for NAND daughter card Boon Khai Ng
2025-10-15  3:16 ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox