From patchwork Fri Jun 21 07:25:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2760751 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 28895C0AB1 for ; Fri, 21 Jun 2013 07:30:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8E0AC201F0 for ; Fri, 21 Jun 2013 07:30:11 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 51751201EC for ; Fri, 21 Jun 2013 07:30:09 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UpvkW-00067x-Ad; Fri, 21 Jun 2013 07:27:14 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Upvjg-0002ZE-0S; Fri, 21 Jun 2013 07:26:20 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Upvjc-0002XA-El for linux-arm-kernel@lists.infradead.org; Fri, 21 Jun 2013 07:26:17 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOQ000MEFB4P2P0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 21 Jun 2013 16:25:53 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id D9.4A.29708.00004C15; Fri, 21 Jun 2013 16:25:52 +0900 (KST) X-AuditID: cbfee690-b7f6f6d00000740c-5e-51c40000269c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 62.ED.21068.00004C15; Fri, 21 Jun 2013 16:25:52 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MOQ000N8FB32710@mmp1.samsung.com>; Fri, 21 Jun 2013 16:25:52 +0900 (KST) From: Jingoo Han To: 'Kukjin Kim' , 'Bjorn Helgaas' Subject: [PATCH V10 3/4] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC Date: Fri, 21 Jun 2013 16:25:51 +0900 Message-id: <003c01ce6e50$8f55d890$ae0189b0$@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac5uUI3TybM2zsuMRXaVqkteDwsW/w== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIKsWRmVeSWpSXmKPExsVy+t8zY10GhiOBBg+7DCya/29ntfg76Ri7 xZKmDIuXhzQtDsx+yGrx6sxGNovLCy+xWny/YWrRu+Aqm8Wmx9dYLS7vmsNmcXbecTaLGef3 MVlsnPqL0aL9krLFiqatjBaLLy5ntlg/4zWLxe6VS1gsjs1Ywmjx9EETk4Oox5p5axg9fv+a xOjRN+Uqm8eTTRcZPRZsKvW4c20Pm8fmJfUe52csZPT4vqMXqGDLKkaPny91PJ7+2Mvs8XmT XABvFJdNSmpOZllqkb5dAlfGzdN9LAX3+Ssedac3MO7h6WLk5JAQMJG48uAgC4QtJnHh3nq2 LkYuDiGBZYwSZ+b1MMMUNTWdY4JILGKU2HtmAlTVL0aJJ5e+sYNUsQmoSXz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A5vxglnlz6xg5SxSagJvHly2Ew W0TAX+La1VYWkCJmgQ42iU3zNrGCJIQFIiQW7OsDG8sioCrx7PVaxi5GDg5eAUuJP5t0QMK8 AoISPybfYwGxmQW0JNbvPM4EYctLbF7zlhniIgWJHWdfM0Ls0pPYd24JM0SNiMS+F+8YJzAK zEIyahaSUbOQjJqFpGUBI8sqRtHUguSC4qT0XCO94sTc4tK8dL3k/NxNjODU9Ux6B+OqBotD jAIcjEo8vAFKhwOFWBPLiitzDzFKcDArifAG3wEK8aYkVlalFuXHF5XmpBYfYkwGenQis5Ro cj4wreaVxBsam5gZWRqZWRiZmJuTJqwkznuw1TpQSCA9sSQ1OzW1ILUIZgsTB6dUAyPX0fsL NoqsfdS1O/jQMcYl5dvLp9dVLd4+35ovW2hNxcGOlQtnbE0xqWqcrexfvvf9G/t533ZuSw9/ c6RzgWtAVfPbi19v7pZckn49LO6e2OorzV0HmU9HrOPs/qaW9G9lTbOf658AQf4Ibft0r7yQ +Zcu2UZVGvzUnJTw/Uyo4e68F0vnebEpsRRnJBpqMRcVJwIAhMjRIKEDAAA= 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-20130621_032616_877811_0887FB60 X-CRM114-Status: UNSURE ( 8.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.7 (-------) Cc: 'Thomas Petazzoni' , 'Jason Gunthorpe' , linux-samsung-soc@vger.kernel.org, 'Arnd Bergmann' , 'Siva Reddy Kallam' , linux-pci@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, 'Thierry Reding' , linux-kernel@vger.kernel.org, 'Grant Likely' , 'Surendranath Gurivireddy Balla' , 'Thomas Abraham' , 'Mohit KUMAR' , Jingoo Han , 'Andrew Murray' , 'Pratyush Anand' , 'Tomasz Figa' , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Exynos5440 has two PCIe controllers which can be used as root complex for PCIe interface. Signed-off-by: Jingoo Han Acked-by: Arnd Bergmann --- arch/arm/boot/dts/exynos5440.dtsi | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 03d40c0..1ac4f5b 100644 --- a/arch/arm/boot/dts/exynos5440.dtsi +++ b/arch/arm/boot/dts/exynos5440.dtsi @@ -230,4 +230,42 @@ clocks = <&clock 24>; clock-names = "usbhost"; }; + + pcie@290000 { + compatible = "samsung,exynos5440-pcie", "snps,dw-pcie"; + reg = <0x290000 0x1000 + 0x270000 0x1000 + 0x271000 0x40>; + interrupts = <0 20 0>, <0 21 0>, <0 22 0>; + clocks = <&clock 28>, <&clock 27>; + clock-names = "pcie", "pcie_bus"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges = <0x00000800 0 0x40000000 0x40000000 0 0x00001000 /* configuration space */ + 0x81000000 0 0 0x40001000 0 0x00010000 /* downstream I/O */ + 0x82000000 0 0x40011000 0x40011000 0 0x1ffef000>; /* non-prefetchable memory */ + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0x0 0 &gic 53>; + }; + + pcie@2a0000 { + compatible = "samsung,exynos5440-pcie", "snps,dw-pcie"; + reg = <0x2a0000 0x1000 + 0x272000 0x1000 + 0x271040 0x40>; + interrupts = <0 23 0>, <0 24 0>, <0 25 0>; + clocks = <&clock 29>, <&clock 27>; + clock-names = "pcie", "pcie_bus"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges = <0x00000800 0 0x60000000 0x60000000 0 0x00001000 /* configuration space */ + 0x81000000 0 0 0x60001000 0 0x00010000 /* downstream I/O */ + 0x82000000 0 0x60011000 0x60011000 0 0x1ffef000>; /* non-prefetchable memory */ + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0x0 0 &gic 56>; + }; };