arm64: dts: rockchip: add usb3 support to rk3568-evb1-v10
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / rockchip / rk3568-evb1-v10.dts
index a794a0e..622be8b 100644 (file)
                vin-supply = <&vcc5v0_usb>;
        };
 
+       vcc5v0_usb_otg: vcc5v0-usb-otg {
+               compatible = "regulator-fixed";
+               enable-active-high;
+               gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&vcc5v0_usb_otg_en>;
+               regulator-name = "vcc5v0_usb_otg";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               vin-supply = <&vcc5v0_usb>;
+       };
+
        vcc3v3_lcd0_n: vcc3v3-lcd0-n {
                compatible = "regulator-fixed";
                regulator-name = "vcc3v3_lcd0_n";
        };
 };
 
+&combphy0 {
+       status = "okay";
+};
+
+&combphy1 {
+       status = "okay";
+};
+
 &cpu0 {
        cpu-supply = <&vdd_cpu>;
 };
                vcc5v0_usb_host_en: vcc5v0_usb_host_en {
                        rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
                };
+               vcc5v0_usb_otg_en: vcc5v0_usb_otg_en {
+                       rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
        };
 };
 
        status = "okay";
 };
 
+&usb_host0_xhci {
+       extcon = <&usb2phy0>;
+       status = "okay";
+};
+
 &usb_host1_ehci {
        status = "okay";
 };
        status = "okay";
 };
 
+&usb_host1_xhci {
+       status = "okay";
+};
+
+&usb2phy0 {
+       status = "okay";
+};
+
+&usb2phy0_host {
+       phy-supply = <&vcc5v0_usb_host>;
+       status = "okay";
+};
+
+&usb2phy0_otg {
+       vbus-supply = <&vcc5v0_usb_otg>;
+       status = "okay";
+};
+
 &usb2phy1 {
        status = "okay";
 };