2022-09-28 12:12:13 +00:00
|
|
|
--- 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 {
|
2022-09-28 12:14:13 +00:00
|
|
|
@@ -89,11 +94,10 @@
|
|
|
|
led-controller {
|
2022-09-28 12:12:13 +00:00
|
|
|
compatible = "pwm-leds";
|
2022-09-28 12:14:13 +00:00
|
|
|
|
|
|
|
- led-1 {
|
2022-09-28 12:12:13 +00:00
|
|
|
+ led_heartbeat: heartbeat {
|
|
|
|
label = "marduk:red:heartbeat";
|
|
|
|
pwms = <&pwm 3 300000>;
|
|
|
|
max-brightness = <255>;
|
|
|
|
- linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|