]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-omap5/clock.h
ARM: DRA7: Define common macros for efuse register offsets
[u-boot] / arch / arm / include / asm / arch-omap5 / clock.h
index f8e5630bcb4214a44cddf180296eb6b38bc7db0c..a850043c8967bcb47b831139d8f4dee3e31aca1a 100644 (file)
 /* CM_COREAON_USB_PHY_CORE_CLKCTRL */
 #define USBPHY_CORE_CLKCTRL_OPTFCLKEN_CLK32K   (1 << 8)
 
+/* CM_COREAON_L3INIT_60M_GFCLK_CLKCTRL */
+#define L3INIT_CLKCTRL_OPTFCLKEN_60M_GFCLK     (1 << 8)
+
 /* CM_L3INIT_USB_OTG_SS_CLKCTRL */
 #define OTG_SS_CLKCTRL_MODULEMODE_HW   (1 << 0)
 #define OPTFCLKEN_REFCLK960M                   (1 << 8)
 #define VDD_MM_ES2_LOW 880
 
 /* DRA74x/75x voltage settings in mv for OPP_NOM per DM */
-#define VDD_MPU_DRA752         1100
+#define VDD_MPU_DRA752         1150
+#define VDD_CORE_DRA752                1150
 #define VDD_EVE_DRA752         1060
 #define VDD_GPU_DRA752         1060
-#define VDD_CORE_DRA752                1060
 #define VDD_IVA_DRA752         1060
 
 /* DRA72x voltage settings in mv for OPP_NOM per DM */
-#define VDD_MPU_DRA72x         1100
+#define VDD_MPU_DRA72x         1150
+#define VDD_CORE_DRA72x                1150
 #define VDD_EVE_DRA72x         1060
 #define VDD_GPU_DRA72x         1060
-#define VDD_CORE_DRA72x                1060
 #define VDD_IVA_DRA72x         1060
 
 /* Efuse register offsets for DRA7xx platform */
 /* STD_FUSE_OPP_VMIN_MPU_4 */
 #define STD_FUSE_OPP_VMIN_MPU_HIGH     (DRA752_EFUSE_BASE + 0x1B28)
 
+/* Common Efuse register macros */
+#define STD_FUSE_OPP_VMIN_MPU          STD_FUSE_OPP_VMIN_MPU_NOM
+#define STD_FUSE_OPP_VMIN_CORE         STD_FUSE_OPP_VMIN_CORE_NOM
+#define STD_FUSE_OPP_VMIN_DSPEVE       STD_FUSE_OPP_VMIN_DSPEVE_NOM
+#define STD_FUSE_OPP_VMIN_GPU          STD_FUSE_OPP_VMIN_GPU_NOM
+#define STD_FUSE_OPP_VMIN_IVA          STD_FUSE_OPP_VMIN_IVA_NOM
+
 /* Standard offset is 0.5v expressed in uv */
 #define PALMAS_SMPS_BASE_VOLT_UV 500000