Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4150494rwl; Tue, 28 Mar 2023 03:27:56 -0700 (PDT) X-Google-Smtp-Source: AKy350ZiT2Kup+YxSEHcMAgKK+V/jRXWGEJ42xMO8uTVP7urCxBzIRlEoe18VuRCgrttpyoocila X-Received: by 2002:aa7:c84a:0:b0:502:26b7:82fe with SMTP id g10-20020aa7c84a000000b0050226b782femr11846435edt.3.1679999276018; Tue, 28 Mar 2023 03:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679999276; cv=none; d=google.com; s=arc-20160816; b=jtZqgPLPHh+xSxySWgsgQ4YPpoFt04s/8sb6qII6X6KPbwejrjG6nmi4FUJ/WQcMNX uSGa3/jgWlcjK9DWmBTFhTFcMTEfARDxykxUCLLUUlcVccY9UMx5FFhIvU1RMTG94fE3 /GNb7WO3Cr/+tg1JMNwvqG74GR3dpUqy2xVxS9+Zf+bpTdDjXJRkV3qt7NU2JVWX5yt7 6AM7t3HneIXhDIUUYTW4y9M6rZIYZ6T1zqkSJ1f3tXC7/wp+UN9r2cJwNI78fievE8+u Sri4+2L9Zes5/y2s8QyM7LMx2G9ONdDo1UEpS5QzhvWxb9OFr7HyFI8pd5tXDeV3lfrx 2EqA== 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=Bx3vU3oLlqRRG8aYWK7Po3UY7rjnId/JOR9XG1pdoXc=; b=J3sjDkYDc9Vyx83DbC6vxmGqj64HIV6vUx0imbVaV7VIbKsANh9JsrRhlkbjdTFM7c SuuDnGF9KF8Tg/tauJB5ub0axWbKqgArSVHsqoGZ31UtJI+bP6BAbLVUyZNeUFbRhxbw QS83+2pKid42d6b61v4xVSTw+6oXu74dPtbbYe6Wzr2HcXUCHqb9FrZiCKokSGuQDV/z XaECqZRcZ1QwHigpDSLn16VOgCjlJiZ2cNAxIgY9z11SwDpNVR/2mICb5HlYLejLPr8C Bucb+Q0OLL2VD+DVzu1ZX5jcAOqbG6Mbb88fIWitxN07ySxXx7EPjsDfEHI42n5C+FLg f9ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pdyqoGDr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o23-20020aa7c517000000b004fd21257a30si28139211edq.623.2023.03.28.03.27.31; Tue, 28 Mar 2023 03:27:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pdyqoGDr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232303AbjC1KU4 (ORCPT + 99 others); Tue, 28 Mar 2023 06:20:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230380AbjC1KUv (ORCPT ); Tue, 28 Mar 2023 06:20:51 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C431A4EE8; Tue, 28 Mar 2023 03:20:49 -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 32S6WhKG024481; Tue, 28 Mar 2023 10:20:44 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=Bx3vU3oLlqRRG8aYWK7Po3UY7rjnId/JOR9XG1pdoXc=; b=pdyqoGDrTJTxOhT6CKKxOv9q+aiaKS6HHyl2wsYOFxvt6A148dZF9e9r5FSacv84bOjx TT4n6HgsW1ShsUad/Utq/01exmgl5OvhnxTXhiUNosS+IKe4OOuzO/fDQvV7I6VHFDLg G9ox1P6r3mA8ETCyoxiYjfZ9OUU+NlMRjo/7DMH//kYKzMpPDiHckN5U0uIt71AEJ/5v e0E0Tb+jIYYkeSIqWqFIWkJWkQhb7OZm8tBW721NC7gY+wYY6Q3L8p7nNuy6lDX4n5xJ dDtFwo1uYOBIUwzi0c9gkE/g8To9URGxb7p7uZ30MSoaDr5Yx2YHrDm6D5WEPvUg5O+e mw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pkbywap14-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 10:20:44 +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 32SAKhGi028962 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 10:20:43 GMT Received: from poovendh-linux.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.986.41; Tue, 28 Mar 2023 03:20:37 -0700 From: Poovendhan Selvaraj To: , , , , , , , , , CC: , , , , , , Subject: [PATCH V6 1/2] arm64: dts: qcom: ipq9574: Enable the download mode support Date: Tue, 28 Mar 2023 15:50:12 +0530 Message-ID: <20230328102013.21361-2-quic_poovendh@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230328102013.21361-1-quic_poovendh@quicinc.com> References: <20230328102013.21361-1-quic_poovendh@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: abwH8kX732TR9mFfxJXnYcPAygaprGYI X-Proofpoint-ORIG-GUID: abwH8kX732TR9mFfxJXnYcPAygaprGYI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-28_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 adultscore=0 priorityscore=1501 mlxlogscore=827 spamscore=0 malwarescore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303280086 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the support for download mode to collect the crashdumps if system crashes, to debug crashes extensively. Signed-off-by: Poovendhan Selvaraj --- Changes in V6: - No changes Changes in V5: - No changes Changes in V4: - Dropped smem related nodes from this patch - Mapped the entire TCSR_REGS region and updated the offset in qcom,dload-mode property - updated the commit message Changes in V3: - No changes arch/arm64/boot/dts/qcom/ipq9574.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 3bb7435f5e7f..099948f36efc 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -81,6 +81,13 @@ reg = <0x0 0x40000000 0x0 0x0>; }; + firmware { + scm { + compatible = "qcom,scm-ipq9574", "qcom,scm"; + qcom,dload-mode = <&tcsr 0x6100>; + }; + }; + pmu { compatible = "arm,cortex-a73-pmu"; interrupts = ; @@ -142,6 +149,11 @@ #power-domain-cells = <1>; }; + tcsr: syscon@1937000 { + compatible = "qcom,tcsr-ipq9574", "syscon"; + reg = <0x01937000 0x21000>; + }; + sdhc_1: mmc@7804000 { compatible = "qcom,ipq9574-sdhci", "qcom,sdhci-msm-v5"; reg = <0x07804000 0x1000>, <0x07805000 0x1000>; -- 2.17.1