3e210d68e11aaffa2f10fcb9a204b85dcb66c8e7
[openwrt/staging/jow.git] /
1 From 889e53ccccc29ff4bf8d4c89cca34e8768845747 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Tue, 28 Feb 2023 15:45:19 +0100
4 Subject: [PATCH] arm64: dts: broadcom: bcmbca: bcm4908: add Netgear R8000P USB
5 LED triggers
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 This device has 2 USB LEDs meant to be triggered by devices in relevant
11 USB ports.
12
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Link: https://lore.kernel.org/all/20230228144520.21816-2-zajec5@gmail.com/
15 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 ---
17 .../arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 4 ++++
18 1 file changed, 4 insertions(+)
19
20 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts
21 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts
22 @@ -58,12 +58,16 @@
23 function = "usb2";
24 color = <LED_COLOR_ID_WHITE>;
25 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
26 + trigger-sources = <&ohci_port1>, <&ehci_port1>;
27 + linux,default-trigger = "usbport";
28 };
29
30 led-usb3 {
31 function = "usb3";
32 color = <LED_COLOR_ID_WHITE>;
33 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
34 + trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>;
35 + linux,default-trigger = "usbport";
36 };
37
38 led-wifi {