diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 60 |
1 files changed, 9 insertions, 51 deletions
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 729fd7c26336..82f70efd66e7 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/stamp.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/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: 2005 | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: Board Info File for the BF533-STAMP | ||
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> |
@@ -95,12 +73,6 @@ static struct platform_device smc91x_device = { | |||
95 | }; | 73 | }; |
96 | #endif | 74 | #endif |
97 | 75 | ||
98 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
99 | static struct platform_device bfin_fb_adv7393_device = { | ||
100 | .name = "bfin-adv7393", | ||
101 | }; | ||
102 | #endif | ||
103 | |||
104 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 76 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
105 | static struct resource net2272_bfin_resources[] = { | 77 | static struct resource net2272_bfin_resources[] = { |
106 | { | 78 | { |
@@ -436,19 +408,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
436 | }; | 408 | }; |
437 | #endif | 409 | #endif |
438 | 410 | ||
439 | static struct resource bfin_gpios_resources = { | ||
440 | .start = 0, | ||
441 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
442 | .flags = IORESOURCE_IRQ, | ||
443 | }; | ||
444 | |||
445 | static struct platform_device bfin_gpios_device = { | ||
446 | .name = "simple-gpio", | ||
447 | .id = -1, | ||
448 | .num_resources = 1, | ||
449 | .resource = &bfin_gpios_resources, | ||
450 | }; | ||
451 | |||
452 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 411 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
453 | #include <linux/i2c-gpio.h> | 412 | #include <linux/i2c-gpio.h> |
454 | 413 | ||
@@ -487,6 +446,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
487 | .irq = 39, | 446 | .irq = 39, |
488 | }, | 447 | }, |
489 | #endif | 448 | #endif |
449 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
450 | { | ||
451 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
452 | }, | ||
453 | #endif | ||
490 | }; | 454 | }; |
491 | 455 | ||
492 | static const unsigned int cclk_vlev_datasheet[] = | 456 | static const unsigned int cclk_vlev_datasheet[] = |
@@ -528,10 +492,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
528 | &smc91x_device, | 492 | &smc91x_device, |
529 | #endif | 493 | #endif |
530 | 494 | ||
531 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
532 | &bfin_fb_adv7393_device, | ||
533 | #endif | ||
534 | |||
535 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 495 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
536 | &net2272_bfin_device, | 496 | &net2272_bfin_device, |
537 | #endif | 497 | #endif |
@@ -563,8 +523,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
563 | &i2c_gpio_device, | 523 | &i2c_gpio_device, |
564 | #endif | 524 | #endif |
565 | 525 | ||
566 | &bfin_gpios_device, | ||
567 | |||
568 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) | 526 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) |
569 | &stamp_flash_device, | 527 | &stamp_flash_device, |
570 | #endif | 528 | #endif |