Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp916609pxp; Wed, 16 Mar 2022 21:12:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiK6QuU502o5S1se/fBzOb7IW56bPSlLWPmnxYGr0xQ1kufAaB8yUxOPgMcIqGRzeRDGaX X-Received: by 2002:a05:6a02:20c:b0:381:f276:98d6 with SMTP id bh12-20020a056a02020c00b00381f27698d6mr2100440pgb.39.1647490368522; Wed, 16 Mar 2022 21:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647490368; cv=none; d=google.com; s=arc-20160816; b=ZEMrb5a+iYfj/4X/DCSdsDZ0B4yDfOvmdteIQDOfGvnRSn4Hzb0kgzHlVtGlA/X6Vf AfJ+tIy+OvKIuygl2c7kvC5ep3v/Q+2zKw0GeVpRToz2Gn9aTI5parMc7EB799Lqe9xQ EvsqUiqHUnp6vWaUOTS0JM7nHeU9EgEo7gzWTxeYD7cGK+3ksboR/BUrqlD4OBt0JqBY eoiVLKYYTc3wTTNQYoe/G4pbuPTFe52Q3cnCM0D6MxFAksaDChqw/gmfVbX9t6eUUQys txrG8DAeVCBiMf3XvGQZ2ycBoqMDF1P/z5JEXM47/sZGwNF+GlnY7UIhuX+hLw03+xuo baWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rdOjHgKJc4SCKXlLLQvRCdwRKO1UUKziVYt8Vm+fpww=; b=ebD7XbBQSWfn7mnkfI4a2pCxTFXWzZajX52yDXOOpz0H0FSdeKoDLitPfJt8LnkmxS zX/hOv11e7JEy9PacQZQWh2Lp/nCQQd8WNG+2NDbKauXn747oejQo11REsm8DTAoLwWr R8hIiIugT6LQlI2fb6oF5aSlkiA8Gkl0x8hRWrYlg8P3q4OeDMe/X5fomXTUUOInlmuW nel3wlYDkUEywlq3GNTy6JVJ1FnCGmHn17LNoo2lZn1eAesFqWBAcBw4BnWXlKFtImb2 8epxViMFPgmhzLkoy4xgkjh7lhGn0OrltgVCA4J+OiyednGcemSAW2SVrqnTZmfkf+FR jQ/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=k5vKlljq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f11-20020a170902ce8b00b0015301b286ccsi3730940plg.80.2022.03.16.21.12.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:12:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=k5vKlljq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 470CDB6D3C; Wed, 16 Mar 2022 20:51:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356168AbiCPNOH (ORCPT + 99 others); Wed, 16 Mar 2022 09:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356166AbiCPNNw (ORCPT ); Wed, 16 Mar 2022 09:13:52 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3241566AF7; Wed, 16 Mar 2022 06:12:28 -0700 (PDT) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 22GAA50g005005; Wed, 16 Mar 2022 14:12:16 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=rdOjHgKJc4SCKXlLLQvRCdwRKO1UUKziVYt8Vm+fpww=; b=k5vKlljqcRQZp0o2vEe5b/bodKv95t6BKwTeW4/4TdxQAHFZII9EvJb9bKupReoGCLVh D/mb2t0rie/JUS6uzMtrpHilTTsfTfKUThHNQyM93ZpfnxFM/kF5EHRpe5sHdKZmL+Z6 aUXIhzEqaOzKTA91OUfBUk2BFzmHSrbOTCD3Gg3aHwRxkZnZNHqlIp7u6hczFIcTlPDF 2gw+9xm9rhpT4Oqz6+mrBxhVn4W0QyAY0DphpfWqM7od4gxXXeKXRXDJseiBXUUMkMz8 CVJz2CyHxCi3qbecCZVBpaoO3i4e22DD8xCYbnVYS0yd4mtZDm1m8Hxtcv68U2KBHBmj /A== 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 3ethxu2hpc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Mar 2022 14:12:16 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1564010002A; Wed, 16 Mar 2022 14:12:16 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0DA1621FE9D; Wed, 16 Mar 2022 14:12:16 +0100 (CET) Received: from localhost (10.75.127.51) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 16 Mar 2022 14:12:15 +0100 From: To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Gabriel Fernandez CC: , , , , Subject: [PATCH RESEND v3 12/13] ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP13 Date: Wed, 16 Mar 2022 14:09:59 +0100 Message-ID: <20220316131000.9874-13-gabriel.fernandez@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220316131000.9874-1-gabriel.fernandez@foss.st.com> References: <20220316131000.9874-1-gabriel.fernandez@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.850,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-03-16_05,2022-03-15_01,2022-02-23_01 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gabriel Fernandez Enable optee and SCMI clocks support. Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stm32mp131.dtsi | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index 262de4eeb4ed..78eac53224d4 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -27,6 +27,43 @@ arm-pmu { interrupt-parent = <&intc>; }; + scmi_sram: sram@2ffff000 { + compatible = "mmio-sram"; + reg = <0x2ffff000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x2ffff000 0x1000>; + + scmi_shm: scmi_shm@0 { + compatible = "arm,scmi-shmem"; + reg = <0 0x80>; + }; + }; + + firmware { + optee { + method = "smc"; + compatible = "linaro,optee-tz"; + }; + + scmi: scmi { + compatible = "linaro,scmi-optee"; + #address-cells = <1>; + #size-cells = <0>; + linaro,optee-channel-id = <0>; + shmem = <&scmi_shm>; + + scmi_clk: protocol@14 { + reg = <0x14>; + #clock-cells = <1>; + }; + + scmi_reset: protocol@16 { + reg = <0x16>; + #reset-cells = <1>; + }; + }; + }; clocks { clk_axi: clk-axi { #clock-cells = <0>; -- 2.25.1