HI @Deepa-khatri2588 ,
Thank you so much for your interest in our products and for using our community.
Please note that RT1020 integrates an Ethernet MAC but requires an external PHY, as no internal PHY is included.
Therefore, Ethernet enable/disable control should be considered at two levels: external PHY control and internal MAC control.
1: If the PHY on your board supports power‑down control via MDIO, software can manage it through the MDIO interface. Alternatively, if the PHY RESET pin is connected to a GPIO, the PHY can be reset or held in reset.
2: The ENET MAC can be controlled by the Ethernet Control Register (ECR):
You can disables the MAC or set MAC into sleep mode.
Wish it helps you
Best Regards
MayLiu