diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-08-17 11:05:14 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-08-17 19:18:07 +0200 |
commit | 0173b2cd6948b5b96ac4e8dbc3bcb4dd0b45c296 (patch) | |
tree | 5c87cefccb4fcc71382f58fe3b40682b3615fd08 | |
parent | ARM: dts: cygnus: Add generic-ehci/ohci nodes (diff) | |
download | linux-0173b2cd6948b5b96ac4e8dbc3bcb4dd0b45c296.tar.xz linux-0173b2cd6948b5b96ac4e8dbc3bcb4dd0b45c296.zip |
ARM: BCM53573: Specify ports for USB LED for Tenda AC9
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.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r-- | arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/bcm53573.dtsi | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts index 34417dac1cd0..19e61b5b066c 100644 --- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts +++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts @@ -26,6 +26,8 @@ usb { label = "bcm53xx:blue:usb"; gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; + trigger-sources = <&ohci_port1>, <&ehci_port1>; + linux,default-trigger = "usbport"; }; wps { diff --git a/arch/arm/boot/dts/bcm53573.dtsi b/arch/arm/boot/dts/bcm53573.dtsi index eae623f76401..c698a565b8ae 100644 --- a/arch/arm/boot/dts/bcm53573.dtsi +++ b/arch/arm/boot/dts/bcm53573.dtsi @@ -138,10 +138,12 @@ ehci_port1: port@1 { reg = <1>; + #trigger-source-cells = <0>; }; ehci_port2: port@2 { reg = <2>; + #trigger-source-cells = <0>; }; }; @@ -158,10 +160,12 @@ ohci_port1: port@1 { reg = <1>; + #trigger-source-cells = <0>; }; ohci_port2: port@2 { reg = <2>; + #trigger-source-cells = <0>; }; }; }; |