Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10570790imu; Thu, 6 Dec 2018 03:25:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/UPlWmddVNJAzOAEkoEjIuIJeZ0ydoLBXmB/0bI9wyvXHoBDe2AIx2D5fwLmO7ZUka7yQLm X-Received: by 2002:a17:902:f082:: with SMTP id go2mr28002531plb.115.1544095525126; Thu, 06 Dec 2018 03:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544095525; cv=none; d=google.com; s=arc-20160816; b=tiEifFh2C1gNChz7W+7kRHth6vAjwxa/M3kc0YIzHztRjMsF6iwIa+v0EF2pScqzml Lib2RMblSDXIzdXvImsjF7bdkosOzf49hTCQQ/RQMCLkUfHgNiIdYdX6mZ6vC3MYCo7Q dVIsPS1P6iVVPOoFb06PRWkiPGjOjg1dc+SVH0q2IbkesWcuFatYvIXrBYhQCpwGZV2L 5PcvLWy4mkTN6OR0YSPkkkSkkKhkE3/P1DnirC9cV5XqnNWbvPwnyQs/xyUM2MP0Hf7E YitPlYYqRP2grz/TJe4uPPRrkMpzu9etlNmxc4VYks0lKqkJa5g6Lvy23btC5qC5JWt4 A20A== 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=ZJKaX5YqpvrytT01HKxqH/g4wtubXL1w40Lw+YG5tqU=; b=c6+iBCQm3LvStZVr/UIs5/QsLw7zNQyuWe34pvy+OUF7CLEtEEB4c7kOcA9CmIOb3I 8Iz5jAybJDAH+tvDESYdzMYwTyO8nFBATLzgPQ2bDj8Wr1Wip3QXTAkEBnC7PJyAnn9I 7WFCDVw1LmYUIfWi/b/tp4kBJ+xAvntBLzlesvzgujquT/qPKZq0OGU6OuW87y41ZbGO R8uNBBJbcrk1i0wDocyWSbhfxAkVNdNCz7F9L9Kx886n44bPRPTp2SRK8H2rpSqEDcRn XddO+3PBS6Bm4qafhB3pQ0y6VSxZ68AxqlavAcJI0rKUDcefSESkXmxFQ7A0I/I+xdOx NcUg== 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 97si59051ple.389.2018.12.06.03.25.08; Thu, 06 Dec 2018 03:25:25 -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 S1729570AbeLFLXS (ORCPT + 99 others); Thu, 6 Dec 2018 06:23:18 -0500 Received: from inva021.nxp.com ([92.121.34.21]:54990 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727763AbeLFLXM (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 D3249200149; Thu, 6 Dec 2018 12:23:10 +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 56EE62000B7; Thu, 6 Dec 2018 12:23:06 +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 73096402EE; Thu, 6 Dec 2018 19:23:00 +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 3/3] arm64: dts: ls1046a: add qdma device tree nodes Date: Thu, 6 Dec 2018 19:18:23 +0800 Message-Id: <20181206111823.45985-3-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 LS1046A 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-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 51cbd50..8fcce79 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 = , + , + , + , + ; + 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