projects
/
openwrt
/
staging
/
dedeckeh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f26091
)
ramips: HLK-RM04 - Fix push button functions
author
John Crispin
<john@openwrt.org>
Mon, 8 Feb 2016 08:26:11 +0000
(08:26 +0000)
committer
John Crispin
<john@openwrt.org>
Mon, 8 Feb 2016 08:26:11 +0000
(08:26 +0000)
The RESET button of the HLK-RM04 is connected to GPIO0, linux function 0x198
The WPS button of the HLK-RM04 is connected to GPIO14, linux function 0x211
Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48663
target/linux/ramips/dts/HLKRM04.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/HLKRM04.dts
b/target/linux/ramips/dts/HLKRM04.dts
index 7996f99f739326bbbcb7e41af2265343a6cba6fd..5f43642c12c00f70fed3ed670c3c1c05b4149278 100644
(file)
--- a/
target/linux/ramips/dts/HLKRM04.dts
+++ b/
target/linux/ramips/dts/HLKRM04.dts
@@
-87,11
+87,15
@@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
-
- wps {
+ reset {
label = "reset";
label = "reset";
- gpios = <&gpio0
14
1>;
+ gpios = <&gpio0
0
1>;
linux,code = <0x198>;
};
linux,code = <0x198>;
};
+ wps {
+ label = "wps";
+ gpios = <&gpio0 14 1>;
+ linux,code = <0x211>;
+ };
};
};
};
};