pistachio: Copy kernel 5.4 patches to 5.10
[openwrt/staging/mkresin.git] / target / linux / pistachio / patches-5.10 / 905-MIPS-DTS-img-marduk-Add-led-aliases.patch
1 --- a/arch/mips/boot/dts/img/pistachio_marduk.dts
2 +++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
3 @@ -19,6 +19,11 @@
4 ethernet0 = &enet;
5 spi0 = &spfi0;
6 spi1 = &spfi1;
7 +
8 + led-boot = &led_heartbeat;
9 + led-failsafe = &led_heartbeat;
10 + led-running = &led_heartbeat;
11 + led-upgrade = &led_heartbeat;
12 };
13
14 chosen {
15 @@ -88,11 +93,10 @@
16
17 leds {
18 compatible = "pwm-leds";
19 - heartbeat {
20 + led_heartbeat: heartbeat {
21 label = "marduk:red:heartbeat";
22 pwms = <&pwm 3 300000>;
23 max-brightness = <255>;
24 - linux,default-trigger = "heartbeat";
25 };
26 };
27