[source] ramips: export slic IRQ line in dwr-512
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 14 22:52:34 PST 2017
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/35c60d18c59dc2c91a9958b5c9c17368700e566b
commit 35c60d18c59dc2c91a9958b5c9c17368700e566b
Author: Giuseppe Lippolis <giu.lippolis at gmail.com>
AuthorDate: Tue Feb 14 14:12:24 2017 +0100
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 at gmail.com>
---
target/linux/ramips/dts/DWR-512-B.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/linux/ramips/dts/DWR-512-B.dts b/target/linux/ramips/dts/DWR-512-B.dts
index 9e15485..42be55e 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>;
More information about the lede-commits
mailing list