959ccd4fa3493ced2aacbf3f5dc2b1ded4d88b44
[openwrt/staging/neocturne.git] /
1 From e6d356b146b75f1f77621aab7950a1eb550859f9 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:20 +0100
4 Subject: [PATCH] arm64: dts: broadcom: bcmbca: bcm4908: add TP-Link C2300 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 While at it fix typo in USB LED name.
14
15 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
16 Link: https://lore.kernel.org/all/20230228144520.21816-3-zajec5@gmail.com/
17 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
18 ---
19 .../dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts | 6 +++++-
20 1 file changed, 5 insertions(+), 1 deletion(-)
21
22 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
23 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
24 @@ -64,12 +64,16 @@
25 function = "usb2";
26 color = <LED_COLOR_ID_BLUE>;
27 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
28 + trigger-sources = <&ohci_port1>, <&ehci_port1>;
29 + linux,default-trigger = "usbport";
30 };
31
32 led-usb3 {
33 - function = "usbd3";
34 + function = "usb3";
35 color = <LED_COLOR_ID_BLUE>;
36 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
37 + trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>;
38 + linux,default-trigger = "usbport";
39 };
40
41 led-brightness {