Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp561930ima; Fri, 26 Oct 2018 02:58:58 -0700 (PDT) X-Google-Smtp-Source: AJdET5e8RKGODlact0iqG1FZEegCFi9tOaGxg8TwaqXuagQu/RnNAvJaHm13Ea0LToFqYKmgTg+L X-Received: by 2002:a17:902:b690:: with SMTP id c16-v6mr2833916pls.284.1540547938769; Fri, 26 Oct 2018 02:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540547938; cv=none; d=google.com; s=arc-20160816; b=jiLY4Bi/ztOSrhntlk6x3P7dMEo1Z/tMltJPI1j9QkTd9WGQi+7LMGYgMbad/3amSa xut74HUM3WpdPMq03pnyWYqUxpxNVY5JNRLYBUs0oMGaLv2e4E2Nj5QQ8nPJNEq1ypcV K99NqSO1phgLB/OZTdgwck+dpncYqJZAZtkHRjXalPlKve4tFLuMrhQhP91OikQw8Vz7 3igwnwlZUYeZkFjF5KwF+gIokekugQi5ARPMZup2I4PvmpSEjqVnQz8FI+nHn4KYSGko BCpGgHJLQMm057ooVLYngZBSI7qykSqz0jHJxxgE3/nPwLoqe+rZSaG8YHdBcAEmw1JL F8lw== 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=LXso0KK3zDocqbTDOWGGBQDSDf3DgZjq0yC8jHTY5t8=; b=ncMQReGH8RUPywVcU8F1lxJpcr9Cu0rC88nkCWshT0ALzfl3/HReisSStBATNrF14u mb5zeW15HhX4KdBNWjlt7McvVuXMKo5QzmS6NbdFzZj8lBTkmq2bRbpmKCDJexWVQwCS wIKcJVC07u7cM/HW6R0mbXjKVbCZw1etuHyhR9AhOdfAVdDTqBEXV9pPzK/JwJZYoioA /Z0erXnCXqKXg/pKhGlfrJlBtX9y8nbK1PNuohkBFZrPnF76a2R2yO0V2fFCUGF+25T5 m3OIsL6dgqMiaU1JEMJJ+V2V9IkBqH7/cJT3MUf7XPry0NLicRo9v175mdoNLFKw3LvT aO+w== 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 k190-v6si775915pgk.261.2018.10.26.02.58.42; Fri, 26 Oct 2018 02:58:58 -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 S1727502AbeJZSdT (ORCPT + 99 others); Fri, 26 Oct 2018 14:33:19 -0400 Received: from inva021.nxp.com ([92.121.34.21]:35620 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbeJZSdS (ORCPT ); Fri, 26 Oct 2018 14:33:18 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E7C922001E3; Fri, 26 Oct 2018 11:56:51 +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 42FCC200059; Fri, 26 Oct 2018 11:56:45 +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 4D2C8402EE; Fri, 26 Oct 2018 17:56:37 +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: [PATCH 4/7] arm: dts: ls1021a: add qdma device tree nodes Date: Fri, 26 Oct 2018 17:52:37 +0800 Message-Id: <20181026095240.33668-4-peng.ma@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20181026095240.33668-1-peng.ma@nxp.com> References: <20181026095240.33668-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 v10: - no 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..c0ed6be 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