From 3e14a793737aa8a1494dd22dd403b36720f207f1 Mon Sep 17 00:00:00 2001 From: Ren Jianing Date: Thu, 9 Jul 2020 16:58:27 +0800 Subject: [PATCH] ARM: dts: rockchip: add vup_gpios in u2phy0 for rv11xx-evb-v10 The USB2.0 OTG PHY of RV1126/1109 which is designed for lower power consumption provides only 8.8mA current source on DM. Multiplied by 45 Ohm host termination resistance, voltage is about 400mV. If the threshold voltage of host is greater than 400mV, the high speed handshake will fail and SoC communicate at full speed. So swing calibration is necessary. We use gpio to control the 220 Ohm pull-up resistor to provide additional current. Experiments show that the voltage of chirpK can be increases to about 600mV. Signed-off-by: Ren Jianing Change-Id: Ibb0cba2b166f0370d2822ca5a3a7277ffacde8c1 --- arch/arm/boot/dts/rv11xx-evb-v10.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rv11xx-evb-v10.dtsi b/arch/arm/boot/dts/rv11xx-evb-v10.dtsi index aa459adcb4d8..ae06aa1278c2 100644 --- a/arch/arm/boot/dts/rv11xx-evb-v10.dtsi +++ b/arch/arm/boot/dts/rv11xx-evb-v10.dtsi @@ -1290,6 +1290,7 @@ &u2phy0 { status = "okay"; + vup-gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_LOW>; u2phy_otg: otg-port { status = "okay"; }; @@ -1297,7 +1298,6 @@ &u2phy1 { status = "okay"; - u2phy_host: host-port { status = "okay"; phy-supply = <&vcc5v0_host>;