diff options
author | Yang Chen <yang.chen@quantatw.com> | 2024-06-26 15:03:22 +0200 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2024-08-22 05:37:12 +0200 |
commit | 90098bb35213e30bace25748cdecf434f5356c33 (patch) | |
tree | e19d2fb84c7d8dc3d0f5b52e63a21c8f02efe8ae /arch/arm/boot | |
parent | ARM: dts: aspeed: minerva: remove unused bus and device (diff) | |
download | linux-90098bb35213e30bace25748cdecf434f5356c33.tar.xz linux-90098bb35213e30bace25748cdecf434f5356c33.zip |
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index bc323bfbe514..dfea0025e6ce 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -44,11 +44,35 @@ 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"; + }; }; }; |