diff options
Diffstat (limited to 'arch/arm/boot/dts/usb_a9g20.dts')
-rw-r--r-- | arch/arm/boot/dts/usb_a9g20.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/usb_a9g20.dts b/arch/arm/boot/dts/usb_a9g20.dts index f04b535477f5..d74545a2a77c 100644 --- a/arch/arm/boot/dts/usb_a9g20.dts +++ b/arch/arm/boot/dts/usb_a9g20.dts | |||
@@ -32,4 +32,27 @@ | |||
32 | }; | 32 | }; |
33 | }; | 33 | }; |
34 | }; | 34 | }; |
35 | |||
36 | leds { | ||
37 | compatible = "gpio-leds"; | ||
38 | |||
39 | user_led { | ||
40 | label = "user_led"; | ||
41 | gpios = <&pioB 21 1>; | ||
42 | linux,default-trigger = "heartbeat"; | ||
43 | }; | ||
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 | }; | ||
35 | }; | 58 | }; |