summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmery Hsin <emery.hsin@mediatek.com>2026-06-12 15:53:10 +0800
committerFelix Fietkau <nbd@nbd.name>2026-07-31 12:25:36 +0000
commite34e157e6e7cd048f764f2cc752dd4068031ddb1 (patch)
tree442990044a1d3608919fc464f1e64a6610c92eb4
parente058739cbf846160678dc878aadc2bb14a2af83d (diff)
downloadlinux-next-e34e157e6e7cd048f764f2cc752dd4068031ddb1.tar.gz
linux-next-e34e157e6e7cd048f764f2cc752dd4068031ddb1.zip
wifi: mt76: mt7925: fix MMIO dynamic remap window size
Fix the 0x7c500000 remap entry window size from 0x2000000 (32MB) to 0x200000 (2MB) to match the actual addressable range. This is a preparation patch before enabling MT7928 PCIe support. Signed-off-by: Emery Hsin <emery.hsin@mediatek.com> Link: https://patch.msgid.link/20260612075313.2578154-2-jb.tsai@mediatek.com Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7925/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7925/pci.c b/drivers/net/wireless/mediatek/mt76/mt7925/pci.c
index 61349c260b12..e181cd0b6403 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7925/pci.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7925/pci.c
@@ -161,7 +161,7 @@ static u32 __mt7925_reg_addr(struct mt792x_dev *dev, u32 addr)
{ 0x7c060000, 0x0e0000, 0x0010000 }, /* CONN_INFRA, conn_host_csr_top */
{ 0x7c000000, 0x0f0000, 0x0010000 }, /* CONN_INFRA */
{ 0x70020000, 0x1f0000, 0x0010000 }, /* Reserved for CBTOP, can't switch */
- { 0x7c500000, 0x060000, 0x2000000 }, /* remap */
+ { 0x7c500000, 0x060000, 0x200000 }, /* remap */
{ 0x0, 0x0, 0x0 } /* End */
};
int i;