~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        .class          = &l3_hwmod_class,
153
153
        .mpu_irqs       = omap3xxx_l3_main_irqs,
154
154
        .mpu_irqs_cnt   = ARRAY_SIZE(omap3xxx_l3_main_irqs),
155
 
        .vdd_name       = "core",       
156
155
        .masters        = omap3xxx_l3_main_masters,
157
156
        .masters_cnt    = ARRAY_SIZE(omap3xxx_l3_main_masters),
158
157
        .slaves         = omap3xxx_l3_main_slaves,
543
542
        .name           = "mpu",
544
543
        .class          = &mpu_hwmod_class,
545
544
        .main_clk       = "arm_fck",
546
 
        .vdd_name       = "mpu",
547
545
        .masters        = omap3xxx_mpu_masters,
548
546
        .masters_cnt    = ARRAY_SIZE(omap3xxx_mpu_masters),
549
547
        .omap_chip      = OMAP_CHIP_INIT(CHIP_IS_OMAP3430),
572
570
static struct omap_hwmod omap3xxx_iva_hwmod = {
573
571
        .name           = "iva",
574
572
        .class          = &iva_hwmod_class,
575
 
        .vdd_name       = "mpu",
576
573
        .masters        = omap3xxx_iva_masters,
577
574
        .masters_cnt    = ARRAY_SIZE(omap3xxx_iva_masters),
578
575
        .omap_chip      = OMAP_CHIP_INIT(CHIP_IS_OMAP3430)
1463
1460
static struct omap_hwmod_class i2c_class = {
1464
1461
        .name = "i2c",
1465
1462
        .sysc = &i2c_sysc,
1466
 
        .rev  = OMAP_I2C_IP_VERSION_1,
1467
1463
};
1468
1464
 
1469
1465
/*
1878
1874
 
1879
1875
static struct omap_i2c_dev_attr i2c1_dev_attr = {
1880
1876
        .fifo_depth     = 8, /* bytes */
1881
 
        .flags = OMAP_I2C_FLAG_APPLY_ERRATA_I207 |
1882
 
                 OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
1883
 
                 OMAP_I2C_FLAG_BUS_SHIFT_2,
1884
1877
};
1885
1878
 
1886
1879
static struct omap_hwmod_irq_info i2c1_mpu_irqs[] = {
1898
1891
 
1899
1892
static struct omap_hwmod omap3xxx_i2c1_hwmod = {
1900
1893
        .name           = "i2c1",
1901
 
        .flags          = HWMOD_16BIT_REG,
1902
1894
        .mpu_irqs       = i2c1_mpu_irqs,
1903
1895
        .mpu_irqs_cnt   = ARRAY_SIZE(i2c1_mpu_irqs),
1904
1896
        .sdma_reqs      = i2c1_sdma_reqs,
1924
1916
 
1925
1917
static struct omap_i2c_dev_attr i2c2_dev_attr = {
1926
1918
        .fifo_depth     = 8, /* bytes */
1927
 
        .flags = OMAP_I2C_FLAG_APPLY_ERRATA_I207 |
1928
 
                 OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
1929
 
                 OMAP_I2C_FLAG_BUS_SHIFT_2,
1930
1919
};
1931
1920
 
1932
1921
static struct omap_hwmod_irq_info i2c2_mpu_irqs[] = {
1944
1933
 
1945
1934
static struct omap_hwmod omap3xxx_i2c2_hwmod = {
1946
1935
        .name           = "i2c2",
1947
 
        .flags          = HWMOD_16BIT_REG,
1948
1936
        .mpu_irqs       = i2c2_mpu_irqs,
1949
1937
        .mpu_irqs_cnt   = ARRAY_SIZE(i2c2_mpu_irqs),
1950
1938
        .sdma_reqs      = i2c2_sdma_reqs,
1970
1958
 
1971
1959
static struct omap_i2c_dev_attr i2c3_dev_attr = {
1972
1960
        .fifo_depth     = 64, /* bytes */
1973
 
        .flags = OMAP_I2C_FLAG_APPLY_ERRATA_I207 |
1974
 
                 OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
1975
 
                 OMAP_I2C_FLAG_BUS_SHIFT_2,
1976
1961
};
1977
1962
 
1978
1963
static struct omap_hwmod_irq_info i2c3_mpu_irqs[] = {
1990
1975
 
1991
1976
static struct omap_hwmod omap3xxx_i2c3_hwmod = {
1992
1977
        .name           = "i2c3",
1993
 
        .flags          = HWMOD_16BIT_REG,
1994
1978
        .mpu_irqs       = i2c3_mpu_irqs,
1995
1979
        .mpu_irqs_cnt   = ARRAY_SIZE(i2c3_mpu_irqs),
1996
1980
        .sdma_reqs      = i2c3_sdma_reqs,
2157
2141
 
2158
2142
static struct omap_hwmod omap3xxx_gpio1_hwmod = {
2159
2143
        .name           = "gpio1",
 
2144
        .flags          = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
2160
2145
        .mpu_irqs       = omap3xxx_gpio1_irqs,
2161
2146
        .mpu_irqs_cnt   = ARRAY_SIZE(omap3xxx_gpio1_irqs),
2162
2147
        .main_clk       = "gpio1_ick",
2193
2178
 
2194
2179
static struct omap_hwmod omap3xxx_gpio2_hwmod = {
2195
2180
        .name           = "gpio2",
 
2181
        .flags          = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
2196
2182
        .mpu_irqs       = omap3xxx_gpio2_irqs,
2197
2183
        .mpu_irqs_cnt   = ARRAY_SIZE(omap3xxx_gpio2_irqs),
2198
2184
        .main_clk       = "gpio2_ick",
2229
2215
 
2230
2216
static struct omap_hwmod omap3xxx_gpio3_hwmod = {
2231
2217
        .name           = "gpio3",
 
2218
        .flags          = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
2232
2219
        .mpu_irqs       = omap3xxx_gpio3_irqs,
2233
2220
        .mpu_irqs_cnt   = ARRAY_SIZE(omap3xxx_gpio3_irqs),
2234
2221
        .main_clk       = "gpio3_ick",
2265
2252
 
2266
2253
static struct omap_hwmod omap3xxx_gpio4_hwmod = {
2267
2254
        .name           = "gpio4",
 
2255
        .flags          = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
2268
2256
        .mpu_irqs       = omap3xxx_gpio4_irqs,
2269
2257
        .mpu_irqs_cnt   = ARRAY_SIZE(omap3xxx_gpio4_irqs),
2270
2258
        .main_clk       = "gpio4_ick",
2301
2289
 
2302
2290
static struct omap_hwmod omap3xxx_gpio5_hwmod = {
2303
2291
        .name           = "gpio5",
 
2292
        .flags          = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
2304
2293
        .mpu_irqs       = omap3xxx_gpio5_irqs,
2305
2294
        .mpu_irqs_cnt   = ARRAY_SIZE(omap3xxx_gpio5_irqs),
2306
2295
        .main_clk       = "gpio5_ick",
2337
2326
 
2338
2327
static struct omap_hwmod omap3xxx_gpio6_hwmod = {
2339
2328
        .name           = "gpio6",
 
2329
        .flags          = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
2340
2330
        .mpu_irqs       = omap3xxx_gpio6_irqs,
2341
2331
        .mpu_irqs_cnt   = ARRAY_SIZE(omap3xxx_gpio6_irqs),
2342
2332
        .main_clk       = "gpio6_ick",
2402
2392
static struct omap_hwmod_addr_space omap3xxx_dma_system_addrs[] = {
2403
2393
        {
2404
2394
                .pa_start       = 0x48056000,
2405
 
                .pa_end         = 0x4a0560ff,
 
2395
                .pa_end         = 0x48056fff,
2406
2396
                .flags          = ADDR_TYPE_RT
2407
2397
        },
2408
2398
};