aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/PWH2004.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/PWH2004.dts')
-rw-r--r--target/linux/ramips/dts/PWH2004.dts9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/PWH2004.dts b/target/linux/ramips/dts/PWH2004.dts
index 18ee7426f4..c086894fd2 100644
--- a/target/linux/ramips/dts/PWH2004.dts
+++ b/target/linux/ramips/dts/PWH2004.dts
@@ -2,10 +2,11 @@
#include "rt3050.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
- compatible = "PWH2004", "ralink,rt3052-soc";
+ compatible = "prolink,pwh2004", "ralink,rt3052-soc";
model = "Prolink PWH2004";
cfi@1f000000 {
@@ -45,12 +46,12 @@
wifi {
label = "pwh2004:red:wifi";
- gpios = <&gpio0 14 1>;
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
power {
label = "pwh2004:green:power";
- gpios = <&gpio0 9 1>;
+ gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
@@ -62,7 +63,7 @@
wps {
label = "wps";
- gpios = <&gpio0 12 1>;
+ gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};