mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
adds timer unit to ifxmips tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11530 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/ifxmips/ifxmips.h>
|
||||
|
||||
#define MAX_IFXMIPS_DEVS 6
|
||||
#define MAX_IFXMIPS_DEVS 7
|
||||
|
||||
#define BOARD_DANUBE "Danube"
|
||||
#define BOARD_DANUBE_CHIPID 0x10129083
|
||||
@@ -73,6 +73,14 @@ static struct platform_device ifxmips_mii[] =
|
||||
},
|
||||
};
|
||||
|
||||
static struct platform_device ifxmips_wdt[] =
|
||||
{
|
||||
{
|
||||
.id = 0,
|
||||
.name = "ifxmips_wdt",
|
||||
},
|
||||
};
|
||||
|
||||
static struct physmap_flash_data ifxmips_mtd_data = {
|
||||
.width = 2,
|
||||
};
|
||||
@@ -148,6 +156,7 @@ int __init ifxmips_init_devices(void)
|
||||
ifxmips_devs[dev++] = ifxmips_gpio;
|
||||
ifxmips_devs[dev++] = ifxmips_mii;
|
||||
ifxmips_devs[dev++] = ifxmips_mtd;
|
||||
ifxmips_devs[dev++] = ifxmips_wdt;
|
||||
#ifdef CONFIG_GPIO_DEVICE
|
||||
ifxmips_devs[dev++] = ifxmips_gpio_dev;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user