arm: mvebu: turris_omnia: Set ETHPRIME to DT alias
authorPali Rohár <pali@kernel.org>
Fri, 15 Jul 2022 08:16:00 +0000 (10:16 +0200)
committerStefan Roese <sr@denx.de>
Thu, 21 Jul 2022 08:14:04 +0000 (10:14 +0200)
commitca85b5a146ebfd6da81f4b79e4b51eb9c5d6f60b
tree4e506d1f8134ece5255b343214966f781fdf9ed6
parent3308933d2fe9cceadd38ed273b6b55bbd846ea43
arm: mvebu: turris_omnia: Set ETHPRIME to DT alias

CONFIG_ETHPRIME can be set to DT node name or alias which refers to DT
node. Define ethernet aliases and set ETHPRIME to eth2 which refers to WAN
ethernet port. This removes hardcoded DT node name from U-Boot
configuration file.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-385-turris-omnia.dts
configs/turris_omnia_defconfig