diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2013-03-29 12:09:10 +0100 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:42:56 +0900 |
commit | a59ad774a61c72e9b3e799ea901ae117d1450f2e (patch) | |
tree | 6e54402ffbabf1a98fc3e48daff6fe96d96e1534 /arch | |
parent | 1d4bb280d62ebd0e22b106389dccb133711fc4a4 (diff) | |
download | linux-3.10-a59ad774a61c72e9b3e799ea901ae117d1450f2e.tar.gz linux-3.10-a59ad774a61c72e9b3e799ea901ae117d1450f2e.tar.bz2 linux-3.10-a59ad774a61c72e9b3e799ea901ae117d1450f2e.zip |
ARM: dts: Add ak8975 device node for PQ/M0 board
This patch adds ak8975 magnetometer node and corresponding
i2c-gpio bus node for PQ/M0 board.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-slp_pq.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-slp_pq.dts b/arch/arm/boot/dts/exynos4412-slp_pq.dts index 9fb3fc4453e..55fee8d064f 100644 --- a/arch/arm/boot/dts/exynos4412-slp_pq.dts +++ b/arch/arm/boot/dts/exynos4412-slp_pq.dts @@ -139,6 +139,22 @@ }; }; + i2c-gpio-0 { + compatible = "i2c-gpio"; + gpios = <&gpy2 4 0>, <&gpy2 5 0>; + i2c-gpio,delay-us = <2>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + ak8975@0C { + compatible = "ak8975"; + reg = <0x0C>; + gpios = <&gpj0 7 0>; + position = <2>; + }; + }; + i2c_0: i2c@13860000 { samsung,i2c-sda-delay = <100>; samsung,i2c-slave-addr = <0x10>; |