From patchwork Mon May 13 15:22:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 2559121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id B8F35DF2E5 for ; Mon, 13 May 2013 15:28:18 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UbucR-0003Mo-0c; Mon, 13 May 2013 15:25:03 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ubub4-0007zv-Sp; Mon, 13 May 2013 15:23:30 +0000 Received: from mail-lb0-f171.google.com ([209.85.217.171]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ubub2-0007yY-92 for linux-arm-kernel@lists.infradead.org; Mon, 13 May 2013 15:23:28 +0000 Received: by mail-lb0-f171.google.com with SMTP id u10so6534100lbi.30 for ; Mon, 13 May 2013 08:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=YT7JKYW3RU9WKaEuFRHUkBr8UQkGLzkhAfMbWyg7g5w=; b=QOqTXd9vNllwSGWQb7KXTzK1W0fpkEK4zgcnoO55/KCelLICcoymcJeFkyCO4h/UJd gDpOJ4brmaWlUTXEmYyI4G70wJ+b+qVRiH2DCzx/u2TH/hCQkkzwGQ1smff1vEkLLfnr xuGEtZ2y+dwtcEg4UZeHifNDcaITfejhEZzGm3I2d3S4IWqdKkSpPzZGYfMcl3tEybac EPTnbyh3fxnrnhR2GJSEP9bSxj5Iv8hIWbpW/AIQMz0Yxs1uYH+6nmCJ6YeXDdNTWMK2 ak7B7lwEQZFcuP3M0LnN2FTUcSXcqzmBH+VbFmFioXTOJz6CH//W8oVj68yRknov2Sfg qeHQ== X-Received: by 10.152.27.39 with SMTP id q7mr13501003lag.36.1368458585057; Mon, 13 May 2013 08:23:05 -0700 (PDT) Received: from localhost.localdomain (58.222.3.200.ros.express.com.ar. [200.3.222.58]) by mx.google.com with ESMTPSA id y3sm5653311lby.12.2013.05.13.08.22.58 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 May 2013 08:23:04 -0700 (PDT) From: Ezequiel Garcia To: Subject: [PATCH] ARM: mvebu: Add a ranges entry to translate devbus childs Date: Mon, 13 May 2013 12:22:53 -0300 Message-Id: <1368458573-18043-1-git-send-email-elezegarcia@gmail.com> X-Mailer: git-send-email 1.8.1.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130513_112328_451096_3EC1E20F X-CRM114-Status: GOOD ( 10.42 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.217.171 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (elezegarcia[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Thomas Petazzoni , Lior Amsalem , Jason Cooper , Andrew Lunn , Jason Gunthorpe , Maen Suleiman , Ezequiel Garcia , Gregory Clement X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Ezequiel Garcia With the latest device tree reorganization which introduced the 'internal-reg' node, now the only region translated is the internal register's. This makes the description of the hardware incomplete, for it lacks the Device Bus childs address space. In order to fix this, it's required to add a 'ranges' entry with a suitable address space to map Device Bus childs, on a per-board basis. Signed-off-by: Ezequiel Garcia --- Applies on v3.10-rc1. This is meant for v3.10. arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts index f14d36c..46b7850 100644 --- a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +++ b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts @@ -27,6 +27,9 @@ }; soc { + ranges = <0 0 0xd0000000 0x100000 + 0xf0000000 0 0xf0000000 0x8000000>; + internal-regs { serial@12000 { clock-frequency = <250000000>;