diff options
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 60 |
1 files changed, 9 insertions, 51 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 9db6b40743e0..c46baa5e6d9b 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/boards/stamp.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2006 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -121,19 +99,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
121 | }; | 99 | }; |
122 | #endif | 100 | #endif |
123 | 101 | ||
124 | static struct resource bfin_gpios_resources = { | ||
125 | .start = 0, | ||
126 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
127 | .flags = IORESOURCE_IRQ, | ||
128 | }; | ||
129 | |||
130 | static struct platform_device bfin_gpios_device = { | ||
131 | .name = "simple-gpio", | ||
132 | .id = -1, | ||
133 | .num_resources = 1, | ||
134 | .resource = &bfin_gpios_resources, | ||
135 | }; | ||
136 | |||
137 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | 102 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) |
138 | static struct resource bfin_pcmcia_cf_resources[] = { | 103 | static struct resource bfin_pcmcia_cf_resources[] = { |
139 | { | 104 | { |
@@ -1078,12 +1043,6 @@ static struct platform_device bfin_fb_device = { | |||
1078 | }; | 1043 | }; |
1079 | #endif | 1044 | #endif |
1080 | 1045 | ||
1081 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1082 | static struct platform_device bfin_fb_adv7393_device = { | ||
1083 | .name = "bfin-adv7393", | ||
1084 | }; | ||
1085 | #endif | ||
1086 | |||
1087 | #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) | 1046 | #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) |
1088 | #include <asm/bfin-lq035q1.h> | 1047 | #include <asm/bfin-lq035q1.h> |
1089 | 1048 | ||
@@ -1498,6 +1457,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
1498 | .platform_data = (void *)&adp5588_gpio_data, | 1457 | .platform_data = (void *)&adp5588_gpio_data, |
1499 | }, | 1458 | }, |
1500 | #endif | 1459 | #endif |
1460 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1461 | { | ||
1462 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
1463 | }, | ||
1464 | #endif | ||
1501 | }; | 1465 | }; |
1502 | 1466 | ||
1503 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 1467 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
@@ -1668,10 +1632,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1668 | &bfin_lq035q1_device, | 1632 | &bfin_lq035q1_device, |
1669 | #endif | 1633 | #endif |
1670 | 1634 | ||
1671 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1672 | &bfin_fb_adv7393_device, | ||
1673 | #endif | ||
1674 | |||
1675 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 1635 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
1676 | &bfin_uart_device, | 1636 | &bfin_uart_device, |
1677 | #endif | 1637 | #endif |
@@ -1702,8 +1662,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1702 | &bfin_device_gpiokeys, | 1662 | &bfin_device_gpiokeys, |
1703 | #endif | 1663 | #endif |
1704 | 1664 | ||
1705 | &bfin_gpios_device, | ||
1706 | |||
1707 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | 1665 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) |
1708 | &bfin_async_nand_device, | 1666 | &bfin_async_nand_device, |
1709 | #endif | 1667 | #endif |