aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/W306R_V20.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/W306R_V20.dts')
-rw-r--r--target/linux/ramips/dts/W306R_V20.dts9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/W306R_V20.dts b/target/linux/ramips/dts/W306R_V20.dts
index ff5ca59ad6..5aeb91cfb7 100644
--- a/target/linux/ramips/dts/W306R_V20.dts
+++ b/target/linux/ramips/dts/W306R_V20.dts
@@ -2,10 +2,11 @@
#include "rt3050.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
- compatible = "W306R_V20", "ralink,rt3052-soc";
+ compatible = "tenda,w306r-v2", "ralink,rt3052-soc";
model = "Tenda W306R V2.0";
cfi@1f000000 {
@@ -45,12 +46,12 @@
sys {
label = "w306r-v20:green:sys";
- gpios = <&gpio0 9 1>;
+ gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
label = "w306r-v20:green:wps";
- gpios = <&gpio0 13 1>;
+ gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
@@ -62,7 +63,7 @@
reset {
label = "RESET/WPS";
- gpios = <&gpio0 10 1>;
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};