arm/arm64: implement a boot header capability
[oweals/u-boot.git] / arch / arm / include / asm / omap_common.h
index 14c07fab34abf6ccbf2323351c1d41d32be3a602..07f384867eb03d43e75eefe8b001a7202033ad1c 100644 (file)
@@ -145,6 +145,7 @@ struct prcm_regs {
        u32 cm_ssc_modfreqdiv_dpll_unipro;
        u32 cm_coreaon_usb_phy1_core_clkctrl;
        u32 cm_coreaon_usb_phy2_core_clkctrl;
+       u32 cm_coreaon_usb_phy3_core_clkctrl;
        u32 cm_coreaon_l3init_60m_gfclk_clkctrl;
 
        /* cm2.core */
@@ -324,6 +325,12 @@ struct prcm_regs {
        u32 prm_abbldo_mpu_ctrl;
        u32 prm_abbldo_mm_setup;
        u32 prm_abbldo_mm_ctrl;
+       u32 prm_abbldo_iva_setup;
+       u32 prm_abbldo_iva_ctrl;
+       u32 prm_abbldo_eve_setup;
+       u32 prm_abbldo_eve_ctrl;
+       u32 prm_abbldo_gpu_setup;
+       u32 prm_abbldo_gpu_ctrl;
 
        u32 cm_div_m4_dpll_core;
        u32 cm_div_m5_dpll_core;
@@ -445,6 +452,9 @@ struct omap_sys_ctrl_regs {
        u32 control_emif2_sdram_config_ext;
        u32 control_wkup_ldovbb_mpu_voltage_ctrl;
        u32 control_wkup_ldovbb_mm_voltage_ctrl;
+       u32 control_wkup_ldovbb_iva_voltage_ctrl;
+       u32 control_wkup_ldovbb_eve_voltage_ctrl;
+       u32 control_wkup_ldovbb_gpu_voltage_ctrl;
        u32 control_smart1nopmio_padconf_0;
        u32 control_smart1nopmio_padconf_1;
        u32 control_padconf_mode;
@@ -707,6 +717,17 @@ static inline u8 is_dra72x(void)
 #define DRA722_ES1_0   0x07220100
 #define DRA722_ES2_0   0x07220200
 
+/*
+ * silicon device type
+ * Moving to common from cpu.h, since it is shared by various omap devices
+ */
+#define DEVICE_MASK         (BIT(8) | BIT(9) | BIT(10))
+#define TST_DEVICE          0x0
+#define EMU_DEVICE          0x1
+#define HS_DEVICE           0x2
+#define GP_DEVICE           0x3
+
+
 /*
  * SRAM scratch space entries
  */