[openwrt/openwrt] mediatek: backport mt7622 dts fix for mt7531 switch id to 6.1

LEDE Commits lede-commits at lists.infradead.org
Fri May 3 09:45:55 PDT 2024


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3fe239fcf8d0ea91b947af25fd28a6133aba93c6

commit 3fe239fcf8d0ea91b947af25fd28a6133aba93c6
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri May 3 18:19:20 2024 +0200

    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 at nbd.name>
---
 .../181-mt7622_fix_dts_mt7531_reg.patch            | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

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 at 0 {
++		switch at 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 at 0 {
++		switch at 1f {
+ 			compatible = "mediatek,mt7531";
+-			reg = <0>;
++			reg = <31>;
+ 			reset-gpios = <&pio 54 0>;
+ 
+ 			ports {




More information about the lede-commits mailing list