]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: clemente: Add HDD LED GPIO
authorLeo Wang <leo.jt.wang@gmail.com>
Tue, 30 Sep 2025 02:49:23 +0000 (10:49 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Mon, 13 Oct 2025 00:51:14 +0000 (11:21 +1030)
Define a GPIO expander pin for the HDD LED and expose it via the
LED subsystem. This allows the BMC to control the front panel
HDD activity LED.

Signed-off-by: Leo Wang <leo.jt.wang@gmail.com>
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts

index a614f947dafc9a6628c3f3d45b62ff3ca9d2b618..450446913e36b1418fab901cde44280468990c7a 100644 (file)
                        label = "bmc_ready_cpld_noled";
                        gpios = <&gpio0 ASPEED_GPIO(P, 5) (GPIO_ACTIVE_HIGH|GPIO_TRANSITORY)>;
                };
+
+               led-hdd {
+                       label = "hdd_led";
+                       gpios = <&io_expander13 1 GPIO_ACTIVE_LOW>;
+               };
        };
 
        memory@80000000 {
                #gpio-cells = <2>;
                gpio-line-names =
                        "rmc_en_dc_pwr_on",
-                       "",
+                       "HDD_LED_N",
                        "",
                        "",
                        "",