diff options
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | 2012-08-05 16:39:12 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-09-22 10:38:52 -0400 |
commit | 17ba0226b9e88cf6ee506986befadfab70ebc6c8 (patch) | |
tree | 9c41935160a4a9e8a5849198ab50ea9f32b8e4ad /arch/arm/boot | |
parent | 55d512e245bc7699a8800e23df1a24195dd08217 (diff) |
ARM: Kirkwood: Describe iconnect keys in DT.
Define the 2 keys found on iconnect in DT. It's also changing the keycodes/
switches to use better ones.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-iconnect.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-iconnect.dts b/arch/arm/boot/dts/kirkwood-iconnect.dts index f8ca6fa88192..3a5219cad9fe 100644 --- a/arch/arm/boot/dts/kirkwood-iconnect.dts +++ b/arch/arm/boot/dts/kirkwood-iconnect.dts | |||
@@ -69,4 +69,22 @@ | |||
69 | gpios = <&gpio1 16 0>; | 69 | gpios = <&gpio1 16 0>; |
70 | }; | 70 | }; |
71 | }; | 71 | }; |
72 | |||
73 | gpio_keys { | ||
74 | compatible = "gpio-keys"; | ||
75 | #address-cells = <1>; | ||
76 | #size-cells = <0>; | ||
77 | button@1 { | ||
78 | label = "OTB Button"; | ||
79 | linux,code = <133>; | ||
80 | gpios = <&gpio1 3 1>; | ||
81 | debounce-interval = <100>; | ||
82 | }; | ||
83 | button@2 { | ||
84 | label = "Reset"; | ||
85 | linux,code = <0x198>; | ||
86 | gpios = <&gpio0 12 1>; | ||
87 | debounce-interval = <100>; | ||
88 | }; | ||
89 | }; | ||
72 | }; | 90 | }; |