How to disable 10g phy in Macchiatobin Double Shot?

I wan to to disable the two 10g phys in Macchiatobin Double Shot because I use SFP ports with DAC cable. The two 10g phys are very hot even though we don’t use them. I guess we can save some power consumption. Tried setting “# CONFIG_MARVELL_10G_PHY is not set” in kernel config and disabling them it DTS as below. Even though the RJ45 ports of 10G don’t work but they are still hot. I also measured the power, it doesn’t change either. Any idea?

 % diff -Nur armada-8040-mcbin.dts.orig armada-8040-mcbin.dts
--- armada-8040-mcbin.dts.orig  2024-11-27 16:57:27.207443479 +0800
+++ armada-8040-mcbin.dts       2024-11-27 16:58:42.774763244 +0800
@@ -32,14 +32,14 @@

 &cp0_eth0 {
        status = "okay";
-       /* Network PHY */
-       phy = <&phy0>;
        phy-mode = "10gbase-r";
+       managed = "in-band-status";
+       sfp = <&sfp_eth0>;
 };

 &cp1_eth0 {
        status = "okay";
-       /* Network PHY */
-       phy = <&phy8>;
        phy-mode = "10gbase-r";
+       managed = "in-band-status";
+       sfp = <&sfp_eth1>;
 };

Which firmware and version of it are you running?

I use OpenWRT v23.05.5 [1]

[1] GitHub - openwrt/openwrt at openwrt-23.05

thanks, I haven’t tested that build, will take a look and get back to you.

OK, if you have any compiling issues, please let me know.

May I know if you have any update on this issue? Can you compile the FW successfully?