diff options
author | Felipe Balbi <balbi@ti.com> | 2013-08-21 10:31:32 -0400 |
---|---|---|
committer | Benoit Cousson <bcousson@baylibre.com> | 2013-10-08 11:51:42 -0400 |
commit | e3a412c9eed08a246d9542645d102c194059cb2b (patch) | |
tree | 54ad52d7dc6717eb10e2cc7fe555e435354edc43 | |
parent | 36f496ac70cadaadc1b024a74c53013bb2461dd1 (diff) |
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: 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>
-rw-r--r-- | arch/arm/boot/dts/omap5-uevm.dts | 12 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap5.dtsi | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 05b9b126f084..da25a14d919f 100644 --- a/arch/arm/boot/dts/omap5-uevm.dts +++ b/arch/arm/boot/dts/omap5-uevm.dts | |||
@@ -272,6 +272,13 @@ | |||
272 | interrupt-controller; | 272 | interrupt-controller; |
273 | #interrupt-cells = <2>; | 273 | #interrupt-cells = <2>; |
274 | 274 | ||
275 | extcon_usb3: palmas_usb { | ||
276 | compatible = "ti,palmas-usb-vid"; | ||
277 | ti,enable-vbus-detection; | ||
278 | ti,enable-id-detection; | ||
279 | ti,wakeup; | ||
280 | }; | ||
281 | |||
275 | palmas_pmic { | 282 | palmas_pmic { |
276 | compatible = "ti,palmas-pmic"; | 283 | compatible = "ti,palmas-pmic"; |
277 | interrupt-parent = <&palmas>; | 284 | interrupt-parent = <&palmas>; |
@@ -479,6 +486,11 @@ | |||
479 | phys = <0 &hsusb2_phy &hsusb3_phy>; | 486 | phys = <0 &hsusb2_phy &hsusb3_phy>; |
480 | }; | 487 | }; |
481 | 488 | ||
489 | &usb3 { | ||
490 | extcon = <&extcon_usb3>; | ||
491 | vbus-supply = <&smps10_out1_reg>; | ||
492 | }; | ||
493 | |||
482 | &mcspi1 { | 494 | &mcspi1 { |
483 | 495 | ||
484 | }; | 496 | }; |
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index ecc06a99fd4d..6192c458bea1 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi | |||
@@ -634,7 +634,7 @@ | |||
634 | ti,type = <2>; | 634 | ti,type = <2>; |
635 | }; | 635 | }; |
636 | 636 | ||
637 | omap_dwc3@4a020000 { | 637 | usb3: omap_dwc3@4a020000 { |
638 | compatible = "ti,dwc3"; | 638 | compatible = "ti,dwc3"; |
639 | ti,hwmods = "usb_otg_ss"; | 639 | ti,hwmods = "usb_otg_ss"; |
640 | reg = <0x4a020000 0x10000>; | 640 | reg = <0x4a020000 0x10000>; |