aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2007-11-17 10:56:08 -0500
committerBryan Wu <bryan.wu@analog.com>2007-11-17 10:56:08 -0500
commit561cc18b8696fd41367544f45542c096fa08d878 (patch)
tree48390a5aaafe55f1586ce0788f3a63b3f6201da9 /arch/blackfin/mach-bf537
parent4c26c6c9bf1837ef413c18055d38f0b70af8574e (diff)
Blackfin arch: add AXIS AX88180 Gigabit Ethernet Hardware and Driver to board files
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index c5ff1908d276..a2c347c85e20 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -183,6 +183,28 @@ static struct platform_device dm9000_device = {
183}; 183};
184#endif 184#endif
185 185
186#if defined(CONFIG_AX88180) || defined(CONFIG_AX88180_MODULE)
187static struct resource ax88180_resources[] = {
188 [0] = {
189 .start = 0x20300000,
190 .end = 0x20300000 + 0x8000,
191 .flags = IORESOURCE_MEM,
192 },
193 [1] = {
194 .start = IRQ_PF7,
195 .end = IRQ_PF7,
196 .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL),
197 },
198};
199
200static struct platform_device ax88180_device = {
201 .name = "ax88180",
202 .id = -1,
203 .num_resources = ARRAY_SIZE(ax88180_resources),
204 .resource = ax88180_resources,
205};
206#endif
207
186#if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) 208#if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE)
187static struct resource sl811_hcd_resources[] = { 209static struct resource sl811_hcd_resources[] = {
188 { 210 {
@@ -671,6 +693,10 @@ static struct platform_device *stamp_devices[] __initdata = {
671 &dm9000_device, 693 &dm9000_device,
672#endif 694#endif
673 695
696#if defined(CONFIG_AX88180) || defined(CONFIG_AX88180_MODULE)
697 &ax88180_device,
698#endif
699
674#if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) 700#if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE)
675 &bfin_mac_device, 701 &bfin_mac_device,
676#endif 702#endif