Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp483435lqp; Wed, 22 May 2024 10:02:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAQf8TiHc1fegVx3n5O+CEnbCXyR3aW72G0euaNJB1ZChH7Be7qL8IlnAQKLIi9pj7VkSKExfJ74iulYZOHSS/EkqNTg0fcuw98RuU0A== X-Google-Smtp-Source: AGHT+IFmjLP2SpFYM5MjXx+bXhd+3jR/mzzk0WioMUaiaOcYXIU+yUH68KVfkDJeHs9fHXRN3QNm X-Received: by 2002:a05:6a20:6f07:b0:1a9:b3e9:a62c with SMTP id adf61e73a8af0-1b1f8b2b999mr2552321637.48.1716397328315; Wed, 22 May 2024 10:02:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716397328; cv=pass; d=google.com; s=arc-20160816; b=0rJkSQ/ycnPCrfvVNNR28TvhAIPk9vWkMQXIiPq6c8/X454NW22WfDlJ/OYObGhtBs IRCSGjSEh5ow+aPrg9FHmFryLeay/AYta90AtsKhXXPbti8ogjs5KJweA7zDAuKUfqhA WTkKK5+bGxDavqMTW0l7Ea2BmQHIbHTm4d01lJLu7Z3Dag+Cp5Kr2bGEdqCIV21G3Vqv b++AddNdqG/r6tW9j7VZusdq+7ZeFLDSW2w6b6HKKjv44X2UOXycCu1u2/4POr43Xr0A G+933qRDqHa2pwCCy7TMGyMadkQ2z7EkWauScGu3LSwHo7D25cAyj5FxAZtRz5Qi2vg7 Uwbw== 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=dBbl/FgcZn6F0X7Ky+upS0///p1fkbnapcfH14eSyO0=; fh=gvcZ3o64ILAqvWsIiKOt+0pAcKMdhBdt7KRf4m3p3L8=; b=XdKblW1mQKAc3L3bboIsF2IPkrVsYKZA2TkWlsiLkNfbxtPkg1ZJl0a6iM50H0cBGc XHWOrdUBNEFOkO1jVP6DxngSaUcF9gtlUp0HPJHTNSqbl4AlyaeCWvARTtA7+Emzbjwh bZtroRw1S9BLcvBFmGX2U1PIaZM9KpRP0Itvvk0bkry2gneC5lILdbXIci1wt9q22Ost t90o3SfwCSyNpGCkeNmF1JNqJ4QngpvNDy8o1AbbBRphJI4tQdct5pzeKWRR6lQOIFYK 2z8BH0JHEBNa65MAhfsCHxgVXgcImaCjb0IZFlG+FTLVNgqmLI8bVP8OFxvat1aDpwiz yfNA==; 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=izbpgRba; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-186197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186197-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-65713613887si332181a12.705.2024.05.22.10.02.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:02:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=izbpgRba; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-186197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186197-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 93F50B22F78 for ; Wed, 22 May 2024 12:10:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36E031411F0; Wed, 22 May 2024 12:09:00 +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="izbpgRba" Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 8F06D13DDC4 for ; Wed, 22 May 2024 12:08:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716379738; cv=none; b=fUlaRv9ykwk0qUJ6bqhszvr1UPHzJtpdLKEupTY555eS7R8durowtLN+pGhRWbFYgsY7angBESHDgxHhIAW83/iD1WwvmCqb1E4if113DVfgJBnN7pryODxnd2qtpnuKfRnvqxIxOS+WJx+RAmNe2CCH5cogxoHwRBvQQHbH4r8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716379738; c=relaxed/simple; bh=P55jtoyNrhUYwJD0bT7FCymn+mdEeLeoZfSL1k2d32g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DW43Hv4H9Z/3HVg3iQxm30Vh7bRfy3NbirczqTk76B7YB9lwnqfSxePejzGL9EjymJHlmPDgZniBr7S+ov4nmt5ENF4ksSbqocjid4oziVjd4E+wpN9wagzxw51MlWomEGLvGwKvsx3Z4w+ahV0IGtpAgfiT9lfUotEko0EYesw= 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=izbpgRba; arc=none smtp.client-ip=209.85.221.54 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-wr1-f54.google.com with SMTP id ffacd0b85a97d-354e22bc14bso364830f8f.1 for ; Wed, 22 May 2024 05:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1716379735; x=1716984535; 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=dBbl/FgcZn6F0X7Ky+upS0///p1fkbnapcfH14eSyO0=; b=izbpgRbaXDS9ecQ6XaZMtT0XFCrozP+9ObaCu0mcSyr7Q3yE9KHOgVSO8oK/EgP6ew Pc4bSWPulTNJBtVMvXkeLYqq7YNXvIDHPUJMsx3hQ+UF4qlHs6LZsr3Dh1O9US9Tuqbc l0YEB4RHSoSS7DmLdU1alzMuSu9f2DjhhBn/VTcKU9Cho41au9P8u+34TDIUhr5hUv16 7RL0HSu7WWyk2dZmqAWxklVOwBG1dsIUNeDy9ICJVgdnp9OJmuPxXcHsg0YI48r+3uCw 2cWVdapEst6Nk7sm/TxfzcozgV6ZGKmzzpmrgtNfC3Oh3aWhxogX6ugHrrgh+8X2oeo+ ggZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716379735; x=1716984535; 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=dBbl/FgcZn6F0X7Ky+upS0///p1fkbnapcfH14eSyO0=; b=eC15jkdASpfQT8EfQcPuDc3MIqtC3JZ22moG5qOD9E0f0Jb6OCatg8VQrZqaTiWwlh szzFF5LRSjhTeLmKNFdP9KQgJRBwdtui3db5M/BlyUVLScG8kVpZrp+23djL2I5lsl0b B/vELHeU635ViDkBfDSUjekikVJfVeHkMvBMM8VV0RK6K0OclfQYPcMVuVWGxHwclYtI naxNTXPLJOzcuMXQp5SkbTDbNwGCjumOgJrpivR36+3I4BQSUSKPaiclBFkKgwIvWFwf PYQ9XeWif8oUHU+XIbkCX6F8k6Aw3tYK+M8ruhBxsuHONAH75OgvMGw4VfGItzBrnySG x+JA== X-Forwarded-Encrypted: i=1; AJvYcCUwTNN4RONMEROtDj8d79aMw3rPnDwXA8aQk1+nTDf0sVuGm+lceR4ylAc9J4JTLWbTd/apBzrUWZUNzDhmdr3Z6v7FVaqk019bQPhk X-Gm-Message-State: AOJu0YxOFFI9exk/r6PwkKbvqkxGH1lrqbpzVbGcJqgjgsMfg7HLvIhP ZP0yjuCosOtcemrdJNK5PipioSZXzMDCVJL2r2uN3VU/dK/aGlmBDaYdDwDrYC4= X-Received: by 2002:a05:6000:180f:b0:34d:7eb6:6873 with SMTP id ffacd0b85a97d-354d8da3dabmr1196526f8f.63.1716379734990; Wed, 22 May 2024 05:08:54 -0700 (PDT) Received: from [127.0.1.1] ([2a01:cb1d:75a:e000:82c7:3445:3b33:6c0b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-354e720d9afsm999226f8f.113.2024.05.22.05.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 05:08:54 -0700 (PDT) From: Bartosz Golaszewski Date: Wed, 22 May 2024 14:08:18 +0200 Subject: [PATCH 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: <20240522-topic-lemans-iot-remoteproc-v1-4-af9fab7b27f0@linaro.org> References: <20240522-topic-lemans-iot-remoteproc-v1-0-af9fab7b27f0@linaro.org> In-Reply-To: <20240522-topic-lemans-iot-remoteproc-v1-0-af9fab7b27f0@linaro.org> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Manivannan Sadhasivam , Jassi Brar Cc: Bartosz Golaszewski , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tengfei Fan , Srini Kandagatla , Alex Elder X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=10650; i=bartosz.golaszewski@linaro.org; h=from:subject:message-id; bh=AM9WVgcgmAjbCC/W9GHvUGcjVNV77PVD1BSfacCfkHY=; b=owEBbQKS/ZANAwAKARGnLqAUcddyAcsmYgBmTeBQRjNC8KICNZSMCKQpEi/75Ww7ZS39r8zSi NZUAvedSXuJAjMEAAEKAB0WIQQWnetsC8PEYBPSx58Rpy6gFHHXcgUCZk3gUAAKCRARpy6gFHHX cvUkEADOJo4oE4GV2fN8ScR7ncoXtUteCg17qtsJ4gml+LbBZqBFniqW8Z45FGKTjCWKrCmdv7M olbF/q8jVB0L5iIOSf+07Wmxksd0ok+Fa8ZzO7qZnGbGhnfLwlJOiEV/pa46U67A8q6O6gfcSnr Gs0pG5ZLF3qII8uKCTas2j9o6IIFOytqXBaRrQUfTsTsYSgabX+Qn/0zMurP68yC4c/m8SoaN26 Y7WcfjmAEaJtyTYZZrm706ZV59/9nX2iihYXciEUCdh6UKviutllZtTucsESd2kWqCJ94f4eP0E YQJXYHtDdxc/x3WmRXTjZA+jT/dtMK08h9foLbulj6WMHe3j0xBSePofdhTuXq+qRNe7+mXP4M6 1z3YJJmHkfp1ZAqIh+4tfTJYJtHRecM7cRjcBhWIP1whgJ/sOYrzIwzpU6NPC483nvdv8SGFHGp yQGxNo0xT2oIT2qpfXz05S4/xbBX5b0KVfn06/7wFBFTjsHnoE9FGOp7X8AC49eVHwPyIs1IuEh PdOiFKR7R3lAdwMCeRMJ5g53ZOprOVmMrfvHtcNUwUw3mkIwlbbwFhKt9mTbrSj9VOJnL9xk6ZN bsNeCQfBb7e/Vi42HcKSbd0gqyon8ejTT5hro4lIcNbMvc2P7HHCVYLSZTR7vJP06QSPW/HixlP vGDXpdbFK0T7/Og== 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. 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 31de73594839..5c0b61a5624b 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 @@ -544,6 +545,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>; @@ -2479,6 +2595,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>, @@ -2546,6 +2748,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", "nsp0"; + + 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", "nsp1"; + + 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