Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp220824pxb; Wed, 18 Aug 2021 20:40:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzo/5SRL3Q1e7pbwwi2OOeUj5U1mXh8Ct62D5TnhoRXMrR/wY/qRZCCfc30kE1THtNgprJs X-Received: by 2002:a17:906:fa06:: with SMTP id lo6mr13312385ejb.7.1629344440056; Wed, 18 Aug 2021 20:40:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629344440; cv=none; d=google.com; s=arc-20160816; b=yX1q2DuFmP6eVg9n3eKQPSiBw8JPtufZTSHQobByj+XrKorES3qrgnV7LbcmH4Zlol gOD21tvdba2ftnnwb3vgVqrxEDWpkHxW8+qU0Y9bZ2aAwmVJtedMxYur6JfW8tvWW4ll NEBk8CvH3RPVAED6wU8hshrXMMeq6lhPKcy7VySvpp7rQ+j/LcmSbNu2dgn48PQcwAtV hgBwHy2/o2ryK3PWik+RMXkJMEx9Rh57F5/1K/G8KMbK0VAtWBEwLkczGw5fmfZYGHPP saIjXVgH4eVM1YagNcW3v5r6ixiiXEvXOw8wy1ocKv6cUq1a4CYAMhdquV32yfHCmzs4 kV4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=cIvmf856nfR0enbseKnY5Zdj2kO4Z8HFuvnKkAOHLlc=; b=E04B9HPujENRYLl+2UQd/HNTI7ud/jYnfzgicbhPnLiurSBCU8HSiEkxok5K/wyMjl YFBCGmSs6Hx60DNFEFVLSKEsDKXvBX62ne54Eg1KrVZq5WTBTMVbhYz8iEp5ADfyo6yo F5zdeIvtuWsYFN3oUEpSbCDg90/fKe4P1QoQCK2K2U5QW6iyiArAT3nmmuO7ZzhpfowP KlsDX4rlnwDjbg3epyV0VZivk61RiMuc667gTsLAtIp+7zJktsDBljCcb+5aXH0d/dbA WhRtrILwnP9ADk6wEQCCJKjSCp2wGCVwBty1BRkTW81D0wrPcZjofYIqnxsBOqczie/e UPxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=sotvguad; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z1si1796896eji.631.2021.08.18.20.40.17; Wed, 18 Aug 2021 20:40:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=sotvguad; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236732AbhHSDiV (ORCPT + 99 others); Wed, 18 Aug 2021 23:38:21 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:52187 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236945AbhHSDiK (ORCPT ); Wed, 18 Aug 2021 23:38:10 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1629344255; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=cIvmf856nfR0enbseKnY5Zdj2kO4Z8HFuvnKkAOHLlc=; b=sotvguadc9O5bzsJMAPdI+eP5kRu3iN8eBsT9q2LjQ+7qiU+EE9NlQ5+k+A6Ti+B5HpnAR4n 7fjMlpf4fuWOwWCcQ5tptplMEdAVmoYfmvXlSIGy6V6rRMUUb9tAEPZfh4uK+tPT94qhdqLH 81/+dTrAV9ea18qV3k6XGYQZSb4= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 611dd1f666ff107904387171 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 19 Aug 2021 03:37:26 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id AB89BC43617; Thu, 19 Aug 2021 03:37:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5CFCDC43637; Thu, 19 Aug 2021 03:37:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 5CFCDC43637 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, will@kernel.org, saiprakash.ranjan@codeaurora.org, swboyd@chromium.org, mka@chromium.org Cc: ohad@wizery.com, agross@kernel.org, mathieu.poirier@linaro.org, robin.murphy@arm.com, joro@8bytes.org, p.zabel@pengutronix.de, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, evgreen@chromium.org, dianders@chromium.org, Sibi Sankar Subject: [PATCH v3 07/10] arm64: dts: qcom: sc7280: Add/Delete/Update reserved memory nodes Date: Thu, 19 Aug 2021 09:06:22 +0530 Message-Id: <1629344185-27368-8-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1629344185-27368-1-git-send-email-sibis@codeaurora.org> References: <1629344185-27368-1-git-send-email-sibis@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add, delete and update platform specific reserved memory nodes. Signed-off-by: Sibi Sankar Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 52 ++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index 371a2a9dcf7a..103d89c1e1c7 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -12,6 +12,58 @@ #include "pm8350c.dtsi" #include "pmk8350.dtsi" +/* + * Reserved memory changes + * + * Delete all unused memory nodes and define the peripheral memory regions + * required by the board dts. + * + */ + +/delete-node/ &hyp_mem; +/delete-node/ &xbl_mem; +/delete-node/ &reserved_xbl_uefi_log; +/delete-node/ &sec_apps_mem; + +/* Increase the size from 2.5MB to 8MB */ +&rmtfs_mem { + reg = <0x0 0x9c900000 0x0 0x800000>; +}; + +/ { + reserved-memory { + adsp_mem: memory@86700000 { + reg = <0x0 0x86700000 0x0 0x2800000>; + no-map; + }; + + camera_mem: memory@8ad00000 { + reg = <0x0 0x8ad00000 0x0 0x500000>; + no-map; + }; + + venus_mem: memory@8b200000 { + reg = <0x0 0x8b200000 0x0 0x500000>; + no-map; + }; + + mpss_mem: memory@8b800000 { + reg = <0x0 0x8b800000 0x0 0xf600000>; + no-map; + }; + + wpss_mem: memory@9ae00000 { + reg = <0x0 0x9ae00000 0x0 0x1900000>; + no-map; + }; + + mba_mem: memory@9c700000 { + reg = <0x0 0x9c700000 0x0 0x200000>; + no-map; + }; + }; +}; + &apps_rsc { pm7325-regulators { compatible = "qcom,pm7325-rpmh-regulators"; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project