Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp270935imm; Tue, 16 Oct 2018 23:05:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV60sZwIYjBC1jS9/YQUr4jKcW0PwHWty8p8SUuqIjDJnbcKm8aprR6W+o76aPJEkbmA1EuJa X-Received: by 2002:a17:902:b212:: with SMTP id t18-v6mr24939099plr.158.1539756306652; Tue, 16 Oct 2018 23:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539756306; cv=none; d=google.com; s=arc-20160816; b=wHiXX73UkwWZyMe0hqLZtBmJGhQi9DyI0J1xXA3sh/7IiPS5yWdlWJPYEPOEK9PY1N 9kDq/faL6vjhctcnwKvO/Q69w1ZjQm1Ri1qOM+KL1U49XOm+MtKj+D/Z90gntIL1MJjr NnEyONFMOgy48cbBlpDRZNUyzCmDZi0GUWdyzZ1OA9tPUtqgNs2KMp4xm4vEkn2GEdPO KZ2yPxl9SV7nUNCCFHaNgjJ9MuBQOnXwrcJAMl6hbn/44jjjY6n+lbl8Y7EaDlCsE8/v 0b7hR/FDU1JbX//GFcucUlpcd7+UCKDpVomEAg76shFJPI+/WMoD1C8NNA2lW+DoAcXy HzBw== 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=bq6R2dTnk2umdj2eG7TM5+xWS0i7TN5/xEHt4VcIjEs=; b=ieAO1oP9/lKAOFSJ/KlryJGVsVmrMbYL+18UPUlM8vTINkspWpVGw9RHtGm7Q5kxqJ 7mElE1IEoMzMjGeYc88x3EUnIN2y7ofiHjgiNdoLpiPfzwgMSobiBdeydWQpUDaNvXC+ MPbzBo2JIehCQNnP4lSW2zpGgl7R0dJKZAMoyPNWHW2zb6Lvqc7jjq+vXprCEtLtnPm/ DpiStwYDOMMYg+3E0wU5O/fgM8PsgNKuEpJ1G47Y3mGEacouLxtuCe1IwQFvHK1nsz2t HTFLqzKJf8TB4/O7IanAhlvYfkv0XzUCS1yo2rKA0TyKafpw77ir5Jn8JJvTpI4rdown WWyA== 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 p1-v6si13703339plb.10.2018.10.16.23.04.50; Tue, 16 Oct 2018 23:05:06 -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 S1727509AbeJQN6F (ORCPT + 99 others); Wed, 17 Oct 2018 09:58:05 -0400 Received: from inva020.nxp.com ([92.121.34.13]:58708 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbeJQN6F (ORCPT ); Wed, 17 Oct 2018 09:58:05 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B17AD1A01C4; Wed, 17 Oct 2018 08:04:03 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 615D81A01E2; Wed, 17 Oct 2018 08:03:57 +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 19D5840326; Wed, 17 Oct 2018 14:03:46 +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 5/7] arm64: dts: ls1043a: add qdma device tree nodes Date: Wed, 17 Oct 2018 13:59:55 +0800 Message-Id: <20181017055957.542-5-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 LS1043A 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-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..e798c4c 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