aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio/patches-5.15/905-MIPS-DTS-img-marduk-Add-led-aliases.patch
blob: 8c03ddeea277d3f0371ee766fc88d4d0ea8dc353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- a/arch/mips/boot/dts/img/pistachio_marduk.dts
+++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
@@ -19,6 +19,11 @@
 		ethernet0 = &enet;
 		spi0 = &spfi0;
 		spi1 = &spfi1;
+
+		led-boot = &led_heartbeat;
+		led-failsafe = &led_heartbeat;
+		led-running = &led_heartbeat;
+		led-upgrade = &led_heartbeat;
 	};
 
 	chosen {
@@ -89,11 +94,10 @@
 	led-controller {
 		compatible = "pwm-leds";
 
-		led-1 {
+		led_heartbeat: heartbeat {
 			label = "marduk:red:heartbeat";
 			pwms = <&pwm 3 300000>;
 			max-brightness = <255>;
-			linux,default-trigger = "heartbeat";
 		};
 	};