Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp561354ima; Fri, 26 Oct 2018 02:58:15 -0700 (PDT) X-Google-Smtp-Source: AJdET5fyG8B6kC1cqxqgIX8olQi1hurnBYcR8SCOceMEwX0bhPndY7gZSpIbiSx9Kj1Qd9CenFwP X-Received: by 2002:a63:e749:: with SMTP id j9-v6mr2789249pgk.246.1540547895590; Fri, 26 Oct 2018 02:58:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540547895; cv=none; d=google.com; s=arc-20160816; b=c3xsgy+JYn9TCSSIi0Qwu4zM5ASSAnmBj4eFJDFbaFDwbBITyg7J4O3pH0wywEGkzl NnbL7/j4Qy+fKZ73KaLXaJoIBPhstT810GGyHPx3MCU/0aOxSP4PZCBF/0bu8zaOVfk7 OMgPRLxGYpqS/l48nMN0W3cOFwmxkAQ2F8t18BJI9T7rG9trVQtL7oCCTh1SCYciuYn8 u9Y9maiAayIoP+AnTxI/5R0E1GGTAEBAKMgf30zx61XIXqxlgg2kgpW7wRFW9gTQ9WEM 2aY+fbzUls5inZpjtRlpI1oqcty5f33IsU2F5fqnLPHk+GcYPJNyjqgY2RaiAVfrlLSS oEsw== 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=HlGwYNo73rwT4dXLNE+CZ0nBF9j24Q+hn/SRuu4BkLg=; b=Hc/Fd/G8A60fH3E2FSpZEd5k4L8+NB8SNb8TV8in33VhL2RDDVYdAclE58kK1dcrv+ e+Iy/JnKKgM8revoac8W6pQYChkbxWbO1GbMlOJ4uNplCZHRU50cpp4Az8FxotNo1x5w WvJAz8yGsK7IGakRQf7t3iR2IcbjuKUaxUs8g8u+PV9HY5m7k1ygDLRZJAL+dfY7pjxe 7M9/3ASNMAXpfVgc84rgyDeHZOBY6jiGb+9CNu1D6yvlpzR61aepNOd1tXBV9S1FTt7p XDtlfn0kJ5609qHPldM5ZW6jJABvLAzFXhMRhVp8niXm3+KfR976TpEFgjFeuVXnFwmj MOHw== 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 33-v6si11040804plt.65.2018.10.26.02.58.00; Fri, 26 Oct 2018 02:58:15 -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 S1727581AbeJZSdW (ORCPT + 99 others); Fri, 26 Oct 2018 14:33:22 -0400 Received: from inva020.nxp.com ([92.121.34.13]:53322 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727516AbeJZSdV (ORCPT ); Fri, 26 Oct 2018 14:33:21 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 0D6DF1A00C1; Fri, 26 Oct 2018 11:56:55 +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 5C4FF1A00B3; Fri, 26 Oct 2018 11:56:48 +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 07D4D4031C; Fri, 26 Oct 2018 17:56:39 +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 6/7] arm64: dts: ls1046a: add qdma device tree nodes Date: Fri, 26 Oct 2018 17:52:39 +0800 Message-Id: <20181026095240.33668-6-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 LS1046A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v10: - 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