aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-03-20 17:27:58 +0100
committerDavid Bauer <mail@david-bauer.net>2023-03-20 22:21:31 +0100
commitcff40ef1226eeb9900622941c51c9c9c6b0a732f (patch)
tree69608f99bbd66053bb8904205a6e0f1f5cb0573e /target/linux/mpc85xx
parented82189339b8bcecfe709f1ce8f3500fb4aedab1 (diff)
downloadupstream-cff40ef1226eeb9900622941c51c9c9c6b0a732f.tar.gz
upstream-cff40ef1226eeb9900622941c51c9c9c6b0a732f.tar.bz2
upstream-cff40ef1226eeb9900622941c51c9c9c6b0a732f.zip
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>
Diffstat (limited to 'target/linux/mpc85xx')
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts4
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts4
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
index d6a8da84ef..a807403a07 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
@@ -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>;
};
};
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
index bc467f6b2f..684bd72548 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
@@ -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>;