mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
mediatek: no longer hard-code WAN PHY of Netgear WAX206
The RealTek 2.5G PHY providing the WAN port of the Netgear WAX206 has previously been hard-coded in the device tree. Now that the PHY can be probed correctly also via Clause-45 MDIO, use that instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
28b3a5e6b5
commit
3221128639
@ -185,7 +185,7 @@
|
|||||||
nvmem-cells = <&macaddr_factory_7fffa>;
|
nvmem-cells = <&macaddr_factory_7fffa>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
phy-handle = <&rtl8221b_phy>;
|
phy-handle = <&rtl8221b_phy>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "2500base-x";
|
||||||
reg = <5>;
|
reg = <5>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -204,7 +204,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
rtl8221b_phy: ethernet-phy@7 {
|
rtl8221b_phy: ethernet-phy@7 {
|
||||||
compatible = "ethernet-phy-id001c.c849";
|
compatible = "ethernet-phy-ieee802.3-c45";
|
||||||
reg = <7>;
|
reg = <7>;
|
||||||
reset-gpios = <&pio 101 GPIO_ACTIVE_LOW>;
|
reset-gpios = <&pio 101 GPIO_ACTIVE_LOW>;
|
||||||
interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
Loading…
Reference in New Issue
Block a user