From patchwork Thu Jun 20 05:41:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 2753021 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A3E669F96B for ; Thu, 20 Jun 2013 05:18:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 13CC42025C for ; Thu, 20 Jun 2013 05:18:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7BF3A20255 for ; Thu, 20 Jun 2013 05:18:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752251Ab3FTFSa (ORCPT ); Thu, 20 Jun 2013 01:18:30 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:35700 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752189Ab3FTFS2 (ORCPT ); Thu, 20 Jun 2013 01:18:28 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOO00MM3EPKU1J0@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Thu, 20 Jun 2013 14:18:27 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.122]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id F0.F7.11618.2A092C15; Thu, 20 Jun 2013 14:18:26 +0900 (KST) X-AuditID: cbfee691-b7fef6d000002d62-81-51c290a274bd Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id BC.93.28381.2A092C15; Thu, 20 Jun 2013 14:18:26 +0900 (KST) Received: from chromeserver-PowerEdge-T410.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MOO00GEAEQ49Y20@mmp1.samsung.com>; Thu, 20 Jun 2013 14:18:26 +0900 (KST) From: Rahul Sharma To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: kgene.kim@samsung.com, sw0312.kim@samsung.com, inki.dae@samsung.com, seanpaul@chromium.org, l.stach@pengutronix.de, tomasz.figa@gmail.com, rob.herring@calxeda.com, s.nawrocki@samsung.com, grant.likely@linaro.org, joshi@samsung.com, r.sh.open@gmail.com, Andrew Bresticker , Rahul Sharma Subject: [PATCH 1/5] ARM: dts: exynos5420: add i2c device nodes Date: Thu, 20 Jun 2013 11:11:47 +0530 Message-id: <1371706911-27016-2-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1371706911-27016-1-git-send-email-rahul.sharma@samsung.com> References: <1371706911-27016-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNIsWRmVeSWpSXmKPExsWyRsSkSnfRhEOBBmdWGlmsfP+X0eLA7Ies Fgf+7GC0mHR/AovF911f2C16F1xls3gw9yaTxYzz+5gsFr6It5iy6DCrxeEVB5gsDr9pZ7W4 u+Eso8WMyS/ZLFbt+sPowO+x4PMVdo/ZDRdZPHbOusvucefaHjaP8zMWMnr0/zXw6NuyitHj 8ya5AI4oLpuU1JzMstQifbsEroynfatYCz4KVPy9sZa1gXExbxcjJ4eEgInE4+lrmSBsMYkL 99azdTFycQgJLGWUaN6xigWm6O7KP+wQiUWMEnOPLQZLCAnMZpL4vToExGYT0JWYffAZI4gt IuAl0b1mO1gDs8BdJokdrWfBEsIC9hLX2qazgtgsAqoS6zbOBovz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a2JZcWXuIUYJDmYlEd7pnYcChXhTEiur Uovy44tKc1KLDzEmAx01kVlKNDkfmErySuINjU3MTY1NLU0sTMwsSRNWEuc90GodKCSQnliS mp2aWpBaBLOFiYNTqoEx7fjPO/Mzdz5o2/5izbq1Fqyrn/Slbj3J7i8XKnYz5FSN+sOJfLcX rf54wIBN92Zm9SRp752PPs2oNrrne+fo3QdzmwXK/nC1no1d81AzQSBGK/uurXOcZsZO3cfB 8mv/XueQ77e+fW//qWdJant3/WjiU7Os+/Bpk0LEPI+9ibPWv5vzlW3HDiWW4oxEQy3mouJE AOQGWxYbAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Andrew Bresticker This adds device-tree nodes for the i2c busses on Exynos 5420 platforms. Signed-off-by: Andrew Bresticker Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420.dtsi | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 8c54c4b..b0ec047 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -24,6 +24,10 @@ pinctrl2 = &pinctrl_2; pinctrl3 = &pinctrl_3; pinctrl4 = &pinctrl_4; + i2c0 = &i2c_0; + i2c1 = &i2c_1; + i2c2 = &i2c_2; + i2c3 = &i2c_3; }; cpus { @@ -145,4 +149,56 @@ clocks = <&clock 260>, <&clock 131>; clock-names = "uart", "clk_uart_baud0"; }; + + i2c_0: i2c@12C60000 { + compatible = "samsung,s3c2440-i2c"; + reg = <0x12C60000 0x100>; + interrupts = <0 56 0>; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_bus>; + clocks = <&clock 261>; + clock-names = "i2c"; + status = "disabled"; + }; + + i2c_1: i2c@12C70000 { + compatible = "samsung,s3c2440-i2c"; + reg = <0x12C70000 0x100>; + interrupts = <0 57 0>; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_bus>; + clocks = <&clock 262>; + clock-names = "i2c"; + status = "disabled"; + }; + + i2c_2: i2c@12C80000 { + compatible = "samsung,s3c2440-i2c"; + reg = <0x12C80000 0x100>; + interrupts = <0 58 0>; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_bus>; + clocks = <&clock 263>; + clock-names = "i2c"; + status = "disabled"; + }; + + i2c_3: i2c@12C90000 { + compatible = "samsung,s3c2440-i2c"; + reg = <0x12C90000 0x100>; + interrupts = <0 59 0>; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_bus>; + clocks = <&clock 264>; + clock-names = "i2c"; + status = "disabled"; + }; };