Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4416992pxv; Tue, 20 Jul 2021 03:21:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZFUmAqWnNmtZOGPvrtw91l/HXb/JPQJYRzE8r/fg4WO7iqzQ4NW59jMCBImlz85n85zRx X-Received: by 2002:a05:6e02:5ce:: with SMTP id l14mr20354662ils.147.1626776494611; Tue, 20 Jul 2021 03:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626776494; cv=none; d=google.com; s=arc-20160816; b=nUn85BRe9J8b6cWx2oRi3K2FH+JKVh1+QXdYWnW50ZBYEDlTVidLT8ObLdEoTGj4za XFSTwR0P7Uf3ropJQRRxOfOQzkM9drS08OsA1BcFHvWW7r0XvfFpA3cO96zCLVQ3RvAw cqzkaPGNSERhBFZ7okd2TJwSNszvhZANufE31pW9iAGyoL+IuhrLYNPtk/KsqvzLyuto g9FNDbCN4NYzdGVH27zDgwpqCGKlLIhLHR6BeBvjMMzVLYnOdDoSiNWhvOQS1jql0KE+ HhlBrKk8o/Wj+B/RGDmUr2CrKEOJPQJsbie4te7NTURDj63/j4KKhPxdNvCTdBZ/xOom lILw== 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=GHdjZVVlcy7X6+JuXFE5ufHg3qeznzdu01QQ1X3k/wo=; b=j8zK7uPwCIGMM19y7aXiy34ds4ej/Y676SVNiAAmyBhTHgmxVAaB9Qe2xUzX2aJ9s6 vrqM6Iv4Trf8zXSfbkfAnfQtcC8hk+FpYHctGq7gU9CgJJoKCojIKA8E4RHyIPFJXG3h 3DXaxLIX8ZY9BPxgu0pQieSfwq3wBNB1+js02YCQi3/tS/RcQqvhITIYcgFyalaeXvar uLPNsXfncHbp2cxhzFwEffS4Rg297lIDnJYYf9Voyv5Uh9t+XQI81E+02yFTwIKKikcu WcxrUHE8OczPRhVOkU3NHlCNrdPCpdke4WBaNf5ILjXxTIyVhhrvkEjmhNmjUM2pOLv4 90kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=p1OFy6lc; 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 x90si12828435jah.3.2021.07.20.03.21.23; Tue, 20 Jul 2021 03:21:34 -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=p1OFy6lc; 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 S233653AbhGTJjr (ORCPT + 99 others); Tue, 20 Jul 2021 05:39:47 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:38841 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233061AbhGTJdq (ORCPT ); Tue, 20 Jul 2021 05:33:46 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1626776063; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=GHdjZVVlcy7X6+JuXFE5ufHg3qeznzdu01QQ1X3k/wo=; b=p1OFy6lc1TPQRWjLjx48MhVyXgRmCg0zGKzBIEDnikdbq5GOvYKYCaMrhqHxCZJMvb/n1egJ fT20w6lhapuwjCsq81HDTHY/kRcdZaYHRNxTV5+2jgNv3TOYlXVc/cNAWtKLENvQzgJXQ1vS 2xIxuWalP0vaEd7CDE8vFRt8ReQ= X-Mailgun-Sending-Ip: 198.61.254.9 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-n03.prod.us-east-1.postgun.com with SMTP id 60f6a1efc923fb7e09a421a7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 20 Jul 2021 10:14:07 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C9693C43143; Tue, 20 Jul 2021 10:14:06 +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, URIBL_BLOCKED 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 6EAD6C43460; Tue, 20 Jul 2021 10:14:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6EAD6C43460 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=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, will@kernel.org, saiprakash.ranjan@codeaurora.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, swboyd@chromium.org, Sibi Sankar Subject: [PATCH v2 07/10] arm64: dts: qcom: sc7280: Add/Delete/Update reserved memory nodes Date: Tue, 20 Jul 2021 15:42:57 +0530 Message-Id: <1626775980-28637-8-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1626775980-28637-1-git-send-email-sibis@codeaurora.org> References: <1626775980-28637-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 --- v2: * Split reserved memory updates between SoC and platform. [Matthias] arch/arm64/boot/dts/qcom/sc7280-idp.dts | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts index 3900cfc09562..191e8a92d153 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts @@ -30,6 +30,58 @@ }; }; +/* + * 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