aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/UBNT-ERX.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/UBNT-ERX.dts')
-rw-r--r--target/linux/ramips/dts/UBNT-ERX.dts7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/UBNT-ERX.dts b/target/linux/ramips/dts/UBNT-ERX.dts
index 0b2da95b30..cf86bbb7e6 100644
--- a/target/linux/ramips/dts/UBNT-ERX.dts
+++ b/target/linux/ramips/dts/UBNT-ERX.dts
@@ -1,9 +1,10 @@
-#include <dt-bindings/input/input.h>
-
/dts-v1/;
#include "mt7621.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
/ {
model = "UBNT-ERX";
@@ -24,7 +25,7 @@
reset {
label = "reset";
- gpios = <&gpio0 12 1>;
+ gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};