From patchwork Tue Jul 28 10:50:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 11688921 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E1DB614DD for ; Tue, 28 Jul 2020 10:52:37 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB05220656 for ; Tue, 28 Jul 2020 10:52:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="m1NqcJsd"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="chRwB+NR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB05220656 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=1gSLlV0lNLZIjJ2o4oN5zMI+kC4yoUMn0XvoRrGdBJQ=; b=m1NqcJsdMWVtximYRW8ackmJ2F 3vlf37b3mA8CJhZ8qkYPnb75qGQkmWY3XkGHyMni+zWi2XULgz67Y96mmHB8pjymAyWQ4G2ycUwYO RSJH0opxZcaQvmY9/go+GxCK1AKgeJl2GnLhh/WC6TBDbzceTmnaFuItr2FflhWalUCxDoPCgk0Be 5aT16gRBitlHSJNj44SO00SHg4ibeNVMcOFqC1xqIsKSwWJwcEpNtvvn9R4alND0L0HGPTyidw2Lo kROtFXWOrpjZY+aPuerE45U2qGPjkmeg1q+0Mb7MHQ0vpoGKQncFKdVyo1uFA1eHWc0KcpyK8hfBz ZGGkhx4g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k0NCB-00021T-Cp; Tue, 28 Jul 2020 10:50:55 +0000 Received: from mx1.tq-group.com ([62.157.118.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k0NC7-0001yf-5G for linux-arm-kernel@lists.infradead.org; Tue, 28 Jul 2020 10:50:52 +0000 IronPort-SDR: Z/oTkCVLaoIz2Y2pmYxYobCctdersksapKHKNB4iE9lxLmz8lwD/aeEU3+0P/BWjlg96JbZPph G9oQ/pTTV1n6EvY5wbrZ+oLr6Su7wH2gBvonsDbNyFPgG+Wcl0o3T1U8Av7wksiRYhA1Rlv77v 7WC8MWNT9jnKk8Su6oZrFXvM8Stt/FPta9MdUhUniqFSH07HivqHY9SB9mjvApdnPMaNapwrNP ZZlsAJd3MjC063rpVqDVvykZpwn1+MxgK8O3SurBoKQ0qI8di9uYngvKBxY0+7YYn5jXJXzoFc G3s= X-IronPort-AV: E=Sophos;i="5.75,406,1589234400"; d="scan'208";a="13261595" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 28 Jul 2020 12:50:41 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 28 Jul 2020 12:50:42 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 28 Jul 2020 12:50:42 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1595933442; x=1627469442; h=from:to:cc:subject:date:message-id; bh=KV4iUdx+AdKeIi9RN6z2Ez4NYT+otJS82M/3jFBITAs=; b=chRwB+NRgjkxYOfCaSy1JPZ8tCuAUe0CjTOrLZ4p39YpI19RyCzVLaa9 leWmiD27XgSjiSXCupwG3QXDitBraytJFp8rj17iYOB5MEQd6V0OoH799 Qj9a5UKLi0hL3t+j8gfKjc/YCpvEfbvD9bjXIXYE/A2HS5iJ8Hy+3ARk3 wDT8txQegzTlFCqxk6HRtFET5m8L4dxTKol2Z9ni5wUVrAyMMiU2Ew29k /4guuBnzUWZg0M912DffKmT9x9PVtJtOqXvoY/Mg0Iz3SwasIk5xAS2b/ qdRXWTzj5M2DBLv/zTDMmFtqT0iAEphRbHW7yZvuDrwUboNy1kGqpsBgE w==; IronPort-SDR: fuD4Pgi7nzd9mPXQj6NDAAXzDzeiVh66FsM7/EdrbC9OMVjR6Ir9BmG88j7aoffE+O+8E7UB9c mBuJVL2zPsK1jPFj+t1BqY5YCyEQ+GnALRxkb9w1S7CNnl1FFg3RQ55UX5ye2asRc3z+k7g9QW nX12LBjhjsPYgF8vmESUz63M/TsPoXRYYvMzO1HHDv+BcsMw6cY0nCBnvV8y6++aghE3LXigmC Lise3R8/wsWJrwf1dGAMasNiNExL2Zk0wvJwuDzJD+XOeetGlPhoB0DzDHqBWyQ85BvqQrR5za OkU= X-IronPort-AV: E=Sophos;i="5.75,406,1589234400"; d="scan'208";a="13261594" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 28 Jul 2020 12:50:41 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.49.26]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id BBAA7280075; Tue, 28 Jul 2020 12:50:41 +0200 (CEST) From: Matthias Schiffer To: Shawn Guo , Li Yang Subject: [PATCH] arm: dts: ls1021a: fix QuadSPI-memory reg range Date: Tue, 28 Jul 2020 12:50:06 +0200 Message-Id: <20200728105006.7952-1-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200728_065051_439369_8CD28D72 X-CRM114-Status: GOOD ( 12.83 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -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_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matthias Schiffer , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org According to the Reference Manual, the correct size is 512 MiB. Without this fix, probing the QSPI fails: fsl-quadspi 1550000.spi: ioremap failed for resource [mem 0x40000000-0x7fffffff] fsl-quadspi 1550000.spi: Freescale QuadSPI probe failed fsl-quadspi: probe of 1550000.spi failed with error -12 Fixes: 85f8ee78ab72 ("ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC") Signed-off-by: Matthias Schiffer --- arch/arm/boot/dts/ls1021a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index b2ff27af090e..9435ce527e85 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -181,7 +181,7 @@ #address-cells = <1>; #size-cells = <0>; reg = <0x0 0x1550000 0x0 0x10000>, - <0x0 0x40000000 0x0 0x40000000>; + <0x0 0x40000000 0x0 0x20000000>; reg-names = "QuadSPI", "QuadSPI-memory"; interrupts = ; clock-names = "qspi_en", "qspi";