提交 0173b2cd 编写于 作者: R Rafał Miłecki 提交者: 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: NRafał Miłecki <rafal@milecki.pl>
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
上级 fdacf095
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
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 @@ ...@@ -138,10 +138,12 @@
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 @@ ...@@ -158,10 +160,12 @@
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册