diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-08-18 19:28:21 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-08-25 10:44:10 -0400 |
commit | 9b9d401b8d11796f4c4bcbcabecfec9f5d85ea25 (patch) | |
tree | 426787ff4fc1fa3ece504e40a2c1284d636729d6 /arch/powerpc/platforms/85xx | |
parent | 818fcac554397a04987d49e2bd2dfc2d394b265c (diff) |
powerpc/85xx: Add QE USB support for MPC8569E-MDS boards
- Add gpio-controller node for BCSR17, it is used to control USB
speed and VBUS;
- Add timer node for QE GTM, needed for USB host;
- Add usb node itself;
- Add some probing code for BCSR GPIOs.
NOTE: QE USB doesn't work on prototype boards, but should work on
pilot boards if specs and schematics are correct, though we
don't have the pilot boards to actually test it.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_mds.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c b/arch/powerpc/platforms/85xx/mpc85xx_mds.c index bfb32834ab0c..20a61d0af33b 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_mds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_mds.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <asm/udbg.h> | 47 | #include <asm/udbg.h> |
48 | #include <sysdev/fsl_soc.h> | 48 | #include <sysdev/fsl_soc.h> |
49 | #include <sysdev/fsl_pci.h> | 49 | #include <sysdev/fsl_pci.h> |
50 | #include <sysdev/simple_gpio.h> | ||
50 | #include <asm/qe.h> | 51 | #include <asm/qe.h> |
51 | #include <asm/qe_ic.h> | 52 | #include <asm/qe_ic.h> |
52 | #include <asm/mpic.h> | 53 | #include <asm/mpic.h> |
@@ -304,6 +305,9 @@ static struct of_device_id mpc85xx_ids[] = { | |||
304 | 305 | ||
305 | static int __init mpc85xx_publish_devices(void) | 306 | static int __init mpc85xx_publish_devices(void) |
306 | { | 307 | { |
308 | if (machine_is(mpc8569_mds)) | ||
309 | simple_gpiochip_init("fsl,mpc8569mds-bcsr-gpio"); | ||
310 | |||
307 | /* Publish the QE devices */ | 311 | /* Publish the QE devices */ |
308 | of_platform_bus_probe(NULL, mpc85xx_ids, NULL); | 312 | of_platform_bus_probe(NULL, mpc85xx_ids, NULL); |
309 | 313 | ||