ARM64: dts: rk3399: support fusb302 for box rev1/2

Change-Id: Iea3f9e673a08bc959b3f57d169fff738ce746645
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
This commit is contained in:
Meng Dongyang
2016-08-09 12:17:37 +08:00
committed by Gerrit Code Review
parent a353fc6d47
commit b83ef92fba
2 changed files with 26 additions and 0 deletions

View File

@@ -98,4 +98,24 @@
<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";
};
};

View File

@@ -727,6 +727,7 @@
&u2phy0 {
status = "okay";
extcon = <&fusb0>;
u2phy0_otg: otg-port {
status = "okay";
@@ -783,6 +784,7 @@
&usbdrd_dwc3_0 {
dr_mode = "peripheral";
extcon = <&fusb0>;
status = "okay";
};
@@ -795,6 +797,10 @@
status = "okay";
};
&tcphy0{
extcon = <&fusb0>;
};
&pwm2 {
status = "okay";
};