powerpc/52xx: Add support for the Media5200 board from Freescale
Subsystems (3)
PATCH 1/1 powerpc/52xx: Add support for the Media5200 board from Freescale
From: Grant Likely <[email protected]>
This patch adds board support for the Media5200 platform. Changes are:
- add the media5200 device tree
- add the media5200 platform support code and cascaded interrupt controller
- add media5200 to the build targets.
Note: this patch also includes a minor tweak to the lite5200(b) target images list to add the .dtb files to the image list.
Signed-off-by Steven Cavanagh <[email protected]>
Signed-off-by Grant Likely <[email protected]>
CC John Rigby <[email protected]>
CC Ben Herrenschmidt <[email protected]>
---
arch/powerpc/boot/Makefile | 4 arch/powerpc/boot/dts/media5200.dts | 352 +++++++++++++++++++++++++++++++ arch/powerpc/platforms/52xx/Kconfig | 5 arch/powerpc/platforms/52xx/Makefile | 1 arch/powerpc/platforms/52xx/media5200.c | 273 ++++++++++++++++++++++++ 5 files changed, 634 insertions(+), 1 deletions(-) create mode 100644 arch/powerpc/boot/dts/media5200.dts create mode 100644 arch/powerpc/platforms/52xx/media5200.c
arch/powerpc/boot/Makefile +3 -1
@@ -235,7 +235,9 @@ image-$(CONFIG_PPC_ADDER875) += cuImage.adder875-uboot \ dtbImage.adder875-redboot # Board ports in arch/powerpc/platform/52xx/Kconfig -image-$(CONFIG_PPC_LITE5200) += cuImage.lite5200 cuImage.lite5200b +image-$(CONFIG_PPC_LITE5200) += cuImage.lite5200 lite5200.dtb +image-$(CONFIG_PPC_LITE5200) += cuImage.lite5200b lite5200b.dtb +image-$(CONFIG_PPC_MEDIA5200) += cuImage.media5200 media5200.dtb # Board ports in arch/powerpc/platform/82xx/Kconfig image-$(CONFIG_MPC8272_ADS) += cuImage.mpc8272ads
arch/powerpc/boot/dts/media5200.dts new file +352 -0
352 lines not on this page · raw message
arch/powerpc/platforms/52xx/Kconfig +5 -0
@@ -35,6 +35,11 @@ config PPC_LITE5200 depends on PPC_MPC52xx select DEFAULT_UIMAGE +config PPC_MEDIA5200 + bool "Freescale Media5200 Eval Board" + depends on PPC_MPC52xx + select DEFAULT_UIMAGE + config PPC_MPC5200_BUGFIX bool "MPC5200 (L25R) bugfix support" depends on PPC_MPC52xx
arch/powerpc/platforms/52xx/Makefile +1 -0
@@ -7,6 +7,7 @@ obj-$(CONFIG_PCI) += mpc52xx_pci.o obj-$(CONFIG_PPC_MPC5200_SIMPLE) += mpc5200_simple.o obj-$(CONFIG_PPC_EFIKA) += efika.o obj-$(CONFIG_PPC_LITE5200) += lite5200.o +obj-$(CONFIG_PPC_MEDIA5200) += media5200.o obj-$(CONFIG_PM) += mpc52xx_sleep.o mpc52xx_pm.o ifeq ($(CONFIG_PPC_LITE5200),y)
arch/powerpc/platforms/52xx/media5200.c new file +273 -0
273 lines not on this page · raw message