ramips: rt305x: add profile for the Belkin f5d8235v2
[openwrt.git] / target / linux / at91 / patches / 900-AT91-Add-external-RTC-for-Flexibity-board.patch
1 Index: linux-2.6.37.6/arch/arm/mach-at91/board-flexibity.c
2 ===================================================================
3 --- linux-2.6.37.6.orig/arch/arm/mach-at91/board-flexibity.c 2011-05-07 10:07:03.112684983 +0100
4 +++ linux-2.6.37.6/arch/arm/mach-at91/board-flexibity.c 2011-05-07 10:07:33.480684982 +0100
5 @@ -1,7 +1,7 @@
6 /*
7 * linux/arch/arm/mach-at91/board-flexibity.c
8 *
9 - * Copyright (C) 2010 Flexibity
10 + * Copyright (C) 2010-2011 Flexibity
11 * Copyright (C) 2005 SAN People
12 * Copyright (C) 2006 Atmel
13 *
14 @@ -65,6 +65,13 @@
15 .pullup_pin = 0, /* pull-up driven by UDC */
16 };
17
18 +/* I2C devices */
19 +static struct i2c_board_info __initdata flexibity_i2c_devices[] = {
20 + {
21 + I2C_BOARD_INFO("ds1307", 0x68),
22 + },
23 +};
24 +
25 /* SPI devices */
26 static struct spi_board_info flexibity_spi_devices[] = {
27 { /* DataFlash chip */
28 @@ -143,6 +150,9 @@
29 at91_add_device_usbh(&flexibity_usbh_data);
30 /* USB Device */
31 at91_add_device_udc(&flexibity_udc_data);
32 + /* I2C */
33 + at91_add_device_i2c(flexibity_i2c_devices,
34 + ARRAY_SIZE(flexibity_i2c_devices));
35 /* SPI */
36 at91_add_device_spi(flexibity_spi_devices,
37 ARRAY_SIZE(flexibity_spi_devices));
This page took 0.046765 seconds and 5 git commands to generate.