aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-03-09 20:20:20 +0100
committerChristian Lamparter <chunkeey@gmail.com>2022-05-14 00:24:35 +0200
commit8f6e2bb178864a1822b5dfe85b96d113dce4a5f0 (patch)
treef16b53ad873045f4a35445b58b86a0d61d0bb00a /target/linux/bcm53xx
parent8b5d2a73255298b916259ccbc609e4667a335844 (diff)
downloadupstream-8f6e2bb178864a1822b5dfe85b96d113dce4a5f0.tar.gz
upstream-8f6e2bb178864a1822b5dfe85b96d113dce4a5f0.tar.bz2
upstream-8f6e2bb178864a1822b5dfe85b96d113dce4a5f0.zip
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>
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r--target/linux/bcm53xx/base-files/etc/diag.sh3
-rw-r--r--target/linux/bcm53xx/patches-5.10/331-Meraki-MR32-Status-LEDs.patch28
2 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/bcm53xx/base-files/etc/diag.sh b/target/linux/bcm53xx/base-files/etc/diag.sh
index bf5b779aa8..1a9332327a 100644
--- a/target/linux/bcm53xx/base-files/etc/diag.sh
+++ b/target/linux/bcm53xx/base-files/etc/diag.sh
@@ -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() {
diff --git a/target/linux/bcm53xx/patches-5.10/331-Meraki-MR32-Status-LEDs.patch b/target/linux/bcm53xx/patches-5.10/331-Meraki-MR32-Status-LEDs.patch
deleted file mode 100644
index fb78ee93c4..0000000000
--- a/target/linux/bcm53xx/patches-5.10/331-Meraki-MR32-Status-LEDs.patch
+++ /dev/null
@@ -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>;