Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2565437rdb; Fri, 22 Sep 2023 02:18:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEB09mwYw8IIZxQHzTOJ+2R4jMpfPOWPURiexRN00+XNb8p+xrNt+5LeiF56mra8ovUNco7 X-Received: by 2002:a05:6808:547:b0:3ae:3bd:d3d2 with SMTP id i7-20020a056808054700b003ae03bdd3d2mr3921253oig.10.1695374299538; Fri, 22 Sep 2023 02:18:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695374299; cv=none; d=google.com; s=arc-20160816; b=NmGUV9q8q2PjuSWSctWQTDPpbWLV4k83BncyJF25Uz6jX4gQInewXgvsr8QxWzqhSl LK9Wu0KwqiNeK+SjT4YoY1GTWMpN2KhdDRSudBKQGM7jGcDaGOLS0Ife6l4IDsNnWnlV Kvw3/3hyu8kbUhkeGG01Q2VBdkl1gcGF6aYSqXrlqRpsx1E+aufnG8tRb91y52l0+vWn vta7Mfey+A7MBWXNUrCv5x58mDJBN94hLWaj3TOv9C3C/I1CSjKyNXiiMibmntwPOi80 84V/sb09IkCL0oFYvmlRiaGs23QptkVGhEp3oru8pEIs97SP4yrChFp2DHVe+IYbohFH dpiw== 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=r3bxCxM7k+l5oOyEyJYCuYg1332oCaJzZHQM4J59Cug=; fh=Xc5rYsTj4vvA2kH0IechVwykxE/c95w5echTW7DJ/ic=; b=ArKLEPFLBz0/yLf6/5EGL7zvFRLAsFDVhw6aTDRj95Ou244TrMXVKQ4ZGtkoSW6P62 NRx499+lvvdRfrJwt0dHEO7iJWjWimnM0Ay2PlHEdXLJFpH+Cas55X/W6Y/8O7NY8fns OnLaXWsoGm1ZjKoBXwr/qeWXmoivOOxZFvfL3WWHjhG6vGejv6wHliiJKgI7uIHKc1/O o35C08F7FiJxZzvGBhMNV7lVh+1TbFXK99plSjQI3X64qlABzcyI3jN/44OaknuVyhm1 oBhIvMZie+Wvfl6c8r/YAbYrCPcJpWsSMcVM8f7Lo2QQBzqZJqYJ1zTmTY7mQmb6IESC cVFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=E992YrOR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id m14-20020a056a00080e00b0069024c6a9a8si3652166pfk.389.2023.09.22.02.18.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 02:18:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=E992YrOR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id CCE608514B39; Fri, 22 Sep 2023 01:12:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232491AbjIVIM3 (ORCPT + 99 others); Fri, 22 Sep 2023 04:12:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232063AbjIVILy (ORCPT ); Fri, 22 Sep 2023 04:11:54 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D019CD0; Fri, 22 Sep 2023 01:11:48 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38M7oFrq001519; Fri, 22 Sep 2023 08:11:23 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=r3bxCxM7k+l5oOyEyJYCuYg1332oCaJzZHQM4J59Cug=; b=E992YrORxlAnZ6TElfIDJ+M7O4kUk9uEGWmHHaTWDzpAEFZs9JkXeg5NC1RPIcT/y2l3 5VUgnUutGzucYXJTH9tc2dKxQDbJu05Gvo/m899GAiyscmHiAJY0MA251iXh7ExwxZP/ N+XTM+M3ELFbrIffFoJJIYxfYHCRoSmmuPdTR+/MFFZkhGOf+sz7mE3Az/0TotjTgik/ N4ghxt77QNSdYQpASJKSL3OY800LPyFPSKrtHxSm/FJbTMq15SUbRPPO2vKRCAkrPKOL HqTxxY52TkBMxx27pUNswlq10/URtb2oDjru7Zs6YW52iMF3gRtdEe2KMEK0xLpVzl// iQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8u6rs9rv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 08:11:23 +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 38M8BM67019197 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 08:11:22 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; Fri, 22 Sep 2023 01:11:08 -0700 From: Tengfei Fan To: , , , , , , , , , CC: , , , , , , , , , , , , , , , , , Ajit Pandey , Tengfei Fan Subject: [PATCH v4 2/6] arm64: dts: qcom: sm4450: Add apps_rsc and cmd_db node Date: Fri, 22 Sep 2023 16:10:22 +0800 Message-ID: <20230922081026.2799-3-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230922081026.2799-1-quic_tengfan@quicinc.com> References: <20230922081026.2799-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: pPktxNNcssiiEn3v-qz4NldT6hoTiRUY X-Proofpoint-ORIG-GUID: pPktxNNcssiiEn3v-qz4NldT6hoTiRUY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-22_05,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 mlxlogscore=952 impostorscore=0 malwarescore=0 mlxscore=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309220066 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Fri, 22 Sep 2023 01:12:36 -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 | 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