From 004b4e82452ae29d90cd7788f46a4630d4a3d648 Mon Sep 17 00:00:00 2001 From: Jianing Ren Date: Mon, 30 Mar 2020 20:18:44 +0800 Subject: [PATCH] ARM: dts: rockchip: enable usb host/phy for rv11xx_evb_v10 Change-Id: I31860d51efa64f106f9e5820e6573fe627b2cfa9 Signed-off-by: Jianing Ren --- arch/arm/boot/dts/rv11xx-evb-v10.dtsi | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rv11xx-evb-v10.dtsi b/arch/arm/boot/dts/rv11xx-evb-v10.dtsi index c13d570c8b83..af813d1b3b2b 100644 --- a/arch/arm/boot/dts/rv11xx-evb-v10.dtsi +++ b/arch/arm/boot/dts/rv11xx-evb-v10.dtsi @@ -980,20 +980,43 @@ status = "okay"; }; +&u2phy0 { + status = "okay"; + u2phy_otg: otg-port { + status = "okay"; + }; +}; + +&u2phy1 { + status = "okay"; + + u2phy_host: host-port { + status = "okay"; + phy-supply = <&vcc5v0_host>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_xfer &uart0_ctsn>; status = "okay"; }; +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + &usbdrd { status = "okay"; }; &usbdrd_dwc3 { status = "okay"; - /delete-property/ phys; - dr_mode = "peripheral"; + extcon = <&u2phy0>; }; &vdpu {