diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2010-02-05 16:06:26 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-02-17 22:48:24 -0500 |
commit | e98efaf303ccbff11522a054d155593d7f2bb41f (patch) | |
tree | 71cdeca2d8a628f0286d847b5342a500231cc876 /arch/powerpc/platforms | |
parent | 32a6275f3076c9e511ea68869ed6b76c58128253 (diff) |
powerpc/85xx: Add NOR, LEDs and PIB support for MPC8568E-MDS boards
This patch adds NOR Flash, LEDs and PIB support for MPC8568E-MDS
boards. Plus, move bcsr node into localbus node, and add bcsr5
gpio-controller node.
Some platform code modifications were also needed.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_mds.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c b/arch/powerpc/platforms/85xx/mpc85xx_mds.c index 21f61b8c445..04af81e39be 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_mds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_mds.c | |||
@@ -302,11 +302,14 @@ static struct of_device_id mpc85xx_ids[] = { | |||
302 | { .compatible = "gianfar", }, | 302 | { .compatible = "gianfar", }, |
303 | { .compatible = "fsl,rapidio-delta", }, | 303 | { .compatible = "fsl,rapidio-delta", }, |
304 | { .compatible = "fsl,mpc8548-guts", }, | 304 | { .compatible = "fsl,mpc8548-guts", }, |
305 | { .compatible = "gpio-leds", }, | ||
305 | {}, | 306 | {}, |
306 | }; | 307 | }; |
307 | 308 | ||
308 | static int __init mpc85xx_publish_devices(void) | 309 | static int __init mpc85xx_publish_devices(void) |
309 | { | 310 | { |
311 | if (machine_is(mpc8568_mds)) | ||
312 | simple_gpiochip_init("fsl,mpc8568mds-bcsr-gpio"); | ||
310 | if (machine_is(mpc8569_mds)) | 313 | if (machine_is(mpc8569_mds)) |
311 | simple_gpiochip_init("fsl,mpc8569mds-bcsr-gpio"); | 314 | simple_gpiochip_init("fsl,mpc8569mds-bcsr-gpio"); |
312 | 315 | ||