From c7d0effa49e05df0881469a72cb381ac5e009e92 Mon Sep 17 00:00:00 2001 From: Vaibhav Hiremath Date: Mon, 2 Jul 2012 01:26:44 -0700 Subject: [PATCH] arm/dts: omap3-evm: Add i2c and twl4030 support Add support for TWL4030, which is interfaced on i2c1 bus. Also add clock frequencies for other i2c instances (2 & 3) required for client-device exist on OMAP3EVM board. Signed-off-by: Vaibhav Hiremath Signed-off-by: Benoit Cousson Cc: Grant Likely Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap3-evm.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/omap3-evm.dts b/arch/arm/boot/dts/omap3-evm.dts index 2eee16ec59b4..f349ee9182ce 100644 --- a/arch/arm/boot/dts/omap3-evm.dts +++ b/arch/arm/boot/dts/omap3-evm.dts @@ -18,3 +18,31 @@ reg = <0x80000000 0x10000000>; /* 256 MB */ }; }; + +&i2c1 { + clock-frequency = <2600000>; + + twl: twl@48 { + reg = <0x48>; + interrupts = <7>; /* SYS_NIRQ cascaded to intc */ + interrupt-parent = <&intc>; + }; +}; + +/include/ "twl4030.dtsi" + +&i2c2 { + clock-frequency = <400000>; +}; + +&i2c3 { + clock-frequency = <400000>; + + /* + * TVP5146 Video decoder-in for analog input support. + */ + tvp5146@5c { + compatible = "ti,tvp5146m2"; + reg = <0x5c>; + }; +};