From: wuliangqing Date: Thu, 18 Aug 2016 09:04:23 +0000 (+0800) Subject: arm64: dts: rockchip: rk3399-vr: support fusb302 and enabled Type-c phy X-Git-Tag: firefly_0821_release~1708 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7481e06100639aec061de38324d2a3f93254e199;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: rk3399-vr: support fusb302 and enabled Type-c phy Change-Id: I117832db612b44b0439a0714743a0d875a2f5897 Signed-off-by: Wu Liangqing --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts index de187bee808c..56f25d0641c8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts @@ -757,6 +757,15 @@ poll_delay_ms = <30>; layout = <1>; }; + + fusb0: fusb30x@22 { + compatible = "fairchild,fusb302"; + reg = <0x22>; + pinctrl-names = "default"; + pinctrl-0 = <&fusb0_int>; + int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; }; &i2c5 { @@ -844,6 +853,7 @@ }; &u2phy0 { + extcon = <&fusb0>; status = "okay"; u2phy0_otg: otg-port { @@ -896,6 +906,7 @@ }; &usbdrd3_0 { + extcon = <&fusb0>; status = "okay"; }; @@ -911,6 +922,11 @@ status = "okay"; }; +&tcphy0 { + status = "okay"; + extcon = <&fusb0>; +}; + &pwm0 { status = "okay"; }; @@ -1035,4 +1051,10 @@ rockchip,pins = <1 0 RK_FUNC_GPIO &pcfg_pull_none>; }; }; -}; + + fusb30x { + fusb0_int: fusb0-int { + rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; \ No newline at end of file