Commit 1d390437 authored by Douglas Anderson's avatar Douglas Anderson Committed by Felipe Balbi

ARM: dts: rockchip: Allow wakeup from rk3288-veyron's dwc2 USB ports

We want to be able to wake from USB if a device is plugged in that
wants remote wakeup.  Enable it on both dwc2 controllers.

NOTE: this is added specifically to veyron and not to rk3288 in
general since it's not known whether all rk3288 boards are designed to
support USB wakeup.  It is plausible that some boards could shut down
important rails in S3.

Also note that currently wakeup doesn't seem to happen unless you use
the "deep" suspend mode (where SDRAM is turned off).  Presumably the
shallow suspend mode is gating some sort of clock that's important but
I couldn't easily figure out how to get it working.
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent cd5f9726
...@@ -424,6 +424,7 @@ &usb_host0_ehci { ...@@ -424,6 +424,7 @@ &usb_host0_ehci {
&usb_host1 { &usb_host1 {
status = "okay"; status = "okay";
snps,need-phy-for-wake;
}; };
&usb_otg { &usb_otg {
...@@ -432,6 +433,7 @@ &usb_otg { ...@@ -432,6 +433,7 @@ &usb_otg {
assigned-clocks = <&cru SCLK_USBPHY480M_SRC>; assigned-clocks = <&cru SCLK_USBPHY480M_SRC>;
assigned-clock-parents = <&usbphy0>; assigned-clock-parents = <&usbphy0>;
dr_mode = "host"; dr_mode = "host";
snps,need-phy-for-wake;
}; };
&vopb { &vopb {
......
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