From patchwork Mon Aug 26 09:38:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 2849471 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 54A04BF546 for ; Mon, 26 Aug 2013 09:16:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E0D6202B8 for ; Mon, 26 Aug 2013 09:16:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 044D020290 for ; Mon, 26 Aug 2013 09:16:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756674Ab3HZJQj (ORCPT ); Mon, 26 Aug 2013 05:16:39 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:29869 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751391Ab3HZJQi (ORCPT ); Mon, 26 Aug 2013 05:16:38 -0400 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 <0MS4003SXSEXJBZ0@mailout4.samsung.com>; Mon, 26 Aug 2013 18:16:37 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 88.D6.17682.5FC1B125; Mon, 26 Aug 2013 18:16:37 +0900 (KST) X-AuditID: cbfee68e-b7f756d000004512-2b-521b1cf50116 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id EA.9B.09055.5FC1B125; Mon, 26 Aug 2013 18:16:37 +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 <0MS4006G5SF6L940@mmp1.samsung.com>; Mon, 26 Aug 2013 18:16:37 +0900 (KST) From: Rahul Sharma To: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: kgene.kim@samsung.com, sw0312.kim@samsung.com, inki.dae@samsung.com, tomasz.figa@gmail.com, s.nawrocki@samsung.com, joshi@samsung.com, r.sh.open@gmail.com, Andrew Bresticker , Rahul Sharma Subject: [PATCH v5 3/6] ARM: dts: add i2c device nodes for Exynos5420 Date: Mon, 26 Aug 2013 15:08:18 +0530 Message-id: <1377509901-9467-4-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1377509901-9467-1-git-send-email-rahul.sharma@samsung.com> References: <1377509901-9467-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42JZI2JSq/tVRjrIYP5TRYuV7/8yWsw/co7V YtL9CSwW33d9YbfoXXCVzWLG+X1MFgtfxFtMWXSY1eLwm3ZWixmTX7JZrNr1h9GB22N2w0UW j52z7rJ79G1ZxejxeZNcAEsUl01Kak5mWWqRvl0CV8b2uVvZC34IVJzd9ou9gXEebxcjJ4eE gInE0k1fWSFsMYkL99azdTFycQgJLGWU2NSzhRWm6OO1p+wQiUWMEktn3WOFcGYzSezqXMAG UsUmoCsx++AzRhBbRMBRYsecf0wgRcwCPxglGm+dYgJJCAu4Sjx5sZcdxGYRUJU4+mEvC4jN K+AuMXXJbiaIdYoS3c8mgA3lFPCQOPf0HVi9EFBNx72VUDXb2CV2nqmFmCMg8W3yIaA5HEBx WYlNB5ghSiQlDq64wTKBUXgBI8MqRtHUguSC4qT0IiO94sTc4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g8by2U5lyrdf9LRw97SIPVtg0/zV9OX71e0G/6QKbX/ySzCpRr64ndQ hFr63xmsr6dcOpK8aoelk+2ndNYDJyybfl/57FLGOevigltFIRv/+9Z0plzd9fvhq9/5WilK LMUZiYZazEXFiQCdUWk39gIAAA== 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=-9.3 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 5353e32..05dee86 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -27,6 +27,10 @@ pinctrl2 = &pinctrl_2; pinctrl3 = &pinctrl_3; pinctrl4 = &pinctrl_4; + i2c0 = &i2c_0; + i2c1 = &i2c_1; + i2c2 = &i2c_2; + i2c3 = &i2c_3; }; cpus { @@ -218,4 +222,56 @@ clocks = <&clock 147>, <&clock 421>; clock-names = "sclk_fimd", "fimd"; }; + + i2c_0: i2c@12C60000 { + compatible = "samsung,s3c2440-i2c"; + reg = <0x12C60000 0x100>; + interrupts = <0 56 0>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock 261>; + clock-names = "i2c"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_bus>; + status = "disabled"; + }; + + i2c_1: i2c@12C70000 { + compatible = "samsung,s3c2440-i2c"; + reg = <0x12C70000 0x100>; + interrupts = <0 57 0>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock 262>; + clock-names = "i2c"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_bus>; + status = "disabled"; + }; + + i2c_2: i2c@12C80000 { + compatible = "samsung,s3c2440-i2c"; + reg = <0x12C80000 0x100>; + interrupts = <0 58 0>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock 263>; + clock-names = "i2c"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_bus>; + status = "disabled"; + }; + + i2c_3: i2c@12C90000 { + compatible = "samsung,s3c2440-i2c"; + reg = <0x12C90000 0x100>; + interrupts = <0 59 0>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clock 264>; + clock-names = "i2c"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_bus>; + status = "disabled"; + }; };