arm64: dts: broadcom: bcmbca: bcm4908: add Netgear R8000P USB LED triggers
authorRafał Miłecki <rafal@milecki.pl>
Tue, 28 Feb 2023 14:45:19 +0000 (15:45 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 14 Mar 2023 21:21:27 +0000 (14:21 -0700)
This device has 2 USB LEDs meant to be triggered by devices in relevant
USB ports.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/all/20230228144520.21816-2-zajec5@gmail.com/
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts

index d8b6057..78204d7 100644 (file)
                        function = "usb2";
                        color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&ohci_port1>, <&ehci_port1>;
+                       linux,default-trigger = "usbport";
                };
 
                led-usb3 {
                        function = "usb3";
                        color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>;
+                       linux,default-trigger = "usbport";
                };
 
                led-wifi {