From patchwork Fri Jan 7 12:54:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 12706662 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22CF8C433EF for ; Fri, 7 Jan 2022 12:54:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237905AbiAGMyv (ORCPT ); Fri, 7 Jan 2022 07:54:51 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:20510 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231207AbiAGMyv (ORCPT ); Fri, 7 Jan 2022 07:54:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1641560091; x=1673096091; h=from:to:cc:subject:date:message-id:mime-version; bh=67zSzwS61kzAPs2xc9MB8BNIEpTH2Xw/IlQpSfxeB4A=; b=n9/aWTSSIhLXnYiEwflWCJ1QfDyWlqkJIkPBScNqpNaryF2SnZFWi++R o7wWfowZ0tpAE6rlpmH24eD19/95hzTxcyYDqBE0U0mlJAB3KV/5412m4 thuxiUWN3UqmNlGzeriqqPX54BXlYGSBW3Z59UHPoXOw365LBxZHQZ8gI c=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 07 Jan 2022 04:54:51 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2022 04:54:50 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Fri, 7 Jan 2022 04:54:50 -0800 Received: from kathirav-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Fri, 7 Jan 2022 04:54:47 -0800 From: Kathiravan T To: , , , , , CC: Kathiravan T Subject: [PATCH v2] arm64: dts: ipq8074: add the reserved-memory node Date: Fri, 7 Jan 2022 18:24:38 +0530 Message-ID: <1641560078-860-1-git-send-email-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On IPQ8074, 4MB of memory is needed for TZ. So mark that region as reserved. Signed-off-by: Kathiravan T --- Changes since V1: * Fixed the commit title arch/arm64/boot/dts/qcom/ipq8074.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 6c6a0f853669..b4d813c27230 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -82,6 +82,17 @@ }; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + memory@4ac00000 { + no-map; + reg = <0x0 0x4ac00000 0x0 0x00400000>; + }; + }; + soc: soc { #address-cells = <0x1>; #size-cells = <0x1>;