All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yang Chen <yangchen.openbmc@gmail.com>
To: openbmc@lists.ozlabs.org, andrew@codeconstruct.com.au,
	patrick@stwcx.xyz, joel@jms.id.au
Cc: Jerry.Lin@quantatw.com, yang.chen@quantatw.com
Subject: [PATCH linux dev-6.6 07/17] ARM: dts: aspeed: minerva: Define the LEDs node name
Date: Thu, 27 Jun 2024 14:29:41 +0800	[thread overview]
Message-ID: <20240627062951.936256-8-yangchen.openbmc@gmail.com> (raw)
In-Reply-To: <20240627062951.936256-1-yangchen.openbmc@gmail.com>

From: Yang Chen <yang.chen@quantatw.com>

Define the LEDs node name.

Signed-off-by: Yang Chen <yang.chen@quantatw.com>
---
 .../aspeed/aspeed-bmc-facebook-minerva.dts    | 28 +++++++++++++++++--
 1 file 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 @@ 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";
+		};
 	};
 };
 
-- 
2.34.1


  parent reply	other threads:[~2024-06-27 23:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27  6:29 [PATCH linux dev-6.6 00/17] Revise Facebook Minerva BMC DTS Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 01/17] ARM: dts: aspeed: minerva: change the address of tmp75 Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 02/17] ARM: dts: aspeed: minerva: change aliases for uart Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 03/17] ARM: dts: aspeed: minerva: add eeprom on i2c bus Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 04/17] ARM: dts: aspeed: minerva: change RTC reference Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 05/17] ARM: dts: aspeed: minerva: enable mdio3 Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 06/17] ARM: dts: aspeed: minerva: remove unused bus and device Yang Chen
2024-06-27  6:29 ` Yang Chen [this message]
2024-06-27  6:29 ` [PATCH linux dev-6.6 08/17] ARM: dts: aspeed: minerva: Add adc sensors for fan board Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 09/17] ARM: dts: aspeed: minerva: add linename of two pins Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 10/17] ARM: dts: aspeed: minerva: enable ehci0 for USB Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 11/17] ARM: dts: aspeed: minerva: add tmp75 sensor Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 12/17] ARM: dts: aspeed: minerva: add power monitor xdp710 Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 13/17] ARM: dts: aspeed: minerva: revise sgpio line name Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 14/17] ARM: dts: aspeed: minerva: Switch the i2c bus number Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 15/17] ARM: dts: aspeed: minerva: remove unused power device Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 16/17] ARM: dts: aspeed: minerva: add ltc4287 device Yang Chen
2024-06-27  6:29 ` [PATCH linux dev-6.6 17/17] ARM: dts: aspeed: minerva: Add spi-gpio Yang Chen
2024-06-27 13:34 ` [PATCH linux dev-6.6 00/17] Revise Facebook Minerva BMC DTS Yang Chen
2024-06-28  0:46   ` Andrew Jeffery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240627062951.936256-8-yangchen.openbmc@gmail.com \
    --to=yangchen.openbmc@gmail.com \
    --cc=Jerry.Lin@quantatw.com \
    --cc=andrew@codeconstruct.com.au \
    --cc=joel@jms.id.au \
    --cc=openbmc@lists.ozlabs.org \
    --cc=patrick@stwcx.xyz \
    --cc=yang.chen@quantatw.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.