@@ -26,6 +26,18 @@
regulator-max-microvolt = <3300000>;
};
+ extcon1: dra7x_usbid_extcon1 {
+ compatible = "linux,extcon-gpio";
+ gpios = <&pcf_gpio_21 1 GPIO_ACTIVE_LOW>;
+ cable-name = "USB-HOST";
+ };
+
+ extcon2: dra7x_usbid_extcon2 {
+ compatible = "linux,extcon-gpio";
+ gpios = <&pcf_gpio_21 2 GPIO_ACTIVE_LOW>;
+ cable-name = "USB-HOST";
+ };
+
vtt_fixed: fixedregulator-vtt {
compatible = "regulator-fixed";
regulator-name = "vtt_fixed";
@@ -291,6 +303,19 @@
};
};
};
+
+ pcf_gpio_21: gpio@21 {
+ compatible = "ti,pcf8575";
+ reg = <0x21>;
+ lines-initial-states = <0x1408>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
};
&i2c2 {
@@ -420,6 +445,14 @@
};
};
+&omap_dwc3_1 {
+ extcon = <&extcon1>;
+};
+
+&omap_dwc3_2 {
+ extcon = <&extcon2>;
+};
+
&usb1 {
dr_mode = "peripheral";
pinctrl-names = "default";