Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2430122ybi; Thu, 18 Jul 2019 08:15:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyS9X5IVlaHgW2kR1torCPlh3YZU9c6PfB0QsmBfa8TFwk8BHvFcovHOUfvbJbTmIRF6WLG X-Received: by 2002:a17:90a:db52:: with SMTP id u18mr52117949pjx.107.1563462956680; Thu, 18 Jul 2019 08:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563462956; cv=none; d=google.com; s=arc-20160816; b=cX0YRILC3o10K25BqvKxn/nrh0jMFUWZxULZ1uDjWFsq7NYZTJyLmSfNoX1Cxo72ab IWb8MyshkbTzmTi9Tqld+1L9KmOzR/Y0aGAEU+pQilgzl8NpkaSG4Kubnj48v+h8IysU IqzrQ+POBOaWE8EyRGIoUIqTB0I1PD4RJt4hKaX1MVASpRX8Ujwv4a8+JIVWsPnExyx1 qlv+cCdbkIex4g84bH05tShkYhXIDXG9Zp3JtmRLp9mG4IuuYrBmxDrEyieOLx7LBBLW FlUIvxe2t8uqWML0SW8lDSOIcUDqNojzhaj8rTB/IKtUE9sk6pkg0LBQXXST/hMeOBWn rijA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=vv8f180X3AWvCLWS9zCKbcMAXv6dhN8j8/gktrqYXUY=; b=F6OjHNnqu15/O/f9rUSqyP6Mp0c9nr/dne4EOjimWv20aT2pfRI9RMRMM9T6hCfEFw pRrL0LtK0yM/XGmDnhGUtImABNH/S7TwI1UibcPoexaE2eIEwJoqOb3s0rL1Uxxz7LhF nuQASr2tFPI1MM2bG1F0xR2A5VBVN6i+LXTFx/FbybLwKw7yFCZV74UEWQJy+WxEfXft ksFFJtr5RcsKVA3xHpV+SzQglt9t0KR40c1eMNBudtWh5PRlaz0I+GT7m47560X3Wugf X7e8ROhwKlumNsi6l4A4hCYSc/+DGgQBUN2SSnfkQ33c+zWIPqhd80icsbVbxL13iIAP oDbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z185si1043475pfb.109.2019.07.18.08.15.40; Thu, 18 Jul 2019 08:15:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390853AbfGRPNz (ORCPT + 99 others); Thu, 18 Jul 2019 11:13:55 -0400 Received: from inva021.nxp.com ([92.121.34.21]:37022 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727756AbfGRPNx (ORCPT ); Thu, 18 Jul 2019 11:13:53 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 705442000AC; Thu, 18 Jul 2019 17:13:51 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6004520011A; Thu, 18 Jul 2019 17:13:51 +0200 (CEST) Received: from fsr-ub1864-103.ea.freescale.net (fsr-ub1864-103.ea.freescale.net [10.171.82.17]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 6E110205C7; Thu, 18 Jul 2019 17:13:50 +0200 (CEST) From: Daniel Baluta To: shawnguo@kernel.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, daniel.baluta@nxp.com, shengjiu.wang@nxp.com, paul.olaru@nxp.com, aisheng.dong@nxp.com, leonard.crestez@nxp.com, anson.huang@nxp.com, peng.fan@nxp.com, Frank.Li@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, sound-open-firmware@alsa-project.org Subject: [PATCH 2/3] arm64: dts: imx8qxp: Add DSP DT node Date: Thu, 18 Jul 2019 18:13:45 +0300 Message-Id: <20190718151346.3523-3-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190718151346.3523-1-daniel.baluta@nxp.com> References: <20190718151346.3523-1-daniel.baluta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This includes DSP reserved memory, ADMA DSP device and DSP MU communication channels description. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 +++ arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 32 +++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index bfdada2db176..19468058e6ae 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -230,3 +230,7 @@ >; }; }; + +&adma_dsp { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 05fa0b7f36bb..6a4efb1f0fa2 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -113,6 +113,17 @@ interrupts = ; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + dsp_reserved: dsp@92400000 { + reg = <0 0x92400000 0 0x2000000>; + no-map; + }; + }; + pmu { compatible = "arm,armv8-pmuv3"; interrupts = ; @@ -204,6 +215,27 @@ #clock-cells = <1>; }; + adma_dsp: dsp@596e8000 { + compatible = "fsl,imx8qxp-dsp"; + reg = <0x596e8000 0x88000>; + clocks = <&adma_lpcg IMX_ADMA_LPCG_DSP_IPG_CLK>, + <&adma_lpcg IMX_ADMA_LPCG_OCRAM_IPG_CLK>, + <&adma_lpcg IMX_ADMA_LPCG_DSP_CORE_CLK>; + clock-names = "ipg", "ocram", "core"; + power-domains = <&pd IMX_SC_R_MU_13A>, + <&pd IMX_SC_R_MU_13B>, + <&pd IMX_SC_R_DSP>, + <&pd IMX_SC_R_DSP_RAM>; + mbox-names = "txdb0", "txdb1", + "rxdb0", "rxdb1"; + mboxes = <&lsio_mu13 2 0>, + <&lsio_mu13 2 1>, + <&lsio_mu13 3 0>, + <&lsio_mu13 3 1>; + reserved-region = <&dsp_reserved>; + status = "disabled"; + }; + adma_lpuart0: serial@5a060000 { compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; reg = <0x5a060000 0x1000>; -- 2.17.1