From ce7c162657975e1a857dddc7704d8923a8ca53f6 Mon Sep 17 00:00:00 2001 From: Doug Anderson Date: Mon, 17 Oct 2011 17:56:54 -0700 Subject: CHROMIUM: tegra3: i2c: Add i2c support for all but i2c4 BUG=chromium-os:21540 TEST=With future config change, saw that I could run i2c probe on busses 0-3 Change-Id: Ibfad91a3e7360434111c7aa6d2ea45f73e9690fc Signed-off-by: Doug Anderson Reviewed-on: http://gerrit.chromium.org/gerrit/10366 Reviewed-by: Simon Glass --- board/nvidia/cardhu/tegra3-waluigi.dts | 5 +++++ board/nvidia/cardhu/tegra30.dtsi | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) (limited to 'board/nvidia') diff --git a/board/nvidia/cardhu/tegra3-waluigi.dts b/board/nvidia/cardhu/tegra3-waluigi.dts index b0061ee4c28..20e3e833fa2 100644 --- a/board/nvidia/cardhu/tegra3-waluigi.dts +++ b/board/nvidia/cardhu/tegra3-waluigi.dts @@ -16,6 +16,11 @@ aliases { console = "/serial@70006300"; + + i2c0 = "/i2c@0x7000d000"; + i2c1 = "/i2c@0x7000c000"; + i2c2 = "/i2c@0x7000c400"; + i2c3 = "/i2c@0x7000c500"; }; chosen { diff --git a/board/nvidia/cardhu/tegra30.dtsi b/board/nvidia/cardhu/tegra30.dtsi index 79a3ba01c08..9e663107f74 100644 --- a/board/nvidia/cardhu/tegra30.dtsi +++ b/board/nvidia/cardhu/tegra30.dtsi @@ -73,5 +73,36 @@ status = "disabled"; }; + i2c@0x7000c000 { + compatible = "nvidia,tegra250-i2c"; + reg = <0x7000c000 0x006c>; + pinmux = <1>; + speed = <100000>; + periph-id = <12>; // PERIPH_ID_I2C1 + }; + + i2c@0x7000c400 { + compatible = "nvidia,tegra250-i2c"; + reg = <0x7000c400 0x006c>; + pinmux = <2>; + speed = <100000>; + periph-id = <54>; // PERIPH_ID_I2C2 + }; + + i2c@0x7000c500 { + compatible = "nvidia,tegra250-i2c"; + reg = <0x7000c500 0x006c>; + pinmux = <1>; + speed = <100000>; + periph-id = <67>; // PERIPH_ID_I2C3 + }; + + i2c@0x7000d000 { + compatible = "nvidia,tegra250-i2c"; + reg = <0x7000d000 0x007c>; + pinmux = <1>; + speed = <100000>; + periph-id = <47>; // PERIPH_ID_DVC_I2C + }; }; -- cgit v1.2.3