projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d53e37
)
ramips: export slic IRQ line in dwr-512
author
Giuseppe Lippolis
<giu.lippolis@gmail.com>
Tue, 14 Feb 2017 13:12:24 +0000
(14:12 +0100)
committer
John Crispin
<john@phrozen.org>
Wed, 15 Feb 2017 06:45:54 +0000
(07:45 +0100)
The DWR-512 embeds the hw slic device si3210. This device have the IRQ line
attached to the gpio1. This patch export the gpio1 with proper name and
parameters to the sysfs.
Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
target/linux/ramips/dts/DWR-512-B.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/DWR-512-B.dts
b/target/linux/ramips/dts/DWR-512-B.dts
index 9e15485d3fd135c818bf3bac50e7df504b20bd50..42be55e0cf81249edb818df6f515b7c7b63919a4 100644
(file)
--- a/
target/linux/ramips/dts/DWR-512-B.dts
+++ b/
target/linux/ramips/dts/DWR-512-B.dts
@@
-61,6
+61,10
@@
compatible = "gpio-export";
#size-cells = <0>;
+ slic_int {
+ gpio-export,name = "slic_int";
+ gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
+ };
modem3g_enable {
gpio-export,name = "modem3g_enable";
gpio-export,output = <1>;