forked from mirror/openwrt
realtek: enable MDI swapping for RTL8226 where needed
The RTL8226 PHYs in Zyxel XGS1010-10 and XGS1210-10 rev A1 have swapped MDI lanes. Specify this in the device tree, so the driver can configure it. With this change, the PHYs no longer require initialization by the bootloader. Signed-off-by: Jan Hoffmann <jan@3e8.eu> Link: https://github.com/openwrt/openwrt/pull/21261 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
acedb7e2d3
commit
b943db9cb2
2 changed files with 4 additions and 0 deletions
|
|
@ -105,8 +105,10 @@
|
|||
|
||||
&phy24 {
|
||||
realtek,smi-address = <8>;
|
||||
enet-phy-pair-order = <1>;
|
||||
};
|
||||
|
||||
&phy25 {
|
||||
realtek,smi-address = <9>;
|
||||
enet-phy-pair-order = <1>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -10,8 +10,10 @@
|
|||
|
||||
&phy24 {
|
||||
realtek,smi-address = <8>;
|
||||
enet-phy-pair-order = <1>;
|
||||
};
|
||||
|
||||
&phy25 {
|
||||
realtek,smi-address = <9>;
|
||||
enet-phy-pair-order = <1>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue