Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10571865imu; Thu, 6 Dec 2018 03:26:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/WgkId8JAbrEfy793jqqF1+1IJwxZ9BkaZUOm0IsZlY5rX2Shs6LZiLB99QxYAdtQ8lZv3X X-Received: by 2002:a63:e156:: with SMTP id h22mr22705626pgk.255.1544095601333; Thu, 06 Dec 2018 03:26:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544095601; cv=none; d=google.com; s=arc-20160816; b=W50zW7afQT/yXcnbdCbR14nUkwx/UhKRk1lxIl1j1/kmCnd9z1eRe2NwavUaonLXyr vDyFKHqXFEovkM6VxMENbI4z2Cuxki6lkywXQonPLVXVJpieDdBtH9tdH2dKpSvVGqQn mwOgFYohyny51DVplD1LkSONv6JsBubM5UBrkwxcr/Cw1LSpSjGalz9RsNDOQpeaUKkE rBJvjhjGvuFWeHyPSdiqXR+2r+IqmLcTkhNslJtMiyBQ7ZfmlMX5OYG0CNlm+wuDib5h sKKWDrjLrYqHjLFijstNoMHU225YXTtccfdb5F16Ay8gCYCRN6F1UGr3xOP3Ozn7vK9m XIfA== 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=Rj9SHNQhxJyxls8NgCDnWkWlxz0iF1M9xOtr3rbPJv4=; b=iUpSEUQ/NjltAREETnVNfGDkHLxBy+D0OH4UHZFuDsIxlpXRXW3Z1PuekxxKn1UaKi Pyg8R3cPUaD446dXtJHNQdBY1XqdD/Bdt47sW7Ztc1HA1EnJhrYCPNqyGJEGqdu3lqIV tK0MxdaVeDveWYNfRWZncwbRGJBH5Stl4itRVLTb+Ioy7n8vToVMuQftrDCsawT7EfyG ZVdHMLN5l3iDlrdAdtKETmxgn7gm7SEOJcPqLcp/aJJ9YB+PX0iy4tKpZeDUGsl+qbfb 3eIDU4SBmEw1q9Ncld7dbiuLAfEg3WX9ltUmi5bXDEkdiah3A7lbXH6Afyq7N+R1jcAb adEA== 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 b34si62953pld.305.2018.12.06.03.26.25; Thu, 06 Dec 2018 03:26:41 -0800 (PST) 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 S1729518AbeLFLXM (ORCPT + 99 others); Thu, 6 Dec 2018 06:23:12 -0500 Received: from inva021.nxp.com ([92.121.34.21]:54954 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728144AbeLFLXM (ORCPT ); Thu, 6 Dec 2018 06:23:12 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BFAFD200073; Thu, 6 Dec 2018 12:23:09 +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 41D99200149; Thu, 6 Dec 2018 12:23:05 +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 5AD7E402E6; Thu, 6 Dec 2018 19:22:59 +0800 (SGT) From: Peng Ma To: vkoul@kernel.org, shawnguo@kernel.org Cc: leoyang.li@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Ma , Wen He Subject: [PATCH 2/3] arm64: dts: ls1043a: add qdma device tree nodes Date: Thu, 6 Dec 2018 19:18:22 +0800 Message-Id: <20181206111823.45985-2-peng.ma@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20181206111823.45985-1-peng.ma@nxp.com> References: <20181206111823.45985-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 v12: - used GIC_SPI and IRQ_TYPE_LEVEL_HIGH to instead immediate number 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 3fed504..23b78df 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 = , + , + , + , + ; + 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