1
1

ath79: report link state on ETH2 port of Mikrotik RBmAP-2nD

Add node for swphy1 in qca953x.dtsi, as it is common part - but make it
disabled, as this one is rarely used in other devices. Enable it in
RBmAP-2nD and attach to eth1 as PHY.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/9971
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Lech Perczak 2022-07-23 12:37:08 +02:00 committed by Hauke Mehrtens
parent e017f0212e
commit 6276931f42
2 changed files with 15 additions and 0 deletions

View File

@ -114,6 +114,15 @@
};
};
&swphy1 {
status = "okay";
};
&eth1 {
phy-handle = <&swphy1>;
/delete-node/ fixed-link;
};
&usb0 {
status = "okay";
};

View File

@ -267,6 +267,12 @@
phy-mode = "mii";
};
swphy1: ethernet-phy@1 {
status = "disabled";
reg = <1>;
phy-mode = "mii";
};
swphy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "mii";