diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-08-02 06:40:41 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-08-07 10:38:54 -0700 |
commit | 0b1f11002a70abf958aacbf4c18858443f504986 (patch) | |
tree | 88d53c6bd3e9e90eaf8356270990da7aff62b0fd /arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | |
parent | bbe526f55b60b76a22dfe43e7c8ffe18f5eb30a3 (diff) | |
download | lwn-0b1f11002a70abf958aacbf4c18858443f504986.tar.gz lwn-0b1f11002a70abf958aacbf4c18858443f504986.zip |
ARM: dts: BCM5301X: Specify USB ports for USB LEDs of few devices
This uses trigger-sources documented in commit 80dc6e1cd85fc ("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.
I updated dts files for 7 devices I own and I was able to test.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts index 97aa5d59a1d8..ec4a50e440f6 100644 --- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts +++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts @@ -46,11 +46,16 @@ usb3 { label = "bcm53xx:blue:usb3"; gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>; + trigger-sources = <&ohci_port1>, <&ehci_port1>, + <&xhci_port1>; + linux,default-trigger = "usbport"; }; usb2 { label = "bcm53xx:blue:usb2"; gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>; + trigger-sources = <&ohci_port2>, <&ehci_port2>; + linux,default-trigger = "usbport"; }; wan-blue { |