Change-Id: Iea3f9e673a08bc959b3f57d169fff738ce746645
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
<4 13 RK_FUNC_1 &pcfg_pull_up_8ma>;
};
};
+
+ fusb30x {
+ fusb0_int: fusb0-int {
+ rockchip,pins =
+ <1 2 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+};
+
+&i2c4 {
+ status = "okay";
+ fusb0: fusb30x@22 {
+ compatible = "fairchild,fusb302";
+ reg = <0x22>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&fusb0_int>;
+ vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
+ int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+ status = "okay";
+ };
};
&u2phy0 {
status = "okay";
+ extcon = <&fusb0>;
u2phy0_otg: otg-port {
status = "okay";
&usbdrd_dwc3_0 {
dr_mode = "peripheral";
+ extcon = <&fusb0>;
status = "okay";
};
status = "okay";
};
+&tcphy0{
+ extcon = <&fusb0>;
+};
+
&pwm2 {
status = "okay";
};