Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1159571rdb; Wed, 20 Sep 2023 00:58:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIDlD5048Fw4SpgBNGfbIB3TZvsjOZozl8NadPQPxFvbqhWMOGB35vnmCXcSoUHI1VSn3Q X-Received: by 2002:a17:90a:c793:b0:274:e82d:db27 with SMTP id gn19-20020a17090ac79300b00274e82ddb27mr1798677pjb.31.1695196695481; Wed, 20 Sep 2023 00:58:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695196695; cv=none; d=google.com; s=arc-20160816; b=x//ab0KoFJPAlZ/6SOlXJkUPDcYFnP03hm99q165ZgUN3HhM7qhVzZiXUmSjmG9bjx u1EDajBx7C4lUEeS7yNt6yJ7fxz4JVzLtE8gBp+qosQPUBT3f8mr4EpgXkK4Jv4P4q4r 0xgNTTNdvz7uwcYLR9ZLuy4Slbqojr7LariYrs7yCeA7/tHkL0aAL78PmcGe4tsYkzrC q7uYEIrawmY1xyaWs5IqfNna0F2Hb3jxl50SofdXvNUJEs2Xbpcq03OQvI4RrrMOApBD pxxe0XE9IQHLOA1SBiLKapTmTOXVmJv1I1BXj408nX4DHhUenty/usW9gb5Rr3iedGpB AxdQ== 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=yfZnhjviGtYhQTaPqpCol44Lj+Jl8tvjyTG20ZTf+fw=; fh=bPBcLOt2EiqSzk8m6QUN4JLGFzTXQSbfySDXQEOfa9E=; b=izxAi+ZoH/URPmjZdCwYirbmCHompEr/t0mWlkl4sfuzAQ0vGb+MSTXifiriOGThBh uBYZor0iD/x+BmtU7Sj5BwmxZFk9ZjVWYlBhNJbudM24ToolfsmlPbHacL/IK+EEKol0 tML7/hRk+yssLY88qBgimqcsLlkE84UCInxUh2zABB8zARc0TRSsJfPMHyLfyE3Ips9M eS+1Dq5UnAPncPa1JJ8zSyR4zS992BlNBsXFBXEWmmQaAa+dO5HKkF/nB1MBevSiVGT3 cYtJkX67M+qDGG/V9wQehHKDwohk/ov7O5hCHwlbEVXd+TNzv3EKR+5Y30OqPQFnYDv6 m4Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YXpqq823; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u13-20020a17090a410d00b00268300061cdsi1045089pjf.168.2023.09.20.00.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 00:58:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YXpqq823; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 8E2C0814596F; Tue, 19 Sep 2023 23:56:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233450AbjITG4b (ORCPT + 99 others); Wed, 20 Sep 2023 02:56:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233328AbjITG43 (ORCPT ); Wed, 20 Sep 2023 02:56:29 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FB7192; Tue, 19 Sep 2023 23:56:23 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38K4jqi2005763; Wed, 20 Sep 2023 06:55:51 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=yfZnhjviGtYhQTaPqpCol44Lj+Jl8tvjyTG20ZTf+fw=; b=YXpqq823B6ACcVZqSayaBXZRwc2fPsj1BXWUHyPujFfiJA/FCk+WADAemolL/TY6CkLt p4XG6GcENQ27f4d5O5LEibe3OUujidpJdPMBiKLb15rvr5YhC2q5qe3zsy5fu634oSWY XYJHjX+FKHIPyH9CN+I1lHuVXxwbWh/shWSwd2Qalqa7NEgxM0XSc2XQX9b/jlDgb+Ae 6HjZvSvxSb+ZioDyBve7orcKZS6ZtePk9tayZjVixVYobmndlAbkQdu63RNFeVHawkMJ kt/a3heoFaYKmFXUlvtDeUkPvO3ipXZHs1RTYWvwvi7EsU5BObgCtBILKNye6qQgyB8E sg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t79182efj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Sep 2023 06:55:51 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38K6toaO013672 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Sep 2023 06:55:50 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, 19 Sep 2023 23:55:41 -0700 From: Tengfei Fan To: , , , , , , , , , CC: , , , , , , , , , , , , , , , , , , Tengfei Fan Subject: [PATCH v3 2/5] arm64: dts: qcom: sm4450: Add apps_rsc and cmd_db node Date: Wed, 20 Sep 2023 14:54:56 +0800 Message-ID: <20230920065459.12738-3-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230920065459.12738-1-quic_tengfan@quicinc.com> References: <20230920065459.12738-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: -F2BBsCD5l4LI3T4YYKOGJKshrqoe-Ql X-Proofpoint-GUID: -F2BBsCD5l4LI3T4YYKOGJKshrqoe-Ql 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-20_02,2023-09-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 adultscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 bulkscore=0 impostorscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=958 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309200055 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 23:56:33 -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..3d9d3b5e9510 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 = <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"; + }; + }; + }; timer { -- 2.17.1