arm: mvebu: turris_mox: Convert comphy_update_map() to board_fix_fdt()
authorPali Rohár <pali@kernel.org>
Tue, 18 Jan 2022 09:33:19 +0000 (10:33 +0100)
committerStefan Roese <sr@denx.de>
Thu, 20 Jan 2022 13:46:03 +0000 (14:46 +0100)
commitf33d67647f8ac1fdb940865053348176d9afe20b
tree3f49fb45f4edfa3777cb077db743cd759f28d5d6
parent2e66ecb765b897fefbeec73572492fb6941dc14c
arm: mvebu: turris_mox: Convert comphy_update_map() to board_fix_fdt()

Code in board_fix_fdt() already detects connected MOX modules so there is
no need to have custom comphy_update_map() function for setting serdes
speeds.

This change sets phy-mode for MOX SFP module (when present) to sgmii.
Comphy driver then sets sgmii serdes speed for this module to 1.25G.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
board/CZ.NIC/turris_mox/turris_mox.c