aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WNCE2001.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WNCE2001.dts')
-rw-r--r--target/linux/ramips/dts/WNCE2001.dts19
1 files changed, 10 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/WNCE2001.dts b/target/linux/ramips/dts/WNCE2001.dts
index fd52966007..0421ee660b 100644
--- a/target/linux/ramips/dts/WNCE2001.dts
+++ b/target/linux/ramips/dts/WNCE2001.dts
@@ -2,10 +2,11 @@
#include "rt3050.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
- compatible = "WNCE2001", "ralink,rt3052-soc";
+ compatible = "netgear,wnce2001", "ralink,rt3052-soc";
model = "Netgear WNCE2001";
chosen {
@@ -17,22 +18,22 @@
power-green {
label = "wnce2001:green:power";
- gpios = <&gpio0 8 1>;
+ gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
power-red {
label = "wnce2001:red:power";
- gpios = <&gpio0 9 1>;
+ gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan-green {
label = "wnce2001:green:wlan";
- gpios = <&gpio0 12 0>;
+ gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
wlan-red {
label = "wnce2001:red:wlan";
- gpios = <&gpio0 13 0>;
+ gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
};
@@ -44,25 +45,25 @@
reset {
label = "reset";
- gpios = <&gpio0 10 1>;
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
- gpios = <&gpio0 0 1>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
rt {
label = "rt";
- gpios = <&gpio0 11 1>;
+ gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>;
};
ap {
label = "ap";
- gpios = <&gpio0 7 1>;
+ gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>;
};
};