diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/H8606.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/H8606.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index b941550f9568..6bcf4047f89c 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -36,20 +36,21 @@ | |||
36 | #include <linux/spi/spi.h> | 36 | #include <linux/spi/spi.h> |
37 | #include <linux/spi/flash.h> | 37 | #include <linux/spi/flash.h> |
38 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 38 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
39 | #include <linux/usb_isp1362.h> | 39 | #include <linux/usb/isp1362.h> |
40 | #endif | 40 | #endif |
41 | #include <linux/pata_platform.h> | 41 | #include <linux/pata_platform.h> |
42 | #include <linux/irq.h> | 42 | #include <linux/irq.h> |
43 | #include <asm/dma.h> | 43 | #include <asm/dma.h> |
44 | #include <asm/bfin5xx_spi.h> | 44 | #include <asm/bfin5xx_spi.h> |
45 | #include <asm/reboot.h> | 45 | #include <asm/reboot.h> |
46 | #include <asm/portmux.h> | ||
46 | 47 | ||
47 | /* | 48 | /* |
48 | * Name the Board for the /proc/cpuinfo | 49 | * Name the Board for the /proc/cpuinfo |
49 | */ | 50 | */ |
50 | const char bfin_board_name[] = "HV Sistemas H8606"; | 51 | const char bfin_board_name[] = "HV Sistemas H8606"; |
51 | 52 | ||
52 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_BFIN_MODULE) | 53 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
53 | static struct platform_device rtc_device = { | 54 | static struct platform_device rtc_device = { |
54 | .name = "rtc-bfin", | 55 | .name = "rtc-bfin", |
55 | .id = -1, | 56 | .id = -1, |
@@ -93,10 +94,6 @@ static struct resource smc91x_resources[] = { | |||
93 | .end = IRQ_PROG_INTB, | 94 | .end = IRQ_PROG_INTB, |
94 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 95 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
95 | }, { | 96 | }, { |
96 | /* | ||
97 | * denotes the flag pin and is used directly if | ||
98 | * CONFIG_IRQCHIP_DEMUX_GPIO is defined. | ||
99 | */ | ||
100 | .start = IRQ_PF7, | 97 | .start = IRQ_PF7, |
101 | .end = IRQ_PF7, | 98 | .end = IRQ_PF7, |
102 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 99 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -269,6 +266,7 @@ static struct resource bfin_spi0_resource[] = { | |||
269 | static struct bfin5xx_spi_master bfin_spi0_info = { | 266 | static struct bfin5xx_spi_master bfin_spi0_info = { |
270 | .num_chipselect = 8, | 267 | .num_chipselect = 8, |
271 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 268 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
269 | .pin_req = {P_SPI0_SCK, P_SPI0_MISO, P_SPI0_MOSI, 0}, | ||
272 | }; | 270 | }; |
273 | 271 | ||
274 | static struct platform_device bfin_spi0_device = { | 272 | static struct platform_device bfin_spi0_device = { |
@@ -342,4 +340,4 @@ static int __init H8606_init(void) | |||
342 | return 0; | 340 | return 0; |
343 | } | 341 | } |
344 | 342 | ||
345 | arch_initcall(H8606_init); \ No newline at end of file | 343 | arch_initcall(H8606_init); |