mediatek: ASUS TUF-AX6000: Add Green & Red LEDs
authorMagnus Sandin <magnus.sandin@gmail.com>
Mon, 7 Oct 2024 20:39:38 +0000 (20:39 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Oct 2024 20:16:28 +0000 (22:16 +0200)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16632
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts

index 891d56853b2eb5e0e8844e15771dc9cfcaef1e3d..957d8deebb192a3b71ec82e6278fc08bac795bcb 100644 (file)
                        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 {