aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.15/180-dts-mt7622-bpi-r64-add-mt7531-irq.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-03-27 12:54:03 +0200
committerFelix Fietkau <nbd@nbd.name>2022-03-27 12:55:53 +0200
commitade563ba84496406243b3699a27b3de7e08399e7 (patch)
tree6830600d257c707a0599041b779b7b3239dadf17 /target/linux/mediatek/patches-5.15/180-dts-mt7622-bpi-r64-add-mt7531-irq.patch
parenta92db8abe056bd517ca2cc452786c0325ba6dba7 (diff)
downloadupstream-ade563ba84496406243b3699a27b3de7e08399e7.tar.gz
upstream-ade563ba84496406243b3699a27b3de7e08399e7.tar.bz2
upstream-ade563ba84496406243b3699a27b3de7e08399e7.zip
mediatek: add patches for 5.15 and kernel config for mt7622
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/mediatek/patches-5.15/180-dts-mt7622-bpi-r64-add-mt7531-irq.patch')
-rw-r--r--target/linux/mediatek/patches-5.15/180-dts-mt7622-bpi-r64-add-mt7531-irq.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.15/180-dts-mt7622-bpi-r64-add-mt7531-irq.patch b/target/linux/mediatek/patches-5.15/180-dts-mt7622-bpi-r64-add-mt7531-irq.patch
new file mode 100644
index 0000000000..80ceb490d4
--- /dev/null
+++ b/target/linux/mediatek/patches-5.15/180-dts-mt7622-bpi-r64-add-mt7531-irq.patch
@@ -0,0 +1,13 @@
+--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
++++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
+@@ -160,6 +160,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 {