From patchwork Mon Jan 21 15:53:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10774155 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 014286C2 for ; Mon, 21 Jan 2019 15:53:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E38F12A5E3 for ; Mon, 21 Jan 2019 15:53:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D6EA62A5FF; Mon, 21 Jan 2019 15:53:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6F3A52A5E3 for ; Mon, 21 Jan 2019 15:53:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=rhqHNLeIWHsKf4vTnVff8txi5fX8WHXfTYY1Zoxlskg=; b=o98b/AC6waDTbF ALgUiE0PxLkPD69MbAu+uyN7UOzB2VZHzM4hMgJm9sHDGGgeKR/vz/PzlHeSU6ouVSZ7RG7c7DyuA v5/WBKYA5i5xamWhDWY8flYi14NdiVZ7SHtEDeHGXk3J0Ch392gEJFUHdgFDsVBIuJ4vfGxxRwK4D Ho48GfXFeCW/Yxk3y4aseMoYnESJ++62F3BKW9T4RVY3SVAGPyfPUz688+Te18HvyRZf+IyELD/jv Vrvp1Ud2Pcc0hkOwSaJShMgrm6+mKrXCd8XLYJ41puwJgENbSh2rLYRiMFTP+pA5JucNkgWsKHgCR eQkkIN/870nNESY5/5bw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1glbtG-0000IJ-5d; Mon, 21 Jan 2019 15:53:34 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1glbtD-0000Hq-6N for linux-arm-kernel@lists.infradead.org; Mon, 21 Jan 2019 15:53:32 +0000 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 502145C0231; Mon, 21 Jan 2019 16:53:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1548086008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=vgFqHtX8fjLIbergTlpat5cFh3/hh9idcGERWWcWmdw=; b=mI9oavZYjpa7ZfZdgDwMnc86XunWhHZ5g0P29oau/kGJA5WAhU5XZJNhWxppuLbMEJI/pk MoeVeG0utJiJ6Gqvs+q78fqzKqG1k8csfKepwN5B3JrcEkUVbA55SERAMxFv5wZjhc5LpX PktzjaBBfqiqLiEiYES/9B7/qoPTDK0= From: Stefan Agner To: shawnguo@kernel.org, s.hauer@pengutronix.de Subject: [PATCH] ARM: dts: colibri: use valid range configuration for weim Date: Mon, 21 Jan 2019 16:53:27 +0100 Message-Id: <20190121155327.12554-1-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190121_075331_379889_B5FE3B0F X-CRM114-Status: GOOD ( 13.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcel.ziswiler@toradex.com, linux-kernel@vger.kernel.org, Stefan Agner , max.krummenacher@toradex.com, dev@pschenker.ch, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP A valid WEIM range configuration must specify range entries for all four chip selects. This fixes an error on boot: imx-weim: probe of 21b8000.weim failed with error -22 Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts index f7bcc1181c4a..5ee2ddedd038 100644 --- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts @@ -238,10 +238,11 @@ &weim { status = "okay"; - /* weim memory map: 32MB on CS0, 32MB on CS1, 32MB on CS2 */ + /* weim memory map: 32MB on CS0, CS1, CS2 and CS3 */ ranges = <0 0 0x08000000 0x02000000 1 0 0x0a000000 0x02000000 - 2 0 0x0c000000 0x02000000>; + 2 0 0x0c000000 0x02000000 + 3 0 0x0e000000 0x02000000>; /* SRAM on Colibri nEXT_CS0 */ sram@0,0 {