mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
|
From e6d356b146b75f1f77621aab7950a1eb550859f9 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
||
|
Date: Tue, 28 Feb 2023 15:45:20 +0100
|
||
|
Subject: [PATCH] arm64: dts: broadcom: bcmbca: bcm4908: add TP-Link C2300 USB
|
||
|
LED triggers
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
This device has 2 USB LEDs meant to be triggered by devices in relevant
|
||
|
USB ports.
|
||
|
|
||
|
While at it fix typo in USB LED name.
|
||
|
|
||
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
||
|
Link: https://lore.kernel.org/all/20230228144520.21816-3-zajec5@gmail.com/
|
||
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
||
|
---
|
||
|
.../dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts | 6 +++++-
|
||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
|
||
|
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
|
||
|
@@ -64,12 +64,16 @@
|
||
|
function = "usb2";
|
||
|
color = <LED_COLOR_ID_BLUE>;
|
||
|
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
|
||
|
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
|
||
|
+ linux,default-trigger = "usbport";
|
||
|
};
|
||
|
|
||
|
led-usb3 {
|
||
|
- function = "usbd3";
|
||
|
+ function = "usb3";
|
||
|
color = <LED_COLOR_ID_BLUE>;
|
||
|
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
||
|
+ trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>;
|
||
|
+ linux,default-trigger = "usbport";
|
||
|
};
|
||
|
|
||
|
led-brightness {
|