Commit 474c5885 authored by Yan Markman's avatar Yan Markman Committed by Gregory CLEMENT

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: default avatarYan Markman <ymarkman@marvell.com>
[Antoine: commit message, small fixes]
Signed-off-by: default avatarAntoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 91f1be92
...@@ -61,6 +61,12 @@ memory@0 { ...@@ -61,6 +61,12 @@ memory@0 {
reg = <0x0 0x0 0x0 0x80000000>; reg = <0x0 0x0 0x0 0x80000000>;
}; };
aliases {
ethernet0 = &cp0_eth0;
ethernet1 = &cp0_eth1;
ethernet2 = &cp0_eth2;
};
cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "usb3h0-vbus"; regulator-name = "usb3h0-vbus";
......
...@@ -61,6 +61,13 @@ memory@0 { ...@@ -61,6 +61,13 @@ memory@0 {
reg = <0x0 0x0 0x0 0x80000000>; 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 { cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "cp0-usb3h0-vbus"; regulator-name = "cp0-usb3h0-vbus";
......
...@@ -62,6 +62,12 @@ memory@0 { ...@@ -62,6 +62,12 @@ memory@0 {
reg = <0x0 0x0 0x0 0x80000000>; reg = <0x0 0x0 0x0 0x80000000>;
}; };
aliases {
ethernet0 = &cp0_eth0;
ethernet1 = &cp1_eth0;
ethernet2 = &cp1_eth1;
};
/* Regulator labels correspond with schematics */ /* Regulator labels correspond with schematics */
v_3_3: regulator-3-3v { v_3_3: regulator-3-3v {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment