Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163193
b: refs/heads/master
c: bea238f
h: refs/heads/master
i:
  163191: f6a65df
v: v3
  • Loading branch information
Rajashekhara, Sudhakar authored and Kevin Hilman committed Aug 26, 2009
1 parent 4796dd7 commit 9b3b5e9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c92a554fcad141f8c73eecdb1cc5ac0527a5c15
refs/heads/master: bea238f65c81742a03662e4664d88a9b4de5ea83
22 changes: 7 additions & 15 deletions trunk/arch/arm/mach-davinci/da830.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@
#include "clock.h"
#include "mux.h"

#define DA830_PSC0_BASE 0x01c10000
#define DA830_PLL0_BASE 0x01c11000
#define DA830_JTAG_ID_REG 0x01c14018
#define DA830_TIMER64P0_BASE 0x01c20000
#define DA830_TIMER64P1_BASE 0x01c21000
#define DA830_GPIO_BASE 0x01e26000
#define DA830_PSC1_BASE 0x01e27000

/* Offsets of the 8 compare registers on the da830 */
#define DA830_CMP12_0 0x60
#define DA830_CMP12_1 0x64
Expand All @@ -49,7 +41,7 @@

static struct pll_data pll0_data = {
.num = 1,
.phys_base = DA830_PLL0_BASE,
.phys_base = DA8XX_PLL0_BASE,
.flags = PLL_HAS_PREDIV | PLL_HAS_POSTDIV,
};

Expand Down Expand Up @@ -1174,8 +1166,8 @@ static struct map_desc da830_io_desc[] = {
};

static void __iomem *da830_psc_bases[] = {
IO_ADDRESS(DA830_PSC0_BASE),
IO_ADDRESS(DA830_PSC1_BASE),
IO_ADDRESS(DA8XX_PSC0_BASE),
IO_ADDRESS(DA8XX_PSC1_BASE),
};

/* Contents of JTAG ID register used to identify exact cpu type */
Expand All @@ -1191,14 +1183,14 @@ static struct davinci_id da830_ids[] = {

static struct davinci_timer_instance da830_timer_instance[2] = {
{
.base = IO_ADDRESS(DA830_TIMER64P0_BASE),
.base = IO_ADDRESS(DA8XX_TIMER64P0_BASE),
.bottom_irq = IRQ_DA8XX_TINT12_0,
.top_irq = IRQ_DA8XX_TINT34_0,
.cmp_off = DA830_CMP12_0,
.cmp_irq = IRQ_DA830_T12CMPINT0_0,
},
{
.base = IO_ADDRESS(DA830_TIMER64P1_BASE),
.base = IO_ADDRESS(DA8XX_TIMER64P1_BASE),
.bottom_irq = IRQ_DA8XX_TINT12_1,
.top_irq = IRQ_DA8XX_TINT34_1,
.cmp_off = DA830_CMP12_0,
Expand All @@ -1220,7 +1212,7 @@ static struct davinci_timer_info da830_timer_info = {
static struct davinci_soc_info davinci_soc_info_da830 = {
.io_desc = da830_io_desc,
.io_desc_num = ARRAY_SIZE(da830_io_desc),
.jtag_id_base = IO_ADDRESS(DA830_JTAG_ID_REG),
.jtag_id_base = IO_ADDRESS(DA8XX_JTAG_ID_REG),
.ids = da830_ids,
.ids_num = ARRAY_SIZE(da830_ids),
.cpu_clks = da830_clks,
Expand All @@ -1234,7 +1226,7 @@ static struct davinci_soc_info davinci_soc_info_da830 = {
.intc_irq_prios = da830_default_priorities,
.intc_irq_num = DA830_N_CP_INTC_IRQ,
.timer_info = &da830_timer_info,
.gpio_base = IO_ADDRESS(DA830_GPIO_BASE),
.gpio_base = IO_ADDRESS(DA8XX_GPIO_BASE),
.gpio_num = 128,
.gpio_irq = IRQ_DA8XX_GPIO0,
.serial_dev = &da8xx_serial_device,
Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/arm/mach-davinci/include/mach/da8xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@

#define DA8XX_BOOT_CFG_BASE (IO_PHYS + 0x14000)

#define DA8XX_PSC0_BASE 0x01c10000
#define DA8XX_PLL0_BASE 0x01c11000
#define DA8XX_JTAG_ID_REG 0x01c14018
#define DA8XX_TIMER64P0_BASE 0x01c20000
#define DA8XX_TIMER64P1_BASE 0x01c21000
#define DA8XX_GPIO_BASE 0x01e26000
#define DA8XX_PSC1_BASE 0x01e27000

void __init da830_init(void);

int da8xx_register_edma(void);
Expand Down

0 comments on commit 9b3b5e9

Please sign in to comment.