From f28010a79c653f0ac7183c3cf774ed70f8818935 Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Sat, 7 Dec 2024 04:27:18 +0100 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/17503 Signed-off-by: Hauke Mehrtens --- 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 = ; @@ -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 { -- 2.30.2