@@ -203,6 +203,15 @@ &gcc {
<&sleep_clk>;
};
+&pm8150_gpios {
+ usb2_en_state: usb2-en-state {
+ pins = "gpio10";
+ function = "normal";
+ output-high;
+ power-source = <0>;
+ };
+};
+
&pon_pwrkey {
status = "okay";
};
@@ -248,6 +257,25 @@ &usb_1_dwc3 {
dr_mode = "peripheral";
};
+&usb_hsphy_2 {
+ vdd-supply = <&vreg_l5a>;
+ vdda-pll-supply = <&vreg_l12a>;
+ vdda-phy-dpdm-supply = <&vreg_l13a>;
+
+ status = "okay";
+};
+
+&usb_2 {
+ pinctrl-0 = <&usb2_en_state>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
+
+&usb_2_dwc3 {
+ dr_mode = "host";
+};
+
&watchdog {
clocks = <&sleep_clk>;
};