From patchwork Sat Feb 4 01:13:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 139508 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id CF7FD104797 for ; Sat, 4 Feb 2012 12:14:28 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756271Ab2BDBO1 (ORCPT ); Fri, 3 Feb 2012 20:14:27 -0500 Received: from mail-ey0-f202.google.com ([209.85.215.202]:48513 "EHLO mail-ey0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753467Ab2BDBOX (ORCPT ); Fri, 3 Feb 2012 20:14:23 -0500 Received: by eaag13 with SMTP id g13so17649eaa.1 for ; Fri, 03 Feb 2012 17:14:22 -0800 (PST) Received: by 10.213.10.131 with SMTP id p3mr717476ebp.4.1328318062416; Fri, 03 Feb 2012 17:14:22 -0800 (PST) Received: by 10.213.10.131 with SMTP id p3mr717455ebp.4.1328318062135; Fri, 03 Feb 2012 17:14:22 -0800 (PST) Received: from hpza9.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id p15si5318224eep.3.2012.02.03.17.14.22 (version=TLSv1/SSLv3 cipher=AES128-SHA); Fri, 03 Feb 2012 17:14:22 -0800 (PST) Received: from sglass.mtv.corp.google.com (sglass.mtv.corp.google.com [172.22.72.144]) by hpza9.eem.corp.google.com (Postfix) with ESMTP id EA0FE5C0050; Fri, 3 Feb 2012 17:14:21 -0800 (PST) Received: by sglass.mtv.corp.google.com (Postfix, from userid 121222) id 52FCB1414C7; Fri, 3 Feb 2012 17:14:21 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Warren , Stephen Warren , linux-tegra@vger.kernel.org, Simon Glass , Heiko Schocher Subject: [PATCH v3 7/9] tegra: i2c: Select I2C ordering for Seaboard Date: Fri, 3 Feb 2012 17:13:58 -0800 Message-Id: <1328318041-10943-8-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1328318041-10943-1-git-send-email-sjg@chromium.org> References: <1328318041-10943-1-git-send-email-sjg@chromium.org> Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Select the port ordering for I2C on Seaboard. Signed-off-by: Simon Glass Acked-by: Heiko Schocher --- Changes in v2: - Disable port 2 as it is not used Changes in v3: - Move speed setting from tegra20.dtsi to board .dts file board/nvidia/dts/tegra2-seaboard.dts | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/board/nvidia/dts/tegra2-seaboard.dts b/board/nvidia/dts/tegra2-seaboard.dts index f00341f..95fb561 100644 --- a/board/nvidia/dts/tegra2-seaboard.dts +++ b/board/nvidia/dts/tegra2-seaboard.dts @@ -15,6 +15,11 @@ /* This defines the order of our USB ports */ usb0 = "/usb@c5008000"; usb1 = "/usb@c5000000"; + + i2c0 = "/i2c@7000d000"; + i2c1 = "/i2c@7000c000"; + i2c2 = "/i2c@7000c400"; + i2c3 = "/i2c@7000c500"; }; memory { @@ -44,4 +49,20 @@ usb@c5004000 { status = "disabled"; }; + + i2c@7000c000 { + clock-frequency = <100000>; + }; + + i2c@7000c400 { + status = "disabled"; + }; + + i2c@7000c500 { + clock-frequency = <100000>; + }; + + i2c@7000d000 { + clock-frequency = <100000>; + }; };