Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp430529lqr; Wed, 5 Jun 2024 09:59:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXH9OhVDy42DkERYLPJvKJd/U4F1f1h7AqAuBf6Bzt2biOMhezqqApeIy2c1Q99cRbZQyG+wkYOMlzIFk+orN6WqP1S3p9I1feHljM7Pg== X-Google-Smtp-Source: AGHT+IHEutjK9mF6EbnJy5c0UfmYMrqL0T2M6PNkYabunwZ3lkUdCbxwH5/ZbFoFQxEEj+Agmuy6 X-Received: by 2002:a17:906:f6d2:b0:a68:bf88:ed38 with SMTP id a640c23a62f3a-a699f5613e2mr206529766b.21.1717606755917; Wed, 05 Jun 2024 09:59:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717606755; cv=pass; d=google.com; s=arc-20160816; b=iRe7WKCdHfvqyWU96BH7RNz8TBWpDTqtSRgG2/RYNRsBtmmw1wDcndOFfHTqCy92lo imLmmHcbg0Ji5hslfba/7kgGf+NSXfpHB8LR9XryqcSfxbLvrNvYHG7OuRsUfh3jHS/d gMLIb/FPX98ipFEDtivnFOI+7g4zW0WwLdG/y3LaNvOlsoOoA6GfQCcSGkEL4nZKNZ7J GLlx1uQ+nFvsYCYV3j2295eEdp3AcxsYeDo+sKkSvXXerGum+hBIZF4d52LThP4Ay+fS o+gNfyyYBwNmRc9IsigyTK5zw/uLwjJBsC+1yR2wZkUCuNTYndQyAG/sp6xEEBG13CD+ O+1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=0ZAJIsxJR2vGTpYF0CVR0FVQsZVBz55ydImqGnGisaY=; fh=B8qMn9P1RdjkK+ITe7F3hg5Saclbuv2Pm/kh7QkfbyA=; b=Qo2yzAjSKV3dsFFXk6gn37thpb9HMmzC4V8r+4AW6SzLDPvBTiRGj2r3IlNVm77UMy c/GYZsorrAedGGS1taIq5Z6JARchBuLpRmOwM/z9xDhWPm0yxda5qOymk5DDH1jFXROi 61sjym0Nzu2oLr2Qi1uLkv3be3ZIKwUJ30pvUlHENvsW6AyeS00tsr5od2Ld6ZkfPPTa 1RXp/lsL0OSgZUYZ/mf+Ov/25qkCjULJQX70HVbnYem/dC8clytmMo+zJjBQ4wkZFxy/ s36pLMpOC1gI5FOj3MeSmGw53Vgq9jmGygNy25wU3jGTJCBxr4wY+C+Nt56DdPKzZ0Mg 6XCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=JAMCk30r; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-202944-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202944-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a68eb74b4b8si385394966b.766.2024.06.05.09.59.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 09:59:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202944-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=JAMCk30r; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-202944-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202944-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6FC951F25E95 for ; Wed, 5 Jun 2024 16:59:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CF9C194AD6; Wed, 5 Jun 2024 16:57:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="JAMCk30r" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C95871946DB for ; Wed, 5 Jun 2024 16:57:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717606641; cv=none; b=CL8P000CLuleK6w2BKOf6qaoxiJbeWvpdX+xYXz2yHlNKz9wyvJuqJyn18krZRvqUqgik3rub8qZ0UgmDfbdznniutHVy/K2v3rklxF80qTij0sZE7ZBXWZe8//49ia0NL0z3rsaQ2DxQawSH7l6ChGOVHWpjO5fjld+DuZgnO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717606641; c=relaxed/simple; bh=HeZmvhi6CPGt8WwcZwf2umJdFyeYu9idarBijvCBonk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kXE2ELwIELcRSjW4snI1ochMCx95HY/o8JpZO/R59sl5AryJ6bUa3FgQFaic6QdK3PjcFwWqo0enfX6dj3lfS3J1X6aLrj8kGkpcr1OQxsv58yHmOMZD5wke0b1Qo+g9CUv4nhIjM4rHUSZzNDVlAjBzp5iKd1nj7/fOlN+hfE8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=JAMCk30r; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-42121d27861so819195e9.0 for ; Wed, 05 Jun 2024 09:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1717606638; x=1718211438; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0ZAJIsxJR2vGTpYF0CVR0FVQsZVBz55ydImqGnGisaY=; b=JAMCk30rAmF6fQ9tqvyQhrBORi56SsGoMPKWgPCeT1axy/9rTJwZv02qBeIyqFA1jE O1WSEKuQJVt+qXTpys9PLqjsEkNOFI7O1Hzv9H0brFcxW4UJ/uqfT0XPVgfWs7LO8ibJ 1VUascnkENhE//PCD7MyWEIjuI7CvZlHlureQw8vo2Pt3JURSvPK9TP9iQDvB8Q++5/B l1oRu5gXHATNEG4US1T5JUkwxBui9xPRPQrGQmAwDhuetLGKPjkOaQYjAUqHtBaMy5sF 8G4FRpeedQtx9WP7rHwUi+VhJqGQOPXtzBUYt11TMI2geYyjr/4FuzwPVXkbVJ6iwVoX J2aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717606638; x=1718211438; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0ZAJIsxJR2vGTpYF0CVR0FVQsZVBz55ydImqGnGisaY=; b=fRdx/+twUw0lveLErl0ElyY3tvEAlanUJrV8eNx1xdG5zBqxsCfc5D6E39InPdqA/i chAEWCOfMv9nnM0rYuV+Cgugdv2cKhKKh1Hge5QiGQfg1aDXT80WfUQFsyBu2VmVjHeB AoVvpCxLPILT71VaWxWqNTTWXYYNv4jUeQqjV7yQUnQA+wDoMzlm9X0X8sdUx4XW07zt YusJ8T+N6LKOTlIa9Z4BZhOGrkYisKm69h2K0su4VE5ze+1Y0N+9LzCk3th1lk6/e1aP wO9SosGs0dO3X1EHgzxAEIaJgS6EwMUPVTuSqMsYYuQui6bT2AAfnV4fd5EN/+qemOSv qAnQ== X-Forwarded-Encrypted: i=1; AJvYcCXWTJsuclaNbqYP9gAMRVkgNTSu0u4kql0Gpjhc77PgXmovPmzviK4cU3mjX3SjVIqa2XJHueaIRE1mF/b44Xy3yrKBwxFYRBl7njT7 X-Gm-Message-State: AOJu0YzzjHTlwyJ9hjaStow5WXs01Lm02ewbyFXfq3hZl1HZ25dD5tEz jQEl9AxKB6ePClsZwsbT0Dg/swhfoyaXmx6cgFhzxPSfTlbCcVLuAj4Xy7SH+pI= X-Received: by 2002:a05:600c:190c:b0:421:418d:8f7 with SMTP id 5b1f17b1804b1-421562cf5e3mr22320865e9.12.1717606638273; Wed, 05 Jun 2024 09:57:18 -0700 (PDT) Received: from [127.0.1.1] ([2a01:cb1d:75a:e000:d3dd:423:e1eb:d88b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-421580fe343sm29099175e9.6.2024.06.05.09.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 09:57:17 -0700 (PDT) From: Bartosz Golaszewski Date: Wed, 05 Jun 2024 18:56:54 +0200 Subject: [PATCH v3 4/5] arm64: dts: qcom: sa8775p: add ADSP, CDSP and GPDSP nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240605-topic-sa8775p-iot-remoteproc-v3-4-a437355b8c7f@linaro.org> References: <20240605-topic-sa8775p-iot-remoteproc-v3-0-a437355b8c7f@linaro.org> In-Reply-To: <20240605-topic-sa8775p-iot-remoteproc-v3-0-a437355b8c7f@linaro.org> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Jassi Brar , Konrad Dybcio , Srini Kandagatla , Tengfei Fan , Alex Elder Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , kernel@quicinc.com, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=10709; i=bartosz.golaszewski@linaro.org; h=from:subject:message-id; bh=hAumvR29CA4QmnPFouUEmid6Fe9FTeAJPQyQAnI0BM8=; b=owEBbQKS/ZANAwAKARGnLqAUcddyAcsmYgBmYJjmv2/lk/vuwp26FWvmxdihHf30zoMasNNdj MrH0sL9PG2JAjMEAAEKAB0WIQQWnetsC8PEYBPSx58Rpy6gFHHXcgUCZmCY5gAKCRARpy6gFHHX chusD/9RfT2CyNZQXTIlvPs8sKO5V6luq3ebmMnDLENI5j/5Cw04oackOQLQyAc9fh66VIoKw2J he239SBs56A/LNdGJ2Wnqn7SmRJZhx+x26Ubhd/4fpTbKNO/P1z/tyKCYMr+1Fx0H23La05+C7y VodxSu5xS2qQzqAZ9vwyxagkR+8FoC5YCKymWFwSsevhaecr8htVA7K/sZX2+GGdFALtsWlSGei d44eBz8pKD/GrlHdMT1aVSDoaY8dG20Um7eFYSFiJhSqvasJsTB1E7pBG6j3gpSi8g/0inM7ren GR5OK4qyc8/6jWG5p97QW7JFrTFsYUIRgReaj8QboaXNbK/pUFf0RijBTnavZpH3222FWwI8mf4 ilZKZ0EIwglqRRAOoKEX1oYrj0vZ8WcpbwRpqg8vegVh9UTBasIkjzjRAmcv5peML1ZQN+3at9N IvnIV1rQ4rqPKfJ/8PNPkVTLdNeJLZiS8JoziWqS9mQG7k1VvdW5EwmGQ6L8WgwQRuVzje2Fj0x fcqyTY8aK5znYJlXG/C77voACMVxWmjxlLXV1+Q178zSq3ologM8xro9Cm0ljgpG408uN9JBjJr 61W+zCKhkNcdzPwLBb5HsoDDK1XygXsNO6GbDKJlrSfQLCjLmJv55ZDRmRJkxdkIbKqq22A+aEz tB6Y3dlkOI9HUfA== X-Developer-Key: i=bartosz.golaszewski@linaro.org; a=openpgp; fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772 From: Tengfei Fan Add nodes for remoteprocs: ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 for SA8775p SoCs. Reviewed-by: Dmitry Baryshkov Signed-off-by: Tengfei Fan Co-developed-by: Bartosz Golaszewski Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 332 ++++++++++++++++++++++++++++++++++ 1 file changed, 332 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index efd588fa2abb..2aebc2a95e5a 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -557,6 +558,121 @@ cpucp_fw_mem: cpucp-fw@db200000 { }; }; + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts-extended = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + smp2p_adsp_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_adsp_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp0 { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_CDSP IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + smp2p_cdsp0_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_cdsp0_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp1 { + compatible = "qcom,smp2p"; + qcom,smem = <617>, <616>; + interrupts-extended = <&ipcc IPCC_CLIENT_NSP1 + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_NSP1 IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <12>; + + smp2p_cdsp1_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_cdsp1_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-gpdsp0 { + compatible = "qcom,smp2p"; + qcom,smem = <617>, <616>; + interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP0 + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_GPDSP0 IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <17>; + + smp2p_gpdsp0_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_gpdsp0_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-gpdsp1 { + compatible = "qcom,smp2p"; + qcom,smem = <617>, <616>; + interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP1 + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_GPDSP1 IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <18>; + + smp2p_gpdsp1_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_gpdsp1_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + soc: soc@0 { compatible = "simple-bus"; #address-cells = <2>; @@ -3438,6 +3554,92 @@ cpufreq_hw: cpufreq@18591000 { #freq-domain-cells = <1>; }; + remoteproc_gpdsp0: remoteproc@20c00000 { + compatible = "qcom,sa8775p-gpdsp0-pas"; + reg = <0x0 0x20c00000 0x0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 768 IRQ_TYPE_EDGE_RISING>, + <&smp2p_gpdsp0_in 0 0>, + <&smp2p_gpdsp0_in 2 0>, + <&smp2p_gpdsp0_in 1 0>, + <&smp2p_gpdsp0_in 3 0>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MXC>; + power-domain-names = "cx", "mxc"; + + interconnects = <&gpdsp_anoc MASTER_DSP0 0 + &config_noc SLAVE_CLK_CTL 0>; + + memory-region = <&pil_gdsp0_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_gpdsp0_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP0 + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_GPDSP0 + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "gpdsp0"; + qcom,remote-pid = <17>; + }; + }; + + remoteproc_gpdsp1: remoteproc@21c00000 { + compatible = "qcom,sa8775p-gpdsp1-pas"; + reg = <0x0 0x21c00000 0x0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 624 IRQ_TYPE_EDGE_RISING>, + <&smp2p_gpdsp1_in 0 0>, + <&smp2p_gpdsp1_in 2 0>, + <&smp2p_gpdsp1_in 1 0>, + <&smp2p_gpdsp1_in 3 0>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MXC>; + power-domain-names = "cx", "mxc"; + + interconnects = <&gpdsp_anoc MASTER_DSP1 0 + &config_noc SLAVE_CLK_CTL 0>; + + memory-region = <&pil_gdsp1_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_gpdsp1_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP1 + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_GPDSP1 + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "gpdsp1"; + qcom,remote-pid = <18>; + }; + }; + ethernet1: ethernet@23000000 { compatible = "qcom,sa8775p-ethqos"; reg = <0x0 0x23000000 0x0 0x10000>, @@ -3507,6 +3709,136 @@ ethernet0: ethernet@23040000 { status = "disabled"; }; + + remoteproc_cdsp0: remoteproc@26300000 { + compatible = "qcom,sa8775p-cdsp0-pas"; + reg = <0x0 0x26300000 0x0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp0_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp0_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp0_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp0_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MXC>, + <&rpmhpd RPMHPD_NSP0>; + power-domain-names = "cx", "mxc", "nsp"; + + interconnects = <&nspa_noc MASTER_CDSP_PROC 0 + &mc_virt SLAVE_EBI1 0>; + + memory-region = <&pil_cdsp0_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_cdsp0_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "cdsp"; + qcom,remote-pid = <5>; + }; + }; + + remoteproc_cdsp1: remoteproc@2a300000 { + compatible = "qcom,sa8775p-cdsp1-pas"; + reg = <0x0 0x2A300000 0x0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 798 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp1_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp1_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp1_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp1_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MXC>, + <&rpmhpd RPMHPD_NSP1>; + power-domain-names = "cx", "mxc", "nsp"; + + interconnects = <&nspb_noc MASTER_CDSP_PROC_B 0 + &mc_virt SLAVE_EBI1 0>; + + memory-region = <&pil_cdsp1_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_cdsp1_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_NSP1 + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_NSP1 + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "cdsp1"; + qcom,remote-pid = <12>; + }; + }; + + remoteproc_adsp: remoteproc@30000000 { + compatible = "qcom,sa8775p-adsp-pas"; + reg = <0x0 0x30000000 0x0 0x100>; + + interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", "handover", + "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd RPMHPD_LCX>, + <&rpmhpd RPMHPD_LMX>; + power-domain-names = "lcx", "lmx"; + + interconnects = <&lpass_ag_noc MASTER_LPASS_PROC 0 &mc_virt SLAVE_EBI1 0>; + + memory-region = <&pil_adsp_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_adsp_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + remoteproc_adsp_glink: glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "lpass"; + qcom,remote-pid = <2>; + }; + }; }; thermal-zones { -- 2.43.0