Commit 4c7c3110 authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Wei Xu

arm64: dts: hisilicon: poplar: Standardize LED labels and triggers

For all 96Boards, the following standard is used for onboard LEDs.

green:user1  default-trigger: heartbeat
green:user2  default-trigger: mmc0/disk-activity(onboard-storage)
green:user3  default-trigger: mmc1 (SD-card)
green:user4  default-trigger: none, panic-indicator
yellow:wlan  default-trigger: phy0tx
blue:bt      default-trigger: hci0-power

So lets adopt the same for Poplar, which is one of the 96Boards
Enterprise edition platform.

Due to absence of WLAN and BT support, corresponding LED nodes are not
considered.
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 28b45da9
...@@ -35,30 +35,31 @@ leds { ...@@ -35,30 +35,31 @@ leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
user-led0 { user-led0 {
label = "USER-LED0"; label = "green:user1";
gpios = <&gpio6 3 GPIO_ACTIVE_LOW>; gpios = <&gpio6 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
default-state = "off"; default-state = "off";
}; };
user-led1 { user-led1 {
label = "USER-LED1"; label = "green:user2";
gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
default-state = "off"; default-state = "off";
}; };
user-led2 { user-led2 {
label = "USER-LED2"; label = "green:user3";
gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none"; linux,default-trigger = "mmc1";
default-state = "off"; default-state = "off";
}; };
user-led3 { user-led3 {
label = "USER-LED3"; label = "green:user4";
gpios = <&gpio10 6 GPIO_ACTIVE_LOW>; gpios = <&gpio10 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "cpu0"; linux,default-trigger = "none";
panic-indicator;
default-state = "off"; default-state = "off";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment