Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4524178rdb; Fri, 15 Sep 2023 05:08:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESo6tBdbGUjwXzs4ZxdadlgOSDyhLs/7TvNV+avUEXjKiN9AUHiCvs64hFdI1o93oB2FIl X-Received: by 2002:a05:6a20:1608:b0:159:c918:1016 with SMTP id l8-20020a056a20160800b00159c9181016mr1752291pzj.49.1694779683778; Fri, 15 Sep 2023 05:08:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694779683; cv=none; d=google.com; s=arc-20160816; b=T28ZzZaHq4qnBnH3RsXgdgCkZWtIYHXAUdamVhm7IE4+SlDqttPc59mLoHChLNlwte mU8SAH8IGKBjPHu5bbwRoOKm8zfvczgvDcrXqKjLDHYJtn0Br2V94RSLmVp9Tn/zN4U5 +Rj5J9+L3t4W6jFzmYrq1nRCkgPto+mckjTYrpqeQRjoini3S8Ky90qN3DyR+18DQefm DIYlc2YFLhMv5W5AK7h3lMB30qFc9COq+5y+tef6U9SRBKjruB1YguTkLQGWRl2ICCYW +PzaAbQHPUd5eMwEoiIjGNMc9Ayqzx2j3u9960sNg+nADVd96SKfM9/CEnvjE+CVqdKE 0/pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=N1l9eydCs636lJ08WpCAagCCuZo+zMkY2jEbHdJA2j4=; fh=kvHbCkgRP6viBHpJ0OtLRYaO+qhnne7I9PnQ+SbnkQc=; b=JGxWG0P/rNsG8DBD2xcuqpAAM/njzryQnup2F+7RpYoesYpc5O5r+d1WKtA5EaZU9t RFhMtyphbjemdSi2yOktOlodoGKDZXBXCjlf0JoV2JVhzIH7Ip5nVyV7yGjpUry7Tw9e HBvnVxfdLHLO4AocnfI6ELbvQBZPZiA6bOg6Ir/L5vCSjZ1WLabZa1hKYI3DNm1X+jAt BJ7HoE7hwDb1wpFGfzntrYkC0abO50bii40L6KS1nDuF7+McUn9x2HSxqLEioqpHT374 ZMPFIsB7OJj6oxjgh5iwQGEMcoXICclLxwic3AmDVuMTpG3925tOoyPEwTztJJ0AK7HG ShLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NvMc8lim; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id fb20-20020a056a002d9400b0068fe0125a33si3322455pfb.37.2023.09.15.05.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 05:08:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NvMc8lim; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 73391813EA99; Thu, 14 Sep 2023 19:17:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231833AbjIOCRM (ORCPT + 99 others); Thu, 14 Sep 2023 22:17:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231821AbjIOCRC (ORCPT ); Thu, 14 Sep 2023 22:17:02 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D2DA2715; Thu, 14 Sep 2023 19:16:57 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38F28g4S023596; Fri, 15 Sep 2023 02:16:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=N1l9eydCs636lJ08WpCAagCCuZo+zMkY2jEbHdJA2j4=; b=NvMc8limGTvCA0pQkh0lbDlowsQkH49C3oKgB6mEvq9/EylEJiOND4mF+j/J/b5Ip77h BwXVQUtT72CApM8Hm6yiEx0dW4bFmLegTPni9PYXDJhZZhcKFpo/MBMo7+oBXjIvm/ux DpfIhugppzI0TKOjfsitUB5884jR6zy80o53gN097Nu+SRRL3XpphIyfSxNYxPYmWmZh nNpE+lFVh0SVyNUpeN/+6X1r+Mlm12ar1Jl708eK35H9AmW7mZiQjd83dDlN6Sxrqb2Y BG6BDu69ZKCQJatGCsIRzW3Qa0nfLe5EFbSNyaQTocGfr9lReBZDOyU0HizV9hXAjnNC BQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t4dtgr1sj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2023 02:16:24 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38F2GN0R024705 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2023 02:16:23 GMT Received: from tengfan2-gv.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.1118.36; Thu, 14 Sep 2023 19:16:14 -0700 From: Tengfei Fan To: , , , , , , , , , CC: , , , , , , , , , , , , , , , , , , Ajit Pandey , Tengfei Fan Subject: [PATCH v2 5/8] arm64: dts: qcom: sm4450: Add apps_rsc and cmd_db node Date: Fri, 15 Sep 2023 10:15:06 +0800 Message-ID: <20230915021509.25773-7-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230915021509.25773-1-quic_tengfan@quicinc.com> References: <20230915021509.25773-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: tEjqFTiJIAggOOOCyN1tR4BNfcNyorlF X-Proofpoint-ORIG-GUID: tEjqFTiJIAggOOOCyN1tR4BNfcNyorlF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-15_02,2023-09-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 mlxscore=0 malwarescore=0 impostorscore=0 clxscore=1015 adultscore=0 spamscore=0 bulkscore=0 mlxlogscore=913 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309150018 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 19:17:27 -0700 (PDT) From: Ajit Pandey Add apps_rsc node and cmd_db memory region for sm4450. Signed-off-by: Ajit Pandey Signed-off-by: Tengfei Fan --- arch/arm64/boot/dts/qcom/sm4450.dtsi | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi index c4e5b33f5169..0d1d39197d77 100644 --- a/arch/arm64/boot/dts/qcom/sm4450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi @@ -5,6 +5,7 @@ #include #include +#include / { interrupt-parent = <&intc>; @@ -328,6 +329,18 @@ }; }; + reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + aop_cmd_db_mem: cmd-db@80860000 { + compatible = "qcom,cmd-db"; + reg = <0x0 0x80860000 0x0 0x20000>; + no-map; + }; + }; + soc: soc@0 { #address-cells = <2>; #size-cells = <2>; @@ -335,6 +348,27 @@ dma-ranges = <0 0 0 0 0x10 0>; compatible = "simple-bus"; + apps_rsc: rsc@17a00000 { + compatible = "qcom,rpmh-rsc"; + reg = <0 0x17a00000 0 0x10000>, + <0 0x17a10000 0 0x10000>, + <0 0x17a20000 0 0x10000>; + reg-names = "drv-0", "drv-1", "drv-2"; + interrupts = , + , + ; + label = "apps_rsc"; + qcom,tcs-offset = <0xd00>; + qcom,drv-id = <2>; + qcom,tcs-config = , , + , ; + power-domains = <&CLUSTER_PD>; + + apps_bcm_voter: bcm-voter { + compatible = "qcom,bcm-voter"; + }; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x40000>; -- 2.17.1