Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp271610imm; Tue, 16 Oct 2018 23:05:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV60PTVt2GxnEqct7VrNF+Cw1xIXVyySrYvlz6i3rNfXkV4bOe7u5T2lIqHXr3fIE5cZW72Mu X-Received: by 2002:a17:902:aa48:: with SMTP id c8-v6mr25107403plr.100.1539756355462; Tue, 16 Oct 2018 23:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539756355; cv=none; d=google.com; s=arc-20160816; b=qg0KvWogRofV93csLHAi1JoXlS+lFWos6O1/2BUPue9arCEb4hhznyDaDQsPSKD4SY 1CyzXHgeKNRMXdH6B7NP0HgHKajL0gy0Pldb8xHdruQw+hWpLusPU80PP5UuIxg6ofgY kV6bF9PjWSV1uZLnH+QsjU2PuorD6m5kkJ4fh9SKhlFBGuUqm0TaLBWbXQ+sxfOUv8LZ d5v1oSRdNcc9/w+vwuY5FjT/wXFOHy4G+HA9Za2vI6f3zIo4gQD+2OC9Je7TairMCT+f GWD9Og23h326xkLgn0Wo4OcJE/LsgQ87kOQprzRjMifSL3np3BAnMPqzNpL7hwHZL/f2 qzWw== 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=Zrm+uDcJzOWTBkNqNVnuYxfcW2W0BLl5qnM7NaQlapQ=; b=aWdl2dYvuudJm0IceONbCZRqtFomH2t2yAFQHFgUdTk/n+x6esssot+6LXAWhKDVfH LPXP0A92CBNdpPPjF3X6MBexn5MnFN5MirPWjilsPN099r3UacDtM22U0TjBPw/Yrwg7 DpCltar4TXHe1QzpGgiPck+ROVGDwJpPir7WiT5XdZ4qnSTx6FYHJBUgoSe6oBXltmDC 7gXdWV2mFAWGV6N5JDCLVIC/9pZwpQ1Qsk6jHxncobPEE9HsSexK415hGv7CFRKxSSQV +OLhdKG9Ci8LPzXSIIIDhqc8pu7ky2Rrw4/B3pcuDZfLQL33tMfMaZdQ3CmSXMkuRq9p KnVQ== 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 33-v6si4276057plv.207.2018.10.16.23.05.39; Tue, 16 Oct 2018 23:05:55 -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 S1727309AbeJQN6A (ORCPT + 99 others); Wed, 17 Oct 2018 09:58:00 -0400 Received: from inva021.nxp.com ([92.121.34.21]:46416 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727159AbeJQN57 (ORCPT ); Wed, 17 Oct 2018 09:57:59 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 0FE5A2001B9; Wed, 17 Oct 2018 08:03:59 +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 B35282001B4; Wed, 17 Oct 2018 08:03:52 +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 B220840294; Wed, 17 Oct 2018 14:03:44 +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 4/7] arm: dts: ls1021a: add qdma device tree nodes Date: Wed, 17 Oct 2018 13:59:54 +0800 Message-Id: <20181017055957.542-4-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 LS1021A 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/arm/boot/dts/ls1021a.dtsi | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index f184905..0b910e7 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -806,5 +806,25 @@ #size-cells = <1>; ranges = <0x0 0x0 0x10010000 0x10000>; }; + + qdma: dma-controller@8390000 { + compatible = "fsl,ls1021a-qdma"; + reg = <0x0 0x8388000 0x0 0x1000>, /* Controller regs */ + <0x0 0x8389000 0x0 0x1000>, /* Status regs */ + <0x0 0x838a000 0x0 0x2000>; /* Block regs */ + interrupts = , + , + ; + interrupt-names = "qdma-error", + "qdma-queue0", "qdma-queue1"; + dma-channels = <8>; + block-number = <1>; + block-offset = <0x1000>; + fsl,dma-queues = <2>; + status-sizes = <64>; + queue-sizes = <64 64>; + big-endian; + }; + }; }; -- 1.7.1