Commit 983f37ee authored by Daniel Golle's avatar Daniel Golle Committed by Matthias Brugger

arm64: dts: mt7622: handle interrupts from MT7531 switch on BPI-R64

Since commit ba751e28 ("net: dsa: mt7530: add interrupt support")
the mt7530 driver can act as an interrupt controller. Wire up irq line
of the MT7531 switch on the BananaPi BPi-R64 board, so the status of
the PHYs of the five 1000Base-T ports doesn't need to be polled any
more.
Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/ZEA-DV_OsmFg5egL@makrotopia.orgSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent d278f43f
......@@ -150,6 +150,10 @@ mdio: mdio-bus {
switch@0 {
compatible = "mediatek,mt7531";
reg = <0>;
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&pio>;
interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
reset-gpios = <&pio 54 0>;
ports {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment