[openwrt/openwrt] mediatek: ASUS TUF-AX6000: Add Green & Red LEDs

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 12 13:17:15 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c5287069eacc1519789e767b61ff7daae9a7e7bf

commit c5287069eacc1519789e767b61ff7daae9a7e7bf
Author: Magnus Sandin <magnus.sandin at gmail.com>
AuthorDate: Mon Oct 7 20:39:38 2024 +0000

    mediatek: ASUS TUF-AX6000: Add Green & Red LEDs
    
    Beside the already existing control of the
    Blue cover LED, this will also add the
    Green and the Red cover LEDS available in the
    Asus TUF-AX6000.
    
    Signed-off-by: Magnus Sandin <magnus.sandin at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16632
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
index 891d56853b..957d8deebb 100644
--- a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
+++ b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
@@ -70,6 +70,16 @@
 			label = "blue:cover";
 			gpios = <&pio 20 GPIO_ACTIVE_HIGH>;
 		};
+
+		cover-red {
+			label = "red:cover";
+			gpios = <&pio 21 GPIO_ACTIVE_HIGH>;
+		};
+
+		cover-green {
+			label = "green:cover";
+			gpios = <&pio 22 GPIO_ACTIVE_HIGH>;
+		};
 	};
 
 	reg_3p3v: regulator-3p3v {




More information about the lede-commits mailing list