From: Bin Yang Date: Thu, 18 Aug 2016 01:39:55 +0000 (+0800) Subject: arm64: dts: rockchip: use extcon for usb2/usb3 on rk3399 mid board X-Git-Tag: firefly_0821_release~1737 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2eb098b2c69e55a9dff68dd581f8ed147aed19b3;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: use extcon for usb2/usb3 on rk3399 mid board Change-Id: I883fb6da8e9b136e6d94213a6675b8de9e131380 Signed-off-by: Bin Yang --- 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"; };