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:
parent
e017f0212e
commit
6276931f42
@ -114,6 +114,15 @@
|
||||
};
|
||||
};
|
||||
|
||||
&swphy1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ð1 {
|
||||
phy-handle = <&swphy1>;
|
||||
/delete-node/ fixed-link;
|
||||
};
|
||||
|
||||
&usb0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user