@@ -61,6 +61,32 @@
};
};
+&hsusb {
+ pinctrl-0 = <&usb0_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+&pci0 {
+ pinctrl-0 = <&usb0_pins>;
+ pinctrl-names = "default";
+ /* Disable hsusb to enable USB2.0 host mode support */
+ /* status = "okay"; */
+};
+
+&pci1 {
+ pinctrl-0 = <&usb1_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+&pci2 {
+ pinctrl-0 = <&usb2_pins>;
+ pinctrl-names = "default";
+ /* Disable xhci to enable USB2.0 host mode support */
+ /* status = "okay"; */
+};
+
&pfc {
avb_pins: avb {
groups = "avb_mdio", "avb_gmii";
@@ -88,6 +114,21 @@
function = "sdhi2";
power-source = <1800>;
};
+
+ usb0_pins: usb0 {
+ groups = "usb0";
+ function = "usb0";
+ };
+
+ usb1_pins: usb1 {
+ groups = "usb1";
+ function = "usb1";
+ };
+
+ usb2_pins: usb2 {
+ groups = "usb2";
+ function = "usb2";
+ };
};
&rwdt {
@@ -122,3 +163,13 @@
sd-uhs-sdr50;
status = "okay";
};
+
+&usbphy {
+ status = "okay";
+};
+
+&xhci {
+ pinctrl-0 = <&usb2_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};