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