|
@@ -3360,3 +3360,123 @@ static struct omap_hwmod_addr_space omap3xxx_usb_host_hs_addrs[] = {
|
|
.pa_start = 0x48064400,
|
|
.pa_start = 0x48064400,
|
|
.pa_end = 0x480647ff,
|
|
.pa_end = 0x480647ff,
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ .name = "ehci",
|
|
|
|
+ .pa_start = 0x48064800,
|
|
|
|
+ .pa_end = 0x48064cff,
|
|
|
|
+ },
|
|
|
|
+ {}
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct omap_hwmod_ocp_if omap3xxx_l4_core__usb_host_hs = {
|
|
|
|
+ .master = &omap3xxx_l4_core_hwmod,
|
|
|
|
+ .slave = &omap3xxx_usb_host_hs_hwmod,
|
|
|
|
+ .clk = "usbhost_ick",
|
|
|
|
+ .addr = omap3xxx_usb_host_hs_addrs,
|
|
|
|
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct omap_hwmod_addr_space omap3xxx_usb_tll_hs_addrs[] = {
|
|
|
|
+ {
|
|
|
|
+ .name = "tll",
|
|
|
|
+ .pa_start = 0x48062000,
|
|
|
|
+ .pa_end = 0x48062fff,
|
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
|
+ },
|
|
|
|
+ {}
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct omap_hwmod_ocp_if omap3xxx_l4_core__usb_tll_hs = {
|
|
|
|
+ .master = &omap3xxx_l4_core_hwmod,
|
|
|
|
+ .slave = &omap3xxx_usb_tll_hs_hwmod,
|
|
|
|
+ .clk = "usbtll_ick",
|
|
|
|
+ .addr = omap3xxx_usb_tll_hs_addrs,
|
|
|
|
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/* l4_core -> hdq1w interface */
|
|
|
|
+static struct omap_hwmod_ocp_if omap3xxx_l4_core__hdq1w = {
|
|
|
|
+ .master = &omap3xxx_l4_core_hwmod,
|
|
|
|
+ .slave = &omap3xxx_hdq1w_hwmod,
|
|
|
|
+ .clk = "hdq_ick",
|
|
|
|
+ .addr = omap2_hdq1w_addr_space,
|
|
|
|
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
|
|
+ .flags = OMAP_FIREWALL_L4 | OCPIF_SWSUP_IDLE,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/* l4_wkup -> 32ksync_counter */
|
|
|
|
+static struct omap_hwmod_addr_space omap3xxx_counter_32k_addrs[] = {
|
|
|
|
+ {
|
|
|
|
+ .pa_start = 0x48320000,
|
|
|
|
+ .pa_end = 0x4832001f,
|
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
|
+ },
|
|
|
|
+ { }
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct omap_hwmod_addr_space omap3xxx_gpmc_addrs[] = {
|
|
|
|
+ {
|
|
|
|
+ .pa_start = 0x6e000000,
|
|
|
|
+ .pa_end = 0x6e000fff,
|
|
|
|
+ .flags = ADDR_TYPE_RT
|
|
|
|
+ },
|
|
|
|
+ { }
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct omap_hwmod_ocp_if omap3xxx_l4_wkup__counter_32k = {
|
|
|
|
+ .master = &omap3xxx_l4_wkup_hwmod,
|
|
|
|
+ .slave = &omap3xxx_counter_32k_hwmod,
|
|
|
|
+ .clk = "omap_32ksync_ick",
|
|
|
|
+ .addr = omap3xxx_counter_32k_addrs,
|
|
|
|
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/* am35xx has Davinci MDIO & EMAC */
|
|
|
|
+static struct omap_hwmod_class am35xx_mdio_class = {
|
|
|
|
+ .name = "davinci_mdio",
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct omap_hwmod am35xx_mdio_hwmod = {
|
|
|
|
+ .name = "davinci_mdio",
|
|
|
|
+ .class = &am35xx_mdio_class,
|
|
|
|
+ .flags = HWMOD_NO_IDLEST,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * XXX Should be connected to an IPSS hwmod, not the L3 directly;
|
|
|
|
+ * but this will probably require some additional hwmod core support,
|
|
|
|
+ * so is left as a future to-do item.
|
|
|
|
+ */
|
|
|
|
+static struct omap_hwmod_ocp_if am35xx_mdio__l3 = {
|
|
|
|
+ .master = &am35xx_mdio_hwmod,
|
|
|
|
+ .slave = &omap3xxx_l3_main_hwmod,
|
|
|
|
+ .clk = "emac_fck",
|
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct omap_hwmod_addr_space am35xx_mdio_addrs[] = {
|
|
|
|
+ {
|
|
|
|
+ .pa_start = AM35XX_IPSS_MDIO_BASE,
|
|
|
|
+ .pa_end = AM35XX_IPSS_MDIO_BASE + SZ_4K - 1,
|
|
|
|
+ .flags = ADDR_TYPE_RT,
|
|
|
|
+ },
|
|
|
|
+ { }
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/* l4_core -> davinci mdio */
|
|
|
|
+/*
|
|
|
|
+ * XXX Should be connected to an IPSS hwmod, not the L4_CORE directly;
|
|
|
|
+ * but this will probably require some additional hwmod core support,
|
|
|
|
+ * so is left as a future to-do item.
|
|
|
|
+ */
|
|
|
|
+static struct omap_hwmod_ocp_if am35xx_l4_core__mdio = {
|
|
|
|
+ .master = &omap3xxx_l4_core_hwmod,
|
|
|
|
+ .slave = &am35xx_mdio_hwmod,
|
|
|
|
+ .clk = "emac_fck",
|
|
|
|
+ .addr = am35xx_mdio_addrs,
|
|
|
|
+ .user = OCP_USER_MPU,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct omap_hwmod_irq_info am35xx_emac_mpu_irqs[] = {
|
|
|
|
+ { .name = "rxthresh", .irq = 67 + OMAP_INTC_START, },
|
|
|
|
+ { .name = "rx_pulse", .irq = 68 + OMAP_INTC_START, },
|