From patchwork Thu Aug 29 05:28:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 2851120 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 21BB1BF547 for ; Thu, 29 Aug 2013 05:06:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2942D20306 for ; Thu, 29 Aug 2013 05:06:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 334B120348 for ; Thu, 29 Aug 2013 05:06:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753027Ab3H2FGs (ORCPT ); Thu, 29 Aug 2013 01:06:48 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:24702 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753289Ab3H2FGr (ORCPT ); Thu, 29 Aug 2013 01:06:47 -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 <0MSA002LY0TC3LO0@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Thu, 29 Aug 2013 14:06:43 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.126]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id E9.87.29948.3E6DE125; Thu, 29 Aug 2013 14:06:43 +0900 (KST) X-AuditID: cbfee691-b7f4a6d0000074fc-ca-521ed6e38e0d Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 35.FD.05832.2E6DE125; Thu, 29 Aug 2013 14:06:43 +0900 (KST) Received: from chromeserver-PowerEdge-T410.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 <0MSA005Y00UW0650@mmp2.samsung.com>; Thu, 29 Aug 2013 14:06:42 +0900 (KST) From: Rahul Sharma To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: mturquette@linaro.org, kgene.kim@samsung.com, inki.dae@samsung.com, s.nawrocki@samsung.com, thomas.abraham@linaro.org, tomasz.figa@gmail.com, joshi@samsung.com, r.sh.open@gmail.com, Andrew Bresticker , Rahul Sharma Subject: [PATCH 3/6] ARM: dts: add i2c device nodes for Exynos5420 Date: Thu, 29 Aug 2013 10:58:27 +0530 Message-id: <1377754110-31084-3-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1377754110-31084-1-git-send-email-rahul.sharma@samsung.com> References: <1377754110-31084-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMIsWRmVeSWpSXmKPExsWyRsSkTvfxNbkgg7m/uSxWvv/LaDHp/gQW i++7vrBb9C64ymax6fE1VosZ5/cxWTydcJHNYuGLeIspiw6zWhx+085qcWzGEkaLVbv+MDrw eMxuuMjisXPWXXaPO9f2sHlsXlLv0bdlFaPH501yAWxRXDYpqTmZZalF+nYJXBnb525lL/gh UHF22y/2BsZ5vF2MnBwSAiYSv3f8YYKwxSQu3FvP1sXIxSEksJRR4vihb4wwRV9uXIZKTGeU uHqylwXCmc0ksf/KOxaQKjYBXYnZB5+BdYgIeEtMPvOXHaSIWWAKk8Ste91gRcICThLrbm9h BrFZBFQl/h09wg5i8wp4SJxvm8AGsU5RovsZiM3BwSngKXGn3RAkLARUsnT+RGaQmRICx9gl Zhz4xQQxR0Di2+RDLCD1EgKy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JpCeWpGanphakFsFsYeLglGpg3CbixyP1tcUlYoqmf1/X 04rkVjW+k6kVir/d1I1ZTzZo3lJ6458sc5N/edLEmUGzvt50zC3S3343Z93VVxms/jnLlps0 fk7ev1uRa/Kac8tnH59Vf1lu84rVk5nvaKV533lRorbhTj73wZhnE78uLlMrT2ecKlTcV6wn dlfqXbjzHYcdE/2qlViKMxINtZiLihMBLMHMgQMDAAA= 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.4 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"; + }; };