2 * omap_hwmod_2xxx_3xxx_ipblock_data.c - common IP block data for OMAP2/3
4 * Copyright (C) 2011 Nokia Corporation
5 * Copyright (C) 2012 Texas Instruments, Inc.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #include <linux/dmaengine.h>
14 #include <linux/omap-dma.h>
16 #include "omap_hwmod.h"
19 #include "omap_hwmod_common_data.h"
23 static struct omap_hwmod_class_sysconfig omap2_uart_sysc = {
27 .sysc_flags = (SYSC_HAS_SIDLEMODE |
28 SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET |
29 SYSC_HAS_AUTOIDLE | SYSS_HAS_RESET_STATUS),
30 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
31 .sysc_fields = &omap_hwmod_sysc_type1,
34 struct omap_hwmod_class omap2_uart_class = {
36 .sysc = &omap2_uart_sysc,
44 struct omap_hwmod_class omap2_venc_hwmod_class = {
49 * omap_hwmod class data
52 struct omap_hwmod_class l3_hwmod_class = {
56 struct omap_hwmod_class l4_hwmod_class = {
60 struct omap_hwmod_class mpu_hwmod_class = {
64 struct omap_hwmod_class iva_hwmod_class = {
68 /* Common MPU IRQ line data */
70 struct omap_hwmod_irq_info omap2_dispc_irqs[] = {
71 { .irq = 25 + OMAP_INTC_START, },
75 struct omap_hwmod_irq_info omap2_dma_system_irqs[] = {
76 { .name = "0", .irq = 12 + OMAP_INTC_START, }, /* INT_24XX_SDMA_IRQ0 */
77 { .name = "1", .irq = 13 + OMAP_INTC_START, }, /* INT_24XX_SDMA_IRQ1 */
78 { .name = "2", .irq = 14 + OMAP_INTC_START, }, /* INT_24XX_SDMA_IRQ2 */
79 { .name = "3", .irq = 15 + OMAP_INTC_START, }, /* INT_24XX_SDMA_IRQ3 */
83 struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc = {
87 .sysc_flags = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
88 SYSS_HAS_RESET_STATUS),
89 .sysc_fields = &omap_hwmod_sysc_type1,
92 struct omap_hwmod_class omap2_hdq1w_class = {
94 .sysc = &omap2_hdq1w_sysc,
95 .reset = &omap_hdq1w_reset,