diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-02-03 23:43:10 -0500 |
|---|---|---|
| committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-03-01 09:34:21 -0500 |
| commit | 2ea332dedc59b98239fffcf738035c73fc8bdbde (patch) | |
| tree | bc7f687b1ac69a172ace5d57441ad88ab4e0530d | |
| parent | 8a087b0c15d976a71cafbb12aeac77e304c84db5 (diff) | |
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>
| -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 6ad4d84f903a..d74545a2a77c 100644 --- a/arch/arm/boot/dts/usb_a9g20.dts +++ b/arch/arm/boot/dts/usb_a9g20.dts | |||
| @@ -42,4 +42,17 @@ | |||
| 42 | linux,default-trigger = "heartbeat"; | 42 | linux,default-trigger = "heartbeat"; |
| 43 | }; | 43 | }; |
| 44 | }; | 44 | }; |
| 45 | |||
| 46 | gpio_keys { | ||
| 47 | compatible = "gpio-keys"; | ||
| 48 | #address-cells = <1>; | ||
| 49 | #size-cells = <0>; | ||
| 50 | |||
| 51 | user_pb { | ||
| 52 | label = "user_pb"; | ||
| 53 | gpios = <&pioB 10 1>; | ||
| 54 | linux,code = <28>; | ||
| 55 | gpio-key,wakeup; | ||
| 56 | }; | ||
| 57 | }; | ||
| 45 | }; | 58 | }; |
