RGMII_SMA_MDIO and RGMII_SMA_MDC config as gpio but out of control

Is the issue specific to that problematic module?
(i.e. there’s no issue after you replace the module?)

Yes , replace with 32g module , all pins are fine now