diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2013-08-12 21:51:45 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:43:58 +0900 |
commit | 2a63a8442edbe33d10889811cab219462f0b18fa (patch) | |
tree | 6933fe83993e528052c60eadc69869511f43c1c9 /arch | |
parent | 30d6a30483c623b821bd0e1b69b8a77b3cfd3083 (diff) | |
download | linux-3.10-2a63a8442edbe33d10889811cab219462f0b18fa.tar.gz linux-3.10-2a63a8442edbe33d10889811cab219462f0b18fa.tar.bz2 linux-3.10-2a63a8442edbe33d10889811cab219462f0b18fa.zip |
TRATS2: dts: exynos4412-m0.dts: Add mcs-touchkey node
Support melfas 2 touchkey device for TRATS2 board
Adds also the binding documentation file
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-m0.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-m0.dts b/arch/arm/boot/dts/exynos4412-m0.dts index 3a43790ad1b..fbefee62c68 100644 --- a/arch/arm/boot/dts/exynos4412-m0.dts +++ b/arch/arm/boot/dts/exynos4412-m0.dts @@ -71,6 +71,25 @@ }; }; + i2c_touch_key: i2c-gpio-3 { + compatible = "i2c-gpio"; + gpios = <&gpl0 2 0>, <&gpl0 1 0>; + i2c-gpio,delay-us = <2>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + touch_key@20 { + compatible = "mcs5080_touchkey"; + reg = <0x20>; + interrupt-parent = <&gpj0>; + interrupts = <3 0>; + key_maxval = <2>; + linux,code = <0x0000009e /* KEY_BACK */ + 0x000000a9>; /* KEY_MENU */ + }; + }; + camera { status = "okay"; |