diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2013-08-06 02:49:44 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-08-06 02:49:44 +0900 |
commit | 9f1eaef2fc861f375821da57dbec4987c5073b3a (patch) | |
tree | e89870d551842a35d99d961f1583c045b213c915 /arch/arm/boot/dts/exynos4412-trats2.dts | |
parent | 582435b339dc3175008ddf59db7d0c93e9f093d9 (diff) | |
download | lwn-9f1eaef2fc861f375821da57dbec4987c5073b3a.tar.gz lwn-9f1eaef2fc861f375821da57dbec4987c5073b3a.zip |
ARM: dts: Add AK8975 device node for Exynos4412 TRATS2 board
This patch adds AK8975 magnetometer node and corresponding
i2c-gpio bus node for TRATS2 board.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 056b8358ec36..cab4c0e74051 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -19,6 +19,10 @@ model = "Samsung Trats 2 based on Exynos4412"; compatible = "samsung,trats2", "samsung,exynos4412"; + aliases { + i2c8 = &i2c_ak8975; + }; + memory { reg = <0x40000000 0x40000000>; }; @@ -453,4 +457,19 @@ serial@13830000 { status = "okay"; }; + + i2c_ak8975: 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 = "ak,ak8975"; + reg = <0x0c>; + gpios = <&gpj0 7 0>; + }; + }; }; |