Commit e3a412c9 authored by Felipe Balbi's avatar Felipe Balbi Committed by Benoit Cousson

ARM: dts: OMAP5: add palmas-usb node

Without this node, there will be no palmas driver to notify
dwc3 that a cable has been connected and, without that, dwc3
will never initialize.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
[kishon@ti.com: added dt properties for enabling vbus/id interrupts
and fixed vbus-supply value after SMPS10 is modeled as 2 regulators]
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarBenoit Cousson <bcousson@baylibre.com>
parent 36f496ac
...@@ -272,6 +272,13 @@ palmas: palmas@48 { ...@@ -272,6 +272,13 @@ palmas: palmas@48 {
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
extcon_usb3: palmas_usb {
compatible = "ti,palmas-usb-vid";
ti,enable-vbus-detection;
ti,enable-id-detection;
ti,wakeup;
};
palmas_pmic { palmas_pmic {
compatible = "ti,palmas-pmic"; compatible = "ti,palmas-pmic";
interrupt-parent = <&palmas>; interrupt-parent = <&palmas>;
...@@ -479,6 +486,11 @@ &usbhsehci { ...@@ -479,6 +486,11 @@ &usbhsehci {
phys = <0 &hsusb2_phy &hsusb3_phy>; phys = <0 &hsusb2_phy &hsusb3_phy>;
}; };
&usb3 {
extcon = <&extcon_usb3>;
vbus-supply = <&smps10_out1_reg>;
};
&mcspi1 { &mcspi1 {
}; };
......
...@@ -634,7 +634,7 @@ omap_control_usb: omap-control-usb@4a002300 { ...@@ -634,7 +634,7 @@ omap_control_usb: omap-control-usb@4a002300 {
ti,type = <2>; ti,type = <2>;
}; };
omap_dwc3@4a020000 { usb3: omap_dwc3@4a020000 {
compatible = "ti,dwc3"; compatible = "ti,dwc3";
ti,hwmods = "usb_otg_ss"; ti,hwmods = "usb_otg_ss";
reg = <0x4a020000 0x10000>; reg = <0x4a020000 0x10000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment