build/patch/u-boot/u-boot-media/0260-u-boot-rk-rk3328-roc-cc-dts.patch

60 lines
1.1 KiB
Diff

--- a/arch/arm/dts/rk3328-roc-cc.dts
+++ b/arch/arm/dts/rk3328-roc-cc.dts
@@ -70,6 +70,24 @@
regulator-always-on;
vin-supply = <&vcc_sys>;
};
+
+ vcc5v0_otg: vcc5v0-otg-drv {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ regulator-name = "vcc5v0_otg";
+ gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ };
+
+ vcc5v0_host_xhci: vcc5v0-host-xhci-drv {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ regulator-name = "vcc5v0_host_xhci";
+ gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ };
vcc_sys: vcc-sys {
compatible = "regulator-fixed";
@@ -354,16 +372,30 @@
status = "okay";
};
+&u3phy {
+ status = "okay";
+};
+
+&u3phy_utmi {
+ status = "okay";
+};
+
+&u3phy_pipe {
+ status = "okay";
+};
+
&uart2 {
status = "okay";
};
&usb20_otg {
+ vbus-supply = <&vcc5v0_otg>;
dr_mode = "host";
status = "okay";
};
&usbdrd3 {
+ vbus-supply = <&vcc5v0_host_xhci>;
dr_mode = "host";
status = "okay";
};