|
@@ -2,10 +2,11 @@
|
|
|
|
|
|
#include "rt3050.dtsi"
|
|
#include "rt3050.dtsi"
|
|
|
|
|
|
|
|
+#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
|
/ {
|
|
/ {
|
|
- compatible = "JHR-N926R", "ralink,rt3052-soc";
|
|
|
|
|
|
+ compatible = "jcg,jhr-n926r", "ralink,rt3052-soc";
|
|
model = "JCG JHR-N926R";
|
|
model = "JCG JHR-N926R";
|
|
|
|
|
|
cfi@1f000000 {
|
|
cfi@1f000000 {
|
|
@@ -45,22 +46,22 @@
|
|
|
|
|
|
wlan1 {
|
|
wlan1 {
|
|
label = "jhr-n926r:red:wlan";
|
|
label = "jhr-n926r:red:wlan";
|
|
- gpios = <&gpio0 20 1>;
|
|
|
|
|
|
+ gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
wlan2 {
|
|
wlan2 {
|
|
label = "jhr-n926r:yellow:wlan";
|
|
label = "jhr-n926r:yellow:wlan";
|
|
- gpios = <&gpio0 19 1>;
|
|
|
|
|
|
+ gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
wlan3 {
|
|
wlan3 {
|
|
label = "jhr-n926r:green:wlan";
|
|
label = "jhr-n926r:green:wlan";
|
|
- gpios = <&gpio0 17 1>;
|
|
|
|
|
|
+ gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
system {
|
|
system {
|
|
label = "jhr-n926r:blue:system";
|
|
label = "jhr-n926r:blue:system";
|
|
- gpios = <&gpio0 13 1>;
|
|
|
|
|
|
+ gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
@@ -71,19 +72,19 @@
|
|
display_data {
|
|
display_data {
|
|
gpio-export,name = "display_data";
|
|
gpio-export,name = "display_data";
|
|
gpio-export,output = <1>;
|
|
gpio-export,output = <1>;
|
|
- gpios = <&gpio0 7 1>;
|
|
|
|
|
|
+ gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
display_clock {
|
|
display_clock {
|
|
gpio-export,name = "display_clock";
|
|
gpio-export,name = "display_clock";
|
|
gpio-export,output = <1>;
|
|
gpio-export,output = <1>;
|
|
- gpios = <&gpio0 8 0>;
|
|
|
|
|
|
+ gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
|
|
display_blank {
|
|
display_blank {
|
|
gpio-export,name = "display_blank";
|
|
gpio-export,name = "display_blank";
|
|
gpio-export,output = <1>;
|
|
gpio-export,output = <1>;
|
|
- gpios = <&gpio0 11 0>;
|
|
|
|
|
|
+ gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
@@ -95,13 +96,13 @@
|
|
|
|
|
|
reset_wps {
|
|
reset_wps {
|
|
label = "reset_wps";
|
|
label = "reset_wps";
|
|
- gpios = <&gpio0 10 1>;
|
|
|
|
|
|
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_RESTART>;
|
|
linux,code = <KEY_RESTART>;
|
|
};
|
|
};
|
|
|
|
|
|
wlan {
|
|
wlan {
|
|
label = "wlan";
|
|
label = "wlan";
|
|
- gpios = <&gpio0 1 1>;
|
|
|
|
|
|
+ gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
|
|
linux,code = <BTN_0>;
|
|
linux,code = <BTN_0>;
|
|
};
|
|
};
|
|
};
|
|
};
|