From patchwork Sat May 21 20:35:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 575098 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6E64C433F5 for ; Sat, 21 May 2022 20:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345557AbiEUUfb (ORCPT ); Sat, 21 May 2022 16:35:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345777AbiEUUf3 (ORCPT ); Sat, 21 May 2022 16:35:29 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23316393DD for ; Sat, 21 May 2022 13:35:28 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id br17so7257556lfb.2 for ; Sat, 21 May 2022 13:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C9xhV4604cnunsv0ioP47Wr0e6BQa6QarxevuPKw7QI=; b=bh/RvFpmIjS7eRGUbitInRvzx5AOWhesctSMK/+KlRq5EtZL9kx3+w+7lrNTOHevll LXqeqyRi24q5RXXkY/oRM9XuKw/vepvdAZ4zPCQv/N3aF1Mmp0vDNQt2qULfEZsxqbQ5 Yf+S1XHY03sBtdzpZ/4Y+w3yd6WD1r7UPdl3SNZuA4L9ICmdsPF+j+LClcQmNJNrWeYZ 6ECBoEFla8kmkBfrZgKMIo0rqV5uKyyA6dngWhqXPgf9H4YaMC84tsNrG+9m9BqWnFKW Bbxr/8I6A4PiyxmMhgXlu95brdmLuFTIxBONWB9Vz5vbA2ZGI9MZUvhpI2Iw0OQp1Luj ya6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C9xhV4604cnunsv0ioP47Wr0e6BQa6QarxevuPKw7QI=; b=LWDmc9wSZqKIFw7fpxy/6u/7+hqQJUBMDTsEiWjQMEJxjpfN6iRxVWmiwN8JA+SruS GoVLfPP7e2uVYVrYHsKG7dcO2ZKPE93mCsU2MfsC6kMg+xtjBxSHQ+gjk17zoyIF62sD N2jTR7xeA3Tfh4XfUf18vghgDYEaj89RRojbs8jd3ib5yHzI6gNWp8QopCCu4f6x/FE9 5wDPHvwL6f0i+kYcpk20vowJXL9ocx14XZQEx5KtQUQhAVRYqu2szIMcTvSJ9o1FVfjP 3rRBsnxNjvWiJ9GfOCQkUlfHX1xgnyzbALS7mhQlTiMDD3AZ/XCNid2/Lm/l6H5bLIhw k9lA== X-Gm-Message-State: AOAM530u9MhvgYxKxEDfVa6itV0nD2JDEnfODGrdU4AFZjXI/S/FKbF/ l3PkBUR/1PKJ8O3SzDKq7RUoxw== X-Google-Smtp-Source: ABdhPJzT3hNdKmvoNExx+ACfLlWREVnaAuCmUg2q2LiymcqEmrodQ+ehiRP73kKY8Gf9bsR8R/+U8g== X-Received: by 2002:a05:6512:c1a:b0:478:595c:e2fe with SMTP id z26-20020a0565120c1a00b00478595ce2femr5120276lfu.45.1653165326467; Sat, 21 May 2022 13:35:26 -0700 (PDT) Received: from eriador.lan ([2001:470:dd84:abc0::8a5]) by smtp.gmail.com with ESMTPSA id q18-20020a056512211200b00477930c48dasm1179729lfr.184.2022.05.21.13.35.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 May 2022 13:35:25 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio , Marijn Suijten Subject: [PATCH v2 3/4] arm64: dts: qcom: sdm630: add device node for the modem PAS Date: Sat, 21 May 2022 23:35:19 +0300 Message-Id: <20220521203520.1513565-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220521203520.1513565-1-dmitry.baryshkov@linaro.org> References: <20220521203520.1513565-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add device tree node describing modem device found on the SDM630/SDM660 devices. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 59 ++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 55de345895e6..25b0067a93af 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1006,6 +1006,65 @@ data { }; }; + mss_pil: remoteproc@4080000 { + compatible = "qcom,sdm660-mss-pil"; + reg = <0x04080000 0x408>, <0x04180000 0x48>; + reg-names = "qdsp6", "rmb"; + + interrupts-extended = + <&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack", + "shutdown-ack"; + + clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, + <&gcc GCC_BIMC_MSS_Q6_AXI_CLK>, + <&gcc GCC_BOOT_ROM_AHB_CLK>, + <&gcc GCC_MSS_GPLL0_DIV_CLK>, + <&gcc GCC_MSS_SNOC_AXI_CLK>, + <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>, + <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&rpmcc RPM_SMD_QDSS_CLK>; + clock-names = "iface", "bus", "mem", "gpll0_mss", + "snoc_axi", "mnoc_axi", "xo", "qdss"; + + qcom,smem-states = <&modem_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + resets = <&gcc GCC_MSS_RESTART>; + reset-names = "mss_restart"; + + qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>; + + power-domains = <&rpmpd SDM660_VDDCX>, + <&rpmpd SDM660_VDDMX>; + power-domain-names = "cx", "mx"; + + status = "disabled"; + + mba { + memory-region = <&mba_region>; + }; + + mpss { + memory-region = <&mpss_region>; + }; + + glink-edge { + interrupts = ; + label = "modem"; + qcom,remote-pid = <1>; + mboxes = <&apcs_glb 15>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + adreno_gpu: gpu@5000000 { compatible = "qcom,adreno-508.0", "qcom,adreno";