mvebu: Turris Omnia: use SFP module, if present
authorKlaus Kudielka <klaus.kudielka@gmail.com>
Sat, 27 Feb 2021 11:56:10 +0000 (12:56 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Wed, 29 Dec 2021 20:18:52 +0000 (21:18 +0100)
commit5e2a2b086cee9a7ba9f765dbf62a62f456b6713a
tree299550aec8bc854d78ff49c07f96cf500db0eed0
parent24e564d327943a32181db4568fff43cc18d93b13
mvebu: Turris Omnia: use SFP module, if present

Follow the recommendations stated in the Turris Omnia DTS for eth2:

"In case SFP module is present, U-Boot has to enable the sfp node above,
remove phy-handle property, and add managed = "in-band-status" property."

The boot script is written in a way, that it works for all U-Boot
versions deployed by the vendor so far (2015.10-rc2, 2019.07).

Reviewed-by: Noci <noci@noci.work>
Reviewed-by: Justin van Steijn <jvs@fsfe.org>
Reviewed-by: Nico Rikken <nico@nicorikken.eu>
Reviewed-by: Julius Schwartzenberg <julius.schwartzenberg@gmail.com>
Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
(cherry picked from commit 23d2690e5a5410576b587bc96e2c2cf5fc693927)
target/linux/mvebu/image/turris-omnia.bootscript