Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp80830rdb; Tue, 31 Oct 2023 00:58:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG16d1CGfFDJYDYwYwgCDJO9UmCzLPxR7Qx5vPI5LGFGD8zbSkMqtLCOM9sA/SZ7Cu9DkW9 X-Received: by 2002:a17:902:d4cf:b0:1c5:ec97:1718 with SMTP id o15-20020a170902d4cf00b001c5ec971718mr15398772plg.6.1698739103021; Tue, 31 Oct 2023 00:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698739102; cv=none; d=google.com; s=arc-20160816; b=kJHWB8WTzfaYvw+ATX1usErko0jt3D0RR5I2/X7paDFrq22si5B3Caml/XTyeOIJrB /ksGUl9gLPWPc2BSeHI0QIufRxNsmyXvpTq58klovmNOKsP4LowxVfWpkNge/YVLOXt7 Sv8YIgNOPw9398IMi2qh4giIEeZtONT0tx8CTbheceLR28seQfyfmzmD1r1SYcl1/2tj CrZz38cvKc9U9eOjL2eGUkTOS3CUJWcAKPIg/nmCbzF4SHViNRCIFrW6gW4/sfkJEDSb oKOgWaeVkBNGacizfh5+fvUpAXrtgbj0mrZ0I2bmuyz2nXApcFr2iuwMcHqJPBiwypfp dUJw== 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=nhIIT2kzeEZlo4CsbgL/7pZZITzSXD1n/q6MZPjPdKU=; fh=McFztrUrh/+jWTP1J5x3Gjoh2ILuHyyGG9L1z9mvW3Y=; b=CTJiibMhQuA1dL+9JiaCko4pOi1bsSNgskH1+YBui0MRsIdVYo8zCfUNez7KzV3pxR w3NIN7g7hb/XVEVnKdA3MJ/oCVa9vEBqAxaArQBVd5/YqNYPHUQTqPec70DGGi5ao3wk Bpzk8yOWKzptnk5BhevZ2ctosLM7VUogKuqJ1/JY6+Jcu7Hm156ZbtgCf2YkXHvEbwNC Rzo4XSIHIHLyMrFLpWjnXWbIR2StQ3uodgTDXI0qBP+bcai+dxycRn80eD2aWUMRISq0 AACPF6DigPb6aqR4swN5aj/4d1GJOOGi3rf8VEJvWcHIGVuv+NfC7XTdyF356CSYMX6H UB/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=l7p+u8Sz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x8-20020a170902ec8800b001cc2853bfe6si680716plg.192.2023.10.31.00.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 00:58:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=l7p+u8Sz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 1CCE880689EE; Tue, 31 Oct 2023 00:58:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbjJaH6J (ORCPT + 99 others); Tue, 31 Oct 2023 03:58:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343786AbjJaHvT (ORCPT ); Tue, 31 Oct 2023 03:51:19 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E151FA; Tue, 31 Oct 2023 00:51:16 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39V6n83x002281; Tue, 31 Oct 2023 07:50:52 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=nhIIT2kzeEZlo4CsbgL/7pZZITzSXD1n/q6MZPjPdKU=; b=l7p+u8Sz48c955BZA0g3GVqh2fqpahIpA9UD+7sgG7ZbFOMmXy7adpoJCMtL/7dCmJDI nW0KGGfIyj1x6/X+I4yZ2+KVgUzutybI1O+9tRlToHsYCWyZFO2Ze7cTY8l7YFNCqes/ 4vYI+u3/immAtyvx7sWT/8VDG9U1JgDxcWPEeWlhdDfXAAYNhEGuaCLkPweP/VgUMVxK /EgKjHXb14MZBfHsJrlJcIJqoqjeG+mohAnmK0wuB1WZx/29yfdqXVBRa3ziFjz1sbs1 2qX+uMTzpA8lR45dYXA02OGyhCzKUBLTqBjCTVW2DyN2fBDXJtTq7mQN91iYe8eQoVEd ew== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u2fuvhpbq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Oct 2023 07:50:52 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39V7ofD4027414 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Oct 2023 07:50:41 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.39; Tue, 31 Oct 2023 00:50:32 -0700 From: Tengfei Fan To: , , , , , , , CC: , , , , , , , , , , , , , , , , , , Ajit Pandey , Tengfei Fan Subject: [PATCH v6 1/6] arm64: dts: qcom: sm4450: Add apps_rsc and cmd_db node Date: Tue, 31 Oct 2023 15:49:59 +0800 Message-ID: <20231031075004.3850-2-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231031075004.3850-1-quic_tengfan@quicinc.com> References: <20231031075004.3850-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-ORIG-GUID: N29Q3sJvjYbpOXKQl1PFkVjDugl-oaVV X-Proofpoint-GUID: N29Q3sJvjYbpOXKQl1PFkVjDugl-oaVV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-30_13,2023-10-31_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 priorityscore=1501 phishscore=0 mlxlogscore=946 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2310310060 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Tue, 31 Oct 2023 00:58:20 -0700 (PDT) From: Ajit Pandey Add apps_rsc node and cmd_db memory region for sm4450. Reviewed-by: Konrad Dybcio Signed-off-by: Ajit Pandey Signed-off-by: Tengfei Fan --- arch/arm64/boot/dts/qcom/sm4450.dtsi | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi index c4e5b33f5169..5e09880f4218 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>; @@ -419,6 +432,28 @@ status = "disabled"; }; }; + + apps_rsc: rsc@17a00000 { + compatible = "qcom,rpmh-rsc"; + reg = <0x0 0x17a00000 0x0 0x10000>, + <0x0 0x17a10000 0x0 0x10000>, + <0x0 0x17a20000 0x0 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"; + }; + }; + }; timer { -- 2.17.1