Commit 812245b4 authored by Yan Markman's avatar Yan Markman Committed by Greg Kroah-Hartman

arm64: dts: marvell: add Ethernet aliases

commit 474c5885 upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2a3d3015
...@@ -61,6 +61,12 @@ memory@00000000 { ...@@ -61,6 +61,12 @@ memory@00000000 {
reg = <0x0 0x0 0x0 0x80000000>; reg = <0x0 0x0 0x0 0x80000000>;
}; };
aliases {
ethernet0 = &cpm_eth0;
ethernet1 = &cpm_eth1;
ethernet2 = &cpm_eth2;
};
cpm_reg_usb3_0_vbus: cpm-usb3-0-vbus { cpm_reg_usb3_0_vbus: cpm-usb3-0-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "usb3h0-vbus"; regulator-name = "usb3h0-vbus";
......
...@@ -61,6 +61,13 @@ memory@00000000 { ...@@ -61,6 +61,13 @@ memory@00000000 {
reg = <0x0 0x0 0x0 0x80000000>; reg = <0x0 0x0 0x0 0x80000000>;
}; };
aliases {
ethernet0 = &cpm_eth0;
ethernet1 = &cpm_eth2;
ethernet2 = &cps_eth0;
ethernet3 = &cps_eth1;
};
cpm_reg_usb3_0_vbus: cpm-usb3-0-vbus { cpm_reg_usb3_0_vbus: cpm-usb3-0-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "cpm-usb3h0-vbus"; regulator-name = "cpm-usb3h0-vbus";
......
...@@ -62,6 +62,12 @@ memory@00000000 { ...@@ -62,6 +62,12 @@ memory@00000000 {
reg = <0x0 0x0 0x0 0x80000000>; reg = <0x0 0x0 0x0 0x80000000>;
}; };
aliases {
ethernet0 = &cpm_eth0;
ethernet1 = &cps_eth0;
ethernet2 = &cps_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