]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: turris_mox: Set "sfp" label in eth1 DT node when only Mox SFP is detected
authorPali Rohár <pali@kernel.org>
Wed, 10 Aug 2022 10:54:11 +0000 (12:54 +0200)
committerStefan Roese <sr@denx.de>
Tue, 23 Aug 2022 10:35:37 +0000 (12:35 +0200)
commitc02eff8fcf05ca61db7794c2d5dbee7ff5abb6f5
tree6703b81e06dd56bd4dea009c4ce1cf289c29c313
parent455f55e4a39c23b3aa4ead57b9e81318a8bc990a
arm: mvebu: turris_mox: Set "sfp" label in eth1 DT node when only Mox SFP is detected

When Mox SFP module is connected after Topaz or Peridot module then port DT
node already contains "sfp" label. But Mox SFP module can be connected also
without Topaz or Peridot module in which case it is connected directly into
he eth1 DT node, which is without any label. So add "sfp" label into eth1
DT node in this case.

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