aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/arm-trusted-firmware-mediatek/patches/001-mt7988-enable-2p5g-phy.patch
blob: d377bd8433c27c2a89ff3dc604d524d1c8c359d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/plat/mediatek/mt7988/bl2/bl2_plat_init.c
+++ b/plat/mediatek/mt7988/bl2/bl2_plat_init.c
@@ -90,6 +90,8 @@ static void mtk_i2p5g_phy_init(void)
 	 * clear bit 22 to use external MDIO.
 	 */
 	mmio_setbits_32(GBE_TOP_REG, I2P5G_MDIO);
+	/* Internal 2.5Gphy power on sequence */
+	eth_2p5g_phy_mtcmos_ctrl(true);
 }
 
 static void mt7988_i2c_init(void)