]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: aspeed: minerva: Define the LEDs node name
authorYang Chen <yang.chen@quantatw.com>
Wed, 26 Jun 2024 13:03:22 +0000 (21:03 +0800)
committerJoel Stanley <joel@jms.id.au>
Thu, 22 Aug 2024 03:37:12 +0000 (13:07 +0930)
Define the LEDs node name.

Signed-off-by: Yang Chen <yang.chen@quantatw.com>
Link: https://lore.kernel.org/r/20240626130332.929534-8-yangchen.openbmc@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts

index bc323bfbe5140cc6c28edf79702eb133eb01844a..dfea0025e6ce30a03e86175e4ef430b8788f14d3 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led-fan-fault {
-                       label = "led-fan-fault";
+               led-0 {
+                       label = "bmc_heartbeat_amber";
+                       gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "heartbeat";
+               };
+
+               led-1 {
+                       label = "fp_id_amber";
+                       default-state = "off";
+                       gpios = <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
+               };
+
+               led-2 {
+                       label = "power_blue";
+                       default-state = "off";
+                       gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
+               };
+
+               led-3 {
+                       label = "fan_status_led";
                        gpios = <&leds_gpio 9 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
+
+               led-4 {
+                       label = "fan_fault_led_n";
+                       gpios = <&leds_gpio 10 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
        };
 };