Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4166622imd; Mon, 29 Oct 2018 19:42:29 -0700 (PDT) X-Google-Smtp-Source: AJdET5flFDNErU2a3CtZx+MVeHfWaS43GgA5bGFhMVehBt1m9mxWX/VgQSJxcLdGQHLD3flDixYz X-Received: by 2002:a17:902:47:: with SMTP id 65-v6mr2900987pla.112.1540867349741; Mon, 29 Oct 2018 19:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540867349; cv=none; d=google.com; s=arc-20160816; b=AghmCeRI02GqXmVvo9V7SaaZdGYm2/1xR675czrqnQtjB55a3+pwNlyiLL3kQv3e+j rbRhAojaFnmdAOlqFZ/6MZCyGvbLTURi4RK+pG3F+GulJHR9dZWpO2zM7gvgsV7NiPz/ zeB4QUN3CKoJpcpVG7E3llwz1HC179/9nH23yajk4BrwxzIl8vJQIry4sLp3yIZwSTdu JaHliAtU3a3am7lGn4aolKKCm9EvMDjy7hM1UJPOwvEu9s2t7kstZ2u5pLDqAX2+keDV ITj+ZfKJVlrcqrN892VILQbE1nxWkAxyvx9TSppEgQzt2WErulLC0iHt6knkimXhoilB KK3Q== 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=iBuSZhGYw2DN6LE52MpqSwmDN5tDw7efez7u9pE04h4=; b=kQiuLOiFyOySEo9kxYkpymGCLbGzd2cF7K2CrJ/LDzk4dPdhUlF/yTGktbiA3Q7Aoe SODFGAwXYySt4kqY9SXM9PWLZQBEi5AGcAgREVlIl0JMbE1Sc6fvUkXCgQBioLY55Noi iyjOMy243XiI4mXCwbajHAC2orCXnPUfb3iWHxuOLNRXkKRHFAjcGm/uCAZxonVVqNHj rUXjOn2tpn1u1GFXewgkq5WtE3MrxIYCUeVoDkEzac8o04SPrE/nQiuBrjAoSQ9tAWV/ wjwyH++LcgYiUeYcOYpIidZnu7/p793JrnX2fHLYPKkMRBhQ1Z9/pQNmwk5Cm9eUkxxl WwCA== 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 a9-v6si5057444pll.50.2018.10.29.19.42.13; Mon, 29 Oct 2018 19:42:29 -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 S1726757AbeJ3LcD (ORCPT + 99 others); Tue, 30 Oct 2018 07:32:03 -0400 Received: from inva021.nxp.com ([92.121.34.21]:40742 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbeJ3LcC (ORCPT ); Tue, 30 Oct 2018 07:32:02 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3F1BD200157; Tue, 30 Oct 2018 03:40:29 +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 CC4C620004B; Tue, 30 Oct 2018 03:40:22 +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 41DAF40326; Tue, 30 Oct 2018 10:40:09 +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 6/7] arm64: dts: ls1046a: add qdma device tree nodes Date: Tue, 30 Oct 2018 10:36:03 +0800 Message-Id: <20181030023604.34027-6-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 LS1046A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v11: - no 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..dc65318 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