[POWERPC] pasemi: GPIO MDIO of_platform driver

MDIO driver for PHY's connected via GPIO as on the PA Semi Electra
eval board.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Olof Johansson
2007-04-18 16:39:54 +10:00
committed by Paul Mackerras
parent 25fc530eed
commit b97d279143
3 changed files with 354 additions and 1 deletions

View File

@ -209,6 +209,20 @@ static void __init pas_init_early(void)
iommu_init_early_pasemi();
}
static struct of_device_id pasemi_bus_ids[] = {
{ .type = "sdc", },
{},
};
static int __init pasemi_publish_devices(void)
{
/* Publish OF platform devices for southbridge IOs */
of_platform_bus_probe(NULL, pasemi_bus_ids, NULL);
return 0;
}
device_initcall(pasemi_publish_devices);
/*
* Called very early, MMU is off, device-tree isn't unflattened