Skip to content

Instantly share code, notes, and snippets.

@kristrev
Created May 30, 2018 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristrev/8e8564ead93248de0c5b0fe8e9292689 to your computer and use it in GitHub Desktop.
Save kristrev/8e8564ead93248de0c5b0fe8e9292689 to your computer and use it in GitHub Desktop.
WE1326 interrupt mapping patch
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>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment