diff options
author | Tony Lindgren <tony@atomide.com> | 2010-05-20 14:37:23 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-05-20 14:37:23 -0400 |
commit | f6304f5804f228b6c2fea9e3dfac25c5b2db9b38 (patch) | |
tree | 362b9b6a3bd32b868e5917a32d448ac75c5854df /arch/arm/mach-davinci/dm355.c | |
parent | 4fa73a1bf89ebea4eba8a9982b5f64d266d8b5e9 (diff) | |
parent | 6daa642d9b8ec762b3c5641cd5e5fa855a5405bf (diff) |
Merge branch 'omap4-i2c-init' into omap-for-linus
Diffstat (limited to 'arch/arm/mach-davinci/dm355.c')
-rw-r--r-- | arch/arm/mach-davinci/dm355.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index 3dc0a88712eb..383478116ef5 100644 --- a/arch/arm/mach-davinci/dm355.c +++ b/arch/arm/mach-davinci/dm355.c | |||
@@ -450,11 +450,6 @@ void __init dm355_init_spi0(unsigned chipselect_mask, | |||
450 | 450 | ||
451 | /*----------------------------------------------------------------------*/ | 451 | /*----------------------------------------------------------------------*/ |
452 | 452 | ||
453 | #define PINMUX0 0x00 | ||
454 | #define PINMUX1 0x04 | ||
455 | #define PINMUX2 0x08 | ||
456 | #define PINMUX3 0x0c | ||
457 | #define PINMUX4 0x10 | ||
458 | #define INTMUX 0x18 | 453 | #define INTMUX 0x18 |
459 | #define EVTMUX 0x1c | 454 | #define EVTMUX 0x1c |
460 | 455 | ||
@@ -788,9 +783,7 @@ static struct davinci_id dm355_ids[] = { | |||
788 | }, | 783 | }, |
789 | }; | 784 | }; |
790 | 785 | ||
791 | static void __iomem *dm355_psc_bases[] = { | 786 | static u32 dm355_psc_bases[] = { DAVINCI_PWR_SLEEP_CNTRL_BASE }; |
792 | IO_ADDRESS(DAVINCI_PWR_SLEEP_CNTRL_BASE), | ||
793 | }; | ||
794 | 787 | ||
795 | /* | 788 | /* |
796 | * T0_BOT: Timer 0, bottom: clockevent source for hrtimers | 789 | * T0_BOT: Timer 0, bottom: clockevent source for hrtimers |
@@ -798,7 +791,7 @@ static void __iomem *dm355_psc_bases[] = { | |||
798 | * T1_BOT: Timer 1, bottom: (used by DSP in TI DSPLink code) | 791 | * T1_BOT: Timer 1, bottom: (used by DSP in TI DSPLink code) |
799 | * T1_TOP: Timer 1, top : <unused> | 792 | * T1_TOP: Timer 1, top : <unused> |
800 | */ | 793 | */ |
801 | struct davinci_timer_info dm355_timer_info = { | 794 | static struct davinci_timer_info dm355_timer_info = { |
802 | .timers = davinci_timer_instance, | 795 | .timers = davinci_timer_instance, |
803 | .clockevent_id = T0_BOT, | 796 | .clockevent_id = T0_BOT, |
804 | .clocksource_id = T0_TOP, | 797 | .clocksource_id = T0_TOP, |
@@ -845,26 +838,28 @@ static struct platform_device dm355_serial_device = { | |||
845 | static struct davinci_soc_info davinci_soc_info_dm355 = { | 838 | static struct davinci_soc_info davinci_soc_info_dm355 = { |
846 | .io_desc = dm355_io_desc, | 839 | .io_desc = dm355_io_desc, |
847 | .io_desc_num = ARRAY_SIZE(dm355_io_desc), | 840 | .io_desc_num = ARRAY_SIZE(dm355_io_desc), |
848 | .jtag_id_base = IO_ADDRESS(0x01c40028), | 841 | .jtag_id_reg = 0x01c40028, |
849 | .ids = dm355_ids, | 842 | .ids = dm355_ids, |
850 | .ids_num = ARRAY_SIZE(dm355_ids), | 843 | .ids_num = ARRAY_SIZE(dm355_ids), |
851 | .cpu_clks = dm355_clks, | 844 | .cpu_clks = dm355_clks, |
852 | .psc_bases = dm355_psc_bases, | 845 | .psc_bases = dm355_psc_bases, |
853 | .psc_bases_num = ARRAY_SIZE(dm355_psc_bases), | 846 | .psc_bases_num = ARRAY_SIZE(dm355_psc_bases), |
854 | .pinmux_base = IO_ADDRESS(DAVINCI_SYSTEM_MODULE_BASE), | 847 | .pinmux_base = DAVINCI_SYSTEM_MODULE_BASE, |
855 | .pinmux_pins = dm355_pins, | 848 | .pinmux_pins = dm355_pins, |
856 | .pinmux_pins_num = ARRAY_SIZE(dm355_pins), | 849 | .pinmux_pins_num = ARRAY_SIZE(dm355_pins), |
857 | .intc_base = IO_ADDRESS(DAVINCI_ARM_INTC_BASE), | 850 | .intc_base = DAVINCI_ARM_INTC_BASE, |
858 | .intc_type = DAVINCI_INTC_TYPE_AINTC, | 851 | .intc_type = DAVINCI_INTC_TYPE_AINTC, |
859 | .intc_irq_prios = dm355_default_priorities, | 852 | .intc_irq_prios = dm355_default_priorities, |
860 | .intc_irq_num = DAVINCI_N_AINTC_IRQ, | 853 | .intc_irq_num = DAVINCI_N_AINTC_IRQ, |
861 | .timer_info = &dm355_timer_info, | 854 | .timer_info = &dm355_timer_info, |
862 | .gpio_base = IO_ADDRESS(DAVINCI_GPIO_BASE), | 855 | .gpio_type = GPIO_TYPE_DAVINCI, |
856 | .gpio_base = DAVINCI_GPIO_BASE, | ||
863 | .gpio_num = 104, | 857 | .gpio_num = 104, |
864 | .gpio_irq = IRQ_DM355_GPIOBNK0, | 858 | .gpio_irq = IRQ_DM355_GPIOBNK0, |
865 | .serial_dev = &dm355_serial_device, | 859 | .serial_dev = &dm355_serial_device, |
866 | .sram_dma = 0x00010000, | 860 | .sram_dma = 0x00010000, |
867 | .sram_len = SZ_32K, | 861 | .sram_len = SZ_32K, |
862 | .reset_device = &davinci_wdt_device, | ||
868 | }; | 863 | }; |
869 | 864 | ||
870 | void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata) | 865 | void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata) |