--- zzzz-none-000/linux-2.6.28.10/drivers/usb/musb/davinci.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/drivers/usb/musb/davinci.h 2010-03-30 18:41:51.000000000 +0000 @@ -16,14 +16,24 @@ /* Integrated highspeed/otg PHY */ #define USBPHY_CTL_PADDR (DAVINCI_SYSTEM_MODULE_BASE + 0x34) +#define USBPHY_NDATAPOL (1 << 18) +#define USBPHY_SESSION_VBUS (1 << 17) +#define USBPHY_PERI_USBID (1 << 16) +#define USBPHY_DATAPOL (1 << 11) #define USBPHY_PHYCLKGD (1 << 8) #define USBPHY_SESNDEN (1 << 7) /* v(sess_end) comparator */ #define USBPHY_VBDTCTEN (1 << 6) /* v(bus) comparator */ #define USBPHY_PHYPLLON (1 << 4) /* override pll suspend */ #define USBPHY_CLKO1SEL (1 << 3) #define USBPHY_OSCPDWN (1 << 2) +#define USBPHY_OTGPWDN (1 << 1) #define USBPHY_PHYPDWN (1 << 0) +/* On DM355 VBUS is controlled through DEEPSLEEP reg, + * so adding this here for now + */ +#define DM355_DEEPSLEEP_PADDR (DAVINCI_SYSTEM_MODULE_BASE + 0x48) + /* For now include usb OTG module registers here */ #define DAVINCI_USB_VERSION_REG 0x00 #define DAVINCI_USB_CTRL_REG 0x04 @@ -97,4 +107,7 @@ #define DAVINCI_BASE_OFFSET 0x400 +#define DVEVM_GPIO45_DIR (0x01C67060) +#define DVEVM_GPIO45_DIR_OUT (0x00000040) + #endif /* __MUSB_HDRDF_H__ */