Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5742703ybh; Wed, 7 Aug 2019 10:38:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3260ijBQqbZWTqbiJxC4Nmw2bR2qlny5nzoWd0Cd4q5C5Y0+UwSbGL0ZqY/HYeuJzjO7M X-Received: by 2002:a63:a346:: with SMTP id v6mr8678436pgn.57.1565199485353; Wed, 07 Aug 2019 10:38:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565199485; cv=none; d=google.com; s=arc-20160816; b=a0MxvBzIOrFI3jk415hOZRPK8qF6MCPu10F4OAHAZIEWLjl07lZzhjyXjzD6Pci/xZ GWTn2+xXMuzOdJjgFx1nWuVMFBZr3F5xjIPjG86/ab/SYGOU4weqL+XtaqL/ld9YG/8S 4lMwwpmBFARmwfga8l3uO7Asu8S8FVWQh70pJwbYfHb1GpwpozkQFeK4wkj8s+ehxJDY IcwdkiDE7fNHP1h+lIs2ybzElreg1owUlH61AAZTxNZ6ecWsh1D8Rscz7rK3C0bLajt0 uDu7VAI0V71tnyu7BtL+pVbAm0+QcW+RGOKK+y8sAesl8RXqhlTCTY/i6DoWUTh9pzoT jgpQ== 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=PUCyMMWrP+SDL1Z3uhseeC2+0MTJDe6FSO3TIdNAzEU=; b=mWE8XlyEi3NhV9rV2enzrTiUAfdLBZtng/McdKIzDh7Gw5InmGgwmUQ6DkydUtqabK MvH9lZtFxm8H69b5Sm6Yrc+SSbGYCoKmkhcyR4BB1RtUstkKfur8oAuv/eA3hILNH0Uo 2g3UAB/lmmL2I7NpSixZXLYsXNlHyr9Xa7TQ38jXDIPhYcf3M2oJcnUPngFS+8SlDeWl k6XtOKFfkLHZjW9YlRDZSmxfBHUOq1RxxVydwaoTElbJssNRyWcGwayoIWpx1UHM5eXp B3Vb0vdkbZHbc3TDhF7SSVX88POpEQ5ConodjoJg90tZ9aRY6f3wbKee2EA/Suf9Dvm+ dYCQ== 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 s8si39926332pfh.276.2019.08.07.10.37.49; Wed, 07 Aug 2019 10:38:05 -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 S2388857AbfHGQnW (ORCPT + 99 others); Wed, 7 Aug 2019 12:43:22 -0400 Received: from inva021.nxp.com ([92.121.34.21]:34094 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388704AbfHGQnS (ORCPT ); Wed, 7 Aug 2019 12:43:18 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id CD02B2007C8; Wed, 7 Aug 2019 18:43:16 +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 BF3A52007B9; Wed, 7 Aug 2019 18:43:16 +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 EAEF2205E5; Wed, 7 Aug 2019 18:43:15 +0200 (CEST) From: Daniel Baluta To: daniel.baluta@nxp.com, shawnguo@kernel.org Cc: aisheng.dong@nxp.com, anson.huang@nxp.com, devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, leonard.crestez@nxp.com, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, m.felsch@pengutronix.de, mark.rutland@arm.com, paul.olaru@nxp.com, peng.fan@nxp.com, robh+dt@kernel.org, shengjiu.wang@nxp.com, sound-open-firmware@alsa-project.org, pierre-louis.bossart@linux.intel.com, l.stach@pengutronix.de Subject: [PATCH v3 4/5] arm64: dts: imx8qxp: Add DSP DT node Date: Wed, 7 Aug 2019 19:42:57 +0300 Message-Id: <20190807164258.8306-5-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190807164258.8306-1-daniel.baluta@nxp.com> References: <20190807164258.8306-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..b6c408fb2b7f 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>; + memory-region = <&dsp_reserved>; + status = "disabled"; + }; + adma_lpuart0: serial@5a060000 { compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; reg = <0x5a060000 0x1000>; -- 2.17.1