diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-02-04 12:43:10 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-03-01 22:34:21 +0800 |
commit | 2ea332dedc59b98239fffcf738035c73fc8bdbde (patch) | |
tree | bc7f687b1ac69a172ace5d57441ad88ab4e0530d /arch | |
parent | 8a087b0c15d976a71cafbb12aeac77e304c84db5 (diff) | |
download | op-kernel-dev-2ea332dedc59b98239fffcf738035c73fc8bdbde.zip op-kernel-dev-2ea332dedc59b98239fffcf738035c73fc8bdbde.tar.gz |
ARM: at91: usb_a9g20/dt: add gpio-keys support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/usb_a9g20.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/usb_a9g20.dts b/arch/arm/boot/dts/usb_a9g20.dts index 6ad4d84..d74545a 100644 --- a/arch/arm/boot/dts/usb_a9g20.dts +++ b/arch/arm/boot/dts/usb_a9g20.dts @@ -42,4 +42,17 @@ linux,default-trigger = "heartbeat"; }; }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + user_pb { + label = "user_pb"; + gpios = <&pioB 10 1>; + linux,code = <28>; + gpio-key,wakeup; + }; + }; }; |