Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp561173ima; Fri, 26 Oct 2018 02:58:00 -0700 (PDT) X-Google-Smtp-Source: AJdET5eZ/kV98VbqGIpW2sfPBDXWwxMRq32CY0IpjdDgz1d55KKF2kzxsDCjYhNlfjFkpjnH4Ja3 X-Received: by 2002:a63:396:: with SMTP id 144mr2877275pgd.68.1540547880613; Fri, 26 Oct 2018 02:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540547880; cv=none; d=google.com; s=arc-20160816; b=dEAf7prGxBxl5h6d7Bt1+tIfu4m+cELCpkSQhbcgIcwxIs2Qmt/SABartFKsA3mo2i E5cTCCxv3RIvb4Z0xYgDG58xPLZMFSbQA/vpOCuTuVkf4KpkeEDs7TTgH9CcjnqXsGBk GyCUIn8piyIH4auaFUvgMi8OLmXDTkdjdvQ0o1NWCR1OjJGdjEMlzD+Rl+sDGPaZaOZY TUisGUwZd6P823TZaPJ/luJHoo01Bx18LX0f0WkEbMO3pUDS1Vdz52QAdVBIth42pDdP ITDnbC9g24bk/oKg9MOdwDQs3xPZ8futOUPUL7rOKrPQ4OjYZHPg1soIvKRR85bWcf5r 2i6Q== 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=iz6xaTb/cBsbuLvVSbMZemhKwCa0b1lWPh18xYgeyHY=; b=LX4JJAz9ukaCb2X5ut402wImmP4RezYrpV1MSug5IkBisPtSZqSvHHxBVXvW1AVrzS QTOYfr6B6h8EkSLISPKNrBGbPV0HGocdSZAjgKCXnh4A38aCnlMrEfjckWu5CqxtLtaS cXCpCg/bdhenz8EO9n6ZgmUcojHAeFN+TQNDp93wpuAwipPUx9yI5IMQjgdWkWdaGG5q QDMqCpzle2WnE2bFmWWiDkUJQnxeJUcQbm3uLl2LZdt04M3KYVGQ3oZ5Qowu45dOS86F /Nf+omVloG5k+aGS/SzOq2n/7gaSatsYskVJPSGOhPwGTv1qz+qsiogGrixIXl+3LJCR T52g== 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 u7-v6si11094456pfu.143.2018.10.26.02.57.45; Fri, 26 Oct 2018 02:58:00 -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 S1727545AbeJZSdV (ORCPT + 99 others); Fri, 26 Oct 2018 14:33:21 -0400 Received: from inva020.nxp.com ([92.121.34.13]:53300 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbeJZSdU (ORCPT ); Fri, 26 Oct 2018 14:33:20 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B2F751A0002; Fri, 26 Oct 2018 11:56:53 +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 0A2D51A00C1; Fri, 26 Oct 2018 11:56:47 +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 A970B402BE; Fri, 26 Oct 2018 17:56:38 +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 5/7] arm64: dts: ls1043a: add qdma device tree nodes Date: Fri, 26 Oct 2018 17:52:38 +0800 Message-Id: <20181026095240.33668-5-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 LS1043A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v10: - 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