mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
mt7622: linksys-e8450: enable using mt7531 switch irq
Turns out the MT7531 switch IRQ line is connected to GPIO#53 just like on the BPi-R64, so this seems to be part of the reference design and will probably apply to most MT7622+MT7531 boards. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
7323ef2ffa
commit
c32835ccfe
@ -144,6 +144,10 @@
|
|||||||
switch@0 {
|
switch@0 {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <1>;
|
||||||
|
interrupt-parent = <&pio>;
|
||||||
|
interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
reset-gpios = <&pio 54 0>;
|
reset-gpios = <&pio 54 0>;
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
|
Loading…
Reference in New Issue
Block a user