ARM: dts: aspeed: minerva: Define the LEDs node name

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>
This commit is contained in:
Yang Chen 2024-06-26 21:03:22 +08:00 committed by Joel Stanley
parent 6b843a98e7
commit 90098bb352

View File

@ -44,11 +44,35 @@ iio-hwmon {
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";
};
};
};