|
@@ -232,3 +232,73 @@ static struct omap_hwmod omap44xx_l4_per_hwmod = {
|
|
|
.clkdm_name = "l4_per_clkdm",
|
|
|
.prcm = {
|
|
|
.omap4 = {
|
|
|
+ .clkctrl_offs = OMAP4_CM_L4PER_L4PER_CLKCTRL_OFFSET,
|
|
|
+ .context_offs = OMAP4_RM_L4PER_L4_PER_CONTEXT_OFFSET,
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+/* l4_wkup */
|
|
|
+static struct omap_hwmod omap44xx_l4_wkup_hwmod = {
|
|
|
+ .name = "l4_wkup",
|
|
|
+ .class = &omap44xx_l4_hwmod_class,
|
|
|
+ .clkdm_name = "l4_wkup_clkdm",
|
|
|
+ .prcm = {
|
|
|
+ .omap4 = {
|
|
|
+ .clkctrl_offs = OMAP4_CM_WKUP_L4WKUP_CLKCTRL_OFFSET,
|
|
|
+ .context_offs = OMAP4_RM_WKUP_L4WKUP_CONTEXT_OFFSET,
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+/*
|
|
|
+ * 'mpu_bus' class
|
|
|
+ * instance(s): mpu_private
|
|
|
+ */
|
|
|
+static struct omap_hwmod_class omap44xx_mpu_bus_hwmod_class = {
|
|
|
+ .name = "mpu_bus",
|
|
|
+};
|
|
|
+
|
|
|
+/* mpu_private */
|
|
|
+static struct omap_hwmod omap44xx_mpu_private_hwmod = {
|
|
|
+ .name = "mpu_private",
|
|
|
+ .class = &omap44xx_mpu_bus_hwmod_class,
|
|
|
+ .clkdm_name = "mpuss_clkdm",
|
|
|
+ .prcm = {
|
|
|
+ .omap4 = {
|
|
|
+ .flags = HWMOD_OMAP4_NO_CONTEXT_LOSS_BIT,
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+/*
|
|
|
+ * 'ocp_wp_noc' class
|
|
|
+ * instance(s): ocp_wp_noc
|
|
|
+ */
|
|
|
+static struct omap_hwmod_class omap44xx_ocp_wp_noc_hwmod_class = {
|
|
|
+ .name = "ocp_wp_noc",
|
|
|
+};
|
|
|
+
|
|
|
+/* ocp_wp_noc */
|
|
|
+static struct omap_hwmod omap44xx_ocp_wp_noc_hwmod = {
|
|
|
+ .name = "ocp_wp_noc",
|
|
|
+ .class = &omap44xx_ocp_wp_noc_hwmod_class,
|
|
|
+ .clkdm_name = "l3_instr_clkdm",
|
|
|
+ .prcm = {
|
|
|
+ .omap4 = {
|
|
|
+ .clkctrl_offs = OMAP4_CM_L3INSTR_OCP_WP1_CLKCTRL_OFFSET,
|
|
|
+ .context_offs = OMAP4_RM_L3INSTR_OCP_WP1_CONTEXT_OFFSET,
|
|
|
+ .modulemode = MODULEMODE_HWCTRL,
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+/*
|
|
|
+ * Modules omap_hwmod structures
|
|
|
+ *
|
|
|
+ * The following IPs are excluded for the moment because:
|
|
|
+ * - They do not need an explicit SW control using omap_hwmod API.
|
|
|
+ * - They still need to be validated with the driver
|
|
|
+ * properly adapted to omap_hwmod / omap_device
|
|
|
+ *
|
|
|
+ * usim
|