bcm53xx: add testing support for kernel 5.10
[openwrt/staging/ldir.git] / target / linux / bcm53xx / patches-5.10 / 331-Meraki-MR32-Status-LEDs.patch
1 From: Christian Lamparter <chunkeey@gmail.com>
2 Date: Thu, 7 Jun 2018 19:29:12 +0200
3 Subject: bcm53xx: add LED status label alias for Meraki MR32
4
5 add an led-status alias label. This is used by OpenWrt's LED
6 DTS lookup function to identifiy the indicator LED
7
8 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
9
10 --- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
11 +++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
12 @@ -27,6 +27,7 @@
13
14 aliases {
15 serial1 = &uart2;
16 + led-status = &led_status;
17 };
18
19 leds {
20 @@ -68,7 +69,7 @@
21 max-brightness = <255>;
22 };
23
24 - green {
25 + led_status: green {
26 /* SYS-LED 1 - Tricolor */
27 function = LED_FUNCTION_POWER;
28 color = <LED_COLOR_ID_GREEN>;