aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi/setup.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-04-18 02:39:54 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-24 07:31:52 -0400
commitb97d27914354619ec6883ffe08dbd9c8e4b826b7 (patch)
treee633235aa1910ef90d2a741b1ea559f67669333e /arch/powerpc/platforms/pasemi/setup.c
parent25fc530eed1ca9ccde2a1e96d0b2060867f76bb2 (diff)
[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>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/setup.c')
-rw-r--r--arch/powerpc/platforms/pasemi/setup.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c
index ffd96e947481..9944ffc02eeb 100644
--- a/arch/powerpc/platforms/pasemi/setup.c
+++ b/arch/powerpc/platforms/pasemi/setup.c
@@ -209,6 +209,20 @@ static void __init pas_init_early(void)
209 iommu_init_early_pasemi(); 209 iommu_init_early_pasemi();
210} 210}
211 211
212static struct of_device_id pasemi_bus_ids[] = {
213 { .type = "sdc", },
214 {},
215};
216
217static int __init pasemi_publish_devices(void)
218{
219 /* Publish OF platform devices for southbridge IOs */
220 of_platform_bus_probe(NULL, pasemi_bus_ids, NULL);
221
222 return 0;
223}
224device_initcall(pasemi_publish_devices);
225
212 226
213/* 227/*
214 * Called very early, MMU is off, device-tree isn't unflattened 228 * Called very early, MMU is off, device-tree isn't unflattened