]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: agilex5: Add GMAC0 node for NAND daughter card
authorBoon Khai Ng <boon.khai.ng@altera.com>
Tue, 14 Oct 2025 02:48:05 +0000 (10:48 +0800)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 15 Oct 2025 03:13:09 +0000 (22:13 -0500)
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>
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts

index 38a582ef86b42cd71cf3a0df24c0ff644c65c4cb..ec4541d44c9bc00b044415c67510e5d91099e89b 100644 (file)
@@ -10,6 +10,7 @@
 
        aliases {
                serial0 = &uart0;
+               ethernet0 = &gmac0;
        };
 
        chosen {
        };
 };
 
+&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";
 };