mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
e3a1e78cd8
It compiles but *doesn't* boot so it isn't enabled yet. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
82 lines
2.0 KiB
Diff
82 lines
2.0 KiB
Diff
From 6224415c0389ba6661825746312163a64ece8f3a Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Fri, 19 Feb 2021 06:50:29 +0100
|
|
Subject: [PATCH] arm64: dts: broadcom: bcm4908: add remaining Netgear R8000P
|
|
LEDs
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
There are a few more GPIO connected LEDs there didn't get described
|
|
initially.
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
---
|
|
.../bcm4908/bcm4906-netgear-r8000p.dts | 50 ++++++++++++++++++-
|
|
1 file changed, 49 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
|
|
@@ -18,11 +18,59 @@
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
- wps {
|
|
+ led-power-white {
|
|
+ function = LED_FUNCTION_POWER;
|
|
+ color = <LED_COLOR_ID_WHITE>;
|
|
+ gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+
|
|
+ led-power-amber {
|
|
+ function = LED_FUNCTION_POWER;
|
|
+ color = <LED_COLOR_ID_AMBER>;
|
|
+ gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+
|
|
+ led-wps {
|
|
function = LED_FUNCTION_WPS;
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
|
};
|
|
+
|
|
+ led-2ghz {
|
|
+ function = "2ghz";
|
|
+ color = <LED_COLOR_ID_WHITE>;
|
|
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+
|
|
+ led-5ghz-1 {
|
|
+ function = "5ghz-1";
|
|
+ color = <LED_COLOR_ID_WHITE>;
|
|
+ gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+
|
|
+ led-5ghz-2 {
|
|
+ function = "5ghz-2";
|
|
+ color = <LED_COLOR_ID_WHITE>;
|
|
+ gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+
|
|
+ led-usb2 {
|
|
+ function = "usb2";
|
|
+ color = <LED_COLOR_ID_WHITE>;
|
|
+ gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+
|
|
+ led-usb3 {
|
|
+ function = "usb3";
|
|
+ color = <LED_COLOR_ID_WHITE>;
|
|
+ gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+
|
|
+ led-wifi {
|
|
+ function = "wifi";
|
|
+ color = <LED_COLOR_ID_WHITE>;
|
|
+ gpios = <&gpio0 56 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
};
|
|
};
|
|
|