Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp652921rwb; Wed, 9 Nov 2022 07:11:20 -0800 (PST) X-Google-Smtp-Source: AMsMyM5rbNSxLS6Cr26IfkRE/r3IRBpFxzm/qA5xy4zY73qv7W0B/DtAk5X93nGaQK0+2omdg90L X-Received: by 2002:a05:6402:1cc1:b0:453:1517:94e4 with SMTP id ds1-20020a0564021cc100b00453151794e4mr60600102edb.399.1668006680320; Wed, 09 Nov 2022 07:11:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668006680; cv=none; d=google.com; s=arc-20160816; b=ZNyMcoHtIRy5exGSf1uGvUuSMz0T5m3bRepmV8JnlrHt3ebSLORU2L3qYA1T7kemP2 8TGfayZbBEU4p9v8aRVENMkfWRwhbF5G1TJsrSf1n14041KQ6G02/sbJaZPSS1c4C/1k DFYS0nisaDvXQ1byP7TfaS2nhIIUVPJnH2nxQKy3QyXGPBvEicigBnvySmElUBrFtRlb uOsuwm1I4D50UEWqdOt/YIu2W7eQyJl9zznZDYlS8F6x7CA/n/wqrCEhgOByItEUaCVm gOXpXw8ArEtGW5HZGwaYlezQQK5ToRyU8jv01Q0l/Zkr+AMtqBqKiszcKFNpjMlb2akn amVQ== 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=rTco5HjmGFlE4iOYeQIwq1HV8zdBI7akldkUPr6egrA=; b=tbRKODiCH0addOnWsQtrdmiDGUbwzsT6d4j6phuNot+Tt4I2RoezbVWTuV1jnBq0Oo UYXpml+YmeeFYgnaE63xj5WxTJYO01asMuKAqVHOeAxRC3pUuQ4F+F4jxdDZEd1Xb9BB Z4z4dJqVvjdjSxztGofkQABmKXiYA8sdEJLb1nnlkhTxgUgGSWEeKLXiFBl3NU6LfT7O ZZ3LlM/lnCCMf7FpoCLGB0VRzFT9KHn+Oa843O43bwJ1R+4SLlmIFSL0A5iuDZ9cNRkN yb9OVVY1HQV3sjVaqUm+51ROdfTPhZxDQdYguMOOG2E9vFzqE7Htn2rCTsHB32I3AZyw S3Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=WZz3vCQK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qq23-20020a17090720d700b0077547abf08fsi12049293ejb.169.2022.11.09.07.10.52; Wed, 09 Nov 2022 07:11:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=WZz3vCQK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231880AbiKIPII (ORCPT + 93 others); Wed, 9 Nov 2022 10:08:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231773AbiKIPIG (ORCPT ); Wed, 9 Nov 2022 10:08:06 -0500 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AFE31A3B8; Wed, 9 Nov 2022 07:08:05 -0800 (PST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A98eJGf011839; Wed, 9 Nov 2022 07:07:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=rTco5HjmGFlE4iOYeQIwq1HV8zdBI7akldkUPr6egrA=; b=WZz3vCQKG1KMOuf0xJy5wjnT/6TnO3tswLFKEZHxCRbtPwszuG423eYT4xM/pv0e7Vlv h2MMwHHmcx50b0ntgwgTFT+LuvBvTLU6fhzYebx0UlEKZqJZ2JkWj0oYxsA5KzW1aOzh g3UJkegMLQWsppG0ZO06oXhe6hUQmRS1eCwmSUUKVLiU1nr117j2VnhM8zFF4oio2tzH ojT1H7kqbIAClzqZs0afOUxml2NeDxfDsCCh7O0NXHvHnKJx2eKzia+TXS/OyL6cnsWW jhjUDeWPIIqbOl5UKBPB4DZYgMI7GDIt9f4dm/6jEq31dZ4W18tUVIaPbGx+w8V1et6N Kw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3kr8wbs8b1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 09 Nov 2022 07:07:51 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 9 Nov 2022 07:07:49 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Wed, 9 Nov 2022 07:07:49 -0800 Received: from octopus.marvell.com (octopus.marvell.com [10.5.24.3]) by maili.marvell.com (Postfix) with ESMTP id 855B13F7074; Wed, 9 Nov 2022 07:07:46 -0800 (PST) From: To: , , CC: Krzysztof Kozlowski , Rob Herring , Stefan Chulski , Nadav Haklai , Konstantin Porotchkin , Andrew Lunn , Gregory Clement , "Sebastian Hesselbarth" Subject: [PATCH] arm64: dts: marvell: add optee FW definitions Date: Wed, 9 Nov 2022 17:07:43 +0200 Message-ID: <20221109150743.1444103-1-kostap@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <[PATCH] arch/arm64/boot/dts/marvell: add optee FW definitions> References: <[PATCH] arch/arm64/boot/dts/marvell: add optee FW definitions> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: t8Mrwa5BaYiou4ZoVpA53mYEy7u-6PIX X-Proofpoint-ORIG-GUID: t8Mrwa5BaYiou4ZoVpA53mYEy7u-6PIX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-09_06,2022-11-09_01,2022-06-22_01 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE autolearn=ham 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: Konstantin Porotchkin Add reserved memory and ARM firmware definitions for optee memory region in Marvell Armada SoCs to avoid protected memory access. Signed-off-by: Konstantin Porotchkin Cc: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 5 +++++ arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index df152c72276b..e300145ad1a6 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -35,6 +35,11 @@ psci-area@4000000 { reg = <0 0x4000000 0 0x200000>; no-map; }; + + tee@4400000 { + reg = <0 0x4400000 0 0x1000000>; + no-map; + }; }; cpus { diff --git a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi index a06a0a889c43..4e6d29ad32eb 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi @@ -41,6 +41,11 @@ psci-area@4000000 { reg = <0x0 0x4000000 0x0 0x200000>; no-map; }; + + tee@4400000 { + reg = <0 0x4400000 0 0x1000000>; + no-map; + }; }; AP_NAME { -- 2.25.1