diff options
Diffstat (limited to 'target/linux/ramips/dts/MT7620a.dts')
-rw-r--r-- | target/linux/ramips/dts/MT7620a.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/MT7620a.dts b/target/linux/ramips/dts/MT7620a.dts index 7bf38976f6..8f1b6d9521 100644 --- a/target/linux/ramips/dts/MT7620a.dts +++ b/target/linux/ramips/dts/MT7620a.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc"; model = "Ralink MT7620a + MT7610e evaluation board"; @@ -15,13 +17,13 @@ s2 { label = "S2"; gpios = <&gpio0 1 1>; - linux,code = <0x100>; + linux,code = <BTN_0>; }; s3 { label = "S3"; gpios = <&gpio0 2 1>; - linux,code = <0x101>; + linux,code = <BTN_1>; }; }; }; |