Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp63812pxb; Thu, 27 Jan 2022 15:10:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXcJBwKaAO6YfJtzZqny11C+nUGlSXU/D2o5jgd5S24vOQxyfn4OOZxhk/JVeD9fkrwyq3 X-Received: by 2002:a17:907:7d92:: with SMTP id oz18mr192992ejc.138.1643325008252; Thu, 27 Jan 2022 15:10:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643325008; cv=none; d=google.com; s=arc-20160816; b=qaYZeIbTH1RJHbjgPf+rrPnZpqNSDI6sUgZu3sydi2J9xtchiAj/hg9Wj1K0GTPNdb scgp4JdoQdiM+W39NMZvyXRt8mrKv30VqlQR0m4vNHxLM91sFPLbD9qfugwmMbNdwFQS 6TkutYVGxDHrtJM8NG+kv+OamACQ6UPStcgf1VpAUri+dVpvpx3epLw6ZHL1f1ULJymq Tn9aaDFatGPcXpwLMWXkNoS41GOwqqN+nCREyIb8ztxkOPgsi2xaM24yShorFejHodbs gM6uSOoQKWIgMnZzhgAYZQFQXGq5kZF7GgyHI4Gp4ZVlyoN1H2S+1VFlO79033gTaOr4 n6iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=ZqKlu4CuQ8DC1yfQEo5A/CfHIV3YO7XgLioVJtilO2A=; b=p3GowEHrvdxUd9hPeHWvkyJAtA5hIMeAGmHp+CAMipC1qwtFlPblZHQe8Ud0ejJ224 zD0EOxxhFZpcnXF3dYCyoPOnCu0O7taIgP4Dd7G0RBXbA704TA5wOqhl2bzyxZNy3j4J cHJ5DY/wpAc8nIl0DnusJBoB0wteOO7E3oxVHo0cIcZ+GC1Ao+T6pn5VYGrGW9BjDZkl BL1eLgSZYvSK6FjWChdvKVFDJnURqlXa0PN/lxikgV+4Uyyylodd0ZfmlQpYqFitCp8j nuMfdtWSawBkstwpZLlqUmrZfcHKxVVsrf6CEYOebDPA/GNf7Ff0oMnG3++ZCsh/io27 56aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=kiAQZ4e+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb43si1275820ejc.154.2022.01.27.15.09.43; Thu, 27 Jan 2022 15:10:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=kiAQZ4e+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S241214AbiA0MlM (ORCPT + 99 others); Thu, 27 Jan 2022 07:41:12 -0500 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:29866 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241211AbiA0MlI (ORCPT ); Thu, 27 Jan 2022 07:41:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1643287268; x=1674823268; h=from:to:cc:subject:date:message-id:mime-version; bh=ZqKlu4CuQ8DC1yfQEo5A/CfHIV3YO7XgLioVJtilO2A=; b=kiAQZ4e+0YXA20Tcs5zdPjp+6KlxfltTZlQwTs9RQ2p7gFhKsGrgPI/t 3dFxY4AiWQhuxwJRuetPTdwDzQDvmpCJzg64GRTTF30bQUCCBqwv04RyY SSQQuuI/ApoMWqiIsjoouvVEfD5D56Hz6pmWv9nitZSBSyyR8qiRmpyTL U=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 27 Jan 2022 04:41:08 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 04:41:08 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Thu, 27 Jan 2022 04:41:07 -0800 Received: from mpubbise-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.922.19; Thu, 27 Jan 2022 04:41:03 -0800 From: Manikanta Pubbisetty To: , , , CC: , , , , , , Manikanta Pubbisetty Subject: [PATCH v9] arm64: dts: qcom: sc7280: Add WPSS remoteproc node Date: Thu, 27 Jan 2022 18:10:48 +0530 Message-ID: <1643287248-1092-1-git-send-email-quic_mpubbise@quicinc.com> X-Mailer: git-send-email 2.7.4 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rakesh Pillai Add the WPSS remoteproc node in dts for PIL loading. Reviewed-by: Stephen Boyd Signed-off-by: Rakesh Pillai Signed-off-by: Manikanta Pubbisetty --- Changes from v8: - Enable remoteproc_wpss from sc7280-idp.dtsi as the change is common for IDP and IDP2 Changes from v7: - Remove wpss_mem from reserved memory. Its part of board dtsi. Changes from v6: - Swap the oder of two properties in wpss_mem reserved memory Changes from v5: - Update the clock names arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 4 +++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 51 ++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index a146d0d..7287e51 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -634,3 +634,7 @@ bias-pull-up; }; }; + +&remoteproc_wpss { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 937c2e0..e7c0745 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2603,6 +2603,57 @@ status = "disabled"; }; + remoteproc_wpss: remoteproc@8a00000 { + compatible = "qcom,sc7280-wpss-pil"; + reg = <0 0x08a00000 0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 587 IRQ_TYPE_EDGE_RISING>, + <&wpss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&wpss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&wpss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&wpss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, + <&wpss_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", "handover", + "stop-ack", "shutdown-ack"; + + clocks = <&gcc GCC_WPSS_AHB_BDG_MST_CLK>, + <&gcc GCC_WPSS_AHB_CLK>, + <&gcc GCC_WPSS_RSCP_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "ahb_bdg", "ahb", + "rscp", "xo"; + + power-domains = <&rpmhpd SC7280_CX>, + <&rpmhpd SC7280_MX>; + power-domain-names = "cx", "mx"; + + memory-region = <&wpss_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&wpss_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + resets = <&aoss_reset AOSS_CC_WCSS_RESTART>, + <&pdc_reset PDC_WPSS_SYNC_RESET>; + reset-names = "restart", "pdc_sync"; + + qcom,halt-regs = <&tcsr_mutex 0x37000>; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_WPSS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_WPSS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "wpss"; + qcom,remote-pid = <13>; + }; + }; + dc_noc: interconnect@90e0000 { reg = <0 0x090e0000 0 0x5080>; compatible = "qcom,sc7280-dc-noc"; -- 2.7.4