mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
496d32cb78
Manually refreshed: - 903-MIPS-DTS-img-marduk-Add-NXP-SC16IS752IPW.patch - 905-MIPS-DTS-img-marduk-Add-led-aliases.patch (led node was renamed to led-1) Automatically refreshed: - 109-MIPS-DTS-img-marduk-switch-mmc-to-1-bit-mode.patch - 401-mtd-nor-support-mtd-name-from-device-tree.patch - 901-MIPS-DTS-img-marduk-Add-SPI-NAND-flash.patch - 902-MIPS-DTS-img-marduk-Add-Cascoda-CA8210-6LoWPAN.patch - 904-MIPS-DTS-img-marduk-Add-partition-name.patch Enable testing kernel. Co-Developed-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Nick Hainke <vincent@systemli.org>
28 lines
583 B
Diff
28 lines
583 B
Diff
--- 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";
|
|
};
|
|
};
|
|
|