aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGiuseppe Lippolis <giu.lippolis@gmail.com>2017-02-14 14:12:24 +0100
committerJohn Crispin <john@phrozen.org>2017-02-15 07:45:54 +0100
commit35c60d18c59dc2c91a9958b5c9c17368700e566b (patch)
tree31bfe8742789de6715c48900bed300aae86e2dcf /target/linux
parent8d53e3721cce621d687843595b30ac5f46ae00cf (diff)
downloadupstream-35c60d18c59dc2c91a9958b5c9c17368700e566b.tar.gz
upstream-35c60d18c59dc2c91a9958b5c9c17368700e566b.tar.bz2
upstream-35c60d18c59dc2c91a9958b5c9c17368700e566b.zip
ramips: export slic IRQ line in dwr-512
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>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/DWR-512-B.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/DWR-512-B.dts b/target/linux/ramips/dts/DWR-512-B.dts
index 9e15485d3f..42be55e0cf 100644
--- 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>;