From patchwork Tue Oct 30 10:41:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 1669751 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id A422ADF264 for ; Tue, 30 Oct 2012 10:35:09 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TT97f-0006Gs-BB; Tue, 30 Oct 2012 10:32:39 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TT97F-00062O-TX for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2012 10:32:15 +0000 Received: by mail-pa0-f49.google.com with SMTP id bi5so68874pad.36 for ; Tue, 30 Oct 2012 03:32:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=bUdPrhvbiV/FL6hHUQ78kSJ9YEvbfdJBV8Ay08cE2JQ=; b=NZ5E4J3C3bcpYQMNIjPaVwKuRBgSQsppN4wGqOUZALmwg7n5pMSaG1EK9l3OwSRA6E km07onLEI/Vw0FVKxuCYyObDVL3qzos3CTpADEljAkrRWM4kCcMS8vILG8RRg5+GfDKJ 2/Kc+YxjabwpsZAj7L549n4SPHNepp571ueaeh9jtqppwJ5oOw2Cn9pUohMFU4NMXlV0 XP4gVHWTQeGqxCQNsM6Q8qACE5zT/JF3lR+wRy9yBnrec3dHKOJ8bpj/gcM13ZaWF9VC SVIkpBjg6RnI2LWB1W/+AoR/3/t8UFImxCHyNExTp+dsyjY9YMr7IatWPjrAQ89E6E3H ZI9Q== Received: by 10.66.83.9 with SMTP id m9mr91085290pay.22.1351593132518; Tue, 30 Oct 2012 03:32:12 -0700 (PDT) Received: from chimagu (y104036.dynamic.ppp.asahi-net.or.jp. [118.243.104.36]) by mx.google.com with ESMTPS id k9sm200802paz.22.2012.10.30.03.32.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 03:32:11 -0700 (PDT) Received: from iwamatsu by chimagu with local (Exim 4.80) (envelope-from ) id 1TT9GA-00057n-MA; Tue, 30 Oct 2012 19:41:26 +0900 From: Nobuhiro Iwamatsu To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] ARM: mvebu: Add support I2C controller Date: Tue, 30 Oct 2012 19:41:23 +0900 Message-Id: <1351593685-19663-1-git-send-email-iwamatsu@nigauri.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQnFutAnUllRHiqfDzi9SAYeDKpTx1cNIc0hd4SQP3MM2XQHDGlo/8oU0Lw5V8GAUW3ce7S3 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: thomas.petazzoni@free-electrons.com, gregory.clement@free-electrons.com, Nobuhiro Iwamatsu X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The mvebu arch has the same I2C controller as mv64xxx-i2c. This support mv64xxx-i2c on mvebu. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/boot/dts/armada-370-xp.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi index d0ea4a6..5da85c2 100644 --- a/arch/arm/boot/dts/armada-370-xp.dtsi +++ b/arch/arm/boot/dts/armada-370-xp.dtsi @@ -83,6 +83,29 @@ interrupts = <10>; status = "disabled"; }; + + + i2c0: i2c@d0011000 { + compatible = "marvell,mv64xxx-i2c"; + reg = <0xd0011000 0x20>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <31>; + timeout-ms = <1000>; + clocks = <&coreclk 0>; + status = "disabled"; + }; + + i2c1: i2c@d0011100 { + compatible = "marvell,mv64xxx-i2c"; + reg = <0xd0011100 0x20>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <32>; + timeout-ms = <1000>; + clocks = <&coreclk 0>; + status = "disabled"; + }; }; };