opnsense-src/sys/dev/cadence
Milan Obuch fe1c0e6d2a cgem: support SGMII PHY connection mode
As the PolarFire SoC needs SGMII to connect the PHY, check the
'phy-mode' property of device tree node for ethernet and act on it
appropriately.

Add the compatible strings for the PolarFire SoC device tree.
'microchip,mpfs-mss-gem" is not officially documented but has been
observed in the available firmware for this platform, so it is included
for now.

Also, fix a typo in if_cgem_hw.h.

Reviewed by:	mhorne
MFC after:	1 week
Sponsored by:	Conclusive Engineering
Differential Revision: https://reviews.freebsd.org/D34764

(cherry picked from commit 34f4c17a2b)
2022-05-16 10:34:04 -03:00
..
if_cgem.c cgem: support SGMII PHY connection mode 2022-05-16 10:34:04 -03:00
if_cgem_hw.h cgem: support SGMII PHY connection mode 2022-05-16 10:34:04 -03:00