diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-08-02 07:40:41 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-08-07 20:38:54 +0300 |
commit | 0b1f11002a70abf958aacbf4c18858443f504986 (patch) | |
tree | 88d53c6bd3e9e90eaf8356270990da7aff62b0fd /arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts | |
parent | bbe526f55b60b76a22dfe43e7c8ffe18f5eb30a3 (diff) | |
download | linux-0b1f11002a70abf958aacbf4c18858443f504986.tar.xz |
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/bcm47081-tplink-archer-c5-v2.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts index a854a5174b7f..3ed8de42cb48 100644 --- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts +++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts @@ -36,6 +36,8 @@ usb2-port1 { label = "bcm53xx:green:usb2-port1"; gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>; + trigger-sources = <&ohci_port1>, <&ehci_port1>; + linux,default-trigger = "usbport"; }; power { @@ -67,6 +69,8 @@ usb2-port2 { label = "bcm53xx:green:usb2-port2"; gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>; + trigger-sources = <&ohci_port2>, <&ehci_port2>; + linux,default-trigger = "usbport"; }; }; |