diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-12-04 16:51:38 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-12-08 01:00:53 +0000 |
commit | 23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (patch) | |
tree | b6043584f5ba3c71a932f61fde2811720589de41 /arch/arm/boot/dts/kirkwood-iconnect.dts | |
parent | 46ca506c43d64e11257a0a113701e9bcccf52416 (diff) | |
download | talos-obmc-linux-23301190d2a9a8c41a3d9f626791fa7a65f8ccfa.tar.gz talos-obmc-linux-23301190d2a9a8c41a3d9f626791fa7a65f8ccfa.zip |
ARM: DT: Kirkwood: Use symbolic names from input.h
Replace the numeric key value with a symbolic name from
<bt-bindings/input/input.h>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
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.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/kirkwood-iconnect.dts b/arch/arm/boot/dts/kirkwood-iconnect.dts index 399fb0caf5ab..52ed7519f647 100644 --- a/arch/arm/boot/dts/kirkwood-iconnect.dts +++ b/arch/arm/boot/dts/kirkwood-iconnect.dts @@ -137,13 +137,13 @@ button@1 { label = "OTB Button"; - linux,code = <133>; + linux,code = <KEY_COPY>; gpios = <&gpio1 3 1>; debounce-interval = <100>; }; button@2 { label = "Reset"; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; gpios = <&gpio0 12 1>; debounce-interval = <100>; }; |