diff options
author | AnilKumar Ch <anilkumar@ti.com> | 2012-11-06 08:48:32 -0500 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-11-06 09:45:49 -0500 |
commit | 822c99367ead1e2fa2ba03d42d10aa7c5a84190b (patch) | |
tree | 5af47e25d053fadd425417fdd9e8e9ced96e1185 | |
parent | 404aa0d71ddd82189ef3680d6c41f127dc89d29f (diff) |
ARM: dts: AM33XX: Add volume-keys device tree data to am335x-evm
Add gpio based volume keys device tree data to am335x-evm by adding
all the required parameters like keycode, gpios and etc.
Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index e087b8751e0c..9f65f17ebdf8 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -137,6 +137,27 @@ | |||
137 | 0x0101001c /* ENTER */ | 137 | 0x0101001c /* ENTER */ |
138 | 0x0201006c>; /* DOWN */ | 138 | 0x0201006c>; /* DOWN */ |
139 | }; | 139 | }; |
140 | |||
141 | gpio_keys: volume_keys@0 { | ||
142 | compatible = "gpio-keys"; | ||
143 | #address-cells = <1>; | ||
144 | #size-cells = <0>; | ||
145 | autorepeat; | ||
146 | |||
147 | switch@9 { | ||
148 | label = "volume-up"; | ||
149 | linux,code = <115>; | ||
150 | gpios = <&gpio1 2 1>; | ||
151 | gpio-key,wakeup; | ||
152 | }; | ||
153 | |||
154 | switch@10 { | ||
155 | label = "volume-down"; | ||
156 | linux,code = <114>; | ||
157 | gpios = <&gpio1 3 1>; | ||
158 | gpio-key,wakeup; | ||
159 | }; | ||
160 | }; | ||
140 | }; | 161 | }; |
141 | 162 | ||
142 | /include/ "tps65910.dtsi" | 163 | /include/ "tps65910.dtsi" |