u-boot-2016/drivers/net/ipq5018
Gokul Sriram Palanisamy d820c5abbc drivers: net: ipq5018: Add SFP 1G and 2.5G Support
Only one SFP port can be enabled at time with
either SGMII or SGMII PLUS mode.

Mode shall be specified from dts for 1G or 2.5G
support respectively. Add below change to enable
SFP as this change is not mainlined.

gmac_cfg {
	gmac2_cfg {
		unit = <1>;
		base = <0x39D00000>;

-		phy_address = <0x1c>;
-		napa_gpio = <39>;
		/*
		 * 6 - SGMII_PLUS (2.5G),
		 * 8 - SGMII_FIBER (1G)
		 */
+               switch_mac_mode = <8>;
+               sfp_tx_gpio = <27>;
+               sfp_rx_gpio = <29>;
	};
};

Change-Id: I507be2b84b1f932802659abffa3288e304e0d411
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2022-11-07 18:26:58 -08:00
..
athrs17_phy.c ipq5018: update ethernet initialization sequence 2020-10-22 12:13:32 +05:30
ipq5018_gmac.c drivers: net: ipq5018: Add SFP 1G and 2.5G Support 2022-11-07 18:26:58 -08:00
ipq5018_mdio.c ipq5018: Update GMAC ethernet driver 2020-05-07 13:27:01 +05:30
ipq5018_mdio.h ipq5018: Update GMAC ethernet driver 2020-05-07 13:27:01 +05:30
ipq5018_uniphy.c drivers: net: ipq5018: Add SFP 1G and 2.5G Support 2022-11-07 18:26:58 -08:00
ipq5018_uniphy.h drivers: net: ipq5018: Add SFP 1G and 2.5G Support 2022-11-07 18:26:58 -08:00