treewide: dts: use keycode defines from input dt-binding

All compiled device tree files not mentioned are binary identical to the
former ones.

Fix the obvious decimal/hex confusion for the power key of ramips/M2M.dts.

Due to the include of the input binding header, the BTN_* node names in:

  - ramips/GL-MT300A.dts
  - ramips/GL-MT300N.dts
  - ramips/GL-MT750.dts
  - ramips/Timecloud.dts

will be changed by the compiler to the numerical equivalent.

Move the binding include of lantiq boards to the file where they are
used the first time to hint the user where the values do come from.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin
2016-11-11 22:43:08 +01:00
parent 77b807999d
commit 2b55c83e68
211 changed files with 757 additions and 349 deletions

View File

@@ -2,6 +2,8 @@
#include "mt7620n.dtsi"
#include <dt-bindings/input/input.h>
/ {
compatible = "cf-wr800n", "ralink,mt7620n-soc";
model = "Comfast CF-WR800N";
@@ -38,7 +40,7 @@
reset {
label = "reset";
gpios = <&gpio0 2 1>;
linux,code = <0x198>;
linux,code = <KEY_RESTART>;
};
};
};