summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-iconnect.dts
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2012-08-06 00:39:12 +0400
committerJason Cooper <jason@lakedaemon.net>2012-09-22 18:38:52 +0400
commit17ba0226b9e88cf6ee506986befadfab70ebc6c8 (patch)
tree9c41935160a4a9e8a5849198ab50ea9f32b8e4ad /arch/arm/boot/dts/kirkwood-iconnect.dts
parent55d512e245bc7699a8800e23df1a24195dd08217 (diff)
downloadlinux-17ba0226b9e88cf6ee506986befadfab70ebc6c8.tar.xz
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/dts/kirkwood-iconnect.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-iconnect.dts18
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 @@
gpios = <&gpio1 16 0>;
};
};
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button@1 {
+ label = "OTB Button";
+ linux,code = <133>;
+ gpios = <&gpio1 3 1>;
+ debounce-interval = <100>;
+ };
+ button@2 {
+ label = "Reset";
+ linux,code = <0x198>;
+ gpios = <&gpio0 12 1>;
+ debounce-interval = <100>;
+ };
+ };
};