From 2eb098b2c69e55a9dff68dd581f8ed147aed19b3 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Thu, 18 Aug 2016 09:39:55 +0800 Subject: [PATCH] arm64: dts: rockchip: use extcon for usb2/usb3 on rk3399 mid board Change-Id: I883fb6da8e9b136e6d94213a6675b8de9e131380 Signed-off-by: Bin Yang --- .../boot/dts/rockchip/rk3399-mid-818-android.dts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts index 3390a1508cff..d6329850587d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts @@ -880,10 +880,16 @@ &u2phy0 { status = "okay"; + extcon = <&fusb0>; u2phy0_otg: otg-port { status = "okay"; }; + + u2phy0_host: host-port { + phy-supply = <&vcc5v0_host>; + status = "okay"; + }; }; &u2phy1 { @@ -892,11 +898,6 @@ u2phy1_otg: otg-port { status = "okay"; }; - - u2phy1_host: host-port { - phy-supply = <&vcc5v0_host>; - status = "okay"; - }; }; &uart0 { @@ -926,6 +927,7 @@ }; &usbdrd3_0 { + extcon = <&fusb0>; status = "okay"; }; -- 2.34.1