summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2024-05-03 18:19:20 +0200
committerFelix Fietkau <nbd@nbd.name>2024-05-03 18:45:46 +0200
commit3fe239fcf8d0ea91b947af25fd28a6133aba93c6 (patch)
tree3e8976966b8131ce5e5f8dfdcafffb11a1ecbb72
parentfc221b065a94dbd9c11218a777a86c1bcdc69ee5 (diff)
downloadopenwrt-3fe239fcf8d0ea91b947af25fd28a6133aba93c6.tar.gz
openwrt-3fe239fcf8d0ea91b947af25fd28a6133aba93c6.tar.bz2
openwrt-3fe239fcf8d0ea91b947af25fd28a6133aba93c6.zip
mediatek: backport mt7622 dts fix for mt7531 switch id to 6.1
Fixes: ac8bfe316b81 ("generic: 6.1, 6.6: mt7530: import accepted patches") Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--target/linux/mediatek/patches-6.1/181-mt7622_fix_dts_mt7531_reg.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-6.1/181-mt7622_fix_dts_mt7531_reg.patch b/target/linux/mediatek/patches-6.1/181-mt7622_fix_dts_mt7531_reg.patch
new file mode 100644
index 0000000000..3d2c2c1dec
--- /dev/null
+++ b/target/linux/mediatek/patches-6.1/181-mt7622_fix_dts_mt7531_reg.patch
@@ -0,0 +1,28 @@
+--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
++++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
+@@ -152,9 +152,9 @@
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+- switch@0 {
++ switch@1f {
+ compatible = "mediatek,mt7531";
+- reg = <0>;
++ reg = <31>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ interrupt-parent = <&pio>;
+--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
++++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+@@ -117,9 +117,9 @@
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+- switch@0 {
++ switch@1f {
+ compatible = "mediatek,mt7531";
+- reg = <0>;
++ reg = <31>;
+ reset-gpios = <&pio 54 0>;
+
+ ports {