if (phy_mode == PHY_INTERFACE_MODE_RGMII_ID || phy_mode == PHY_INTERFACE_MODE_RGMII_TXID) phase_shift = 0; else phase_shift = RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN;/* Disable loopback mode */ rgmii_updatel(ethqos, RGMII_CONFIG2_TX_TO_RX_LOOPBACK_EN, ...
if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) mscr |= (MII_88E1121_PHY_MSCR_RX_DELAY | MII_88E1121_PHY_MSCR_TX_DELAY); else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) mscr |= MII_88E1121_PHY_MSCR_RX_DELAY; else if (phydev->interface == PHY_INTERFACE_MO...
[PHY_INTERFACE_MODE_NA] = "",[PHY_INTERFACE_MODE_MII] = "mii",[PHY_INTERFACE_MODE_GMII] = "gmii",[PHY_INTERFACE_MODE_SGMII] = "sgmii",[PHY_INTERFACE_MODE_TBI] = "tbi",[PHY_INTERFACE_MODE_RMII] = "rmii",[PHY_INTERFACE_MODE_RGMII] = "rgmii",[PHY_INTERFACE...
The Marvel 88E1111 Ethernet PHY interfaces the Cyclone IV GX device with RGMII, so you must overwrite the interface settings through the MDIO register of the PHY device. To set it to the RGMII interface mode, follow the procedure below. Write 0xB to HWCFG_MODE (Register 27, bit[3:0])...
/* Interfaces can be PHY_INTERFACE_MODE_MII PHY_INTERFACE_MODE_GMII PHY_INTERFACE_MODE_SGMII PHY_INTERFACE_MODE_TBI PHY_INTERFACE_MODE_RMII PHY_INTERFACE_MODE_RGMII PHY_INTERFACE_MODE_RGMII_ID PHY_INTERFACE_MODE_RGMII_RXID PHY_INTERFACE_MODE_RGMII_TXID PHY_INTERFACE_MODE_RTB...
MTK_ETH_PATH_GMAC1_TRGMII_BIT, + MTK_ETH_PATH_GMAC2_SGMII_BIT, }; #define MTK_TRGMII BIT(MTK_TRGMII_BIT) #define MTK_TRGMII_MT7621_CLK BIT(MTK_TRGMII_MT7621_CLK_BIT) +#define MTK_U3_COPHY_V2 BIT(MTK_U3_COPHY_V2_BIT) ...
Banana Pi BPI-Wifi6 Router Triductor TR6560+TR5220 wifi SOC 5GE PHY one RGMII Supports 6 GE MACs 1000M/100M/10M rate mode $23.00 - $25.00 Min. order: 1 piece Linux board Banana Pi BPI-M2 Pro Amlogic S905X3 quad-core Cortex-A55 5G wifi onboard 2G ram 16G emmc onboard ODM/OEM...
But per the documentation linked to below, modes 1 and 2 are not applicable to RX_CTRL and it should be configured to strap MODE 3 or 4 only. This applies to both the RGMII and SGMII PHY versions and can be found in the datasheets linked below: ...