mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-26 05:48:08 +00:00
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>
This commit is contained in:
parent
7b9ca01109
commit
f28010a79c
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user