diff options
author | Yan Markman <ymarkman@marvell.com> | 2018-01-03 16:18:52 +0100 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2018-01-05 17:02:45 +0100 |
commit | 474c5885582c4a79c21bcf01ed98f98c935f1f4a (patch) | |
tree | 8fd02e150481f9d91f23cfd9b99c886497a2739e /arch/arm64/boot/dts/marvell/armada-8040-db.dts | |
parent | 91f1be92eb511c549b1e2e723bdeb13e7cb33a99 (diff) | |
download | linux-474c5885582c4a79c21bcf01ed98f98c935f1f4a.tar.gz linux-474c5885582c4a79c21bcf01ed98f98c935f1f4a.tar.bz2 linux-474c5885582c4a79c21bcf01ed98f98c935f1f4a.zip |
arm64: dts: marvell: add Ethernet aliases
This patch adds Ethernet aliases in the Marvell Armada 7040 DB, 8040 DB
and 8040 mcbin device trees so that the bootloader setup the MAC
addresses correctly.
Signed-off-by: Yan Markman <ymarkman@marvell.com>
[Antoine: commit message, small fixes]
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-8040-db.dts')
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-8040-db.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts index 13e3209d554a..dba55baff20f 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts @@ -61,6 +61,13 @@ reg = <0x0 0x0 0x0 0x80000000>; }; + aliases { + ethernet0 = &cp0_eth0; + ethernet1 = &cp0_eth2; + ethernet2 = &cp1_eth0; + ethernet3 = &cp1_eth1; + }; + cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { compatible = "regulator-fixed"; regulator-name = "cp0-usb3h0-vbus"; |