From: Yang Chen <yangchen.openbmc@gmail.com>
To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com
Subject: [PATCH v1 07/17] ARM: dts: aspeed: minerva: Define the LEDs node name
Date: Wed, 26 Jun 2024 21:03:22 +0800 [thread overview]
Message-ID: <20240626130332.929534-8-yangchen.openbmc@gmail.com> (raw)
In-Reply-To: <20240626130332.929534-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
next prev parent reply other threads:[~2024-06-26 13:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-26 13:03 [PATCH v1 00/17] Revise Facebook Minerva BMC DTS Yang Chen
2024-06-26 13:03 ` [PATCH v1 01/17] ARM: dts: aspeed: minerva: change the address of tmp75 Yang Chen
2024-06-26 13:03 ` [PATCH v1 02/17] ARM: dts: aspeed: minerva: change aliases for uart Yang Chen
2024-06-26 13:03 ` [PATCH v1 03/17] ARM: dts: aspeed: minerva: add eeprom on i2c bus Yang Chen
2024-06-26 13:03 ` [PATCH v1 04/17] ARM: dts: aspeed: minerva: change RTC reference Yang Chen
2024-06-26 13:03 ` [PATCH v1 05/17] ARM: dts: aspeed: minerva: enable mdio3 Yang Chen
2024-06-26 13:03 ` [PATCH v1 06/17] ARM: dts: aspeed: minerva: remove unused bus and device Yang Chen
2024-06-26 13:03 ` Yang Chen [this message]
2024-06-26 13:03 ` [PATCH v1 08/17] ARM: dts: aspeed: minerva: Add adc sensors for fan board Yang Chen
2024-06-26 13:03 ` [PATCH v1 09/17] ARM: dts: aspeed: minerva: add linename of two pins Yang Chen
2024-06-26 13:03 ` [PATCH v1 10/17] ARM: dts: aspeed: minerva: enable ehci0 for USB Yang Chen
2024-06-26 13:03 ` [PATCH v1 11/17] ARM: dts: aspeed: minerva: add tmp75 sensor Yang Chen
2024-06-26 13:03 ` [PATCH v1 12/17] ARM: dts: aspeed: minerva: add power monitor xdp710 Yang Chen
2024-06-26 13:03 ` [PATCH v1 13/17] ARM: dts: aspeed: minerva: revise sgpio line name Yang Chen
2024-06-26 13:03 ` [PATCH v1 14/17] ARM: dts: aspeed: minerva: Switch the i2c bus number Yang Chen
2024-06-26 13:03 ` [PATCH v1 15/17] ARM: dts: aspeed: minerva: remove unused power device Yang Chen
2024-06-26 13:03 ` [PATCH v1 16/17] ARM: dts: aspeed: minerva: add ltc4287 device Yang Chen
2024-06-26 13:03 ` [PATCH v1 17/17] ARM: dts: aspeed: minerva: Add spi-gpio Yang Chen
2024-06-26 13:38 ` [PATCH v1 00/17] Revise Facebook Minerva BMC DTS Rob Herring
2024-06-26 14:01 ` Yang Chen
2024-06-26 14:52 ` Rob Herring
2024-06-27 2:48 ` 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=20240626130332.929534-8-yangchen.openbmc@gmail.com \
--to=yangchen.openbmc@gmail.com \
--cc=Jerry.Lin@quantatw.com \
--cc=andrew@codeconstruct.com.au \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patrick@stwcx.xyz \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).