Merge branch 'master' of git://git.denx.de/u-boot-i2c; branch 'master' of git://git...
[oweals/u-boot.git] / arch / arm / include / asm / arch-am33xx / hardware_am43xx.h
index 29e3816c1a531dca487c0c1b74ddc6238fb6772b..a7da6b5cfde64e23f59b9e3e348bf375716bf5c2 100644 (file)
 /* RTC base address */
 #define RTC_BASE                       0x44E3E000
 
+/* USB OTG */
+#define USB_OTG_SS1_BASE               0x48390000
+#define USB_OTG_SS1_GLUE_BASE          0x48380000
+#define USB2_PHY1_POWER                        0x44E10620
+
+#define USB_OTG_SS2_BASE               0x483D0000
+#define USB_OTG_SS2_GLUE_BASE          0x483C0000
+#define USB2_PHY2_POWER                        0x44E10628
+
 /* USB Clock Control */
 #define PRM_PER_USB_OTG_SS0_CLKCTRL (CM_PER + 0x260)
 #define PRM_PER_USB_OTG_SS1_CLKCTRL (CM_PER + 0x268)
@@ -73,6 +82,9 @@
 #define CM_DEVICE_INST                 0x44df4100
 #define PRM_DEVICE_INST                        0x44df4000
 
+#define        USBOTGSSX_CLKCTRL_OPTFCLKEN_REFCLK960   (1 << 8)
+#define        USBPHY0_CLKCTRL_OPTFCLKEN_CLK32K        (1 << 8)
+
 /* Control status register */
 #define CTRL_CRYSTAL_FREQ_SRC_MASK             (1 << 31)
 #define CTRL_CRYSTAL_FREQ_SRC_SHIFT            31
@@ -86,4 +98,7 @@
 
 #define NUM_CRYSTAL_FREQ                       0x4
 
+/* EDMA3 Base Address */
+#define EDMA3_BASE                             0x49000000
+
 #endif /* __AM43XX_HARDWARE_AM43XX_H */