From: Ajay Kumar Gupta <ajay.gu...@ti.com>

Device tree node for usbss on AM33XX. There are two musb
controllers on am33xx platform so have port0-mode and
port1-mode data.

[af...@ti.com: reg & interrupt property addition]

Signed-off-by: Ajay Kumar Gupta <ajay.gu...@ti.com>
Signed-off-by: Santhapuri, Damodar <damodar.santhap...@ti.com>
Signed-off-by: Ravi Babu <ravib...@ti.com>
Signed-off-by: Afzal Mohammed <af...@ti.com>
---

Hi Benoit,

This is based on your "for_3.8/dts" branch.

This is made on top of "usb: musb: am335x support"
(http://marc.info/?l=linux-omap&m=135187391904863&w=2)
and has been tested on Beagle Bone.

Regards
Afzal

 arch/arm/boot/dts/am33xx.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 5dfd682..78340a5 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -321,5 +321,22 @@
                        ti,hwmods = "spi1";
                        status = "disabled";
                };
+
+               usb_otg_hs@47400000 {
+                       compatible = "ti,musb-am33xx";
+                       reg = <0x47400000 0x1000        /* usbss */
+                              0x47401000 0x800         /* musb instance 0 */
+                              0x47401800 0x800>;       /* musb instance 1 */
+                       interrupts = <17                /* usbss */
+                                     18                /* musb instance 0 */
+                                     19>;              /* musb instance 1 */
+                       multipoint = <1>;
+                       num-eps = <16>;
+                       ram-bits = <12>;
+                       port0-mode = <3>;
+                       port1-mode = <3>;
+                       power = <250>;
+                       ti,hwmods = "usb_otg_hs";
+               };
        };
 };
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to