ARM: dts: at91: change the key code of the gpio key
[linux-2.6-microblaze.git] / arch / arm / boot / dts / at91-sama5d27_wlsom1_ek.dts
index 180a087..ff83967 100644 (file)
@@ -8,6 +8,7 @@
  */
 /dts-v1/;
 #include "at91-sama5d27_wlsom1.dtsi"
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Microchip SAMA5D27 WLSOM1 EK";
@@ -35,7 +36,7 @@
                sw4 {
                        label = "USER BUTTON";
                        gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
-                       linux,code = <0x104>;
+                       linux,code = <KEY_PROG1>;
                        wakeup-source;
                };
        };