1
0
Fork 0
alistair23-linux/arch/arm64/boot/dts/marvell
Pali Rohár c3d60c6957 arm64: dts: marvell: espressobin: Add ethernet switch aliases
commit b64d814257 upstream.

Espressobin boards have 3 ethernet ports and some of them got assigned more
then one MAC address. MAC addresses are stored in U-Boot environment.

Since commit a2c7023f70 ("net: dsa: read mac address from DT for slave
device") kernel can use MAC addresses from DT for particular DSA port.

Currently Espressobin DTS file contains alias just for ethernet0.

This patch defines additional ethernet aliases in Espressobin DTS files, so
bootloader can fill correct MAC address for DSA switch ports if more MAC
addresses were specified.

DT alias ethernet1 is used for wan port, DT aliases ethernet2 and ethernet3
are used for lan ports for both Espressobin revisions (V5 and V7).

Fixes: 5253cb8c00 ("arm64: dts: marvell: espressobin: add ethernet alias")
Cc: <stable@vger.kernel.org> # a2c7023f7075c: dsa: read mac address
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
[pali: Backported Espressobin rev V5 changes to 5.4 and 4.19 versions]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-10 12:37:34 +01:00
..
Makefile arm64: dts: marvell: add DTS for Turris Mox 2019-08-31 09:24:31 +02:00
armada-37xx.dtsi arm64: dts: marvell: armada-37xx: add SPI CS1 pinctrl 2019-08-31 09:24:31 +02:00
armada-70x0.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-80x0.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-371x.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-372x.dtsi arm64: dts: Remove inconsistent use of 'arm,armv8' compatible string 2019-01-30 17:34:36 +01:00
armada-3720-db.dts arm64: dts: marvell: armada-3720-db: use SPDX-License-Identifier 2018-02-14 13:19:56 +01:00
armada-3720-espressobin.dts arm64: dts: marvell: espressobin: Add ethernet switch aliases 2020-11-10 12:37:34 +01:00
armada-3720-turris-mox.dts arm64: dts: armada-3720-turris-mox: fix SFP binding 2020-06-24 17:50:14 +02:00
armada-3720-uDPU.dts arm64: dts: uDPU: fix broken ethernet 2020-02-14 16:34:13 -05:00
armada-7020.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-7040-db.dts arm64: dts: marvell: Convert 7k/8k usb-phy properties to phy-supply 2019-08-27 16:30:03 +02:00
armada-7040.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-8020.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-8040-clearfog-gt-8k.dts arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay 2020-04-23 10:36:30 +02:00
armada-8040-db.dts arm64: dts: marvell: Convert 7k/8k usb-phy properties to phy-supply 2019-08-27 16:30:03 +02:00
armada-8040-mcbin-singleshot.dts arm64: dts: add support for Macchiatobin Single Shot board 2018-12-08 09:26:51 +01:00
armada-8040-mcbin.dts arm64: dts: add support for Macchiatobin Single Shot board 2018-12-08 09:26:51 +01:00
armada-8040-mcbin.dtsi arm64: dts: marvell: Convert 7k/8k usb-phy properties to phy-supply 2019-08-27 16:30:03 +02:00
armada-8040.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-8080-db.dts arm64: dts: marvell: armada-8080-db: use SPDX-License-Identifier 2018-02-14 13:24:48 +01:00
armada-8080.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-ap806-dual.dtsi arm64: dts: marvell: Add AP806-dual missing CPU clocks 2020-01-23 08:22:55 +01:00
armada-ap806-quad.dtsi arm64: dts: marvell: Add cpu clock node on Armada 7K/8K 2019-08-27 16:39:22 +02:00
armada-ap806.dtsi arm64: dts: marvell: Add cpu clock node on Armada 7K/8K 2019-08-27 16:39:22 +02:00
armada-ap810-ap0-octa-core.dtsi arm64: dts: Remove inconsistent use of 'arm,armv8' compatible string 2019-01-30 17:34:36 +01:00
armada-ap810-ap0.dtsi arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs 2018-02-14 13:19:53 +01:00
armada-common.dtsi arm64: dts: marvell: add macro to make distinction between node names 2018-09-21 16:13:30 +02:00
armada-cp110.dtsi arm64: dts: marvell: Fix CP110 NAND controller node multi-line comment alignment 2020-01-23 08:22:56 +01:00