mt7622: bpi-r64: enable using mt7531 switch irq
authorDaniel Golle <daniel@makrotopia.org>
Thu, 10 Feb 2022 13:48:10 +0000 (13:48 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 10 Feb 2022 15:49:18 +0000 (15:49 +0000)
commit7323ef2ffab9f25aa92ea786870150baa9db7004
treebe6eb00e8d1da17b531021cc931188e10af04f90
parentf9cfe7af1f1f16082eb1fdda89f0331948517f22
mt7622: bpi-r64: enable using mt7531 switch irq

Now that we support link-state-change interrupts, wire up MT7531 IRQ
line which is connected to GPIO#53 according to the schematics [1].

As a result, PHY state no longer needs to be polled on that board.

[1]: https://forum.banana-pi.org/t/bpi-r64-mt7622-schematic-diagram-public/10118
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/patches-5.10/180-dts-mt7622-bpi-r64-add-mt7531-irq.patch [new file with mode: 0644]