[OpenWrt-Devel] [PATCH] ath79: fix wmac memory region for qca953x
Christian Lamparter
chunkeey at gmail.com
Wed Feb 20 12:54:31 EST 2019
On Tuesday, February 19, 2019 7:27:08 AM CET Chuanhong Guo wrote:
> 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>;
The ath9k driver would just need like 0x10000 (in fact qca9557.dtsi 's
wmac node uses this value and I know it works). But this is pretty much
"splitting hairs" at this point.
Cheers,
Christian
_______________________________________________
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