Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53992
b: refs/heads/master
c: 93afa75
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Victor authored and Russell King committed May 3, 2007
1 parent 969a7ec commit 741bb1e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 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: 03abeac0a222060ae8f02e8359c285df0971437e
refs/heads/master: 93afa75230f5969d559386e52819f54bb1182327
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-at91/board-sam9260ek.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ static struct spi_board_info ek_spi_devices[] = {
},
#endif
#endif
#if defined(CONFIG_SND_AT73C213)
#if defined(CONFIG_SND_AT73C213) || defined(CONFIG_SND_AT73C213_MODULE)
{ /* AT73C213 DAC */
.modalias = "snd_at73c213",
.modalias = "at73c213",
.chip_select = 0,
.max_speed_hz = 10 * 1000 * 1000,
.bus_num = 1,
Expand Down Expand Up @@ -188,6 +188,8 @@ static void __init ek_board_init(void)
at91_add_device_eth(&ek_macb_data);
/* MMC */
at91_add_device_mmc(0, &ek_mmc_data);
/* I2C */
at91_add_device_i2c();
}

MACHINE_START(AT91SAM9260EK, "Atmel AT91SAM9260-EK")
Expand Down
22 changes: 22 additions & 0 deletions trunk/arch/arm/mach-at91/board-sam9263ek.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,14 @@ static struct at91_mmc_data __initdata ek_mmc_data = {
};


/*
* MACB Ethernet device
*/
static struct at91_eth_data __initdata ek_macb_data = {
.is_rmii = 1,
};


/*
* NAND flash
*/
Expand Down Expand Up @@ -193,6 +201,14 @@ static struct at91_nand_data __initdata ek_nand_data = {
};


/*
* AC97
*/
static struct atmel_ac97_data ek_ac97_data = {
.reset_pin = AT91_PIN_PA13,
};


static void __init ek_board_init(void)
{
/* Serial */
Expand All @@ -208,8 +224,14 @@ static void __init ek_board_init(void)
ek_add_device_ts();
/* MMC */
at91_add_device_mmc(1, &ek_mmc_data);
/* Ethernet */
at91_add_device_eth(&ek_macb_data);
/* NAND */
at91_add_device_nand(&ek_nand_data);
/* I2C */
at91_add_device_i2c();
/* AC97 */
at91_add_device_ac97(&ek_ac97_data);
}

MACHINE_START(AT91SAM9263EK, "Atmel AT91SAM9263-EK")
Expand Down

0 comments on commit 741bb1e

Please sign in to comment.