aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/JHR-N926R.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/JHR-N926R.dts')
-rw-r--r--target/linux/ramips/dts/JHR-N926R.dts21
1 files changed, 11 insertions, 10 deletions
diff --git a/target/linux/ramips/dts/JHR-N926R.dts b/target/linux/ramips/dts/JHR-N926R.dts
index e5b64c5b96..93310e1287 100644
--- a/target/linux/ramips/dts/JHR-N926R.dts
+++ b/target/linux/ramips/dts/JHR-N926R.dts
@@ -2,10 +2,11 @@
#include "rt3050.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
- compatible = "JHR-N926R", "ralink,rt3052-soc";
+ compatible = "jcg,jhr-n926r", "ralink,rt3052-soc";
model = "JCG JHR-N926R";
cfi@1f000000 {
@@ -45,22 +46,22 @@
wlan1 {
label = "jhr-n926r:red:wlan";
- gpios = <&gpio0 20 1>;
+ gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
wlan2 {
label = "jhr-n926r:yellow:wlan";
- gpios = <&gpio0 19 1>;
+ gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
wlan3 {
label = "jhr-n926r:green:wlan";
- gpios = <&gpio0 17 1>;
+ gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
system {
label = "jhr-n926r:blue:system";
- gpios = <&gpio0 13 1>;
+ gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
@@ -71,19 +72,19 @@
display_data {
gpio-export,name = "display_data";
gpio-export,output = <1>;
- gpios = <&gpio0 7 1>;
+ gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
display_clock {
gpio-export,name = "display_clock";
gpio-export,output = <1>;
- gpios = <&gpio0 8 0>;
+ gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
display_blank {
gpio-export,name = "display_blank";
gpio-export,output = <1>;
- gpios = <&gpio0 11 0>;
+ gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
@@ -95,13 +96,13 @@
reset_wps {
label = "reset_wps";
- gpios = <&gpio0 10 1>;
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
wlan {
label = "wlan";
- gpios = <&gpio0 1 1>;
+ gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>;
};
};