From patchwork Mon Jan 24 15:05:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 12722271 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 44597C433FE for ; Mon, 24 Jan 2022 15:06:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231830AbiAXPGF (ORCPT ); Mon, 24 Jan 2022 10:06:05 -0500 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]:47619 "EHLO alexa-out-sd-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230516AbiAXPGF (ORCPT ); Mon, 24 Jan 2022 10:06:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1643036765; x=1674572765; h=from:to:cc:subject:date:message-id:mime-version; bh=E8vHImfluUU3uX3A/OmttWG5UOkcr1vapLjwdi9D8T4=; b=H7MBA8iOKVHWGBDnMYwzuRHz1QJ8RBH4sHEpFjYWfOjbV/41gWUCefQp +ra0IzmNhImGuQ2n6AWnJdm8lfhT3WNqBHlas1XfEO/hElou9XDgmadQp O5AbQfLEBEGqQXIuJyehAws47T7gSnz0qZY0NED+AzORBD6tC4+LepHXI k=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 24 Jan 2022 07:06:04 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 07:06:04 -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; Mon, 24 Jan 2022 07:06:03 -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; Mon, 24 Jan 2022 07:06:00 -0800 From: Kathiravan T To: , , , , , CC: Kathiravan T Subject: [PATCH v3] arm64: dts: qcom: ipq8074: add the reserved-memory node Date: Mon, 24 Jan 2022 20:35:51 +0530 Message-ID: <1643036751-15957-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: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 4MB of memory is needed for TZ. So mark that region as reserved appropriately. Signed-off-by: Kathiravan T --- Changes since v2: * Rebased on top of v5.17-rc1 * Reworded the commit message and title 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 e6cc261201ef..26ba7ce9222c 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>;