From patchwork Fri Dec 19 13:23:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 5519341 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 33AD2BEEA8 for ; Fri, 19 Dec 2014 13:35:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 466EC20131 for ; Fri, 19 Dec 2014 13:35:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4E2EA20123 for ; Fri, 19 Dec 2014 13:35:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y1xgE-0006R2-Hp; Fri, 19 Dec 2014 13:33:18 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y1xg8-0006FY-Ji for linux-arm-kernel@lists.infradead.org; Fri, 19 Dec 2014 13:33:13 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NGU00J5Q0AP0Y60@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 19 Dec 2014 22:32:49 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 85.52.11124.10924945; Fri, 19 Dec 2014 22:32:49 +0900 (KST) X-AuditID: cbfee68e-f79b46d000002b74-96-5494290143c5 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 71.34.09430.10924945; Fri, 19 Dec 2014 22:32:49 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NGU009US0704GA0@mmp2.samsung.com>; Fri, 19 Dec 2014 22:32:49 +0900 (KST) From: Padmavathi Venna To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: Add PDMA and SPI device tree node for exynos7 Date: Fri, 19 Dec 2014 18:53:47 +0530 Message-id: <1418995427-7712-5-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 2.2.0 In-reply-to: <1418995427-7712-1-git-send-email-padma.v@samsung.com> References: <1418995427-7712-1-git-send-email-padma.v@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRmVeSWpSXmKPExsWyRsSkRpdRc0qIweHb8hbzj5xjtehdcJXN YtPja6wWM87vY7J4OuEim8XhN+2sFqt2/WF0YPfYOesuu8eda3vYPDYvqffo27KK0ePzJrkA 1igum5TUnMyy1CJ9uwSujPd9pQWvZSvOnVnJ2MB4SayLkZNDQsBEYtvTq2wQtpjEhXvrwWwh gaWMEh/6S7sYOcBqNhyv6WLkAgpPZ5R4N2EZM4QzgUli4pkPbCBFbAI6Ei1nXUB6RQQyJTbd 3cYIYjMLJEp82T+HGaREWMBPYvoHHpAwi4CqxOeNDSwgNq+Ak8TEyQcZIU6Qk9hy6xE7iM0p 4Cxxvv08K8Q5ThL3GyezQ9TMY5e49qoGYo6AxLfJh1ggzpSV2HSAGaJEUuLgihssExiFFzAy rGIUTS1ILihOSi8y0itOzC0uzUvXS87P3cQIDO3T/5717WC8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y43OOzleDh9fqeHs++ZV9pGF9b9v3PhtraUhuuxlZ5L FCwXTBL6urF1SZb68ruv96TkRb1pVDGvSk/hnXFo5/Pmh0uUWIozEg21mIuKEwGlGczjtAIA AA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141219_053312_814788_FC0A6737 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: kgene.kim@samsung.com, mturquette@linaro.org, tomasz.figa@gmail.com, s.nawrocki@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 PDMA0,PDMA1 and 5 SPI dt nodes for Exynos7. Signed-off-by: Padmavathi Venna --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 113 +++++++++++++++++++++++++++++++ 1 files changed, 113 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index eeaa9b8d..db7058a 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -28,6 +28,9 @@ pinctrl7 = &pinctrl_fsys1; pinctrl8 = &pinctrl_bus1; pinctrl9 = &pinctrl_aud; + spi0 = &spi_0; + spi1 = &spi_1; + spi2 = &spi_2; }; cpus { @@ -573,6 +576,116 @@ samsung,pmu-syscon = <&pmu_system_controller>; #phy-cells = <1>; }; + + amba { + #address-cells = <1>; + #size-cells = <1>; + compatible = "arm,amba-bus"; + interrupt-parent = <&gic>; + ranges; + + pdma1: pdma1@10EB0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x10EB0000 0x1000>; + interrupts = <0 226 0>; + clocks = <&clock_fsys0 ACLK_PDMA1>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; + }; + + pdma0: pdma0@10E10000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x10E10000 0x1000>; + interrupts = <0 225 0>; + clocks = <&clock_fsys0 ACLK_PDMA0>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; + }; + }; + + spi_0: spi@14d20000 { + compatible = "samsung,exynos7-spi"; + reg = <0x14d20000 0x100>; + interrupts = <0 464 0>; + dmas = <&pdma0 7 + &pdma0 6>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock_peric1 PCLK_SPI0>, <&clock_peric1 SCLK_SPI0>; + clock-names = "spi", "spi_busclk0"; + pinctrl-names = "default"; + pinctrl-0 = <&spi0_bus>; + status = "disabled"; + }; + + spi_1: spi@14d30000 { + compatible = "samsung,exynos7-spi"; + reg = <0x14d30000 0x100>; + interrupts = <0 465 0>; + dmas = <&pdma0 9 + &pdma0 8>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock_peric1 PCLK_SPI1>, <&clock_peric1 SCLK_SPI1>; + clock-names = "spi", "spi_busclk0"; + pinctrl-names = "default"; + pinctrl-0 = <&spi1_bus>; + status = "disabled"; + }; + + spi_2: spi@14d40000 { + compatible = "samsung,exynos7-spi"; + reg = <0x14d40000 0x100>; + interrupts = <0 466 0>; + dmas = <&pdma0 11 + &pdma0 10>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock_peric1 PCLK_SPI2>, <&clock_peric1 SCLK_SPI2>; + clock-names = "spi", "spi_busclk0"; + pinctrl-names = "default"; + pinctrl-0 = <&spi2_bus>; + status = "disabled"; + }; + + spi_3: spi@14d50000 { + compatible = "samsung,exynos7-spi"; + reg = <0x14d50000 0x100>; + interrupts = <0 467 0>; + dmas = <&pdma0 13 + &pdma0 12>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock_peric1 PCLK_SPI3>, <&clock_peric1 SCLK_SPI3>; + clock-names = "spi", "spi_busclk0"; + pinctrl-names = "default"; + pinctrl-0 = <&spi3_bus>; + status = "disabled"; + }; + + spi_4: spi@14d70000 { + compatible = "samsung,exynos7-spi"; + reg = <0x14d70000 0x100>; + interrupts = <0 468 0>; + dmas = <&pdma0 3 + &pdma0 2>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock_peric1 PCLK_SPI4>, <&clock_peric1 SCLK_SPI4>; + clock-names = "spi", "spi_busclk0"; + pinctrl-names = "default"; + pinctrl-0 = <&spi4_bus>; + status = "disabled"; + }; }; };