Commit 0173b2cd authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Florian Fainelli

ARM: BCM53573: Specify ports for USB LED for Tenda AC9

This uses trigger-sources documented in commit 80dc6e1c ("dt-bindings:
leds: document new trigger-sources property") to specify USB ports. Such an
information can be used by operating system to setup LEDs behavior.
Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent fdacf095
...@@ -26,6 +26,8 @@ leds { ...@@ -26,6 +26,8 @@ leds {
usb { usb {
label = "bcm53xx:blue:usb"; label = "bcm53xx:blue:usb";
gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
}; };
wps { wps {
......
...@@ -138,10 +138,12 @@ ehci: ehci@4000 { ...@@ -138,10 +138,12 @@ ehci: ehci@4000 {
ehci_port1: port@1 { ehci_port1: port@1 {
reg = <1>; reg = <1>;
#trigger-source-cells = <0>;
}; };
ehci_port2: port@2 { ehci_port2: port@2 {
reg = <2>; reg = <2>;
#trigger-source-cells = <0>;
}; };
}; };
...@@ -158,10 +160,12 @@ ohci: ohci@d000 { ...@@ -158,10 +160,12 @@ ohci: ohci@d000 {
ohci_port1: port@1 { ohci_port1: port@1 {
reg = <1>; reg = <1>;
#trigger-source-cells = <0>;
}; };
ohci_port2: port@2 { ohci_port2: port@2 {
reg = <2>; reg = <2>;
#trigger-source-cells = <0>;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment