From: Jacek Anaszewski Date: Tue, 2 Apr 2013 12:54:51 +0000 (+0200) Subject: ARM: dts: Add I2C bus and the device node for LPS331 sensor for PQ board X-Git-Tag: submit/tizen/20141121.110247~3679 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=806bc0fa7f65c7b5801da821026437bfe8a35fc9;p=platform%2Fkernel%2Flinux-3.10.git ARM: dts: Add I2C bus and the device node for LPS331 sensor for PQ board Signed-off-by: Jacek Anaszewski --- diff --git a/arch/arm/boot/dts/exynos4412-slp_pq.dts b/arch/arm/boot/dts/exynos4412-slp_pq.dts index 55fee8d0..d44c93c 100644 --- a/arch/arm/boot/dts/exynos4412-slp_pq.dts +++ b/arch/arm/boot/dts/exynos4412-slp_pq.dts @@ -155,6 +155,21 @@ }; }; + i2c-gpio-1 { + compatible = "i2c-gpio"; + gpios = <&gpy2 2 0>, <&gpy2 3 0>; + i2c-gpio,delay-us = <2>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + lps331ap@5D { + compatible = "lps331ap"; + reg = <0x5D>; + gpios = <&gpf0 5 0>; + }; + }; + i2c_0: i2c@13860000 { samsung,i2c-sda-delay = <100>; samsung,i2c-slave-addr = <0x10>;