[From nobody Thu Jun 25 05:55:01 2020
Received: from mail.codigosur.net ([109.69.10.39])
 by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
 id 1goKsv-0005yK-Ic
 for openwrt-devel@lists.openwrt.org; Tue, 29 Jan 2019 04:20:31 +0000
Received: from authenticated-user (mail.codigosur.net [109.69.10.39])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mail.codigosur.net (Postfix) with ESMTPSA id 55F8C8E1853;
 Tue, 29 Jan 2019 04:14:00 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=altermundi.net;
 s=mail; t=1548735242;
 bh=g3DGAZv/zfpI09mJfO0fNp1jbVO9cZ6WIStotUjeiFU=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=d7jyleQRW5CYjMqQXrVtbd1QboJDrwGzyiwJC3YEuKDkfMkixhiJp9s9SIcYdR2P5
 gibUIDTIS/59ZUffF+xUBzKHS6Wri4LApZbRwIHV28hvTd8KI4wAoj7QdHKIBrJg0E
 6a/DcEDnhlFtPmChSs3UqZiXvYvSb2GSe19Zuw6W3T+0fov4SmDMyjd8f3AfaqlKhk
 9xkeVR2wa8frj6+x05p/nU1iWegZPV9u6vdy4ZG+phP618IYSTuYtTRUS5IgIKY4sL
 ZjFIt031dpv7Fh+xPanZGHJlTx1VIPyGX464OrzjMPWoFEpL6El2gqn1DNw9fvcpNg
 QG5jiYHyCRM4w==
From: Santiago Piccinini &lt;spiccinini@altermundi.net&gt;
To: openwrt-devel@lists.openwrt.org
Cc: Santiago Piccinini &lt;spiccinini@altermundi.net&gt;
Subject: [PATCH 2/2] ath79: fix qca955x dual pci resource allocation
Date: Tue, 29 Jan 2019 01:12:53 -0300
Message-Id: &lt;20190129041253.18725-3-spiccinini@altermundi.net&gt;
In-Reply-To: &lt;20190129041253.18725-1-spiccinini@altermundi.net&gt;
References: &lt;20190129041253.18725-1-spiccinini@altermundi.net&gt;
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20190128_202029_766496_96FBFE7E 
X-CRM114-Status: GOOD (  10.04  )
X-Spam-Score: -0.2 (/)
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
 Content analysis details:   (-0.2 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/,
 no trust [109.69.10.39 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
 valid
 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from
 envelope-from domain
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
 author's domain

Tested with a dual pci QCA9558 board (LibreRouter v1) in three
configurations: enabling pcie0 only, pcie1 only and both enabled.

Signed-off-by: Santiago Piccinini &lt;spiccinini@altermundi.net&gt;
---
 target/linux/ath79/dts/qca9557.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ath79/dts/qca9557.dtsi b/target/linux/ath79/dts/qca9557.dtsi
index 541aa6916e..77e5a316dd 100644
--- a/target/linux/ath79/dts/qca9557.dtsi
+++ b/target/linux/ath79/dts/qca9557.dtsi
@@ -209,7 +209,7 @@
 				      &lt;0x16000000 0x1000&gt;; /* CFG */
 				reg-names = &quot;crp_base&quot;, &quot;ctrl_base&quot;, &quot;cfg_base&quot;;
 				ranges = &lt;0x2000000 0 0x12000000 0x12000000 0 0x02000000	/* pci memory */
-					  0x1000000 0 0x00000000 0x0000000 0 0x000001&gt;;		/* io space */
+					  0x1000000 0 0x00000000 0x0000001 0 0x000001&gt;;		/* io space */
 				interrupt-parent = &lt;&amp;intc3&gt;;
 				interrupts = &lt;0&gt;;
 
-- 
2.20.1


]