From patchwork Fri Mar 31 07:19:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13195344 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6E559C6FD18 for ; Fri, 31 Mar 2023 07:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=XTOdA/raX+LCO+fu1960zDm+fy6g00uEXcGd8IBjWm0=; b=LP31+1qTXGQTvl Wwl3qvmpKc7g5qv0VoxPLPKoWjG/jnCLKmLO5hpITgBucSyzWDritQD4ShR3qrk2tHu0D0HUtZIm/ 4glB5/FXUxkU1YNr9y4VkoLTdXzZEnuCZlgh8jqmLXIaktEe8KzAm6gSOiETvkhD8kMGAcqtrugX3 VbuZ9gqSgCX2vEsCiCYuOCWLIfZR8i6RKGBpLo3REF1R4djyxCQ4TQTmS9JH818kukj6tst0d9KXV rMsyxYmatvfg08DNmCV7J+RzyVR3Bqh90+hrLdEozvc1NdqdQ/8xUGm1HDYgEdlVBKGzIH3WJxrMz BS9x3GMvd2zlg+bYns9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pi92n-0068If-0j; Fri, 31 Mar 2023 07:19:29 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pi92i-0068Ds-33 for linux-arm-kernel@lists.infradead.org; Fri, 31 Mar 2023 07:19:27 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32V6evYu022072; Fri, 31 Mar 2023 09:19:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=uTVIHoKwQl0AIaI1qqIaSYKE4Q0LkMlPuiRteO4iDxc=; b=X/NWdlUV+WDIn+rQqTmVB0bJvXzgzuMwctnciTLc54vhtEUw2yPLx7v6KTV1oIIor1/M UusfBjQFq9pMgSyhgTSmmeI5ZBXyP8VoMw5ScS9nbCvhHqscmxKNblsy4/MwQan/4rt2 l7aLAxv+GLE8lzH0hdRAjG+oZCmKs3nGP7UU7vC1nQuZcH6MzOPWTUgTf9UOlYtxmq4J AlKvJ/foS4HQg25x1PrToesqIWMFQN62Xd1rA1ZAwnLJoa5PdpMBCCjv2OtjLmD4D3DL HLBu67LComEGMZANVhwsOGZJvcTHFlP4Czfg4dHVxlAfDctAVf4q1OHVljv3Ej27eM/g Tw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3pn8jwe53r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 Mar 2023 09:19:14 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7A6E3100040; Fri, 31 Mar 2023 09:19:12 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 64CD72115ED; Fri, 31 Mar 2023 09:19:12 +0200 (CEST) Received: from localhost (10.201.21.26) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Fri, 31 Mar 2023 09:19:12 +0200 From: To: , Krzysztof Kozlowski , CC: , , , , Patrice Chotard Subject: [PATCH] ARM: dts: stm32: Add QSPI support on STM32MP13x SoC family Date: Fri, 31 Mar 2023 09:19:07 +0200 Message-ID: <20230331071907.4127388-1-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.201.21.26] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-31_02,2023-03-30_04,2023-02-09_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230331_001925_777973_BF0B3101 X-CRM114-Status: GOOD ( 12.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Patrice Chotard Add QSPI support on STM32MP13x SoC family Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32mp131.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index 5949473cbbfd..544c755b6e67 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -1137,6 +1137,21 @@ mdma: dma-controller@58000000 { dma-requests = <48>; }; + qspi: spi@58003000 { + compatible = "st,stm32f469-qspi"; + reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; + reg-names = "qspi", "qspi_mm"; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + dmas = <&mdma 26 0x2 0x10100002 0x0 0x0>, + <&mdma 26 0x2 0x10100008 0x0 0x0>; + dma-names = "tx", "rx"; + clocks = <&rcc QSPI_K>; + resets = <&rcc QSPI_R>; + status = "disabled"; + }; + sdmmc1: mmc@58005000 { compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; arm,primecell-periphid = <0x20253180>;