summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoon Khai Ng <boon.khai.ng@altera.com>2025-10-14 10:48:05 +0800
committerDinh Nguyen <dinguyen@kernel.org>2025-10-14 22:13:09 -0500
commit0f1fd7319c902de2120b4debbc85dd826bbd51a6 (patch)
tree5b8f2f47b27b7c4db5dd04e3bb6cc333f9bb4dcd
parenta025e1fb353046c14a948e244cec9f0209464f5e (diff)
downloadlinux-0f1fd7319c902de2120b4debbc85dd826bbd51a6.tar.gz
linux-0f1fd7319c902de2120b4debbc85dd826bbd51a6.zip
arm64: dts: agilex5: Add GMAC0 node for NAND daughter card
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> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
-rw-r--r--arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts18
1 files changed, 18 insertions, 0 deletions
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 @@
};
};
+&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";
};