|
@@ -3793,3 +3793,138 @@ static struct omap_hwmod_irq_info omap44xx_wd_timer2_irqs[] = {
|
|
|
};
|
|
|
|
|
|
static struct omap_hwmod omap44xx_wd_timer2_hwmod = {
|
|
|
+ .name = "wd_timer2",
|
|
|
+ .class = &omap44xx_wd_timer_hwmod_class,
|
|
|
+ .clkdm_name = "l4_wkup_clkdm",
|
|
|
+ .mpu_irqs = omap44xx_wd_timer2_irqs,
|
|
|
+ .main_clk = "wd_timer2_fck",
|
|
|
+ .prcm = {
|
|
|
+ .omap4 = {
|
|
|
+ .clkctrl_offs = OMAP4_CM_WKUP_WDT2_CLKCTRL_OFFSET,
|
|
|
+ .context_offs = OMAP4_RM_WKUP_WDT2_CONTEXT_OFFSET,
|
|
|
+ .modulemode = MODULEMODE_SWCTRL,
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+/* wd_timer3 */
|
|
|
+static struct omap_hwmod_irq_info omap44xx_wd_timer3_irqs[] = {
|
|
|
+ { .irq = 36 + OMAP44XX_IRQ_GIC_START },
|
|
|
+ { .irq = -1 }
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod omap44xx_wd_timer3_hwmod = {
|
|
|
+ .name = "wd_timer3",
|
|
|
+ .class = &omap44xx_wd_timer_hwmod_class,
|
|
|
+ .clkdm_name = "abe_clkdm",
|
|
|
+ .mpu_irqs = omap44xx_wd_timer3_irqs,
|
|
|
+ .main_clk = "wd_timer3_fck",
|
|
|
+ .prcm = {
|
|
|
+ .omap4 = {
|
|
|
+ .clkctrl_offs = OMAP4_CM1_ABE_WDT3_CLKCTRL_OFFSET,
|
|
|
+ .context_offs = OMAP4_RM_ABE_WDT3_CONTEXT_OFFSET,
|
|
|
+ .modulemode = MODULEMODE_SWCTRL,
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/*
|
|
|
+ * interfaces
|
|
|
+ */
|
|
|
+
|
|
|
+static struct omap_hwmod_addr_space omap44xx_c2c_target_fw_addrs[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x4a204000,
|
|
|
+ .pa_end = 0x4a2040ff,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+/* c2c -> c2c_target_fw */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_c2c__c2c_target_fw = {
|
|
|
+ .master = &omap44xx_c2c_hwmod,
|
|
|
+ .slave = &omap44xx_c2c_target_fw_hwmod,
|
|
|
+ .clk = "div_core_ck",
|
|
|
+ .addr = omap44xx_c2c_target_fw_addrs,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* l4_cfg -> c2c_target_fw */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_l4_cfg__c2c_target_fw = {
|
|
|
+ .master = &omap44xx_l4_cfg_hwmod,
|
|
|
+ .slave = &omap44xx_c2c_target_fw_hwmod,
|
|
|
+ .clk = "l4_div_ck",
|
|
|
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
|
+};
|
|
|
+
|
|
|
+/* l3_main_1 -> dmm */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_l3_main_1__dmm = {
|
|
|
+ .master = &omap44xx_l3_main_1_hwmod,
|
|
|
+ .slave = &omap44xx_dmm_hwmod,
|
|
|
+ .clk = "l3_div_ck",
|
|
|
+ .user = OCP_USER_SDMA,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_addr_space omap44xx_dmm_addrs[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x4e000000,
|
|
|
+ .pa_end = 0x4e0007ff,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+/* mpu -> dmm */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_mpu__dmm = {
|
|
|
+ .master = &omap44xx_mpu_hwmod,
|
|
|
+ .slave = &omap44xx_dmm_hwmod,
|
|
|
+ .clk = "l3_div_ck",
|
|
|
+ .addr = omap44xx_dmm_addrs,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* c2c -> emif_fw */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_c2c__emif_fw = {
|
|
|
+ .master = &omap44xx_c2c_hwmod,
|
|
|
+ .slave = &omap44xx_emif_fw_hwmod,
|
|
|
+ .clk = "div_core_ck",
|
|
|
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
|
+};
|
|
|
+
|
|
|
+/* dmm -> emif_fw */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_dmm__emif_fw = {
|
|
|
+ .master = &omap44xx_dmm_hwmod,
|
|
|
+ .slave = &omap44xx_emif_fw_hwmod,
|
|
|
+ .clk = "l3_div_ck",
|
|
|
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_addr_space omap44xx_emif_fw_addrs[] = {
|
|
|
+ {
|
|
|
+ .pa_start = 0x4a20c000,
|
|
|
+ .pa_end = 0x4a20c0ff,
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+/* l4_cfg -> emif_fw */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_l4_cfg__emif_fw = {
|
|
|
+ .master = &omap44xx_l4_cfg_hwmod,
|
|
|
+ .slave = &omap44xx_emif_fw_hwmod,
|
|
|
+ .clk = "l4_div_ck",
|
|
|
+ .addr = omap44xx_emif_fw_addrs,
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
+};
|
|
|
+
|
|
|
+/* iva -> l3_instr */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_iva__l3_instr = {
|
|
|
+ .master = &omap44xx_iva_hwmod,
|
|
|
+ .slave = &omap44xx_l3_instr_hwmod,
|
|
|
+ .clk = "l3_div_ck",
|
|
|
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
|
+};
|
|
|
+
|
|
|
+/* l3_main_3 -> l3_instr */
|