diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2014-09-13 18:33:20 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-09-13 18:33:20 +0200 |
commit | 132fd5be706f3d91a3589f493e1ec3ec85adba6c (patch) | |
tree | 726598f8e00c056366d66abe5f50f1ef17cc36c2 /arch/arm/boot/dts/exynos5800-peach-pi.dts | |
parent | ARM: dts: Add support Atmel touchpad for exynos5420-peach-pit (diff) | |
download | linux-132fd5be706f3d91a3589f493e1ec3ec85adba6c.tar.xz linux-132fd5be706f3d91a3589f493e1ec3ec85adba6c.zip |
ARM: dts: Add support Atmel touchpad for exynos5800-peach-pi
The Peach Pi board has an Atmel maXTouch trackpad device.
Add the needed Device Tree nodes to support it.
This Device Tree change is based on the Chrome OS 3.8 tree
but adapted to use the mainline Atmel maXTouch DT binding.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5800-peach-pi.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5800-peach-pi.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 88b354452d2f..025a09577414 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -505,6 +505,27 @@ }; }; +&hsi2c_8 { + status = "okay"; + clock-frequency = <333000>; + /* Atmel mXT540S */ + trackpad@4b { + compatible = "atmel,maxtouch"; + reg = <0x4b>; + interrupt-parent = <&gpx1>; + interrupts = <1 IRQ_TYPE_EDGE_FALLING>; + wakeup-source; + pinctrl-names = "default"; + pinctrl-0 = <&trackpad_irq>; + linux,gpio-keymap = <KEY_RESERVED + KEY_RESERVED + KEY_RESERVED /* GPIO 0 */ + KEY_RESERVED /* GPIO 1 */ + BTN_LEFT /* GPIO 2 */ + KEY_RESERVED>; /* GPIO 3 */ + }; +}; + &hsi2c_9 { status = "okay"; clock-frequency = <400000>; @@ -589,6 +610,13 @@ samsung,pin-drv = <0>; }; + trackpad_irq: trackpad-irq { + samsung,pins = "gpx1-1"; + samsung,pin-function = <0xf>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + power_key_irq: power-key-irq { samsung,pins = "gpx1-2"; samsung,pin-function = <0>; |