aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-02-10 14:12:45 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-02-10 15:49:28 +0000
commitc32835ccfe683e8d97c4b68cb7d38a3009e72411 (patch)
tree1446430c946e01cce3a7d13b60b2f4d6499968dc /target/linux
parent7323ef2ffab9f25aa92ea786870150baa9db7004 (diff)
downloadupstream-c32835ccfe683e8d97c4b68cb7d38a3009e72411.tar.gz
upstream-c32835ccfe683e8d97c4b68cb7d38a3009e72411.tar.bz2
upstream-c32835ccfe683e8d97c4b68cb7d38a3009e72411.zip
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>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi b/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
index 7358b94a8e..047a4a59ef 100644
--- a/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
+++ b/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
@@ -144,6 +144,10 @@
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 {