projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7323ef2
)
mt7622: linksys-e8450: enable using mt7531 switch irq
author
Daniel Golle
<
[email protected]
>
Thu, 10 Feb 2022 14:12:45 +0000
(14:12 +0000)
committer
Daniel Golle
<
[email protected]
>
Thu, 10 Feb 2022 15:49:28 +0000
(15:49 +0000)
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 <
[email protected]
>
target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
patch
|
blob
|
history
diff --git
a/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
b/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
index 7358b94a8e9ce8ab2c19cef81cdbffd349be1fdc..047a4a59efb68e6e7dfcac1e04e67c36f5bfd256 100644
(file)
--- 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 {