arm64: dts: rockchip: rv1126b-evb2-v10: Add usb support
1. Add vbus supply for usb2.0 host. 2. Force usb3.0 controller to usb2.0 only mode. Signed-off-by: William Wu <william.wu@rock-chips.com> Change-Id: I7b05395e78b6e157f23ded833f36f3287857a2fa
This commit is contained in:
@@ -21,6 +21,20 @@
|
||||
vin-supply = <&vcc12v_dcin>;
|
||||
};
|
||||
|
||||
vcc5v0_host: vcc5v0-host {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_host";
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 RK_PD1 GPIO_ACTIVE_HIGH>;
|
||||
vin-supply = <&vcc5v0_dcin>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc5v0_host_en>;
|
||||
};
|
||||
|
||||
vccsys_stb: vccsys-stb {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vccsys_stb";
|
||||
@@ -160,6 +174,14 @@
|
||||
pwms = <&pwm2_8ch_7 0 25000 0>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
usb {
|
||||
vcc5v0_host_en: vcc5v0-host-en {
|
||||
rockchip,pins = <0 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pwm0_8ch_0 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -175,3 +197,17 @@
|
||||
&pwm2_8ch_7 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb2phy_host {
|
||||
phy-supply = <&vcc5v0_host>;
|
||||
};
|
||||
|
||||
&usb_drd_dwc3 {
|
||||
dr_mode = "otg";
|
||||
extcon = <&usb2phy>;
|
||||
maximum-speed = "high-speed";
|
||||
phys = <&usb2phy_otg>;
|
||||
phy-names = "usb2-phy";
|
||||
snps,dis_u2_susphy_quirk;
|
||||
snps,usb2-lpm-disable;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user