diff options
author | Sebastian Reichel <sre@kernel.org> | 2016-03-13 01:06:18 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-04-12 14:32:02 -0700 |
commit | 8d1ddfce060202cca5a8a7f6c971e41c567edc14 (patch) | |
tree | e17c5d48a3c9b53862378b3bff41043a18195818 | |
parent | d5b0eab7ffaeccc286f791fab252293dc2e8bb90 (diff) | |
download | blackbird-op-linux-8d1ddfce060202cca5a8a7f6c971e41c567edc14.tar.gz blackbird-op-linux-8d1ddfce060202cca5a8a7f6c971e41c567edc14.zip |
ARM: dts: OMAP3-N950: Add Keypad Slide Switch
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/omap3-n950.dts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n950.dts b/arch/arm/boot/dts/omap3-n950.dts index b6cea8c2d78f..67041305a0f1 100644 --- a/arch/arm/boot/dts/omap3-n950.dts +++ b/arch/arm/boot/dts/omap3-n950.dts @@ -16,6 +16,28 @@ / { model = "Nokia N950"; compatible = "nokia,omap3-n950", "ti,omap36xx", "ti,omap3"; + + keys { + compatible = "gpio-keys"; + + keypad_slide { + label = "Keypad Slide"; + gpios = <&gpio4 13 GPIO_ACTIVE_LOW>; /* 109 */ + linux,input-type = <EV_SW>; + linux,code = <SW_KEYPAD_SLIDE>; + wakeup-source; + pinctrl-names = "default"; + pinctrl-0 = <&keypad_slide_pins>; + }; + }; +}; + +&omap3_pmx_core { + keypad_slide_pins: pinmux_debug_led_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x212a, PIN_INPUT | MUX_MODE4) /* cam_d10.gpio_109 */ + >; + }; }; &omap3_pmx_core { |