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>
diff --git a/arch/arm/boot/dts/kirkwood-ts219-6282.dts b/arch/arm/boot/dts/kirkwood-ts219-6282.dts
index 345562f..6976afb 100644
--- a/arch/arm/boot/dts/kirkwood-ts219-6282.dts
+++ b/arch/arm/boot/dts/kirkwood-ts219-6282.dts
@@ -51,12 +51,12 @@
button@1 {
label = "USB Copy";
- linux,code = <133>;
+ linux,code = <KEY_COPY>;
gpios = <&gpio1 11 1>;
};
button@2 {
label = "Reset";
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
gpios = <&gpio1 5 1>;
};
};