Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756460AbcLAKuM (ORCPT ); Thu, 1 Dec 2016 05:50:12 -0500 Received: from smtpout.microchip.com ([198.175.253.82]:41987 "EHLO email.microchip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750738AbcLAKuK (ORCPT ); Thu, 1 Dec 2016 05:50:10 -0500 From: Nicolas Ferre To: Alexandre Belloni , CC: Boris BREZILLON , Ludovic Desroches , , Nicolas Ferre Subject: [PATCH 1/3] ARM: dts: at91: add dma1 definition to sama5d2 Date: Thu, 1 Dec 2016 11:49:47 +0100 Message-ID: <20161201104949.23985-1-nicolas.ferre@atmel.com> X-Mailer: git-send-email 2.9.0 MIME-Version: 1.0 Content-Type: text/plain X-Brightmail-Tracker: H4sIAAAAAAAAC+NgFnrDosTGxcLF5cOim8jgEGGwb9q1JnaLr03GFvc+bWO0uH/tNIvFtOnvmB1YAhiiWDPzkvIrElgz1h47xlbQzVmxZU8fewPjPPYuRi4OIYF1jBJbT51h7GLk5GAT0JU4O+EJG4gtIpAmceLEZSaQImaBHYwS+9b+Yu1i5OAQFnCWuLTDHaSGRUBF4u6j06wgNq+AjUTfofcsILaEgJxEw/n7zBBxQYmTM5+AxZkFJCQOvngBFhcC6u17388OUR8o8WzODjYI20mi6+REKNtO4vD0i1A1DhLbd31hganZ9fkyM4StLbH91T5WCFtHYtvBfqgaW4k9MyYyQdjuEg8eLYeyfSVmPWyAqomSaHz2kGkCo9gsJKfOQnLqAkamVYzSzh5+usFhuq4Rzh4GJnq5yRkFurmJmXl6yfm5mxghMZG5g/FYg/8hRkkOJiVR3q2TzocL8SXlp1RmJBZnxBeV5qQWH2KU4OBREuG1XA6U4y0uSMwtzkyHSclwcChJ8EaApASLUtNTK9Iyc0pSiyDSpxglpcR5o0GSAiB9GaV5cLlLjKJSwrxRS4FyPAWpRbmZJRDxW4zCHA+ZhFjy8vNSpYBOZAACDcZXjOIcjErCvO4gs3gy80rgTngFdB0T0HXrdp8Gua4kESEl1cBoV7zl30vLcLFD2Ve8/PZ5vzj8YIv3ayb/3KDSj67cPjG/v7FMkEkvuTbtDNesfwaMVvuVCxZ8MZ+TNUnY7uOOFeJ+lf0v2Nf4q92/NdvwFfNW5W0P1CRdfbI3Xv6UEGum/IXh0LqgQM4LssXzw+padPba7HF+dFRZkHP5JguL/t0K8zO7tG8osRRnJBpqMRcVJwIAAQ5Iq/8CAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1126 Lines: 35 The sama5d2 SoC has a second DMA controller and can be used just like DMA0. By default both DMA controllers are configured as "Secure" in MATRIX_SPSELR so we can use whichever we want in a "single Secure World" configuration. Surprisingly the DMA1 has a lower address than DMA0. To avoid confusion place it after DMA0 node anyway. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d2.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index ceb9783ff7e1..c791ce9c750c 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -395,6 +395,16 @@ clock-names = "dma_clk"; }; + /* Place dma1 here despite its address */ + dma1: dma-controller@f0004000 { + compatible = "atmel,sama5d4-dma"; + reg = <0xf0004000 0x1000>; + interrupts = <7 IRQ_TYPE_LEVEL_HIGH 0>; + #dma-cells = <1>; + clocks = <&dma1_clk>; + clock-names = "dma_clk"; + }; + pmc: pmc@f0014000 { compatible = "atmel,sama5d2-pmc", "syscon"; reg = <0xf0014000 0x160>; -- 2.9.0