Commit be5a9389 authored by Willy Tarreau's avatar Willy Tarreau Committed by Jason Cooper

ARM: mvebu: set aliases for ethernet controllers

These aliases are used when feeding the DT from ATAGS to set the
devices MAC addresses.
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 33a66754
......@@ -22,6 +22,11 @@ / {
model = "Marvell Armada 370 and XP SoC";
compatible = "marvell,armada-370-xp";
aliases {
eth0 = &eth0;
eth1 = &eth1;
};
cpus {
cpu@0 {
compatible = "marvell,sheeva-v7";
......@@ -93,7 +98,7 @@ mdio {
reg = <0x72004 0x4>;
};
ethernet@70000 {
eth0: ethernet@70000 {
compatible = "marvell,armada-370-neta";
reg = <0x70000 0x2500>;
interrupts = <8>;
......@@ -101,7 +106,7 @@ ethernet@70000 {
status = "disabled";
};
ethernet@74000 {
eth1: ethernet@74000 {
compatible = "marvell,armada-370-neta";
reg = <0x74000 0x2500>;
interrupts = <10>;
......
......@@ -23,6 +23,7 @@ aliases {
gpio0 = &gpio0;
gpio1 = &gpio1;
gpio2 = &gpio2;
eth3 = &eth3;
};
......@@ -105,7 +106,7 @@ gpio2: gpio@18180 {
interrupts = <91>;
};
ethernet@34000 {
eth3: ethernet@34000 {
compatible = "marvell,armada-370-neta";
reg = <0x34000 0x2500>;
interrupts = <14>;
......
......@@ -22,6 +22,10 @@ / {
model = "Marvell Armada XP family SoC";
compatible = "marvell,armadaxp", "marvell,armada-370-xp";
aliases {
eth2 = &eth2;
};
soc {
internal-regs {
L2: l2-cache {
......@@ -86,7 +90,7 @@ system-controller@18200 {
reg = <0x18200 0x500>;
};
ethernet@30000 {
eth2: ethernet@30000 {
compatible = "marvell,armada-370-neta";
reg = <0x30000 0x2500>;
interrupts = <12>;
......
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