Skip to content

Commit 7791651

Browse files
tpetazzoniJason Cooper
authored andcommitted
arm: mvebu: Armada XP MV78230 has only three Ethernet interfaces
We originally thought that the MV78230 variant of the Armada XP had four Ethernet interfaces, like the other variants MV78260 and MV78460. In fact, this is not true, and the MV78230 has only three Ethernet interfaces. So, the definitions of the Ethernet interfaces is now done as follows: * armada-370-xp.dtsi: definitions of the first two interfaces, that are common to Armada 370 and Armada XP * armada-xp.dtsi: definition of the third interface, common to all Armada XP variants. * armada-xp-mv78260.dtsi and armada-xp-mv78460.dtsi: definition of the fourth interface. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
1 parent 44cfae9 commit 7791651

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

arch/arm/boot/dts/armada-xp-mv78260.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,13 @@
8585
#interrupts-cells = <2>;
8686
interrupts = <24>;
8787
};
88+
89+
ethernet@d0034000 {
90+
compatible = "marvell,armada-370-neta";
91+
reg = <0xd0034000 0x2500>;
92+
interrupts = <14>;
93+
clocks = <&gateclk 1>;
94+
status = "disabled";
95+
};
8896
};
8997
};

arch/arm/boot/dts/armada-xp-mv78460.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,13 @@
100100
#interrupts-cells = <2>;
101101
interrupts = <24>;
102102
};
103+
104+
ethernet@d0034000 {
105+
compatible = "marvell,armada-370-neta";
106+
reg = <0xd0034000 0x2500>;
107+
interrupts = <14>;
108+
clocks = <&gateclk 1>;
109+
status = "disabled";
110+
};
103111
};
104112
};

arch/arm/boot/dts/armada-xp.dtsi

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,6 @@
9595
status = "disabled";
9696
};
9797

98-
ethernet@d0034000 {
99-
compatible = "marvell,armada-370-neta";
100-
reg = <0xd0034000 0x2500>;
101-
interrupts = <14>;
102-
clocks = <&gateclk 1>;
103-
status = "disabled";
104-
};
105-
10698
xor@d0060900 {
10799
compatible = "marvell,orion-xor";
108100
reg = <0xd0060900 0x100

0 commit comments

Comments
 (0)