mpc85xx: poll PHY status

Disable interrupts for the eth-PHYs, as the interrupts are either not
firing or lost within the stack. Switch to polling the PHY status in the
meantime until a proper fix is implemented.

Ref: https://github.com/openwrt/openwrt/issues/12192

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer 2023-03-20 17:27:58 +01:00
parent ed82189339
commit cff40ef122
2 changed files with 4 additions and 4 deletions

View File

@ -207,12 +207,12 @@
mdio@24000 {
phy0: ethernet-phy@0 {
interrupts = <3 1 0 0>;
/* interrupts = <3 1 0 0>; */
reg = <0x1>;
};
phy1: ethernet-phy@1 {
interrupts = <2 1 0 0>;
/* interrupts = <2 1 0 0>; */
reg = <0x2>;
};
};

View File

@ -144,7 +144,7 @@
mdio@24000 {
phy0: ethernet-phy@0 {
interrupts = <3 1 0 0>;
/* interrupts = <3 1 0 0>; */
reg = <0x5>;
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
@ -152,7 +152,7 @@
};
phy2: ethernet-phy@2 {
interrupts = <1 1 0 0>;
/* interrupts = <1 1 0 0>; */
reg = <0x6>;
reset-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;