From patchwork Tue Sep 9 14:54:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 4871001 Return-Path: X-Original-To: patchwork-linux-sh@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 A8DEDC0338 for ; Tue, 9 Sep 2014 14:58:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A63E20176 for ; Tue, 9 Sep 2014 14:58:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E9452200F4 for ; Tue, 9 Sep 2014 14:58:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932587AbaIIOyb (ORCPT ); Tue, 9 Sep 2014 10:54:31 -0400 Received: from sauhun.de ([89.238.76.85]:34784 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932531AbaIIOy1 (ORCPT ); Tue, 9 Sep 2014 10:54:27 -0400 Received: from p4fe24daa.dip0.t-ipconnect.de ([79.226.77.170]:40153 helo=localhost) by pokefinder.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XRMoL-0000pM-Ut; Tue, 09 Sep 2014 16:54:26 +0200 From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jean Delvare , Magnus Damm Subject: [RFC 4/4] ARM: shmobile: r8a7790: adapt DTS for I2C slave support Date: Tue, 9 Sep 2014 16:54:30 +0200 Message-Id: <1410274470-12712-5-git-send-email-wsa@the-dreams.de> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1410274470-12712-1-git-send-email-wsa@the-dreams.de> References: <1410274470-12712-1-git-send-email-wsa@the-dreams.de> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@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=ham 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: Wolfram Sang Not for upstream! Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r8a7790-lager.dts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 856b4236b674..12aa2f21e6fa 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -205,9 +205,9 @@ renesas,function = "msiof1"; }; - iic1_pins: iic1 { - renesas,groups = "iic1"; - renesas,function = "iic1"; + i2c1_pins: i2c1 { + renesas,groups = "i2c1"; + renesas,function = "i2c1"; }; iic2_pins: iic2 { @@ -356,10 +356,15 @@ status = "ok"; }; -&iic1 { +&i2c1 { status = "ok"; - pinctrl-0 = <&iic1_pins>; + pinctrl-0 = <&i2c1_pins>; pinctrl-names = "default"; + + eeprom@64 { + compatible = "slave-24c02"; + reg = <0x64>; + }; }; &iic2 {