4c4fbec76400c476ce020be06052ba268b69159f
[openwrt/staging/mkresin.git] / target / linux / mvebu / patches-5.4 / 312-helios4-dts-status-led-alias.patch
1 --- a/arch/arm/boot/dts/armada-388-helios4.dts
2 +++ b/arch/arm/boot/dts/armada-388-helios4.dts
3 @@ -15,6 +15,13 @@
4 model = "Helios4";
5 compatible = "kobol,helios4", "marvell,armada388",
6 "marvell,armada385", "marvell,armada380";
7 +
8 + aliases {
9 + led-boot = &led_status;
10 + led-failsafe = &led_status;
11 + led-running = &led_status;
12 + led-upgrade = &led_status;
13 + };
14
15 memory {
16 device_type = "memory";
17 @@ -70,10 +77,9 @@
18
19 system-leds {
20 compatible = "gpio-leds";
21 - status-led {
22 + led_status: status-led {
23 label = "helios4:green:status";
24 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
25 - linux,default-trigger = "heartbeat";
26 default-state = "on";
27 };
28