|
@@ -6239,3 +6239,180 @@ static struct omap_hwmod_addr_space omap44xx_wd_timer3_dma_addrs[] = {
|
|
|
};
|
|
|
|
|
|
/* l4_abe -> wd_timer3 (dma) */
|
|
|
+static struct omap_hwmod_ocp_if omap44xx_l4_abe__wd_timer3_dma = {
|
|
|
+ .master = &omap44xx_l4_abe_hwmod,
|
|
|
+ .slave = &omap44xx_wd_timer3_hwmod,
|
|
|
+ .clk = "ocp_abe_iclk",
|
|
|
+ .addr = omap44xx_wd_timer3_dma_addrs,
|
|
|
+ .user = OCP_USER_SDMA,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_hwmod_ocp_if *omap44xx_hwmod_ocp_ifs[] __initdata = {
|
|
|
+ &omap44xx_c2c__c2c_target_fw,
|
|
|
+ &omap44xx_l4_cfg__c2c_target_fw,
|
|
|
+ &omap44xx_l3_main_1__dmm,
|
|
|
+ &omap44xx_mpu__dmm,
|
|
|
+ &omap44xx_c2c__emif_fw,
|
|
|
+ &omap44xx_dmm__emif_fw,
|
|
|
+ &omap44xx_l4_cfg__emif_fw,
|
|
|
+ &omap44xx_iva__l3_instr,
|
|
|
+ &omap44xx_l3_main_3__l3_instr,
|
|
|
+ &omap44xx_ocp_wp_noc__l3_instr,
|
|
|
+ &omap44xx_dsp__l3_main_1,
|
|
|
+ &omap44xx_dss__l3_main_1,
|
|
|
+ &omap44xx_l3_main_2__l3_main_1,
|
|
|
+ &omap44xx_l4_cfg__l3_main_1,
|
|
|
+ &omap44xx_mmc1__l3_main_1,
|
|
|
+ &omap44xx_mmc2__l3_main_1,
|
|
|
+ &omap44xx_mpu__l3_main_1,
|
|
|
+ &omap44xx_c2c_target_fw__l3_main_2,
|
|
|
+ &omap44xx_debugss__l3_main_2,
|
|
|
+ &omap44xx_dma_system__l3_main_2,
|
|
|
+ &omap44xx_fdif__l3_main_2,
|
|
|
+ &omap44xx_gpu__l3_main_2,
|
|
|
+ &omap44xx_hsi__l3_main_2,
|
|
|
+ &omap44xx_ipu__l3_main_2,
|
|
|
+ &omap44xx_iss__l3_main_2,
|
|
|
+ &omap44xx_iva__l3_main_2,
|
|
|
+ &omap44xx_l3_main_1__l3_main_2,
|
|
|
+ &omap44xx_l4_cfg__l3_main_2,
|
|
|
+ /* &omap44xx_usb_host_fs__l3_main_2, */
|
|
|
+ &omap44xx_usb_host_hs__l3_main_2,
|
|
|
+ &omap44xx_usb_otg_hs__l3_main_2,
|
|
|
+ &omap44xx_l3_main_1__l3_main_3,
|
|
|
+ &omap44xx_l3_main_2__l3_main_3,
|
|
|
+ &omap44xx_l4_cfg__l3_main_3,
|
|
|
+ /* &omap44xx_aess__l4_abe, */
|
|
|
+ &omap44xx_dsp__l4_abe,
|
|
|
+ &omap44xx_l3_main_1__l4_abe,
|
|
|
+ &omap44xx_mpu__l4_abe,
|
|
|
+ &omap44xx_l3_main_1__l4_cfg,
|
|
|
+ &omap44xx_l3_main_2__l4_per,
|
|
|
+ &omap44xx_l4_cfg__l4_wkup,
|
|
|
+ &omap44xx_mpu__mpu_private,
|
|
|
+ &omap44xx_l4_cfg__ocp_wp_noc,
|
|
|
+ /* &omap44xx_l4_abe__aess, */
|
|
|
+ /* &omap44xx_l4_abe__aess_dma, */
|
|
|
+ &omap44xx_l3_main_2__c2c,
|
|
|
+ &omap44xx_l4_wkup__counter_32k,
|
|
|
+ &omap44xx_l4_cfg__ctrl_module_core,
|
|
|
+ &omap44xx_l4_cfg__ctrl_module_pad_core,
|
|
|
+ &omap44xx_l4_wkup__ctrl_module_wkup,
|
|
|
+ &omap44xx_l4_wkup__ctrl_module_pad_wkup,
|
|
|
+ &omap44xx_l3_instr__debugss,
|
|
|
+ &omap44xx_l4_cfg__dma_system,
|
|
|
+ &omap44xx_l4_abe__dmic,
|
|
|
+ &omap44xx_l4_abe__dmic_dma,
|
|
|
+ &omap44xx_dsp__iva,
|
|
|
+ /* &omap44xx_dsp__sl2if, */
|
|
|
+ &omap44xx_l4_cfg__dsp,
|
|
|
+ &omap44xx_l3_main_2__dss,
|
|
|
+ &omap44xx_l4_per__dss,
|
|
|
+ &omap44xx_l3_main_2__dss_dispc,
|
|
|
+ &omap44xx_l4_per__dss_dispc,
|
|
|
+ &omap44xx_l3_main_2__dss_dsi1,
|
|
|
+ &omap44xx_l4_per__dss_dsi1,
|
|
|
+ &omap44xx_l3_main_2__dss_dsi2,
|
|
|
+ &omap44xx_l4_per__dss_dsi2,
|
|
|
+ &omap44xx_l3_main_2__dss_hdmi,
|
|
|
+ &omap44xx_l4_per__dss_hdmi,
|
|
|
+ &omap44xx_l3_main_2__dss_rfbi,
|
|
|
+ &omap44xx_l4_per__dss_rfbi,
|
|
|
+ &omap44xx_l3_main_2__dss_venc,
|
|
|
+ &omap44xx_l4_per__dss_venc,
|
|
|
+ &omap44xx_l4_per__elm,
|
|
|
+ &omap44xx_emif_fw__emif1,
|
|
|
+ &omap44xx_emif_fw__emif2,
|
|
|
+ &omap44xx_l4_cfg__fdif,
|
|
|
+ &omap44xx_l4_wkup__gpio1,
|
|
|
+ &omap44xx_l4_per__gpio2,
|
|
|
+ &omap44xx_l4_per__gpio3,
|
|
|
+ &omap44xx_l4_per__gpio4,
|
|
|
+ &omap44xx_l4_per__gpio5,
|
|
|
+ &omap44xx_l4_per__gpio6,
|
|
|
+ &omap44xx_l3_main_2__gpmc,
|
|
|
+ &omap44xx_l3_main_2__gpu,
|
|
|
+ &omap44xx_l4_per__hdq1w,
|
|
|
+ &omap44xx_l4_cfg__hsi,
|
|
|
+ &omap44xx_l4_per__i2c1,
|
|
|
+ &omap44xx_l4_per__i2c2,
|
|
|
+ &omap44xx_l4_per__i2c3,
|
|
|
+ &omap44xx_l4_per__i2c4,
|
|
|
+ &omap44xx_l3_main_2__ipu,
|
|
|
+ &omap44xx_l3_main_2__iss,
|
|
|
+ /* &omap44xx_iva__sl2if, */
|
|
|
+ &omap44xx_l3_main_2__iva,
|
|
|
+ &omap44xx_l4_wkup__kbd,
|
|
|
+ &omap44xx_l4_cfg__mailbox,
|
|
|
+ &omap44xx_l4_abe__mcasp,
|
|
|
+ &omap44xx_l4_abe__mcasp_dma,
|
|
|
+ &omap44xx_l4_abe__mcbsp1,
|
|
|
+ &omap44xx_l4_abe__mcbsp1_dma,
|
|
|
+ &omap44xx_l4_abe__mcbsp2,
|
|
|
+ &omap44xx_l4_abe__mcbsp2_dma,
|
|
|
+ &omap44xx_l4_abe__mcbsp3,
|
|
|
+ &omap44xx_l4_abe__mcbsp3_dma,
|
|
|
+ &omap44xx_l4_per__mcbsp4,
|
|
|
+ &omap44xx_l4_abe__mcpdm,
|
|
|
+ &omap44xx_l4_abe__mcpdm_dma,
|
|
|
+ &omap44xx_l4_per__mcspi1,
|
|
|
+ &omap44xx_l4_per__mcspi2,
|
|
|
+ &omap44xx_l4_per__mcspi3,
|
|
|
+ &omap44xx_l4_per__mcspi4,
|
|
|
+ &omap44xx_l4_per__mmc1,
|
|
|
+ &omap44xx_l4_per__mmc2,
|
|
|
+ &omap44xx_l4_per__mmc3,
|
|
|
+ &omap44xx_l4_per__mmc4,
|
|
|
+ &omap44xx_l4_per__mmc5,
|
|
|
+ &omap44xx_l3_main_2__mmu_ipu,
|
|
|
+ &omap44xx_l4_cfg__mmu_dsp,
|
|
|
+ &omap44xx_l3_main_2__ocmc_ram,
|
|
|
+ &omap44xx_l4_cfg__ocp2scp_usb_phy,
|
|
|
+ &omap44xx_mpu_private__prcm_mpu,
|
|
|
+ &omap44xx_l4_wkup__cm_core_aon,
|
|
|
+ &omap44xx_l4_cfg__cm_core,
|
|
|
+ &omap44xx_l4_wkup__prm,
|
|
|
+ &omap44xx_l4_wkup__scrm,
|
|
|
+ /* &omap44xx_l3_main_2__sl2if, */
|
|
|
+ &omap44xx_l4_abe__slimbus1,
|
|
|
+ &omap44xx_l4_abe__slimbus1_dma,
|
|
|
+ &omap44xx_l4_per__slimbus2,
|
|
|
+ &omap44xx_l4_cfg__smartreflex_core,
|
|
|
+ &omap44xx_l4_cfg__smartreflex_iva,
|
|
|
+ &omap44xx_l4_cfg__smartreflex_mpu,
|
|
|
+ &omap44xx_l4_cfg__spinlock,
|
|
|
+ &omap44xx_l4_wkup__timer1,
|
|
|
+ &omap44xx_l4_per__timer2,
|
|
|
+ &omap44xx_l4_per__timer3,
|
|
|
+ &omap44xx_l4_per__timer4,
|
|
|
+ &omap44xx_l4_abe__timer5,
|
|
|
+ &omap44xx_l4_abe__timer5_dma,
|
|
|
+ &omap44xx_l4_abe__timer6,
|
|
|
+ &omap44xx_l4_abe__timer6_dma,
|
|
|
+ &omap44xx_l4_abe__timer7,
|
|
|
+ &omap44xx_l4_abe__timer7_dma,
|
|
|
+ &omap44xx_l4_abe__timer8,
|
|
|
+ &omap44xx_l4_abe__timer8_dma,
|
|
|
+ &omap44xx_l4_per__timer9,
|
|
|
+ &omap44xx_l4_per__timer10,
|
|
|
+ &omap44xx_l4_per__timer11,
|
|
|
+ &omap44xx_l4_per__uart1,
|
|
|
+ &omap44xx_l4_per__uart2,
|
|
|
+ &omap44xx_l4_per__uart3,
|
|
|
+ &omap44xx_l4_per__uart4,
|
|
|
+ /* &omap44xx_l4_cfg__usb_host_fs, */
|
|
|
+ &omap44xx_l4_cfg__usb_host_hs,
|
|
|
+ &omap44xx_l4_cfg__usb_otg_hs,
|
|
|
+ &omap44xx_l4_cfg__usb_tll_hs,
|
|
|
+ &omap44xx_l4_wkup__wd_timer2,
|
|
|
+ &omap44xx_l4_abe__wd_timer3,
|
|
|
+ &omap44xx_l4_abe__wd_timer3_dma,
|
|
|
+ NULL,
|
|
|
+};
|
|
|
+
|
|
|
+int __init omap44xx_hwmod_init(void)
|
|
|
+{
|
|
|
+ omap_hwmod_init();
|
|
|
+ return omap_hwmod_register_links(omap44xx_hwmod_ocp_ifs);
|
|
|
+}
|
|
|
+
|