Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1094314pxb; Wed, 6 Apr 2022 08:34:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfmAxYfJwG5NIeR3e+kc4r/hNeiLweAd5ZMTBS3ufNnk6k/pbroA+W+uKE36lgq1kA/wqT X-Received: by 2002:a05:6a00:26cf:b0:4f6:fc52:7b6a with SMTP id p15-20020a056a0026cf00b004f6fc527b6amr9551124pfw.39.1649259292885; Wed, 06 Apr 2022 08:34:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649259292; cv=none; d=google.com; s=arc-20160816; b=vb+ww/KHaLB6Ew3PE2tZ2T1dg+IzUeN6EJZX/brZTfekrcqHMQwkaF4o2RFdyDuq+q Wc1HTmd4F/Axf2dKNTmOgW+MLwYDtio1qtYxds/kNCg4l43XmMp+keDHJCgLqvLC9GHh sUJVanqwGQkIg8oy7a0VhnPB+P3JM6BJjhaqmPmZvGvO4chI/ONfX3I9tqWpEx8x8z8h hty9HSKcb5nfFJxMHLhvNaufSIhA53w2GJV1upb0328S9CBgn2q6FV/+UQjJjQetz7hY mjFF5n9w4QSLm+kMJLGN/KgfWRYCuJ3hS8uugWQiSb6cMG1EPvWygIER0oTjnsv1wW3h XqSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mxkshQ7DDAtNUIY1aajFWQJrYfPpGlQ9uDSHZOGjqiI=; b=eMvMqimXjBxGcXQeap9ZnkosFcdvIuE/AJ/jUeVZFujdaGwEu81ZaB2PuD7RQ5gpae tOKfk2BdqYNUnWf7UmRpL0coRG7DJaZADroPooCDxYcLeWIB1vTG+H02xe7qAMcQo6HY X7pi1BhKmnOcB+LvOEdCHbaf4MQ/w/vAKuXAp8a+YeKdNnE2rctNGedzg46vMN24/rDJ /HNPVTzkHfXuIo6EMeIrjJzm8gwHsttI1NIsNFpwAIJ8tq0aBCUjsttwsHEUclXVfIjX yXflb/dRtLSNJ4+YvK/kBNtkUOqvSYfl+mfBCTBvLLjyJqnsVmoalhWnesEueaisWWrl o8hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=EsWPwr5C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g9-20020a655949000000b003816043ef7csi16045613pgu.369.2022.04.06.08.34.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 08:34:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=EsWPwr5C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0F6CB93189; Wed, 6 Apr 2022 06:47:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233495AbiDFNsy (ORCPT + 99 others); Wed, 6 Apr 2022 09:48:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233615AbiDFNso (ORCPT ); Wed, 6 Apr 2022 09:48:44 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C249B53A47F; Wed, 6 Apr 2022 04:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649243481; x=1680779481; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mxkshQ7DDAtNUIY1aajFWQJrYfPpGlQ9uDSHZOGjqiI=; b=EsWPwr5CSgYMV4Waf7GpJ64j+Cw3w6pnEpnohcyvK/Xj9esptbl1E8e8 3fjbh2x5/+BSG5Q67eIWjJ7Tmu3EtB0bzUf30GzEoRtGCcYUwwF+3Ey1M Yszan+Tt79P+k7JGZw4Ew/OGudZTLL6mFx0P8lO42vF+LfQWSYRKupnFT c=; Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-01.qualcomm.com with ESMTP; 06 Apr 2022 04:11:20 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg01-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2022 04:11:19 -0700 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.986.22; Wed, 6 Apr 2022 04:11:19 -0700 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.986.22; Wed, 6 Apr 2022 04:11:15 -0700 From: Manikanta Pubbisetty To: , , , CC: , , , , , , Manikanta Pubbisetty Subject: [PATCH v11] arm64: dts: qcom: sc7280: Add WPSS remoteproc node Date: Wed, 6 Apr 2022 16:41:01 +0530 Message-ID: <20220406111101.27412-1-quic_mpubbise@quicinc.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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 v10: - Rebased on ToT Changes from v9: - Rebased on ToT 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 | 3 ++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 51 ++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index ecbf2b89d896..f61a3e15fa8b 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -547,3 +547,6 @@ sw_ctrl: sw-ctrl { }; }; +&remoteproc_wpss { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index f0b64be63c21..b757e8ad1199 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2842,6 +2842,57 @@ qspi: spi@88dc000 { 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.35.1