diff options
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 60 |
1 files changed, 9 insertions, 51 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index 2849b09abe99..f09665f74ba0 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf527/boards/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.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-2008 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> |
@@ -716,12 +694,6 @@ static struct platform_device bfin_fb_device = { | |||
716 | }; | 694 | }; |
717 | #endif | 695 | #endif |
718 | 696 | ||
719 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
720 | static struct platform_device bfin_fb_adv7393_device = { | ||
721 | .name = "bfin-adv7393", | ||
722 | }; | ||
723 | #endif | ||
724 | |||
725 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 697 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
726 | static struct resource bfin_uart_resources[] = { | 698 | static struct resource bfin_uart_resources[] = { |
727 | #ifdef CONFIG_SERIAL_BFIN_UART0 | 699 | #ifdef CONFIG_SERIAL_BFIN_UART0 |
@@ -837,6 +809,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
837 | .irq = IRQ_PF8, | 809 | .irq = IRQ_PF8, |
838 | }, | 810 | }, |
839 | #endif | 811 | #endif |
812 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
813 | { | ||
814 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
815 | }, | ||
816 | #endif | ||
840 | }; | 817 | }; |
841 | 818 | ||
842 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 819 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
@@ -905,19 +882,6 @@ static struct platform_device bfin_rotary_device = { | |||
905 | }; | 882 | }; |
906 | #endif | 883 | #endif |
907 | 884 | ||
908 | static struct resource bfin_gpios_resources = { | ||
909 | .start = 0, | ||
910 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
911 | .flags = IORESOURCE_IRQ, | ||
912 | }; | ||
913 | |||
914 | static struct platform_device bfin_gpios_device = { | ||
915 | .name = "simple-gpio", | ||
916 | .id = -1, | ||
917 | .num_resources = 1, | ||
918 | .resource = &bfin_gpios_resources, | ||
919 | }; | ||
920 | |||
921 | static const unsigned int cclk_vlev_datasheet[] = | 885 | static const unsigned int cclk_vlev_datasheet[] = |
922 | { | 886 | { |
923 | VRPAIR(VLEV_100, 400000000), | 887 | VRPAIR(VLEV_100, 400000000), |
@@ -1001,10 +965,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1001 | &bf52x_t350mcqb_device, | 965 | &bf52x_t350mcqb_device, |
1002 | #endif | 966 | #endif |
1003 | 967 | ||
1004 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1005 | &bfin_fb_adv7393_device, | ||
1006 | #endif | ||
1007 | |||
1008 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 968 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
1009 | &bfin_uart_device, | 969 | &bfin_uart_device, |
1010 | #endif | 970 | #endif |
@@ -1038,8 +998,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1038 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 998 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
1039 | &ezkit_flash_device, | 999 | &ezkit_flash_device, |
1040 | #endif | 1000 | #endif |
1041 | |||
1042 | &bfin_gpios_device, | ||
1043 | }; | 1001 | }; |
1044 | 1002 | ||
1045 | static int __init ezkit_init(void) | 1003 | static int __init ezkit_init(void) |