[OpenWrt-Devel] [PATCH] ath79: fix wmac memory region for qca953x

Chuanhong Guo gch981213 at gmail.com
Tue Feb 19 01:27:08 EST 2019


According to /arch/mips/include/asm/mach-ath79/ar71xx_regs.h
the size of wmac register range for qca953x is only 0x20000.

Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
---
 target/linux/ath79/dts/qca953x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ath79/dts/qca953x.dtsi b/target/linux/ath79/dts/qca953x.dtsi
index 4ce5bfe0a2..669e3fb851 100644
--- a/target/linux/ath79/dts/qca953x.dtsi
+++ b/target/linux/ath79/dts/qca953x.dtsi
@@ -173,7 +173,7 @@
 
 			wmac: wmac at 18100000 {
 				compatible = "qca,qca9530-wmac";
-				reg = <0x18100000 0x230000>;
+				reg = <0x18100000 0x20000>;
 
 				interrupt-parent = <&intc2>;
 				interrupts = <0>;
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list