2020-07-12 13:35:54 +00:00
|
|
|
--- a/arch/arm/boot/dts/armada-388-helios4.dts
|
|
|
|
+++ b/arch/arm/boot/dts/armada-388-helios4.dts
|
2021-03-04 20:37:13 +00:00
|
|
|
@@ -24,6 +24,10 @@
|
|
|
|
aliases {
|
|
|
|
/* So that mvebu u-boot can update the MAC addresses */
|
|
|
|
ethernet1 = ð0;
|
2020-07-12 13:35:54 +00:00
|
|
|
+ led-boot = &led_status;
|
|
|
|
+ led-failsafe = &led_status;
|
|
|
|
+ led-running = &led_status;
|
|
|
|
+ led-upgrade = &led_status;
|
2021-03-04 20:37:13 +00:00
|
|
|
};
|
2020-07-12 13:35:54 +00:00
|
|
|
|
2021-03-04 20:37:13 +00:00
|
|
|
chosen {
|
|
|
|
@@ -73,10 +77,9 @@
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&helios_system_led_pins>;
|
2020-07-12 13:35:54 +00:00
|
|
|
|
|
|
|
- status-led {
|
|
|
|
+ led_status: status-led {
|
|
|
|
label = "helios4:green:status";
|
|
|
|
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
|
|
|
|
- linux,default-trigger = "heartbeat";
|
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|