Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4165792imd; Mon, 29 Oct 2018 19:41:23 -0700 (PDT) X-Google-Smtp-Source: AJdET5ctS1Cbh/2jHxx6QoXSA9BhX+AUA7mGDXfyTE8W7/MqE4UBT25vl/NtR6pqz0bobspFtchs X-Received: by 2002:a63:83c1:: with SMTP id h184mr16126799pge.437.1540867283413; Mon, 29 Oct 2018 19:41:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540867283; cv=none; d=google.com; s=arc-20160816; b=EeqoeuhHIWJr40LGddhTnCWYCr8eeNwsrmSZndt4ZfUU4DgkmVF1asytAx0pHbhAtj xA+jxApBI5KMOlNGhQVR7tPiSvkXaHAhnxb9kIettgbtJBwFT6zaLy5bwtHGqLu/dr0I 8aukvcnmfzHFnjqAVXgJ+04iwde0Rvj2EkZZvNZFFctCcx2CczguKzqbwTFQD7lCNOY9 ROZtylVODDGLzsnFSImOqz0xt5ZXZnJSPwNPINi+N9M/ETZPSWr5Xi6Iin/diZ2CQ+1U Rau94tXBTUxX9CPbsdmKqElDI8ZvhH+Y49xLOPstw5xuPnH8I6h/N3zs0NxXzwEk7r6d ztNg== 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=0OS8MXjkMJyQ/OU0y7guB9eReBW2+on8fWeTjF93KS4=; b=cUN/ETMpA99U6N9YLIgpx/ZIJ8MJe+jOeIQ6shnDSc6BhSsRIhlMe5qnR7vQhNVjj4 5FoYdr/dvrb4Q3b+EwgkWlxcyHyTZsWxJw2pOFmfq2kvlxhVY/mU6UVfeAv8Us+V82QE rHBF1IZiTmpfPjSoJ6chb81wsZA9/U0BJfWT5QqcsYU0USphQmSp7keFXcoSbyapdkFp siwz8WUW6sZFmdklxIRAmJgnht9uvHYY/Lq+UrRGXIZvvLUTYCAM85Fbzw49IjA+vbq9 2cFE7sMxypeMIhAeH4EwO7ebY/ViYKq7DzcIrxZutTakMorCCajs1Kb40FSTUJSYsS/r 68yA== 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 z2-v6si23027116pgj.212.2018.10.29.19.41.08; Mon, 29 Oct 2018 19:41:23 -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 S1726532AbeJ3Lbz (ORCPT + 99 others); Tue, 30 Oct 2018 07:31:55 -0400 Received: from inva021.nxp.com ([92.121.34.21]:40636 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725913AbeJ3Lby (ORCPT ); Tue, 30 Oct 2018 07:31:54 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6DBFD20008C; Tue, 30 Oct 2018 03:40:22 +0100 (CET) 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 F102020004B; Tue, 30 Oct 2018 03:40:15 +0100 (CET) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id AF2084030E; Tue, 30 Oct 2018 10:40:07 +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: [v11 5/7] arm64: dts: ls1043a: add qdma device tree nodes Date: Tue, 30 Oct 2018 10:36:02 +0800 Message-Id: <20181030023604.34027-5-peng.ma@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20181030023604.34027-1-peng.ma@nxp.com> References: <20181030023604.34027-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 LS1043A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v11: - no arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 7881e3d..d560141 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -734,6 +734,28 @@ <0000 0 0 3 &gic 0 156 0x4>, <0000 0 0 4 &gic 0 157 0x4>; }; + + qdma: dma-controller@8380000 { + compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-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; + }; + }; firmware { -- 1.7.1