[openwrt/openwrt] ath79: teltonika-rut230: add 4G LED
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 12 12:37:28 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f28010a79c653f0ac7183c3cf774ed70f8818935
commit f28010a79c653f0ac7183c3cf774ed70f8818935
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Sat Dec 7 04:27:18 2024 +0100
ath79: teltonika-rut230: add 4G LED
Teltonika RUT240 has an extra 4G status LED on GPIO21. Otherwise the
hardware is fully compatible with RUT230 line. Attach the LED inside
device tree.
Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17503
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
index 73a6cc52ca..aa8a220470 100644
--- a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
+++ b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
@@ -83,6 +83,11 @@
gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
};
+ 4g {
+ label = "green:4g";
+ gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
+ };
+
lan {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
@@ -96,8 +101,6 @@
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
/* GPIO 14 - ACTIVE HIGH for hwrev 0 */
};
-
- /* 4G LED - GPIO21 ACTIVE_HIGH for RUT240 */
};
reg_usb_vbus: reg_usb_vbus {
More information about the lede-commits
mailing list