diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-12-04 10:51:38 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-12-07 20:00:53 -0500 |
commit | 23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (patch) | |
tree | b6043584f5ba3c71a932f61fde2811720589de41 /arch/arm/boot/dts/kirkwood-nsa310a.dts | |
parent | 46ca506c43d64e11257a0a113701e9bcccf52416 (diff) |
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-nsa310a.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-nsa310a.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/kirkwood-nsa310a.dts b/arch/arm/boot/dts/kirkwood-nsa310a.dts index ab0212b0e6f5..874df7d26c7c 100644 --- a/arch/arm/boot/dts/kirkwood-nsa310a.dts +++ b/arch/arm/boot/dts/kirkwood-nsa310a.dts | |||
@@ -107,17 +107,17 @@ | |||
107 | 107 | ||
108 | button@1 { | 108 | button@1 { |
109 | label = "Power Button"; | 109 | label = "Power Button"; |
110 | linux,code = <116>; | 110 | linux,code = <KEY_POWER>; |
111 | gpios = <&gpio1 14 0>; | 111 | gpios = <&gpio1 14 0>; |
112 | }; | 112 | }; |
113 | button@2 { | 113 | button@2 { |
114 | label = "Copy Button"; | 114 | label = "Copy Button"; |
115 | linux,code = <133>; | 115 | linux,code = <KEY_COPY>; |
116 | gpios = <&gpio1 5 1>; | 116 | gpios = <&gpio1 5 1>; |
117 | }; | 117 | }; |
118 | button@3 { | 118 | button@3 { |
119 | label = "Reset Button"; | 119 | label = "Reset Button"; |
120 | linux,code = <0x198>; | 120 | linux,code = <KEY_RESTART>; |
121 | gpios = <&gpio1 4 1>; | 121 | gpios = <&gpio1 4 1>; |
122 | }; | 122 | }; |
123 | }; | 123 | }; |