aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/a226g.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/dts/a226g.dts')
-rw-r--r--target/linux/brcm63xx/dts/a226g.dts8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/dts/a226g.dts b/target/linux/brcm63xx/dts/a226g.dts
index 1b40507b2e..b62c68ffd2 100644
--- a/target/linux/brcm63xx/dts/a226g.dts
+++ b/target/linux/brcm63xx/dts/a226g.dts
@@ -1,6 +1,8 @@
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Pirelli A226G";
@@ -16,12 +18,12 @@
wps {
label = "wps";
gpios = <&gpio1 2 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
gpios = <&gpio1 5 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};