56249c82f86958495509af7c8d0e275a528b5629
[openwrt/staging/ynezz.git] /
1 From 6224415c0389ba6661825746312163a64ece8f3a Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 19 Feb 2021 06:50:29 +0100
4 Subject: [PATCH] arm64: dts: broadcom: bcm4908: add remaining Netgear R8000P
5 LEDs
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 There are a few more GPIO connected LEDs there didn't get described
11 initially.
12
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 ---
16 .../bcm4908/bcm4906-netgear-r8000p.dts | 50 ++++++++++++++++++-
17 1 file changed, 49 insertions(+), 1 deletion(-)
18
19 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
20 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
21 @@ -18,11 +18,59 @@
22 leds {
23 compatible = "gpio-leds";
24
25 - wps {
26 + led-power-white {
27 + function = LED_FUNCTION_POWER;
28 + color = <LED_COLOR_ID_WHITE>;
29 + gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
30 + };
31 +
32 + led-power-amber {
33 + function = LED_FUNCTION_POWER;
34 + color = <LED_COLOR_ID_AMBER>;
35 + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
36 + };
37 +
38 + led-wps {
39 function = LED_FUNCTION_WPS;
40 color = <LED_COLOR_ID_WHITE>;
41 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
42 };
43 +
44 + led-2ghz {
45 + function = "2ghz";
46 + color = <LED_COLOR_ID_WHITE>;
47 + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
48 + };
49 +
50 + led-5ghz-1 {
51 + function = "5ghz-1";
52 + color = <LED_COLOR_ID_WHITE>;
53 + gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
54 + };
55 +
56 + led-5ghz-2 {
57 + function = "5ghz-2";
58 + color = <LED_COLOR_ID_WHITE>;
59 + gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
60 + };
61 +
62 + led-usb2 {
63 + function = "usb2";
64 + color = <LED_COLOR_ID_WHITE>;
65 + gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
66 + };
67 +
68 + led-usb3 {
69 + function = "usb3";
70 + color = <LED_COLOR_ID_WHITE>;
71 + gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
72 + };
73 +
74 + led-wifi {
75 + function = "wifi";
76 + color = <LED_COLOR_ID_WHITE>;
77 + gpios = <&gpio0 56 GPIO_ACTIVE_LOW>;
78 + };
79 };
80 };
81