summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-dnskw.dtsi
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2013-12-04 16:51:38 +0100
committerJason Cooper <jason@lakedaemon.net>2013-12-08 02:00:53 +0100
commit23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (patch)
treeb6043584f5ba3c71a932f61fde2811720589de41 /arch/arm/boot/dts/kirkwood-dnskw.dtsi
parentARM: kirkwood: Add support for NETGEAR ReadyNAS NV+ v2 (diff)
downloadlinux-23301190d2a9a8c41a3d9f626791fa7a65f8ccfa.tar.xz
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-dnskw.dtsi')
-rw-r--r--arch/arm/boot/dts/kirkwood-dnskw.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/kirkwood-dnskw.dtsi b/arch/arm/boot/dts/kirkwood-dnskw.dtsi
index aefa375a550d..1d680d11f629 100644
--- a/arch/arm/boot/dts/kirkwood-dnskw.dtsi
+++ b/arch/arm/boot/dts/kirkwood-dnskw.dtsi
@@ -15,17 +15,17 @@
button@1 {
label = "Power button";
- linux,code = <116>;
+ linux,code = <KEY_POWER>;
gpios = <&gpio1 2 1>;
};
button@2 {
label = "USB unmount button";
- linux,code = <161>;
+ linux,code = <KEY_EJECTCD>;
gpios = <&gpio1 15 1>;
};
button@3 {
label = "Reset button";
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
gpios = <&gpio1 16 1>;
};
};