# Re: \[PATCH 1/4\] arm/dts: omap5-evm: Add I2C support

- From: Sergei Shtylyov \<hidden\>
- Date: 2012-08-03 17:23:58 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2012/08/3902785
- Thread: https://ratatoskr.run/linux-omap/2012/08/3902600/t.md

```text
Hello.

On 08/03/2012 04:38 PM, Sourav Poddar wrote:

> Add I2C data node in omap5 device tree file.

> Tested on omap5430 sdp.

> Cc: Benoit Cousson <redacted>
> Cc: Felipe Balbi <redacted>
> Cc: Santosh Shilimkar <redacted>
> Acked-by: Felipe Balbi <redacted>
> Signed-off-by: Sourav Poddar <redacted>
> ---
>  arch/arm/boot/dts/omap5.dtsi |   35 +++++++++++++++++++++++++++++++++++
>  1 files changed, 35 insertions(+), 0 deletions(-)

> diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
> index 57e5270..6b68dfe 100644
> --- a/arch/arm/boot/dts/omap5.dtsi
> +++ b/arch/arm/boot/dts/omap5.dtsi
> @@ -145,6 +145,41 @@
>  			#interrupt-cells = <1>;
>  		};
>  
> +		i2c1: i2c@48070000 {
> +			compatible = "ti,omap4-i2c";
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			ti,hwmods = "i2c1";

   Address postfix in the node name and no "reg" property?

WBR, Sergei
```
