ARM: dts: OMAP5: add palmas-usb node
authorFelipe Balbi <balbi@ti.com>
Wed, 21 Aug 2013 14:31:32 +0000 (20:01 +0530)
committerBenoit Cousson <bcousson@baylibre.com>
Tue, 8 Oct 2013 15:51:42 +0000 (17:51 +0200)
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: Felipe 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: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/omap5-uevm.dts
arch/arm/boot/dts/omap5.dtsi

index 05b9b126f084cdf10298048f256332de0e74eb94..da25a14d919fd79dca067e6dd3e1aa0c28e7f553 100644 (file)
                interrupt-controller;
                #interrupt-cells = <2>;
 
+               extcon_usb3: palmas_usb {
+                       compatible = "ti,palmas-usb-vid";
+                       ti,enable-vbus-detection;
+                       ti,enable-id-detection;
+                       ti,wakeup;
+               };
+
                palmas_pmic {
                        compatible = "ti,palmas-pmic";
                        interrupt-parent = <&palmas>;
        phys = <0 &hsusb2_phy &hsusb3_phy>;
 };
 
+&usb3 {
+       extcon = <&extcon_usb3>;
+       vbus-supply = <&smps10_out1_reg>;
+};
+
 &mcspi1 {
 
 };
index ecc06a99fd4d7c41d80a8b5ee024bf6709363b19..6192c458bea123dc75bce6cb433d229c456fdb22 100644 (file)
                        ti,type = <2>;
                };
 
-               omap_dwc3@4a020000 {
+               usb3: omap_dwc3@4a020000 {
                        compatible = "ti,dwc3";
                        ti,hwmods = "usb_otg_ss";
                        reg = <0x4a020000 0x10000>;