mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 09:24:50 +00:00
bcm53xx: remove MR32's specific get_leds_dt code
the existing diag.sh code will pick up the LED by itself. This is not/no longer needed. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
parent
8b5d2a7325
commit
8f6e2bb178
@ -18,9 +18,6 @@ get_status_led() {
|
||||
status_led=$(basename $status_led_file)
|
||||
return
|
||||
fi;
|
||||
|
||||
# And finally, let's also try the device-Tree aliases node
|
||||
status_led="$(get_dt_led status)"
|
||||
}
|
||||
|
||||
set_state() {
|
||||
|
@ -1,28 +0,0 @@
|
||||
From: Christian Lamparter <chunkeey@gmail.com>
|
||||
Date: Thu, 7 Jun 2018 19:29:12 +0200
|
||||
Subject: bcm53xx: add LED status label alias for Meraki MR32
|
||||
|
||||
add an led-status alias label. This is used by OpenWrt's LED
|
||||
DTS lookup function to identifiy the indicator LED
|
||||
|
||||
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
||||
|
||||
--- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
|
||||
+++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
aliases {
|
||||
serial1 = &uart2;
|
||||
+ led-status = &led_status;
|
||||
};
|
||||
|
||||
leds {
|
||||
@@ -68,7 +69,7 @@
|
||||
max-brightness = <255>;
|
||||
};
|
||||
|
||||
- green {
|
||||
+ led_status: green {
|
||||
/* SYS-LED 1 - Tricolor */
|
||||
function = LED_FUNCTION_POWER;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
Loading…
Reference in New Issue
Block a user