ath79: pcs,cr5000: remove ports and aliases nodes

swconfig,port is used in only two places, here and ramips. This stuff is
already handled in userspace. No need for it here.

This aliases node is not only in the wrong location, it serves no
purpose. Remove.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/25406
Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
This commit is contained in:
Rosen Penev authored and Jonas Jelonek committed 2026-09-28 23:28:18 +02:00
1 parent 8635eeedc3
commit 9df055123c
1 file changed
-41
@@ -159,8 +159,6 @@
};
&eth0 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
/* default for ar934x, except for 1000M */
@@ -171,45 +169,6 @@
phy-mode = "rgmii";
phy-handle = <&phy0>;
aliases {
ag0 = &eth1;
};
port@0 {
compatible = "swconfig,port";
reg = <0>;
swconfig,segment = "lan";
swconfig,portmap = <1 1>;
};
port@1 {
compatible = "swconfig,port";
reg = <1>;
swconfig,segment = "lan";
swconfig,portmap = <2 2>;
};
port@2 {
compatible = "swconfig,port";
reg = <2>;
swconfig,segment = "lan";
swconfig,portmap = <3 3>;
};
port@3 {
compatible = "swconfig,port";
reg = <3>;
swconfig,segment = "lan";
swconfig,portmap = <4 4>;
};
port@4 {
compatible = "swconfig,port";
reg = <4>;
swconfig,segment = "wan";
swconfig,portmap = <5 5>;
};
};
&wmac {