Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp271806imm; Tue, 16 Oct 2018 23:06:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV63U+zySU+vVcuLlWL4ZOJlWa2NLAYGvINzh5xuMkamrweSXMnCGWgMwoqNUjMhvy0WEvrcX X-Received: by 2002:a63:455e:: with SMTP id u30-v6mr23315791pgk.30.1539756369908; Tue, 16 Oct 2018 23:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539756369; cv=none; d=google.com; s=arc-20160816; b=e1xvqsc9HkhxY0J5qJnEUz6znH9ZjII96oYYBQ2EJfXacE4oZObD3NIXI4ZHkFcbJN 60RYOWGZ+ZpCr2lTkfjhEJB63uu0NBaVdvy2+A6ram7bMYYMit3J611GlZ+CIg0cU/5q i6jCZ9+mihC9snotfNgQ5ww+pbbLDWP1V8b/g2icmFIu7rhmA6pOTBOx12oHDqlmqJG6 nl7NUQ2uWCPLQXU1KE+IdIHFU+x9u+QKVlH9JLZ8cnOwgxa8KAnoz1dzzUFdvpDaUy+h EuciCIuDvU+CKWJdsNtxkuCyHVUDIK9aKz3lZX9dB1bmhmq4Xlxz6k7c2hAPdEAIMghM OrJg== 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=yxn1Q0s9feUDCdu7SRrc7zfv5niBs3maspV1Pm8KAUY=; b=vTYmII+iKwmyvtXyODcdD7/+ecVDXVT8sjwK4TDRq/xpY3wY2K2uj5o2/4+CMdOjbW 8t7FdW9nR6FR5flYWbLtSIyjXSM8iTXyY+0oZ5Jqitb5ojRYXpfpPtdC+2MluBgpYo5n KuqGSE9yBx93wqWM8hZg0X6PkIWXIzFiLAh5sGiUUrDjLONq31nkOdKvhnNtmB4ccfFL vEPFGKDDJ1pqRafuQG89VLGOFMWeGtiqA0dFXbMawfSLdqqpWzRWTCUOTlgygQcJ7uqE X53LZFSpZMTlecrYg22HAJWgJnYeWB9zX1rku36fNHCBJ7ISyBXUlM1aO99mItA2n3Dr wKEw== 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 k198-v6si17033528pga.12.2018.10.16.23.05.54; Tue, 16 Oct 2018 23:06:09 -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 S1727550AbeJQN6J (ORCPT + 99 others); Wed, 17 Oct 2018 09:58:09 -0400 Received: from inva021.nxp.com ([92.121.34.21]:46654 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726429AbeJQN6J (ORCPT ); Wed, 17 Oct 2018 09:58:09 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2DB0B2002A4; Wed, 17 Oct 2018 08:04:07 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D031D2002B6; Wed, 17 Oct 2018 08:04:00 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 6CE0A4032A; Wed, 17 Oct 2018 14:03:47 +0800 (SGT) From: Peng Ma To: vkoul@kernel.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, dan.j.williams@intel.com, zw@zh-kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Peng Ma , Wen He Subject: [v9 6/7] arm64: dts: ls1046a: add qdma device tree nodes Date: Wed, 17 Oct 2018 13:59:56 +0800 Message-Id: <20181017055957.542-6-peng.ma@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20181017055957.542-1-peng.ma@nxp.com> References: <20181017055957.542-1-peng.ma@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 add the qDMA device tree nodes for LS1046A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v9: - add interrupts for each virtual block - add block-number - add block-offset arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index ef83786..2a48d9b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -704,6 +704,27 @@ <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; }; + qdma: dma-controller@8380000 { + compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma"; + reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */ + <0x0 0x8390000 0x0 0x10000>, /* Status regs */ + <0x0 0x83a0000 0x0 0x40000>; /* Block regs */ + interrupts = <0 153 0x4>, + <0 39 0x4>, + <0 40 0x4>, + <0 41 0x4>, + <0 42 0x4>; + interrupt-names = "qdma-error", "qdma-queue0", + "qdma-queue1", "qdma-queue2", "qdma-queue3"; + dma-channels = <8>; + block-number = <1>; + block-offset = <0x10000>; + fsl,dma-queues = <2>; + status-sizes = <64>; + queue-sizes = <64 64>; + big-endian; + }; + }; reserved-memory { -- 1.7.1