aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_44xx_data.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_44xx_data.c25
1 files changed, 15 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 0b1249e00398..f9fab942d5ba 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -22,22 +22,24 @@
22#include <linux/platform_data/gpio-omap.h> 22#include <linux/platform_data/gpio-omap.h>
23#include <linux/power/smartreflex.h> 23#include <linux/power/smartreflex.h>
24#include <linux/platform_data/omap_ocp2scp.h> 24#include <linux/platform_data/omap_ocp2scp.h>
25#include <linux/i2c-omap.h>
25 26
26#include <plat/omap_hwmod.h> 27#include <linux/omap-dma.h>
27#include <plat/i2c.h> 28
28#include <plat/dma.h> 29#include <linux/platform_data/omap_ocp2scp.h>
29#include <linux/platform_data/spi-omap2-mcspi.h> 30#include <linux/platform_data/spi-omap2-mcspi.h>
30#include <linux/platform_data/asoc-ti-mcbsp.h> 31#include <linux/platform_data/asoc-ti-mcbsp.h>
31#include <plat/mmc.h> 32#include <linux/platform_data/iommu-omap.h>
32#include <plat/dmtimer.h> 33#include <plat/dmtimer.h>
33#include <plat/common.h>
34#include <plat/iommu.h>
35 34
35#include "omap_hwmod.h"
36#include "omap_hwmod_common_data.h" 36#include "omap_hwmod_common_data.h"
37#include "cm1_44xx.h" 37#include "cm1_44xx.h"
38#include "cm2_44xx.h" 38#include "cm2_44xx.h"
39#include "prm44xx.h" 39#include "prm44xx.h"
40#include "prm-regbits-44xx.h" 40#include "prm-regbits-44xx.h"
41#include "i2c.h"
42#include "mmc.h"
41#include "wd_timer.h" 43#include "wd_timer.h"
42 44
43/* Base offset for all OMAP4 interrupts external to MPUSS */ 45/* Base offset for all OMAP4 interrupts external to MPUSS */
@@ -651,7 +653,7 @@ static struct omap_hwmod omap44xx_dsp_hwmod = {
651 .mpu_irqs = omap44xx_dsp_irqs, 653 .mpu_irqs = omap44xx_dsp_irqs,
652 .rst_lines = omap44xx_dsp_resets, 654 .rst_lines = omap44xx_dsp_resets,
653 .rst_lines_cnt = ARRAY_SIZE(omap44xx_dsp_resets), 655 .rst_lines_cnt = ARRAY_SIZE(omap44xx_dsp_resets),
654 .main_clk = "dsp_fck", 656 .main_clk = "dpll_iva_m4x2_ck",
655 .prcm = { 657 .prcm = {
656 .omap4 = { 658 .omap4 = {
657 .clkctrl_offs = OMAP4_CM_TESLA_TESLA_CLKCTRL_OFFSET, 659 .clkctrl_offs = OMAP4_CM_TESLA_TESLA_CLKCTRL_OFFSET,
@@ -1527,8 +1529,7 @@ static struct omap_hwmod_class omap44xx_i2c_hwmod_class = {
1527}; 1529};
1528 1530
1529static struct omap_i2c_dev_attr i2c_dev_attr = { 1531static struct omap_i2c_dev_attr i2c_dev_attr = {
1530 .flags = OMAP_I2C_FLAG_BUS_SHIFT_NONE | 1532 .flags = OMAP_I2C_FLAG_BUS_SHIFT_NONE,
1531 OMAP_I2C_FLAG_RESET_REGS_POSTIDLE,
1532}; 1533};
1533 1534
1534/* i2c1 */ 1535/* i2c1 */
@@ -1678,7 +1679,7 @@ static struct omap_hwmod omap44xx_ipu_hwmod = {
1678 .mpu_irqs = omap44xx_ipu_irqs, 1679 .mpu_irqs = omap44xx_ipu_irqs,
1679 .rst_lines = omap44xx_ipu_resets, 1680 .rst_lines = omap44xx_ipu_resets,
1680 .rst_lines_cnt = ARRAY_SIZE(omap44xx_ipu_resets), 1681 .rst_lines_cnt = ARRAY_SIZE(omap44xx_ipu_resets),
1681 .main_clk = "ipu_fck", 1682 .main_clk = "ducati_clk_mux_ck",
1682 .prcm = { 1683 .prcm = {
1683 .omap4 = { 1684 .omap4 = {
1684 .clkctrl_offs = OMAP4_CM_DUCATI_DUCATI_CLKCTRL_OFFSET, 1685 .clkctrl_offs = OMAP4_CM_DUCATI_DUCATI_CLKCTRL_OFFSET,
@@ -3102,6 +3103,7 @@ static struct omap_hwmod_class_sysconfig omap44xx_timer_1ms_sysc = {
3102 SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | 3103 SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
3103 SYSS_HAS_RESET_STATUS), 3104 SYSS_HAS_RESET_STATUS),
3104 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 3105 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
3106 .clockact = CLOCKACT_TEST_ICLK,
3105 .sysc_fields = &omap_hwmod_sysc_type1, 3107 .sysc_fields = &omap_hwmod_sysc_type1,
3106}; 3108};
3107 3109
@@ -3155,6 +3157,7 @@ static struct omap_hwmod omap44xx_timer1_hwmod = {
3155 .name = "timer1", 3157 .name = "timer1",
3156 .class = &omap44xx_timer_1ms_hwmod_class, 3158 .class = &omap44xx_timer_1ms_hwmod_class,
3157 .clkdm_name = "l4_wkup_clkdm", 3159 .clkdm_name = "l4_wkup_clkdm",
3160 .flags = HWMOD_SET_DEFAULT_CLOCKACT,
3158 .mpu_irqs = omap44xx_timer1_irqs, 3161 .mpu_irqs = omap44xx_timer1_irqs,
3159 .main_clk = "timer1_fck", 3162 .main_clk = "timer1_fck",
3160 .prcm = { 3163 .prcm = {
@@ -3177,6 +3180,7 @@ static struct omap_hwmod omap44xx_timer2_hwmod = {
3177 .name = "timer2", 3180 .name = "timer2",
3178 .class = &omap44xx_timer_1ms_hwmod_class, 3181 .class = &omap44xx_timer_1ms_hwmod_class,
3179 .clkdm_name = "l4_per_clkdm", 3182 .clkdm_name = "l4_per_clkdm",
3183 .flags = HWMOD_SET_DEFAULT_CLOCKACT,
3180 .mpu_irqs = omap44xx_timer2_irqs, 3184 .mpu_irqs = omap44xx_timer2_irqs,
3181 .main_clk = "timer2_fck", 3185 .main_clk = "timer2_fck",
3182 .prcm = { 3186 .prcm = {
@@ -3351,6 +3355,7 @@ static struct omap_hwmod omap44xx_timer10_hwmod = {
3351 .name = "timer10", 3355 .name = "timer10",
3352 .class = &omap44xx_timer_1ms_hwmod_class, 3356 .class = &omap44xx_timer_1ms_hwmod_class,
3353 .clkdm_name = "l4_per_clkdm", 3357 .clkdm_name = "l4_per_clkdm",
3358 .flags = HWMOD_SET_DEFAULT_CLOCKACT,
3354 .mpu_irqs = omap44xx_timer10_irqs, 3359 .mpu_irqs = omap44xx_timer10_irqs,
3355 .main_clk = "timer10_fck", 3360 .main_clk = "timer10_fck",
3356 .prcm = { 3361 .prcm = {