From patchwork Sun Jul 7 21:31:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Emilio_L=C3=B3pez?= X-Patchwork-Id: 2824645 Return-Path: X-Original-To: patchwork-linux-arm@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 66B689F9DE for ; Sun, 7 Jul 2013 21:36:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6639C20122 for ; Sun, 7 Jul 2013 21:36:18 +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 48E5B200D7 for ; Sun, 7 Jul 2013 21:36:16 +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 1UvwbJ-0001WZ-6t; Sun, 07 Jul 2013 21:34:34 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uvwb0-0004Jk-AJ; Sun, 07 Jul 2013 21:34:14 +0000 Received: from [2606:3f00:60:21c:d00d:c0de:4:f00d] (helo=zetta.elopez.com.ar) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uvwar-0004Gs-Ed for linux-arm-kernel@lists.infradead.org; Sun, 07 Jul 2013 21:34:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=elopez.com.ar; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=UWjzokNkSg6M9/YJiQghigRYSTzxcnqL5oAMj6vdNA4=; b=UCzT/9LTxK98SKUiPB8Cpm4hkXuZpH2J1PKBWk0TmUROH1LCMD/ZjbiGcfe8Jw1eb2la2MUaEFm6osX8bxq6irfWhhezcRxRtjnrTEdsIb9PZVPpqNRQpvvdvE4HQ1fZKr3Sk8/jg+6Pf45jMwjb1tetyjP7ijsbQrr2XjmESwJCO5X5uLv0vD2MQhKsYhZzpR3Ce8iniUlqJ/lrw+xc2ucCQWCGuCZ992UthMks2pX9m5K8rCtXldF+oAGd8qajOte/IETpNKzd5uy4PqBIoE/79eg2WSk/FuJT24NcMYUCVQT4CdYeJgh8CYfq5q6H7UKDpj6+TkEGNmiazLu+4A==; Received: from 201-212-111-161.prima.net.ar ([201.212.111.161] helo=desktop.lan) by zetta.elopez.com.ar with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) id 1UvwaV-0002uq-TI; Sun, 07 Jul 2013 18:33:45 -0300 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: Maxime Ripard Subject: [PATCH 3/4] ARM: sun5i: dt: Enable I2C controllers on A10S-OLinuXino-Micro Date: Sun, 7 Jul 2013 18:31:58 -0300 Message-Id: <1373232719-13050-4-git-send-email-emilio@elopez.com.ar> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1373232719-13050-1-git-send-email-emilio@elopez.com.ar> References: <1373232719-13050-1-git-send-email-emilio@elopez.com.ar> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130707_173405_680064_92C1B085 X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) Cc: =?UTF-8?q?Emilio=20L=C3=B3pez?= , 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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 This board from OLIMEX is using the three I2C controllers present on A10S: * I2C-0 connects to the AXP152 PMU * I2C-1 holds an AT24C16BN-SH EEPROM with the MAC address for ethernet * I2C-2 is used for UEXT modules. Signed-off-by: Emilio López --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts index 64dc0c4..2a69ddf 100644 --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts @@ -60,6 +60,24 @@ pinctrl-0 = <&uart3_pins_a>; status = "okay"; }; + + i2c0: i2c@01c2ac00 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins_a>; + status = "okay"; + }; + + i2c1: i2c@01c2b000 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins_a>; + status = "okay"; + }; + + i2c2: i2c@01c2b400 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins_a>; + status = "okay"; + }; }; leds {