Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1131409rwb; Fri, 13 Jan 2023 08:17:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXuEG02jFxt5TJtGv/fF97zemwarKsJy3k9crD1Mk2jw/VddZg9vUNpPktR1dex19dAIQZJu X-Received: by 2002:a17:90a:bf0b:b0:226:f10a:c0de with SMTP id c11-20020a17090abf0b00b00226f10ac0demr24588791pjs.19.1673626620580; Fri, 13 Jan 2023 08:17:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673626620; cv=none; d=google.com; s=arc-20160816; b=iQFvkf7FzLFDtV7QkL8X79vtT+38BvciufVBWG/LPNrtVhDXFoRKlM8+McIU3o711N CHKg0Qpf19bXcxvIkxy8mV5L+JQvoMH3bX1Mib8aYuHH+ZwY9mVAEROZOesjGQ/l+i8c v+dK0yKP1+QyU/gYD6Jiiy6v+RZJlbFdw+BcDRHgTL6645nFPKBjfmT2R+gpL5Dml80B n/EAf71udhu9aAHvZPxf3HUDSql6KBz5Nk0fmQOHMgUiBCctczYq5cu6foxpqbkzSp2e 1a7l6O0iwI2f7eZqPSVYSHlKksQAeyLmvKu6O8T13P0GFHnZOUWZ4H8Cyg5h5p/H34f7 PI2Q== 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=68aWMK9Kms2+M/6XigHM3tszYfQb8/+4hcJZyG/ycQI=; b=i8bP0qoIvNmfI0W8cqabroyK3wCwEuMpgnjuWOD5m+K4rvXdS4jnhKb3X8xFAFGnSx AOIt5SRi/j48jYfcvc6a+C2BsjA3ZcJvsWS9eJm02K0QW2/ietnp5FC1xCEr6JFP/jO6 +reueDZs8HmZU5dJzlCmO22Tgc4QLxFp/5z4wT/cEkAtY4NWCWB501kfWip8iTlDHtrr T73ulShulI7/IKg5Llo2y0U/caOB/LXbQksXPjxey6vrmPyLgXQDvr3nuybH8H5Wd7Uw IgzSY7/zXKVkwlQCRwYAnNWyJhdMUWtiD6laJrrrBfZggWGzOU+tHkMPPQXl57EK2bED Caew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=B515PdI2; 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 pi13-20020a17090b1e4d00b0020d5867aab6si22290087pjb.141.2023.01.13.08.16.53; Fri, 13 Jan 2023 08:17:00 -0800 (PST) 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=B515PdI2; 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 S229879AbjAMQJC (ORCPT + 51 others); Fri, 13 Jan 2023 11:09:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbjAMQIT (ORCPT ); Fri, 13 Jan 2023 11:08:19 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EE9E848C5; Fri, 13 Jan 2023 08:01:19 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30DBepQF019893; Fri, 13 Jan 2023 16:00:54 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=68aWMK9Kms2+M/6XigHM3tszYfQb8/+4hcJZyG/ycQI=; b=B515PdI264rXxEcKl1LWa/wAv1XODNhobbdeg77HTfxmGmo7OvUSrFfTBOxV4OwZIvnU UxIXheNv4vbQ9VeHR5Zw0Fq9/BNbw7C89LmCnmJRaA1OIyx7F93P9BHgnLNrIxWLuNyW oLYxsnzt5whpHZbkJyxnGb3h0hbCJ3Y8I3W/un716wvg2jyP5SMWm7CizIbf+j10BMSy jQYUNWsVLRfPH7o+lKddp9VEisye+X394wAEfNKVh7gIh280I9zMWh98Mx41kAaKJXln GQfOOI1x++BFzo62NtBh7kkVLXcEXTwZQ9IJPHihKfadUKeSWPfgdTrQH7kMUn2Zi02l Cw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n2wqw1q9r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 16:00:54 +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 30DG0rvh028691 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 16:00:53 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.36; Fri, 13 Jan 2023 08:00:46 -0800 From: Poovendhan Selvaraj To: , , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH 2/5] arm64: dts: Add support for Crashdump collection on IPQ9574 Date: Fri, 13 Jan 2023 21:30:09 +0530 Message-ID: <20230113160012.14893-3-quic_poovendh@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230113160012.14893-1-quic_poovendh@quicinc.com> References: <20230113160012.14893-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: jnUasJcY8wjI11esd1L1EsdFCRaUAMgI X-Proofpoint-ORIG-GUID: jnUasJcY8wjI11esd1L1EsdFCRaUAMgI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-13_07,2023-01-13_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=901 spamscore=0 malwarescore=0 adultscore=0 mlxscore=0 suspectscore=0 impostorscore=0 clxscore=1015 phishscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301130106 X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_SBL_CSS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 Crashdump collection in ipq9574 Co-developed-by: Anusha Rao Signed-off-by: Anusha Rao Co-developed-by: Kathiravan Thirumoorthy Signed-off-by: Kathiravan Thirumoorthy Signed-off-by: Poovendhan Selvaraj --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 79fa5d91882c..349955bad386 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -166,6 +166,13 @@ reg = <0x0 0x40000000 0x0 0x0>; }; + firmware { + scm { + compatible = "qcom,scm-ipq9574", "qcom,scm"; + qcom,dload-mode = <&tcsr_boot_misc 0>; + }; + }; + pmu { compatible = "arm,cortex-a73-pmu"; interrupts = ; @@ -190,6 +197,13 @@ reg = <0x0 0x4a600000 0x0 0x400000>; no-map; }; + + smem@4aa00000 { + compatible = "qcom,smem"; + reg = <0x0 0x4aa00000 0x0 0x00100000>; + hwlocks = <&tcsr_mutex 0>; + no-map; + }; }; soc: soc@0 { @@ -240,6 +254,17 @@ #reset-cells = <1>; }; + tcsr_mutex: hwlock@1905000 { + compatible = "qcom,tcsr-mutex"; + reg = <0x01905000 0x8000>; + #hwlock-cells = <1>; + }; + + tcsr_boot_misc: syscon@193d100 { + compatible = "qcom,tcsr-ipq9574", "syscon"; + reg = <0x0193d100 0x4>; + }; + sdhc_1: sdhci@7804000 { compatible = "qcom,sdhci-msm-v5"; reg = <0x7804000 0x1000>, <0x7805000 0x1000>; -- 2.17.1