From a4286066462253aaa270ba902e52c167f5fac1c0 Mon Sep 17 00:00:00 2001
From: Christian Lamparter <chunkeey@gmail.com>
Date: Wed, 15 Aug 2018 17:53:48 +0200
Subject: [PATCH] ath79: fix WNDR3700/WNDR3800 wifi reg size

"[...] the size component shall be zero."
(See "PCI Bus Binding to: IEEE Std 1275-1994 Rev 2.1"
section "4.1.1 Open Firmware-defined Properties for Child Nodes")

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
---
 target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
index 7d842af06071..08b3c77b3931 100644
--- a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
+++ b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
@@ -156,7 +156,7 @@
 
 	ath9k0: wifi@0,11 {
 		compatible = "pci168c,0029";
-		reg = <0x8800 0 0 0 0x10000>;
+		reg = <0x8800 0 0 0 0>;
 		mtd-mac-address = <&art 0x0>;
 		qca,no-eeprom;
 		#gpio-cells = <2>;
@@ -165,7 +165,7 @@
 
 	ath9k1: wifi@0,12 {
 		compatible = "pci168c,0029";
-		reg = <0x9000 0 0 0 0x10000>;
+		reg = <0x9000 0 0 0 0>;
 		mtd-mac-address = <&art 0xc>;
 		qca,no-eeprom;
 		#gpio-cells = <2>;
-- 
2.30.2