diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-08-06 00:47:03 +0200 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-08-13 13:06:02 -0700 |
commit | c1faf0024c9c8b3b39fd41fd08308688e757cb85 (patch) | |
tree | c9d1b8a8513914386051aa2aa9eed7b8845e58bc /arch/arm/dts/tegra20-colibri.dts | |
parent | b2ea19b522410cf10f72dc6f4e5ded6379e373d5 (diff) | |
download | u-boot-imx-c1faf0024c9c8b3b39fd41fd08308688e757cb85.zip u-boot-imx-c1faf0024c9c8b3b39fd41fd08308688e757cb85.tar.gz u-boot-imx-c1faf0024c9c8b3b39fd41fd08308688e757cb85.tar.bz2 |
colibri_t20: add i2c support
Add I2C support in order to subsequently allow disabling the PMIC sleep
mode on low supply voltage.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/dts/tegra20-colibri.dts')
-rw-r--r-- | arch/arm/dts/tegra20-colibri.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/dts/tegra20-colibri.dts b/arch/arm/dts/tegra20-colibri.dts index bf14c6b..8eaac4f 100644 --- a/arch/arm/dts/tegra20-colibri.dts +++ b/arch/arm/dts/tegra20-colibri.dts @@ -11,6 +11,9 @@ }; aliases { + i2c0 = "/i2c@7000d000"; + i2c1 = "/i2c@7000c000"; + i2c2 = "/i2c@7000c400"; usb0 = "/usb@c5008000"; usb1 = "/usb@c5000000"; usb2 = "/usb@c5004000"; @@ -52,6 +55,31 @@ }; }; + /* + * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier + * board) + */ + i2c@7000c000 { + status = "okay"; + clock-frequency = <100000>; + }; + + /* GEN2_I2C: unused */ + + /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */ + i2c@7000c400 { + status = "okay"; + clock-frequency = <100000>; + }; + + /* + * PWR_I2C: power I2C to PMIC and temperature sensor + */ + i2c@7000d000 { + status = "okay"; + clock-frequency = <100000>; + }; + sdhci@c8000600 { status = "okay"; cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; |