From: Zorro Liu Date: Fri, 17 Mar 2017 09:29:56 +0000 (+0800) Subject: arm64: dts: rk3368-p9: add usb host X-Git-Tag: firefly_0821_release~282 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=097c89626d92370d6b0ed0e36b5db66fb0967818;p=firefly-linux-kernel-4.4.55.git arm64: dts: rk3368-p9: add usb host Change-Id: Ief0045ac99d3af4db22042d468b67609d6fddf2f Signed-off-by: Zorro Liu --- diff --git a/arch/arm64/boot/dts/rockchip/rk3368-p9.dts b/arch/arm64/boot/dts/rockchip/rk3368-p9.dts index 3cbc43599e4d..d7ee5dd6f217 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-p9.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-p9.dts @@ -206,6 +206,16 @@ regulator-min-microvolt = <3800000>; regulator-max-microvolt = <3800000>; }; + + vcc_host: vcc-host { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&host_vbus_drv>; + regulator-name = "vcc_host"; + regulator-always-on; + }; }; &hdmi { @@ -628,6 +638,23 @@ status = "okay"; }; +&u2phy { + status = "okay"; + + u2phy_host: host-port { + phy-supply = <&vcc_host>; + status = "okay"; + }; +}; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + &mipi_dsi_host { status = "okay"; @@ -693,6 +720,12 @@ }; }; + usb2 { + host_vbus_drv: host-vbus-drv { + rockchip,pins = ; + }; + }; + wireless-bluetooth { uart0_rts_gpio: uart0-rts-gpio { rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>;