]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
rockchip: dts: rk3399-puma: release reset of on-module USB3 hub via vbus-gpio
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 31 May 2017 16:17:58 +0000 (18:17 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 13:29:23 +0000 (07:29 -0600)
On the RK3399-Q7, the on-module USB3 hub is held in reset at boot-up
to save power and needs to be woken up using GPIO4A3.

Note that this is not a negated reset-signal (due to a level shifter
being needed for this signal anyway), but a negated enable-signal:
to enable, we need to output LOW (i.e. 0)... so we mark this as an
ACTIVE_LOW signal.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/rk3399-puma.dts

index 5d9dfb541cdaf40dde10cd4a2aadf3793f0d948a..7009fdec447de4edffc88afc7bb12637d6b16401 100644 (file)
 };
 
 &dwc3_typec0 {
-       status = "okay";
+       status = "disabled";
 };
 
 &usb_host1_ehci {
 };
 
 &dwc3_typec1 {
+       rockchip,vbus-gpio = <&gpio4 3 GPIO_ACTIVE_LOW>;
        status = "okay";
 };
 
 
                compatible = "spi-flash";
                reg = <0>;
-               spi-max-frequency = <5000000>;
+               spi-max-frequency = <49500000>;
                spi-cpol;
                spi-cpha;
        };