Commit 5f7396ebef09 ("ramips: improve interrupt mapping") changed how
pcie interrupts are mapped for mt7621. The default interrupt mapping in
mt7621.dtsi is incorrect for the ZBT WE1326, causing wifi not to work.
This commit updates the WE1326 DTS with the correct interrupt mapping,
restoring wifi.

Signed-off-by: Kristian Evensen <kristian.even...@gmail.com>
---
 target/linux/ramips/dts/ZBT-WE1326.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/ramips/dts/ZBT-WE1326.dts 
b/target/linux/ramips/dts/ZBT-WE1326.dts
index 6cbab66307..72707192a2 100644
--- a/target/linux/ramips/dts/ZBT-WE1326.dts
+++ b/target/linux/ramips/dts/ZBT-WE1326.dts
@@ -84,6 +84,9 @@
 &pcie {
        status = "okay";
 
+       interrupt-map = <0x10000 0 0 1 &gic GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH>,
+                       <0x20000 0 0 1 &gic GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>;
+
        pcie0 {
                mt76@0,0 {
                        reg = <0x0000 0 0 0 0>;
-- 
2.14.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel

Reply via email to