Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91146
b: refs/heads/master
c: ca15447
h: refs/heads/master
v: v3
  • Loading branch information
Bill Gatliff authored and Russell King committed Apr 10, 2008
1 parent a1e943f commit c87089d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 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: 952c855fc7a88610940d2438072884d64dc9cefb
refs/heads/master: ca1544790244b209e98351d365729061eaca213d
14 changes: 11 additions & 3 deletions trunk/arch/arm/mach-at91/board-csb637.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ static void __init csb637_map_io(void)
/* Initialize processor: 3.6864 MHz crystal */
at91rm9200_initialize(3686400, AT91RM9200_BGA);

/* Setup the LEDs */
at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2);

/* DBGU on ttyS0 */
at91_register_uart(0, 0, 0);

Expand Down Expand Up @@ -110,8 +107,19 @@ static struct platform_device csb_flash = {
.num_resources = ARRAY_SIZE(csb_flash_resources),
};

static struct gpio_led csb_leds[] = {
{ /* "d1", red */
.name = "d1",
.gpio = AT91_PIN_PB2,
.active_low = 1,
.default_trigger = "heartbeat",
},
};

static void __init csb637_board_init(void)
{
/* LED(s) */
at91_gpio_leds(csb_leds, ARRAY_SIZE(csb_leds));
/* Serial */
at91_add_device_serial();
/* Ethernet */
Expand Down

0 comments on commit c87089d

Please sign in to comment.