[OpenWrt-Devel] [PATCH v1] LED were defined wrong in the device tree file, they are connected directly to the switch chip and wireless chips respectively, thus no GPIO addresses are assigned to them. It is safe to remove them from the device tree file to stop confusion.
Sebastian Careba
nitroshift at yahoo.com
Mon Dec 28 01:45:34 EST 2015
Signed-off-by: Sebastian Careba <nitroshift at yahoo.com>
---
target/linux/ramips/dts/WITI.dts | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/target/linux/ramips/dts/WITI.dts b/target/linux/ramips/dts/WITI.dts
index 9b03147..fe60de6 100644
--- a/target/linux/ramips/dts/WITI.dts
+++ b/target/linux/ramips/dts/WITI.dts
@@ -103,25 +103,6 @@
mtd-mac-address = <&factory 0xe000>;
};
- gpio-leds {
- compatible = "gpio-leds";
-
- power {
- label = "witi:green:power";
- gpios = <&gpio0 25 1>;
- };
-
- sys {
- label = "witi:green:sys";
- gpios = <&gpio0 24 1>;
- };
-
- internet {
- label = "witi:green:internet";
- gpios = <&gpio0 23 1>;
- };
- };
-
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
--
2.1.4
_______________________________________________
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