]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt7988: Disable 2.5G phy and enable at board layer
authorFrank Wunderlich <frank-w@public-files.de>
Wed, 5 Nov 2025 19:50:02 +0000 (20:50 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 6 Nov 2025 09:02:57 +0000 (10:02 +0100)
The internal 2.5G phy of mt7988 is only used by some specific board
variants.
Disable it by default and enable it where needed.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-2g5.dts
arch/arm64/boot/dts/mediatek/mt7988a.dtsi

index 6f0c81e3fd941ec723f82d83e68d9ea7959371e6..0e41c07d3a5f451d28609b3a1864344187ea5a6c 100644 (file)
@@ -19,4 +19,5 @@
 &int_2p5g_phy {
        pinctrl-0 = <&i2p5gbe_led0_pins>;
        pinctrl-names = "i2p5gbe-led";
+       status = "okay";
 };
index 93c9f8c3f223ea4e1bc3bf9230415c01d1b24941..1f9abc9710c514cad963b3a90b144570fbc8ce9d 100644 (file)
                                int_2p5g_phy: ethernet-phy@15 {
                                        compatible = "ethernet-phy-ieee802.3-c45";
                                        reg = <15>;
+                                       status = "disabled";
                                };
                        };
                };