[U-Boot] [PATCH 2/4] rockchip: dts: rk3399-puma: release reset of on-module USB3 hub via vbus-gpio
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Wed May 31 16:17:58 UTC 2017
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 at theobroma-systems.com>
---
arch/arm/dts/rk3399-puma.dts | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/rk3399-puma.dts b/arch/arm/dts/rk3399-puma.dts
index 5d9dfb5..7009fde 100644
--- a/arch/arm/dts/rk3399-puma.dts
+++ b/arch/arm/dts/rk3399-puma.dts
@@ -124,7 +124,7 @@
};
&dwc3_typec0 {
- status = "okay";
+ status = "disabled";
};
&usb_host1_ehci {
@@ -136,6 +136,7 @@
};
&dwc3_typec1 {
+ rockchip,vbus-gpio = <&gpio4 3 GPIO_ACTIVE_LOW>;
status = "okay";
};
@@ -182,7 +183,7 @@
compatible = "spi-flash";
reg = <0>;
- spi-max-frequency = <5000000>;
+ spi-max-frequency = <49500000>;
spi-cpol;
spi-cpha;
};
--
1.9.1
More information about the U-Boot
mailing list