From 77ccfedebc3099a2c0214951ae8534121d4d21fa Mon Sep 17 00:00:00 2001 From: AnilKumar Ch Date: Tue, 6 Nov 2012 19:18:32 +0530 Subject: [PATCH] --- yaml --- r: 339904 b: refs/heads/master c: 822c99367ead1e2fa2ba03d42d10aa7c5a84190b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/boot/dts/am335x-evm.dts | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a3a20dfb887b..bcfdfd760584 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 404aa0d71ddd82189ef3680d6c41f127dc89d29f +refs/heads/master: 822c99367ead1e2fa2ba03d42d10aa7c5a84190b diff --git a/trunk/arch/arm/boot/dts/am335x-evm.dts b/trunk/arch/arm/boot/dts/am335x-evm.dts index e087b8751e0c..9f65f17ebdf8 100644 --- a/trunk/arch/arm/boot/dts/am335x-evm.dts +++ b/trunk/arch/arm/boot/dts/am335x-evm.dts @@ -137,6 +137,27 @@ 0x0101001c /* ENTER */ 0x0201006c>; /* DOWN */ }; + + gpio_keys: volume_keys@0 { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + autorepeat; + + switch@9 { + label = "volume-up"; + linux,code = <115>; + gpios = <&gpio1 2 1>; + gpio-key,wakeup; + }; + + switch@10 { + label = "volume-down"; + linux,code = <114>; + gpios = <&gpio1 3 1>; + gpio-key,wakeup; + }; + }; }; /include/ "tps65910.dtsi"