aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorMarian Sarcinschi <znevna@gmail.com>2022-12-23 01:56:09 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-04 21:56:49 +0100
commitc4b806d5c4ccc653968620e6e9aec93bc4e370e5 (patch)
treef9e8f01fa422d3562f6c1da5f878e5251243131b /target/linux/ramips/dts
parentf655923b362e9f2d70672eee9c1fa82550a145a6 (diff)
downloadupstream-c4b806d5c4ccc653968620e6e9aec93bc4e370e5.tar.gz
upstream-c4b806d5c4ccc653968620e6e9aec93bc4e370e5.tar.bz2
upstream-c4b806d5c4ccc653968620e6e9aec93bc4e370e5.zip
ramips: add missing LEDs to Asus RT-AX53U
This patch adds the missing LEDs to Asus RT-AX53U. Based on PR #10400 and patch provided in #11068 - enable the two LEDs controlled by mt7915e for wireless; - add label to power LED so it works properly and fix formatting; - add the USB LED; - switch LEDs are best left to be controlled by hardware for now. Co-Authored-By: Ivan Rozhuk <rozhuk.im@gmail.com> Co-Authored-By: Shiji Yang <yangshiji66@qq.com> Co-Authored-By: Hartmut Birr <e9hack@gmail.com> Tested-by: Felix Baumann <felix.bau@gmx.de> Tested-by: Marian Sarcinschi <znevna@gmail.com> Signed-off-by: Marian Sarcinschi <znevna@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts14
1 files changed, 12 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
index 6a5cb0d719..cbd6a3ce07 100644
--- a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
+++ b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
@@ -26,11 +26,21 @@
leds {
compatible = "gpio-leds";
- led_power: led-0 {
+ led_power: power {
+ label = "blue:power";
color = <LED_COLOR_ID_BLUE>;
- function = LED_FUNCTION_POWER;
+ function = LED_FUNCTION_POWER;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
+
+ led_usb {
+ label = "blue:usb";
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_USB;
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ehci_port2>;
+ linux,default-trigger = "usbport";
+ };
};
keys {