From patchwork Tue Jan 28 08:17:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13952278 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 A8B82C02190 for ; Tue, 28 Jan 2025 08:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: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:List-Owner; bh=AL1vAYoGQeLhOfWFyoIK0I4mkggnvZeRhDcWlxpFyf8=; b=pEiKDD/jAw9iRtoOPM/SlO6DYI rt8yS5c02UzX0Ivm37ynp/bqoLsSN5n1OO/BdI5D97dohwsnXkEFoY+s8of3+eMY2CGLkGAB4+8yc Sm0GQhkeR2Ymy/kVV2an0I5wu4NEh3Mlw32DdX0EEp7ApACGTWypydducBRGZUTMV3tQjIz3hAjyn Cy25g06n4/7Nw2fwivKIhpAgqJjj7F5BlX+DyQdNMYH/G7DcjEPsIQKnCgnrUT0o7uj6lcreidlhY 35Zkk20m1p3wXhMUyxbube5ohIQDuKyxj7MFMI9kLU5eXkywe9xPjkEyBrE73pnOxTFBCkVx+70m1 zDcnC0Cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tcgwu-00000004Nwl-49zC; Tue, 28 Jan 2025 08:27:56 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tcgr2-00000004Mvc-27BX for linux-arm-kernel@bombadil.infradead.org; Tue, 28 Jan 2025 08:21:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=AL1vAYoGQeLhOfWFyoIK0I4mkggnvZeRhDcWlxpFyf8=; b=ZmLkgOsSqqpsEtmkK2o82RX/NN fgeswGZkDkMTu8Z2FdhEjj/enyWXSaseM1O/mtg2MWSs/oNiLo/DXA0/UomYWE0cQdLQksB/1L+lj b4n9LPfsPqocY7ML882/FUIOHUGKEMbMXMMuX2+k5EmJ2WiIFpw0zMwmu7qDD/dEQVJYdp0qjkNYv VXsqBny/jVA5hWaOK3HrGs0s+l+beJMYN6+udC4T7kehWEN/4k6DjOvF1qmfD466YIStO5iKbz6D/ Nc/xMa5a0ZTlqLRl0ak508jbJtZwrmuCKmHLAi7HE7+6bDgpflptzFdSAr7gq4jKtxTjAN/DSaIDq /j3MXX5w==; Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tcgqy-0000000EsRH-2Sea for linux-arm-kernel@lists.infradead.org; Tue, 28 Jan 2025 08:21:51 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50S215X3017105; Tue, 28 Jan 2025 09:21:28 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= AL1vAYoGQeLhOfWFyoIK0I4mkggnvZeRhDcWlxpFyf8=; b=ka8JGmOBOYeq6mYq o1xf4MIdPseZjKy06gjEkE2MN4BwSSMrCsTs5wZa01k8oOeUlBFr5IGEOzS4J7Hm wM9h5TqwlB2qCSLKcBGVlGGk/+aEV8s4rDVo1R5++KXm4i9/lVvU9McUy/GolBaP tUrQnH9KaQznG8y+o1JOnWamSJLC1WaDpZcXupXa2Y43zlNVGvDHd9YiKHYs5E3W wRsZ0CRLwJLFM9BFMO6n9vsgUk2LIjHb5nL5vJ/USM6JgxhsShwsi4RSGC//sOFD JlvX/xIzlB2e93pdjoD2fBTkp+Vw+FHtdpAzDEpWumnKXkXBSTVYR1K0uf0bbZU1 TvlQGw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 44ebcbjrur-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Jan 2025 09:21:28 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 359CA40059; Tue, 28 Jan 2025 09:20:10 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0F6DB29C5EF; Tue, 28 Jan 2025 09:17:46 +0100 (CET) Received: from localhost (10.48.87.62) 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.37; Tue, 28 Jan 2025 09:17:45 +0100 From: To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue , Philipp Zabel , Maxime Coquelin , Greg Kroah-Hartman , Arnd Bergmann , Catalin Marinas , Will Deacon CC: , , , , , , Subject: [PATCH v2 5/9] arm64: dts: st: Add OMM node on stm32mp251 Date: Tue, 28 Jan 2025 09:17:27 +0100 Message-ID: <20250128081731.2284457-6-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250128081731.2284457-1-patrice.chotard@foss.st.com> References: <20250128081731.2284457-1-patrice.chotard@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.87.62] X-ClientProxiedBy: SAFCAS1NODE1.st.com (10.75.90.11) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-28_02,2025-01-27_01,2024-11-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250128_082149_535038_C481F617 X-CRM114-Status: GOOD ( 10.93 ) 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 Octo Memory Manager (OMM) entry on stm32mp251 and its two OSPI instance. Signed-off-by: Patrice Chotard --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 48 ++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index f3c6cdfd7008..f364b9e87e96 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -768,6 +768,54 @@ rng: rng@42020000 { status = "disabled"; }; + ommanager: ommanager@40500000 { + compatible = "st,stm32mp25-omm"; + reg = <0x40500000 0x400>, <0x60000000 0x10000000>; + reg-names = "regs", "memory_map"; + ranges = <0 0 0x40430000 0x400>, + <1 0 0x40440000 0x400>; + clocks = <&rcc CK_BUS_OSPIIOM>; + resets = <&rcc OSPIIOM_R>; + #address-cells = <2>; + #size-cells = <1>; + st,syscfg-amcr = <&syscfg 0x2c00 0x7>; + access-controllers = <&rifsc 111>; + power-domains = <&CLUSTER_PD>; + status = "disabled"; + + ospi1: spi@40430000 { + compatible = "st,stm32mp25-ospi"; + reg = <0 0 0x400>; + interrupts = ; + dmas = <&hpdma 2 0x62 0x00003121>, + <&hpdma 2 0x42 0x00003112>; + dma-names = "tx", "rx"; + st,syscfg-dlyb = <&syscfg 0x1000>; + clocks = <&scmi_clk CK_SCMI_OSPI1>; + resets = <&scmi_reset RST_SCMI_OSPI1>, + <&scmi_reset RST_SCMI_OSPI1DLL>; + access-controllers = <&rifsc 74>; + power-domains = <&CLUSTER_PD>; + status = "disabled"; + }; + + ospi2: spi@40440000 { + compatible = "st,stm32mp25-ospi"; + reg = <1 0 0x400>; + interrupts = ; + dmas = <&hpdma 3 0x62 0x00003121>, + <&hpdma 3 0x42 0x00003112>; + dma-names = "tx", "rx"; + st,syscfg-dlyb = <&syscfg 0x1400>; + clocks = <&scmi_clk CK_SCMI_OSPI2>; + resets = <&scmi_reset RST_SCMI_OSPI2>, + <&scmi_reset RST_SCMI_OSPI2DLL>; + access-controllers = <&rifsc 75>; + power-domains = <&CLUSTER_PD>; + status = "disabled"; + }; + }; + spi8: spi@46020000 { #address-cells = <1>; #size-cells = <0>;