From patchwork Mon May 6 09:16:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095757 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="wCbnkCHF"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHKb50SMz9s5c for ; Mon, 6 May 2019 19:21:07 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 3D7BEC21D4A; Mon, 6 May 2019 09:19:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 32EDEC21DD4; Mon, 6 May 2019 09:17:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8B4E3C21E15; Mon, 6 May 2019 09:17:17 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lists.denx.de (Postfix) with ESMTPS id B8D67C21C27 for ; Mon, 6 May 2019 09:17:14 +0000 (UTC) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4692IlR009573; Mon, 6 May 2019 11:17:10 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=iMGNaUqQ26PV9zQWnI7yBb2dFv3vGqmzKjNlCHHjz1Q=; b=wCbnkCHFUEKj7qHzhKJ8K0BYef0BZHI4ShOP0CpoyzeNEUAZj31F5f2+kHvO2Z/gcdGN Z1nD71IyvVLjyiJwXHgSFvzXC/RiBVrJvfGclG2BEM3Qe0f7l+S2uJRVPLPxep+XO/rA 5qxpK4CEBlGhCvD99sWMxD49huY4a6yJEdoYXkN1OmwFFLYv3EweGVy+eFbbgxRb9x+U 5sTf6wGEw/c4VM7U4z9uL9QBki6w3jeYEBdFQRsJN82G8FQ8bXIQjv0/oopPXaLsMW5I nk9CWWu5dmoErRSQkjaEX8HuAOdT1s9Yf1FKCMBrNcHnGmdNDR4Pn3dQftFwUjcKmb4x 1A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2s94c38k2h-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:10 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EFEB538; Mon, 6 May 2019 09:17:08 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D5FBF15BC; Mon, 6 May 2019 09:17:08 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:08 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:16:52 +0200 Message-ID: <1557134223-4549-2-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: U-Boot STM32 Subject: [U-Boot] [PATCH 01/12] mach-stm32: Add MPU region for spi-nor memory mapped region X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The Quad-SPI interface is able to manage up to 256Mbytes Flash memory starting from 0x90000000 to 0x9FFFFFFF in the memory mapped mode. Add a dedicated MPU region into stm32_region_config. See application note AN4760 available at www.st.com Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32/soc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-stm32/soc.c b/arch/arm/mach-stm32/soc.c index 738305c..6ae31d3 100644 --- a/arch/arm/mach-stm32/soc.c +++ b/arch/arm/mach-stm32/soc.c @@ -21,6 +21,9 @@ int arch_cpu_init(void) O_I_WB_RD_WR_ALLOC, REGION_16MB }, #endif + { 0x90000000, REGION_1, XN_DIS, PRIV_RW_USR_RW, + SHARED_WRITE_BUFFERED, REGION_256MB }, + #if defined(CONFIG_STM32F7) || defined(CONFIG_STM32H7) { 0xC0000000, REGION_0, XN_DIS, PRIV_RW_USR_RW, O_I_WB_RD_WR_ALLOC, REGION_512MB }, From patchwork Mon May 6 09:16:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095741 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="ZlcWTTNz"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHFG72d4z9s4V for ; Mon, 6 May 2019 19:17:22 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D289AC21DED; Mon, 6 May 2019 09:17:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 7B44EC21BE5; Mon, 6 May 2019 09:17:14 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 04DD8C21C4A; Mon, 6 May 2019 09:17:12 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id 9E0A0C21BE5 for ; Mon, 6 May 2019 09:17:12 +0000 (UTC) Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x469GqWv010400; Mon, 6 May 2019 11:17:10 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=AhidzK1XLZGFNwXN15UcbIyglafYOQLxbnrLNTs/xMA=; b=ZlcWTTNz7faIGnTegxqSR15uRo/GLXV4vBeT9s+AmhffDA4jeSBTMCkfSRtsD4euQNZZ D8bqORcbr/WYYjh3OyGz2cykeBxzrDXwmN+4MUT4H7sVq8JFmpBaDAmngovKRu3MLm8D P0p8U7LjcRwa9Cvix0kPNpwZM7TiBpiA/+KwHuYC4TZoMZz718zI4HP6eKXGW9iaaVHd b2Vr5lg5PQcpqEMQRm/9EKEM6TaGeNNWiKNTYCFkm9JHdpMUZQcnjdyWQPHgcYcEPTaa krTdo099es2Z9/Aab7Jru4/YBYxM42AO//FSbW2OzA9kMTRbAThrdMygSQoGFVaJIdvt VA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2s94cd8eau-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:10 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CF0EF3A; Mon, 6 May 2019 09:17:09 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B662D15BC; Mon, 6 May 2019 09:17:09 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:09 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:16:53 +0200 Message-ID: <1557134223-4549-3-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG3NODE1.st.com (10.75.127.7) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: Tom Rini , U-Boot STM32 Subject: [U-Boot] [PATCH 02/12] ARM: dts: stm32: Fix qspi memory map size for stm32f7 boards X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" stm32f746-disco embeds a 16Mb qspi flash, stm32f746-eval and stm32f769-disco embeds a 64Mb qspi flash. Update the reg property accordingly Remove deprecated memory-map property. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32746g-eval-u-boot.dtsi | 1 + arch/arm/dts/stm32f746-disco-u-boot.dtsi | 2 +- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32746g-eval-u-boot.dtsi b/arch/arm/dts/stm32746g-eval-u-boot.dtsi index 9b55bb7..935d44d 100644 --- a/arch/arm/dts/stm32746g-eval-u-boot.dtsi +++ b/arch/arm/dts/stm32746g-eval-u-boot.dtsi @@ -177,6 +177,7 @@ }; &qspi { + reg = <0xA0001000 0x1000>, <0x90000000 0x4000000>; qflash0: n25q512a { #address-cells = <1>; #size-cells = <1>; diff --git a/arch/arm/dts/stm32f746-disco-u-boot.dtsi b/arch/arm/dts/stm32f746-disco-u-boot.dtsi index bc337b1..a6799be 100644 --- a/arch/arm/dts/stm32f746-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f746-disco-u-boot.dtsi @@ -234,6 +234,7 @@ }; &qspi { + reg = <0xA0001000 0x1000>, <0x90000000 0x1000000>; qflash0: n25q128a { #address-cells = <1>; #size-cells = <1>; @@ -241,7 +242,6 @@ spi-max-frequency = <108000000>; spi-tx-bus-width = <1>; spi-rx-bus-width = <1>; - memory-map = <0x90000000 0x1000000>; reg = <0>; }; }; diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi b/arch/arm/dts/stm32f769-disco-u-boot.dtsi index e9e43cb..96770da 100644 --- a/arch/arm/dts/stm32f769-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f769-disco-u-boot.dtsi @@ -155,6 +155,7 @@ }; &qspi { + reg = <0xA0001000 0x1000>, <0x90000000 0x4000000>; flash0: mx66l51235l { #address-cells = <1>; #size-cells = <1>; From patchwork Mon May 6 09:16:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095742 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="KbKkIkm5"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHFk3dl0z9s4V for ; Mon, 6 May 2019 19:17:46 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 3C3BDC21CB1; Mon, 6 May 2019 09:17:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 004D1C21CB6; Mon, 6 May 2019 09:17:15 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 23223C21BE5; Mon, 6 May 2019 09:17:12 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id A0258C21C27 for ; Mon, 6 May 2019 09:17:12 +0000 (UTC) Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x469GJWJ004449; Mon, 6 May 2019 11:17:11 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=TWQmlA+TC65/VbM5o2hcrGodtI/RQNR+CAN609zfTv0=; b=KbKkIkm5tx+X4+daxwEy9G1Vg8pw0pyqSe1PL8H+OfbqPuU7b4+ye+bVLYy76sMCZvc4 D6APVUlO7TZXRuPn3hnRYtto1NwxWchny+gKborZ/RU1Mar6nhl5JkDdB/ZObcERbKaO /TprTdruVdFnj7jAG/ZBcqOJFGNwvRNPi6xEEIZ/OK0Ecf5CVie0WeYGsW76Y/DE4fIT bA2GTIfWwwjxWDPZaijjwX6REKdvqbBA8TDxJQtvUrCCeLuNBD+k07H6XHcdrJFSL9SI IYdq4/YMRhpm6lYpNbJoMNswJXVFuH6oNnuvHFHtwqvFl3Z80ZJQOzbOVBdiZcRNEtTh Dg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2s94bvgeau-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:11 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8926831; Mon, 6 May 2019 09:17:10 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6D40715BC; Mon, 6 May 2019 09:17:10 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:10 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:16:54 +0200 Message-ID: <1557134223-4549-4-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: Tom Rini , U-Boot STM32 Subject: [U-Boot] [PATCH 03/12] ARM: dts: stm32: add qspi flash compatible string for stm32f769-disco X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add missing flash compatible string to be able to read/write into qspi flash. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi b/arch/arm/dts/stm32f769-disco-u-boot.dtsi index 96770da..1e8cd6d 100644 --- a/arch/arm/dts/stm32f769-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f769-disco-u-boot.dtsi @@ -159,6 +159,7 @@ flash0: mx66l51235l { #address-cells = <1>; #size-cells = <1>; + compatible = "jedec,spi-nor"; spi-max-frequency = <108000000>; spi-rx-bus-width = <4>; reg = <0>; From patchwork Mon May 6 09:16:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095746 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="ueXdparp"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHHf06B4z9s4V for ; Mon, 6 May 2019 19:19:25 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 8AF66C21C4A; Mon, 6 May 2019 09:17:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 75F69C21D8E; Mon, 6 May 2019 09:17:15 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3C1C7C21C27; Mon, 6 May 2019 09:17:13 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id CE35BC21C38 for ; Mon, 6 May 2019 09:17:12 +0000 (UTC) Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x469GJWK004449; Mon, 6 May 2019 11:17:11 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=gE7LWuPI9giyzSRtfdA3nU2sY6aRomMOA4uFQNjEvTU=; b=ueXdparpsofrqofpdxywEWoHPmOZbRvljRR5hwSfwWqVOaEcVVkVeZWRGDbli9QySZE8 VK5W14djsuGs8i9IrEsVsOoxogF5oj3ITr1q2UrhKSyuakkdSNiMAJkVU774jkm+kuT9 EDxEpbFo4A2xes25VzTEfzS0WqzBhWOzO/YUmP3Ynp9hbvEd9ZRhiQByB2mnTYaulccE OuBGEr2W91zsrYZ810tCMFzXMIql+qz1BKAUuKjyGgFU5jAFwRGZc8xcJnOWqFUsg1iL RBYxEqwcpWogqqAOSYCCs1k9pPxyH0BiHzQj6c/FKFORCKTswCcRZ71O4iBuBKi2NbPv lg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2s94bvgeaw-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:11 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 572373A; Mon, 6 May 2019 09:17:11 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3F7B915C8; Mon, 6 May 2019 09:17:11 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:10 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:16:55 +0200 Message-ID: <1557134223-4549-5-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: Tom Rini , U-Boot STM32 Subject: [U-Boot] [PATCH 04/12] ARM: dts: stm32: add qspi flash compatible string for stm32f746-eval X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add missing flash compatible string to be able to read/write into qspi flash. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32746g-eval-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/stm32746g-eval-u-boot.dtsi b/arch/arm/dts/stm32746g-eval-u-boot.dtsi index 935d44d..58c6adb 100644 --- a/arch/arm/dts/stm32746g-eval-u-boot.dtsi +++ b/arch/arm/dts/stm32746g-eval-u-boot.dtsi @@ -181,6 +181,7 @@ qflash0: n25q512a { #address-cells = <1>; #size-cells = <1>; + compatible = "jedec,spi-nor"; spi-max-frequency = <108000000>; spi-tx-bus-width = <1>; spi-rx-bus-width = <1>; From patchwork Mon May 6 09:16:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095744 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="bqy2Vhci"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHGz4Cg7z9sB8 for ; Mon, 6 May 2019 19:18:51 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 3F9F9C21D4A; Mon, 6 May 2019 09:18:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9F633C21DDC; Mon, 6 May 2019 09:17:16 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7AFAAC21C38; Mon, 6 May 2019 09:17:14 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lists.denx.de (Postfix) with ESMTPS id 358CDC21BE5 for ; Mon, 6 May 2019 09:17:14 +0000 (UTC) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4698YXG006442; Mon, 6 May 2019 11:17:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=Iy9TSzspIPTzIK/HBHGv0jY4HMtE9MhEqOEjCcRy8ec=; b=bqy2VhcitJlz8Xmoc/rWgBj4uInrqI7zfqBIzPNRziasalsW0l78SvIh4xJZnjL9oGIR dKv6Sj2mdxrEwCRuybspcvSI8ZUvRSCfz+Dbq5rK7hcsOELId97c/nsKi499ozDgzyKS +aTHFaOuX564fgLoYNo8e+1xb3ceJDOGKD/Hj9QSOj5Gho7l3kVzQY7tfbye7kO8G+rh 6IiegFqVvISlzK0dLpRSvIvfqJBRb0xmhoFqVN1Qvhog5yt+fEqMqMYFqkP3VHrEqi0U /PwJWgAfPySORFLGuCjlkjvGgpP65o6Nh7820pJirlBTRplmzOO1yMC1zobHe6fmmN/s iQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2s94cb8jn9-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:12 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3476E3D; Mon, 6 May 2019 09:17:12 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1AF2615C8; Mon, 6 May 2019 09:17:12 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:11 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:16:56 +0200 Message-ID: <1557134223-4549-6-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: Tom Rini , U-Boot STM32 Subject: [U-Boot] [PATCH 05/12] ARM: dts: stm32: Set spi-rx/tx-bus-width to 4 for stm32f746-eval X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" As n25q512a qspi flash supports quad input fast program and quad input fast read, set spi-tx_bus-width and spi-rx_bus-width to 4. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32746g-eval-u-boot.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/stm32746g-eval-u-boot.dtsi b/arch/arm/dts/stm32746g-eval-u-boot.dtsi index 58c6adb..d5fb927 100644 --- a/arch/arm/dts/stm32746g-eval-u-boot.dtsi +++ b/arch/arm/dts/stm32746g-eval-u-boot.dtsi @@ -183,8 +183,8 @@ #size-cells = <1>; compatible = "jedec,spi-nor"; spi-max-frequency = <108000000>; - spi-tx-bus-width = <1>; - spi-rx-bus-width = <1>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; reg = <0>; }; }; From patchwork Mon May 6 09:16:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095753 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="UYPCBABl"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHKD4NDVz9s4V for ; Mon, 6 May 2019 19:20:48 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 488FBC21DB3; Mon, 6 May 2019 09:18:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 54877C21D65; Mon, 6 May 2019 09:17:17 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A58A2C21C50; Mon, 6 May 2019 09:17:14 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id 59C2DC21C27 for ; Mon, 6 May 2019 09:17:14 +0000 (UTC) Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x469GpUV010364; Mon, 6 May 2019 11:17:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=pBUO/j7e8IdswZ1ifglGfTAuv8L2iJdTJry4XulcNwk=; b=UYPCBABlsfL25SfjINrNct+dB9KJ69OYahbGSv5ErWNeI7xMKKGktGNlV8teF417JpQ/ psz21XS4iL4MUBNUsU5g3YEog1We1ya+waojkk79SdFvbNNa30+atggkCD7ybWPnzRk/ 0TvgibWkWgGF/mIi2MLWL6cWJ9sg/mg8buVFa8geVXt8v5WOB8wyRafyzwY2Qftpkg/j T/UGxqWwwhjuGl0s8+XgPPuFp69A26bMiTAUlponVVdFz/1RdwbYDBxZrlU3gM3a6yIA zAvAwAJabR9c/WBmnizAZkAZlVU0SrJMvcgz4Aa+XPdonlkzCGhKp1hRE/r6FV10e/vG 1Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2s94cd8eay-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:13 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 014ED3A; Mon, 6 May 2019 09:17:12 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E05A115C7; Mon, 6 May 2019 09:17:12 +0000 (GMT) Received: from localhost (10.75.127.45) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:12 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:16:57 +0200 Message-ID: <1557134223-4549-7-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: Tom Rini , U-Boot STM32 Subject: [U-Boot] [PATCH 06/12] ARM: dts: stm32: Set spi-rx/tx-bus-width to 4 for stm32f746-disco X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" As n25q128 qspi flash supports quad input fast program and quad input fast read, set spi-tx_bus-width and spi-rx_bus-width to 4. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/stm32f746-disco-u-boot.dtsi b/arch/arm/dts/stm32f746-disco-u-boot.dtsi index a6799be..bbe90fa 100644 --- a/arch/arm/dts/stm32f746-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f746-disco-u-boot.dtsi @@ -240,8 +240,8 @@ #size-cells = <1>; compatible = "micron,n25q128a13", "jedec,spi-nor"; spi-max-frequency = <108000000>; - spi-tx-bus-width = <1>; - spi-rx-bus-width = <1>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; reg = <0>; }; }; From patchwork Mon May 6 09:16:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095758 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="pT7NOQlw"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHLD1Jk0z9s4V for ; Mon, 6 May 2019 19:21:40 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D9366C21DF3; Mon, 6 May 2019 09:18:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A2B36C21C27; Mon, 6 May 2019 09:17:21 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 23CEEC21DF3; Mon, 6 May 2019 09:17:19 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lists.denx.de (Postfix) with ESMTPS id E0F29C21DB3 for ; Mon, 6 May 2019 09:17:15 +0000 (UTC) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4692IlS009573; Mon, 6 May 2019 11:17:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=V/UhIb7wBN5u9/9f6NOOon8ZKrv9hwXCn6HOnBi6994=; b=pT7NOQlwULAfowaXiWxvsyhiNu7MOFsj17U0GkmNig2OCjfJp+uwxDaomcCYs5zardDT gGGXiok+HCiSJV2AfJwcN8E46Y3T3k+oDuEjfUGMugWbxurM7UZIDZZpyK5MZiDIa/8r gOOYSG+knwDxnJBS5Zx7CUr2BbonnIcfwRmbiHOK7q5lDi5IqrFzbDa3v/RM9vrXoqsR MraPH5Pxtpsv+jn9Nu7TIGL5hVHpUeBClQKrj/lABExHpQuPADzQDLqkoQ6qKErxca1u xVY2QR2j+bbUVmdFPWobBEAkV1Awa2LUDVBY83XEb90qp1N5czjLHwOLy5iFxEBlVrdH uA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2s94c38k2s-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:14 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D3E3031; Mon, 6 May 2019 09:17:13 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BD07115C7; Mon, 6 May 2019 09:17:13 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:13 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:16:58 +0200 Message-ID: <1557134223-4549-8-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: Tom Rini , U-Boot STM32 Subject: [U-Boot] [PATCH 07/12] ARM: dts: stm32: Remove useless spi-nor compatible string X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Compatible string "micron,n25q128a13" is useless, remove it. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746-disco-u-boot.dtsi b/arch/arm/dts/stm32f746-disco-u-boot.dtsi index bbe90fa..ade7285 100644 --- a/arch/arm/dts/stm32f746-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f746-disco-u-boot.dtsi @@ -238,7 +238,7 @@ qflash0: n25q128a { #address-cells = <1>; #size-cells = <1>; - compatible = "micron,n25q128a13", "jedec,spi-nor"; + compatible = "jedec,spi-nor"; spi-max-frequency = <108000000>; spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; From patchwork Mon May 6 09:16:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095759 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="tNWqIJAR"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHLv3ND4z9s4V for ; Mon, 6 May 2019 19:22:15 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 3C1CAC21CB1; Mon, 6 May 2019 09:18:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id EFD7AC21E12; Mon, 6 May 2019 09:17:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1375DC21DC1; Mon, 6 May 2019 09:17:19 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lists.denx.de (Postfix) with ESMTPS id 580C7C21DC1 for ; Mon, 6 May 2019 09:17:16 +0000 (UTC) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4692Oxp009609; Mon, 6 May 2019 11:17:15 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=oy519HJezNUOdxkYUEnQvixywp8BZ0SLo4tCuBBY7gY=; b=tNWqIJARzXkuM7e7HsgJ07tCMa6AV2djcsuYq24DQoh+9+TyjLwxidAcy1EAxm/qLVYE Rov/L1dTmKjYguYgT0ski+LvzlEjARLiFCQ6fmzi94radjLLYhlmDMotPAzb68HbKIuc 4R7n1PggKAbwGjoSJoNZatyn4WeIonLp4ggmOF8/dM2ETRwVm7d4wvAYcCGrhWdiIjaG G+lYPLcXL80fO+bPCqV4p+5n7IaETdEh7i2Tnrdbb/RoRl4osJ5MjzsI4nkcN6AGioGv gY7ZQDTjH/Pz1ZVNqD1fgEANcT/Sbh83K7c4bp8j0764ge21Y4gD0g6dTfthIYiBoAht Ag== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2s94c38k32-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:15 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9EEBA3A; Mon, 6 May 2019 09:17:14 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8550D15C7; Mon, 6 May 2019 09:17:14 +0000 (GMT) Received: from localhost (10.75.127.46) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:14 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:16:59 +0200 Message-ID: <1557134223-4549-9-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG7NODE3.st.com (10.75.127.21) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: Tom Rini , U-Boot STM32 Subject: [U-Boot] [PATCH 08/12] ARM: dts: stm32: Set spi-rx/tx-bus-width to 4 for stm32f769-disco X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" As mx66l512 qspi flash supports quad input fast program and quad input fast read, set spi-tx_bus-width and spi-rx_bus-width to 4. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi b/arch/arm/dts/stm32f769-disco-u-boot.dtsi index 1e8cd6d..53a645d 100644 --- a/arch/arm/dts/stm32f769-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f769-disco-u-boot.dtsi @@ -161,6 +161,7 @@ #size-cells = <1>; compatible = "jedec,spi-nor"; spi-max-frequency = <108000000>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; reg = <0>; }; From patchwork Mon May 6 09:17:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095756 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="rchL46vU"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHKV5YsLz9s4V for ; Mon, 6 May 2019 19:21:02 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E0194C21DB6; Mon, 6 May 2019 09:19:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A8B48C21DFD; Mon, 6 May 2019 09:17:29 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F10ECC21DFB; Mon, 6 May 2019 09:17:21 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lists.denx.de (Postfix) with ESMTPS id 56910C21C50 for ; Mon, 6 May 2019 09:17:17 +0000 (UTC) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4698W2f006416; Mon, 6 May 2019 11:17:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=zS2lijl/RL9efAAs0wPDgJoPGiXRSS4y7K4oo4t++Ec=; b=rchL46vUPCmKITOaMR9juOK5UT95IXoU61Pb2PelCEB1/VPLQZyd+jDUgj9yiJ/degN8 0ILQETpQKRwUGBnyAduDo6SgzBWUiym4FSL2E+q6Tjgahxin03T3Yat3F8maDVtlEaRA MzQACo+z7/XgRr/j3KhsklXGx1XZ4qWSZZUAc6/kAJVCV1/+YhfMfZlWl5dCLYe8iJHB XsQHT8BDg0K4/KqjHXu/ho0+gnUsvkY+uCTYU/XDHLneASwBe+2tKG8quD8jbhZ1JUhl wR+5mF5WVry416+Pd6P/ynXS/QlzerbaB/87GAXrsa32Xq6Qr9Xsh3uxTly1EYvX+4Ef Vg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2s94cb8jnt-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:16 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9D0F634; Mon, 6 May 2019 09:17:15 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7CAC115C7; Mon, 6 May 2019 09:17:15 +0000 (GMT) Received: from localhost (10.75.127.45) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:15 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:17:00 +0200 Message-ID: <1557134223-4549-10-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: Tom Rini , U-Boot STM32 Subject: [U-Boot] [PATCH 09/12] ARM: dts: stm32: Add qspi support for stm32f469-disco board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add device tree nodes to support qspi for stm32f469-disco board. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f469-disco-u-boot.dtsi | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/dts/stm32f469-disco-u-boot.dtsi b/arch/arm/dts/stm32f469-disco-u-boot.dtsi index a980ac4..3da308e 100644 --- a/arch/arm/dts/stm32f469-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f469-disco-u-boot.dtsi @@ -23,6 +23,7 @@ gpio8 = &gpioi; gpio9 = &gpioj; gpio10 = &gpiok; + spi0 = &qspi; }; soc { @@ -64,6 +65,19 @@ st,sdram-refcount = < 1292 >; }; }; + + qspi: quadspi@A0001000 { + compatible = "st,stm32-qspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xA0001000 0x1000>, <0x90000000 0x10000000>; + reg-names = "qspi", "qspi_mm"; + interrupts = <91>; + spi-max-frequency = <108000000>; + clocks = <&rcc 0 STM32F4_AHB3_CLOCK(QSPI)>; + resets = <&rcc STM32F4_AHB3_RESET(QSPI)>; + pinctrl-0 = <&qspi_pins>; + }; }; }; @@ -205,6 +219,18 @@ }; }; + qspi_pins: qspi@0 { + pins { + pinmux = , /* CLK */ + , /* BK1_NCS */ + , /* BK1_IO0 */ + , /* BK1_IO1 */ + , /* BK1_IO2 */ + ; /* BK1_IO3 */ + slew-rate = <2>; + }; + }; + usart3_pins_a: usart3@0 { u-boot,dm-pre-reloc; pins1 { @@ -227,3 +253,16 @@ &syscfg { u-boot,dm-pre-reloc; }; + +&qspi { + reg = <0xA0001000 0x1000>, <0x90000000 0x1000000>; + flash0: n25q128a { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + spi-max-frequency = <108000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + reg = <0>; + }; +}; From patchwork Mon May 6 09:17:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095761 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="g3DKlcqT"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHM41nh8z9sB8 for ; Mon, 6 May 2019 19:22:24 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 0055CC21DD7; Mon, 6 May 2019 09:19:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 262ABC21E34; Mon, 6 May 2019 09:17:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 97824C21D4A; Mon, 6 May 2019 09:17:21 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id 98939C21DF9 for ; Mon, 6 May 2019 09:17:17 +0000 (UTC) Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x469GJWM004449; Mon, 6 May 2019 11:17:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=LuvE3+MfyuOmlEVx1pV+fBJm9QmJlLT8YiUPmIKU+GY=; b=g3DKlcqTOcy0yzJd9xUywcTIODH7xeT8BRGHidkyKg+SZ8wnjYshuo1q/GhZzPW1OQNY SgfXeKHtYMoR4v2zIPa128VWUONgKsp60GMfhfvA25tewMqGJMVwtbBZ/XVvvDSgO4XH 1yYKHuSXGryyh/O476RAFCzbZh38hyNdyLi+CcX5pt5xF6qO+GpBR3+ZvQgH2G+e5P+F n5YmZ/2+GscBfGGNPDH3I6h9L7dOpd7p+v8Dy6jumzKyzt1xj2KX0Pvo2Hsmgd5lRrzg KGpLVYzAPKURRXvze2ABY7Cxnw8YjNCnHqsPczjF1ka+/t61QlTXMiBhSz3dEMpePrOB tA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2s94bvgeba-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:16 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 70E8B31; Mon, 6 May 2019 09:17:16 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 59FEF15C7; Mon, 6 May 2019 09:17:16 +0000 (GMT) Received: from localhost (10.75.127.45) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:15 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:17:01 +0200 Message-ID: <1557134223-4549-11-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: U-Boot STM32 Subject: [U-Boot] [PATCH 10/12] spi: Kconfig: Add STM32F4 support for STM32_QSPI driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Allow to select STM32_QSPI driver on STM32F4 SoCs. Signed-off-by: Patrice Chotard --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index fb794ad..e9dadf0 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -222,7 +222,7 @@ config SPI_SUNXI config STM32_QSPI bool "STM32F7 QSPI driver" - depends on STM32F7 || ARCH_STM32MP + depends on STM32F4 || STM32F7 || ARCH_STM32MP help Enable the STM32F7 Quad-SPI (QSPI) driver. This driver can be used to access the SPI NOR flash chips on platforms embedding From patchwork Mon May 6 09:17:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095760 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="gVskeicZ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHM23t18z9s5c for ; Mon, 6 May 2019 19:22:22 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 41E6AC21DF3; Mon, 6 May 2019 09:19:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 20EFDC21DFB; Mon, 6 May 2019 09:17:35 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B5127C21E2C; Mon, 6 May 2019 09:17:21 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id 1CE24C21DA1 for ; Mon, 6 May 2019 09:17:18 +0000 (UTC) Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x469GMdL004466; Mon, 6 May 2019 11:17:17 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=jnlBx++cFcUAAO2dV88lyBdVxLbFPJZqqFr4fR1hkmY=; b=gVskeicZ1JwU6I72mSA2N744eu2Py4eBKLpN0SJ5a4ObJhoQpWhLAA61iMVB7YtGMD3M TVKyPgwK2cfJTznZpAKlHdL5hFB6GjE2sO0Dk+zbFMABFl932+6VjxbHXnN/+s5EEOis vX/qgnrvlS9FCzF/ogVSRuFdKHUlBOKV5NEP2RtlDX9RmhsxTlzDoqcd0yiZfudTHgZK 18oaB9HjMkNl9I6nOtRGaW+RUpVpL5qE97TvvqFxH4PBdA1CNVFPLoYhcuLFNwDxsQmT y1ScJbdMp5WMh+1W3dQpYi1j8K1UPjOagvQzkRuCIBBbkyAP8ka1x4XRKVxRysFgmbCi qw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2s94bvgebc-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:17 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 441E531; Mon, 6 May 2019 09:17:17 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2E7CA15C7; Mon, 6 May 2019 09:17:17 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:16 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:17:02 +0200 Message-ID: <1557134223-4549-12-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG7NODE1.st.com (10.75.127.19) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: U-Boot STM32 Subject: [U-Boot] [PATCH 11/12] configs: stm32f469-disco: Enable QSPI relative flags X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Enable CMD_SF, MTD, DM_SPI_FLASH, SPI_FLASH, SPI, DM_SPI and STM32_QSPI flags to be able to use the embedded n25q128a QSPI flash on stm32f469-disco board. Signed-off-by: Patrice Chotard --- configs/stm32f469-discovery_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/stm32f469-discovery_defconfig b/configs/stm32f469-discovery_defconfig index 377f19b..174f807 100644 --- a/configs/stm32f469-discovery_defconfig +++ b/configs/stm32f469-discovery_defconfig @@ -16,6 +16,7 @@ CONFIG_CMD_IMLS=y CONFIG_CMD_GPT=y # CONFIG_RANDOM_UUID is not set CONFIG_CMD_MMC=y +CONFIG_CMD_SF=y # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_MII is not set CONFIG_CMD_CACHE=y @@ -25,4 +26,11 @@ CONFIG_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="stm32f469-disco" CONFIG_DM_MMC=y CONFIG_ARM_PL180_MMCI=y +CONFIG_MTD=y CONFIG_MTD_NOR_FLASH=y +CONFIG_DM_SPI_FLASH=y +CONFIG_SPI_FLASH=y +CONFIG_SPI_FLASH_STMICRO=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_STM32_QSPI=y From patchwork Mon May 6 09:17:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1095755 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="bVdLVVfz"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44yHKL5ztyz9s5c for ; Mon, 6 May 2019 19:20:54 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 93F6BC21E02; Mon, 6 May 2019 09:19:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 88309C21E2C; Mon, 6 May 2019 09:17:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 808B4C21DED; Mon, 6 May 2019 09:17:23 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lists.denx.de (Postfix) with ESMTPS id DB4FEC21DFB for ; Mon, 6 May 2019 09:17:19 +0000 (UTC) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4692K9f009576; Mon, 6 May 2019 11:17:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=94/NcKXJ0jBpZ7LhS7i18fgw4ZIySFRFhq5I8qgF9/8=; b=bVdLVVfzf5XvAiHa0enejX7DPhh7l0iYUmM1m94tMykT4XMwiAecWAPJ61VwJmJ/l9og 8Mga5HgSxrFlLCSvXHit9p1V6dPD8Uz0pLINsMioywS39nEP8yKmSs0Uc+5LgB2SAUJy a3qtH8iNDi7mXGiHiFfwwxs5qxCUrVxV9gQz9hG5ioQTf2VkTLKa4V5uePYAQYLmnTX9 SO/24wnWWID1Ow6apj08mu1ioO+yR9q25ao9sBMthgpqSFgZlIoI/iW9O7hrPmZFIR+J 0otQBc7q7dXIPnmMQyzRwoQK+S8l/GNepatAnB1gK/Q3NZWywS2Wavg+1IIuCxrg5EoY 5w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2s94c38k3c-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 11:17:19 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 162A438; Mon, 6 May 2019 09:17:18 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F36C115BC; Mon, 6 May 2019 09:17:17 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 6 May 2019 11:17:17 +0200 From: Patrice Chotard To: Date: Mon, 6 May 2019 11:17:03 +0200 Message-ID: <1557134223-4549-13-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> References: <1557134223-4549-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG3NODE3.st.com (10.75.127.9) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_06:, , signatures=0 Cc: U-Boot STM32 Subject: [U-Boot] [PATCH 12/12] configs: stm32f469-disco: Disable PINCTRL_FULL flag X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Disable unused PINCTRL_FULL flag. Signed-off-by: Patrice Chotard --- configs/stm32f469-discovery_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32f469-discovery_defconfig b/configs/stm32f469-discovery_defconfig index 174f807..dcd0697 100644 --- a/configs/stm32f469-discovery_defconfig +++ b/configs/stm32f469-discovery_defconfig @@ -31,6 +31,7 @@ CONFIG_MTD_NOR_FLASH=y CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_STMICRO=y +# CONFIG_PINCTRL_FULL is not set CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_STM32_QSPI=y