summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLech Perczak2024-12-07 03:27:18 +0000
committerHauke Mehrtens2025-01-12 20:36:04 +0000
commitf28010a79c653f0ac7183c3cf774ed70f8818935 (patch)
tree512729e91861ca999161a7eacc70744e64037895
parent7b9ca01109827368deb68b7d8217643b78b87cb9 (diff)
downloadopenwrt-f28010a79c653f0ac7183c3cf774ed70f8818935.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17503 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts7
1 files 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 {