From patchwork Wed Jan 7 05:28:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mayuresh Chitale X-Patchwork-Id: 5581961 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F30B0BF6C3 for ; Wed, 7 Jan 2015 05:29:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 24A2020254 for ; Wed, 7 Jan 2015 05:29:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1AE562024C for ; Wed, 7 Jan 2015 05:29:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751916AbbAGF3R (ORCPT ); Wed, 7 Jan 2015 00:29:17 -0500 Received: from exprod5og122.obsmtp.com ([64.18.0.192]:45803 "HELO exprod5og122.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750842AbbAGF3R (ORCPT ); Wed, 7 Jan 2015 00:29:17 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]) (using TLSv1) by exprod5ob122.postini.com ([64.18.4.12]) with SMTP ID DSNKVKzELHMharKy8oilkuEgrLDLRrMyQR+z@postini.com; Tue, 06 Jan 2015 21:29:17 PST Received: by mail-pa0-f48.google.com with SMTP id rd3so2528972pab.7 for ; Tue, 06 Jan 2015 21:29:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=s4rJqAgjxVoggIpr9gKwvb+jziT02z+fnaCK+mvH63s=; b=WHFALp9XM7RWAkKeHZCr/4lsl5gHIAsSm5Rqlx+k+Fr4aBmW4he6Wy8e9ELNwmZoKC 28nNzWATz4e4/qril1ex+VOYuH3mubGV0uzjZWixYNFQXBNY7zOdJWYONTMpZapUnt4h 52gq7QtG7K7U0LL9vLBGzhquoBhB8UyBeLAh3tRLzxTa/K23Hm5kAqFxQ1TO03hSP4zX d7gYNKRO5cDs34xi8ypO436cIlrbvhvqUKUDWnFeFw/oRc8OdKIfRG0uzpqMA+EHb/gd eQAAgB0aAtEVs5PxquUYpeYhw21VwzgCXyOLpKFCS3Stz60ZegthWOX9bBX3eNd4E0aq GboA== X-Gm-Message-State: ALoCoQkj6xer8n1407IkFHci1pT72/59ZBg2M7raM3dImwTr9F9taDF0Ho0FTWPweYg2DlODx2F3k3ZRRO7PidYTELljXaygOVwnZgtETA9MM6u9No6BKbeE7W8GwBe3WO4m3i0BTcpX52cFMLlVEUzQH2S5LApejA== X-Received: by 10.70.124.200 with SMTP id mk8mr1742401pdb.147.1420608556447; Tue, 06 Jan 2015 21:29:16 -0800 (PST) X-Received: by 10.70.124.200 with SMTP id mk8mr1742390pdb.147.1420608556360; Tue, 06 Jan 2015 21:29:16 -0800 (PST) Received: from pnqlwv041.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id ju5sm522179pab.42.2015.01.06.21.29.12 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 Jan 2015 21:29:15 -0800 (PST) From: Mayuresh Chitale To: dan.j.williams@intel.com, vinod.koul@intel.com, dmaengine@vger.kernel.org Cc: arnd@arndb.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ddutile@redhat.com, jcm@redhat.com, patches@apm.com, Mayuresh Chitale Subject: [PATCH 3/4] arm64: dts: Add APM X-Gene PCIe DMA device tree nodes Date: Wed, 7 Jan 2015 10:58:56 +0530 Message-Id: <1420608537-12296-4-git-send-email-mchitale@apm.com> X-Mailer: git-send-email 2.2.1.212.gc5b9256 In-Reply-To: <1420608537-12296-1-git-send-email-mchitale@apm.com> References: <1420608537-12296-1-git-send-email-mchitale@apm.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the device tree nodes for APM X-Gene PCIe DMA engine. Since X-Gene SOC supports maximum 5 PCIe ports, 5 dts nodes are added. Signed-off-by: Mayuresh Chitale Signed-off-by: Tanmay Inamdar --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index f1ad9c2..2993d1e 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -469,6 +469,46 @@ clocks = <&pcie4clk 0>; }; + xpdma0: dma0@1f2b0154 { + status = "disabled"; + compatible = "apm,xgene-pciedma"; + reg = < 0x0 0x1f2b0154 0x0 0xc + 0x0 0x1f2b0058 0x0 0x8>; + interrupts = <0x0 0xc6 0x4>; + }; + + xpdma1: dma1@1f2c0154 { + status = "disabled"; + compatible = "apm,xgene-pciedma"; + reg = < 0x0 0x1f2c0154 0x0 0xc + 0x0 0x1f2c0058 0x0 0x8>; + interrupts = <0x0 0xcc 0x4>; + }; + + xpdma2: dma2@1f2d0154 { + status = "disabled"; + compatible = "apm,xgene-pciedma"; + reg = < 0x0 0x1f2d0154 0x0 0xc + 0x0 0x1f2d0058 0x0 0x8>; + interrupts = <0x0 0xd2 0x4>; + }; + + xpdma3: dma3@1f500154 { + status = "disabled"; + compatible = "apm,xgene-pciedma"; + reg = < 0x0 0x1f500154 0x0 0xc + 0x0 0x1f500058 0x0 0x8>; + interrupts = <0x0 0xd8 0x4>; + }; + + xpdma4: dma4@1f510154 { + status = "disabled"; + compatible = "apm,xgene-pciedma"; + reg = < 0x0 0x1f510154 0x0 0xc + 0x0 0x1f510058 0x0 0x8>; + interrupts = <0x0 0xde 0x4>; + }; + serial0: serial@1c020000 { status = "disabled"; device_type = "serial";