[OpenWrt-Devel] [PATCHv3 3/3] ramips: slider switch on asiarf evb, send mode event
Russell Senior
russell at personaltelco.net
Wed Sep 17 04:14:38 EDT 2014
Uses the new mode event in gpio-button-hotplug.
Signed-off-by: Russell Senior <russell at personaltelco.net>
---
target/linux/ramips/dts/AWM002-EVB-4M.dts | 2 +-
target/linux/ramips/dts/AWM002-EVB-8M.dts | 2 +-
target/linux/ramips/dts/AWM003-EVB.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/linux/ramips/dts/AWM002-EVB-4M.dts b/target/linux/ramips/dts/AWM002-EVB-4M.dts
index 5884779..77621dc 100644
--- a/target/linux/ramips/dts/AWM002-EVB-4M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-4M.dts
@@ -34,7 +34,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
- linux,code = <0x32>;
+ linux,code = <0x13c>;
};
};
};
diff --git a/target/linux/ramips/dts/AWM002-EVB-8M.dts b/target/linux/ramips/dts/AWM002-EVB-8M.dts
index 3f6b20f..a5a5e84 100644
--- a/target/linux/ramips/dts/AWM002-EVB-8M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-8M.dts
@@ -34,7 +34,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
- linux,code = <0x32>;
+ linux,code = <0x13c>;
};
};
};
diff --git a/target/linux/ramips/dts/AWM003-EVB.dts b/target/linux/ramips/dts/AWM003-EVB.dts
index bfb91b7..2303858 100644
--- a/target/linux/ramips/dts/AWM003-EVB.dts
+++ b/target/linux/ramips/dts/AWM003-EVB.dts
@@ -49,7 +49,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
- linux,code = <0x32>;
+ linux,code = <0x13c>;
};
};
};
--
2.0.0
--
Russell Senior, President
russell at personaltelco.net
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list