diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/cm_bf533.c | 14 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ezkit.c | 8 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/generic_board.c | 6 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 30 |
4 files changed, 29 insertions, 29 deletions
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index edd31ce4f8d2..4545f363e641 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/spi/spi.h> | 34 | #include <linux/spi/spi.h> |
35 | #include <linux/spi/flash.h> | 35 | #include <linux/spi/flash.h> |
36 | #include <linux/usb_isp1362.h> | 36 | #include <linux/usb_isp1362.h> |
37 | #include <asm/irq.h> | 37 | #include <linux/irq.h> |
38 | #include <asm/bfin5xx_spi.h> | 38 | #include <asm/bfin5xx_spi.h> |
39 | 39 | ||
40 | /* | 40 | /* |
@@ -51,11 +51,11 @@ static struct mtd_partition bfin_spi_flash_partitions[] = { | |||
51 | .size = 0x00020000, | 51 | .size = 0x00020000, |
52 | .offset = 0, | 52 | .offset = 0, |
53 | .mask_flags = MTD_CAP_ROM | 53 | .mask_flags = MTD_CAP_ROM |
54 | },{ | 54 | }, { |
55 | .name = "kernel", | 55 | .name = "kernel", |
56 | .size = 0xe0000, | 56 | .size = 0xe0000, |
57 | .offset = 0x20000 | 57 | .offset = 0x20000 |
58 | },{ | 58 | }, { |
59 | .name = "file system", | 59 | .name = "file system", |
60 | .size = 0x700000, | 60 | .size = 0x700000, |
61 | .offset = 0x00100000, | 61 | .offset = 0x00100000, |
@@ -98,7 +98,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
98 | .platform_data = &bfin_spi_flash_data, | 98 | .platform_data = &bfin_spi_flash_data, |
99 | .controller_data = &spi_flash_chip_info, | 99 | .controller_data = &spi_flash_chip_info, |
100 | .mode = SPI_MODE_3, | 100 | .mode = SPI_MODE_3, |
101 | },{ | 101 | }, { |
102 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 102 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
103 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 103 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
104 | .bus_num = 1, /* Framework bus number */ | 104 | .bus_num = 1, /* Framework bus number */ |
@@ -145,7 +145,7 @@ static struct resource smc91x_resources[] = { | |||
145 | .start = 0x20200300, | 145 | .start = 0x20200300, |
146 | .end = 0x20200300 + 16, | 146 | .end = 0x20200300 + 16, |
147 | .flags = IORESOURCE_MEM, | 147 | .flags = IORESOURCE_MEM, |
148 | },{ | 148 | }, { |
149 | .start = IRQ_PF0, | 149 | .start = IRQ_PF0, |
150 | .end = IRQ_PF0, | 150 | .end = IRQ_PF0, |
151 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 151 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -194,11 +194,11 @@ static struct resource isp1362_hcd_resources[] = { | |||
194 | .start = 0x20308000, | 194 | .start = 0x20308000, |
195 | .end = 0x20308000, | 195 | .end = 0x20308000, |
196 | .flags = IORESOURCE_MEM, | 196 | .flags = IORESOURCE_MEM, |
197 | },{ | 197 | }, { |
198 | .start = 0x20308004, | 198 | .start = 0x20308004, |
199 | .end = 0x20308004, | 199 | .end = 0x20308004, |
200 | .flags = IORESOURCE_MEM, | 200 | .flags = IORESOURCE_MEM, |
201 | },{ | 201 | }, { |
202 | .start = IRQ_PF4, | 202 | .start = IRQ_PF4, |
203 | .end = IRQ_PF4, | 203 | .end = IRQ_PF4, |
204 | .flags = IORESOURCE_IRQ, | 204 | .flags = IORESOURCE_IRQ, |
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index 0b522d95160d..0000b8f1239c 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/flash.h> | 36 | #include <linux/spi/flash.h> |
37 | #include <linux/usb_isp1362.h> | 37 | #include <linux/usb_isp1362.h> |
38 | #include <asm/irq.h> | 38 | #include <linux/irq.h> |
39 | #include <asm/bfin5xx_spi.h> | 39 | #include <asm/bfin5xx_spi.h> |
40 | 40 | ||
41 | /* | 41 | /* |
@@ -61,7 +61,7 @@ static struct resource smc91x_resources[] = { | |||
61 | .start = 0x20310300, | 61 | .start = 0x20310300, |
62 | .end = 0x20310300 + 16, | 62 | .end = 0x20310300 + 16, |
63 | .flags = IORESOURCE_MEM, | 63 | .flags = IORESOURCE_MEM, |
64 | },{ | 64 | }, { |
65 | .start = IRQ_PF9, | 65 | .start = IRQ_PF9, |
66 | .end = IRQ_PF9, | 66 | .end = IRQ_PF9, |
67 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 67 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -85,11 +85,11 @@ static struct mtd_partition bfin_spi_flash_partitions[] = { | |||
85 | .size = 0x00020000, | 85 | .size = 0x00020000, |
86 | .offset = 0, | 86 | .offset = 0, |
87 | .mask_flags = MTD_CAP_ROM | 87 | .mask_flags = MTD_CAP_ROM |
88 | },{ | 88 | }, { |
89 | .name = "kernel", | 89 | .name = "kernel", |
90 | .size = 0xe0000, | 90 | .size = 0xe0000, |
91 | .offset = 0x20000 | 91 | .offset = 0x20000 |
92 | },{ | 92 | }, { |
93 | .name = "file system", | 93 | .name = "file system", |
94 | .size = 0x700000, | 94 | .size = 0x700000, |
95 | .offset = 0x00100000, | 95 | .offset = 0x00100000, |
diff --git a/arch/blackfin/mach-bf533/boards/generic_board.c b/arch/blackfin/mach-bf533/boards/generic_board.c index c0f43ccfbfb5..9bc1f0d0ab50 100644 --- a/arch/blackfin/mach-bf533/boards/generic_board.c +++ b/arch/blackfin/mach-bf533/boards/generic_board.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #include <linux/device.h> | 31 | #include <linux/device.h> |
32 | #include <linux/platform_device.h> | 32 | #include <linux/platform_device.h> |
33 | #include <asm/irq.h> | 33 | #include <linux/irq.h> |
34 | 34 | ||
35 | /* | 35 | /* |
36 | * Name the Board for the /proc/cpuinfo | 36 | * Name the Board for the /proc/cpuinfo |
@@ -53,11 +53,11 @@ static struct resource smc91x_resources[] = { | |||
53 | .start = 0x20300300, | 53 | .start = 0x20300300, |
54 | .end = 0x20300300 + 16, | 54 | .end = 0x20300300 + 16, |
55 | .flags = IORESOURCE_MEM, | 55 | .flags = IORESOURCE_MEM, |
56 | },{ | 56 | }, { |
57 | .start = IRQ_PROG_INTB, | 57 | .start = IRQ_PROG_INTB, |
58 | .end = IRQ_PROG_INTB, | 58 | .end = IRQ_PROG_INTB, |
59 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 59 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
60 | },{ | 60 | }, { |
61 | /* | 61 | /* |
62 | * denotes the flag pin and is used directly if | 62 | * denotes the flag pin and is used directly if |
63 | * CONFIG_IRQCHIP_DEMUX_GPIO is defined. | 63 | * CONFIG_IRQCHIP_DEMUX_GPIO is defined. |
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 9a472fe15833..a9143c4cbdcd 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
38 | #include <linux/usb_isp1362.h> | 38 | #include <linux/usb_isp1362.h> |
39 | #endif | 39 | #endif |
40 | #include <asm/irq.h> | 40 | #include <linux/irq.h> |
41 | #include <asm/bfin5xx_spi.h> | 41 | #include <asm/bfin5xx_spi.h> |
42 | 42 | ||
43 | /* | 43 | /* |
@@ -62,7 +62,7 @@ static struct resource smc91x_resources[] = { | |||
62 | .start = 0x20300300, | 62 | .start = 0x20300300, |
63 | .end = 0x20300300 + 16, | 63 | .end = 0x20300300 + 16, |
64 | .flags = IORESOURCE_MEM, | 64 | .flags = IORESOURCE_MEM, |
65 | },{ | 65 | }, { |
66 | .start = IRQ_PF7, | 66 | .start = IRQ_PF7, |
67 | .end = IRQ_PF7, | 67 | .end = IRQ_PF7, |
68 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 68 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -83,7 +83,7 @@ static struct resource net2272_bfin_resources[] = { | |||
83 | .start = 0x20300000, | 83 | .start = 0x20300000, |
84 | .end = 0x20300000 + 0x100, | 84 | .end = 0x20300000 + 0x100, |
85 | .flags = IORESOURCE_MEM, | 85 | .flags = IORESOURCE_MEM, |
86 | },{ | 86 | }, { |
87 | .start = IRQ_PF10, | 87 | .start = IRQ_PF10, |
88 | .end = IRQ_PF10, | 88 | .end = IRQ_PF10, |
89 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 89 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -108,11 +108,11 @@ static struct mtd_partition bfin_spi_flash_partitions[] = { | |||
108 | .size = 0x00020000, | 108 | .size = 0x00020000, |
109 | .offset = 0, | 109 | .offset = 0, |
110 | .mask_flags = MTD_CAP_ROM | 110 | .mask_flags = MTD_CAP_ROM |
111 | },{ | 111 | }, { |
112 | .name = "kernel", | 112 | .name = "kernel", |
113 | .size = 0xe0000, | 113 | .size = 0xe0000, |
114 | .offset = 0x20000 | 114 | .offset = 0x20000 |
115 | },{ | 115 | }, { |
116 | .name = "file system", | 116 | .name = "file system", |
117 | .size = 0x700000, | 117 | .size = 0x700000, |
118 | .offset = 0x00100000, | 118 | .offset = 0x00100000, |
@@ -229,19 +229,19 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
229 | 229 | ||
230 | #if defined(CONFIG_PBX) | 230 | #if defined(CONFIG_PBX) |
231 | { | 231 | { |
232 | .modalias = "fxs-spi", | 232 | .modalias = "fxs-spi", |
233 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 233 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
234 | .bus_num = 1, | 234 | .bus_num = 1, |
235 | .chip_select = 3, | 235 | .chip_select = 3, |
236 | .controller_data= &spi_si3xxx_chip_info, | 236 | .controller_data = &spi_si3xxx_chip_info, |
237 | .mode = SPI_MODE_3, | 237 | .mode = SPI_MODE_3, |
238 | }, | 238 | }, |
239 | { | 239 | { |
240 | .modalias = "fxo-spi", | 240 | .modalias = "fxo-spi", |
241 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 241 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
242 | .bus_num = 1, | 242 | .bus_num = 1, |
243 | .chip_select = 2, | 243 | .chip_select = 2, |
244 | .controller_data= &spi_si3xxx_chip_info, | 244 | .controller_data = &spi_si3xxx_chip_info, |
245 | .mode = SPI_MODE_3, | 245 | .mode = SPI_MODE_3, |
246 | }, | 246 | }, |
247 | #endif | 247 | #endif |