arm64: dts: rockchip: rk3399-vr: support fusb302 and enabled Type-c phy
authorwuliangqing <wlq@rock-chips.com>
Thu, 18 Aug 2016 09:04:23 +0000 (17:04 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 22 Aug 2016 07:08:12 +0000 (15:08 +0800)
Change-Id: I117832db612b44b0439a0714743a0d875a2f5897
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts

index de187bee808c4401fe342824b4a5b4d47587a4c5..56f25d0641c8b732bd19c30c28590a1341ceab2e 100644 (file)
                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 {
 };
 
 &u2phy0 {
+       extcon = <&fusb0>;
        status = "okay";
 
        u2phy0_otg: otg-port {
 };
 
 &usbdrd3_0 {
+       extcon = <&fusb0>;
        status = "okay";
 };
 
        status = "okay";
 };
 
+&tcphy0 {
+       status = "okay";
+       extcon = <&fusb0>;
+};
+
 &pwm0 {
        status = "okay";
 };
                        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