Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp551478rdg; Tue, 10 Oct 2023 20:16:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHM5ju0Jgzqqwp1ty9CF5qZhRfqPuXYsrglP1aWrNk0DdhkCaNNUqEfyWksZBVoJK+4bDoX X-Received: by 2002:a05:6a00:1912:b0:690:d2b0:1b37 with SMTP id y18-20020a056a00191200b00690d2b01b37mr25566261pfi.10.1696994215926; Tue, 10 Oct 2023 20:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696994215; cv=none; d=google.com; s=arc-20160816; b=haDnfRqA5nNGdIQJ+Aq9iDClQlkYUOHQMjDezI6o8HrBzs6Kz2603FyZthNNiOzQyw HXwAz2b31eXzWXFEO7InNl/NdYRBMr6GfiaNT/ArIzl9EU7p49TT7QBOiS3jxW+vHj+N tFB+Sz1sDBVlvFf4GSqQ8QXTmlK9Sw+IrTtuJd4gpX50V8qUPMLzsMGB3JirLS8F6h80 mz7tl3rXP5BJPmltENAvy//6GhLj1gdeMrXD0er6emZgleS5mp6RAhMZH1UCHatUaSBB iayHQHrdJJ4PzuzEK4/xaUMBfFfcCtbmNZJQyimgHRcplvpovXOTHmngPcaK753RjfL5 5V+A== 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=AWnjsKAAaL0XCBcqptnou6xK25JnyN+zR1s4NL282NA=; b=IPwZ89TCzya5HoWXjD3likmb6ruFvGUsqmPTvz8n0ULmFTdbz0gfOX8jKd5cISsz/o G/FgB7dxR7M9jwpKwsOfjMPTtlnKNNe84xb0gR9ZsI2j51vLwjbCeDY07/vns0hLJ7Vg maSQKULVEBAXbrpyarM637zpls7RarecUZhnxVd1zF3WcTJ4/jA5mUnnAyx44j2WQBzX XVK8g9fOBl0IdTCGHYSq7R+TbW3skQDCJWyH+TEA8FnvgrEh7Yr/dycmSwnM7p6/9mVE TgxpyHutGwBZsL5PGAFzxnHNPUQT77c51CkAxXEWXfaHGGbAfSHg8RSJy9tLfD5rKrx2 GlSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XlZG2NoZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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. [23.128.96.34]) by mx.google.com with ESMTPS id m19-20020a637113000000b0057942bfab4dsi13119677pgc.395.2023.10.10.20.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 20:16:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XlZG2NoZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 F1A3380A30BC; Tue, 10 Oct 2023 20:15:52 -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 S1345066AbjJKDPe (ORCPT + 99 others); Tue, 10 Oct 2023 23:15:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345010AbjJKDP0 (ORCPT ); Tue, 10 Oct 2023 23:15:26 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDEA1B6; Tue, 10 Oct 2023 20:15:22 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39B1VxvS001881; Wed, 11 Oct 2023 03:15:02 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=XlZG2NoZ1uIeVhjuztXaPnZAhHP3zB428AdMCJA30y3622E/Tz6nSaaMPezPllfrggbj YdQSUvg5mQTydWCsrlv9IkeDXmKODu9H/PJxVMU95zHfBcboCf3t9HwgMCS2WosnMJvA pwf6SOILonddNResPX5hLgZj1tkKjOur1TtkabZ3jJCaqoHJZ/mzCLbB2gQk+TW9LNVF UqhRZI/oiyO1V+GxX93ZHIj9T2jp64PzfrTiJKIuIrx268lLHKSaPxCHpyTx8fylcuSV lsRGawzAc5R3DhPYaUYzBy4jX5TvkajeVhRGlJjxs22ignlDRCFAnKyoMGwWF+TeChOu vA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tne0q0gf9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 03:15:02 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39B3F0eb005381 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 03:15:00 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; Tue, 10 Oct 2023 20:14:52 -0700 From: Tengfei Fan To: , , , , , , , CC: , , , , , , , , , , , , , , , , Ajit Pandey , Tengfei Fan Subject: [PATCH v5 RESEND 2/7] arm64: dts: qcom: sm4450: Add apps_rsc and cmd_db node Date: Wed, 11 Oct 2023 11:14:10 +0800 Message-ID: <20231011031415.3360-3-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231011031415.3360-1-quic_tengfan@quicinc.com> References: <20231011031415.3360-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: hDwmB4GoFgHJvA8IaH1K1r80I5906nsL X-Proofpoint-ORIG-GUID: hDwmB4GoFgHJvA8IaH1K1r80I5906nsL 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-10-10_19,2023-10-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 spamscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 phishscore=0 adultscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 mlxlogscore=960 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310110028 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Tue, 10 Oct 2023 20:15:53 -0700 (PDT) X-Spam-Level: ** 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