mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
arm64: dts: marvell: espressobin: Simplify v7 ethernet port labeling
Now that the switch ports have a label in the .dtsi, simplify the whole "switch0" block for the v7 dts files. Signed-off-by: Andre Heider <a.heider@gmail.com> Reviewed-by: Pali Rohár <pali@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
parent
3cea11cd5e
commit
8077f593d7
|
|
@ -28,20 +28,12 @@ aliases {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&switch0 {
|
&switch0port1 {
|
||||||
ports {
|
label = "lan1";
|
||||||
switch0port1: port@1 {
|
};
|
||||||
reg = <1>;
|
|
||||||
label = "lan1";
|
|
||||||
phy-handle = <&switch0phy0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
switch0port3: port@3 {
|
&switch0port3 {
|
||||||
reg = <3>;
|
label = "wan";
|
||||||
label = "wan";
|
|
||||||
phy-handle = <&switch0phy2>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* U11 */
|
/* U11 */
|
||||||
|
|
|
||||||
|
|
@ -27,18 +27,10 @@ aliases {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&switch0 {
|
&switch0port1 {
|
||||||
ports {
|
label = "lan1";
|
||||||
switch0port1: port@1 {
|
};
|
||||||
reg = <1>;
|
|
||||||
label = "lan1";
|
&switch0port3 {
|
||||||
phy-handle = <&switch0phy0>;
|
label = "wan";
|
||||||
};
|
|
||||||
|
|
||||||
switch0port3: port@3 {
|
|
||||||
reg = <3>;
|
|
||||||
label = "wan";
|
|
||||||
phy-handle = <&switch0phy2>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user