Add base support for the Freescale MPC8349E-mITX eval board
Subsystems (2)
PATCH 1/3 Add base support for the Freescale MPC8349E-mITX eval board
(This a resubmit of [PATCH 1/3] Add support for the Freescale MPC8349E-mITX eval board)
This is largely based on 8349 SYS code. The 2nd PHY (5-port switch) and SATA are untested (work in progress).
The code that uses rtc_class to remove rtc chip dependencies is missing from this patch; it will be applied to other platforms (including this one) in a subsequent patch.
Signed-off-by Kim Phillips <[email protected]>
Signed-off-by Timur Tabi <[email protected]>
---
arch/powerpc/platforms/83xx/Kconfig | 11 ++ arch/powerpc/platforms/83xx/Makefile | 1 arch/powerpc/platforms/83xx/mpc834x_itx.c | 156 +++++++++++++++++++++++++++++ arch/powerpc/platforms/83xx/mpc834x_itx.h | 23 ++++ 4 files changed, 190 insertions(+), 1 deletions(-) create mode 100644 arch/powerpc/platforms/83xx/mpc834x_itx.c create mode 100644 arch/powerpc/platforms/83xx/mpc834x_itx.h
5ef1dfd8f459743b7aaa1e0db3a8b6549273e09f
arch/powerpc/platforms/83xx/Kconfig +10 -1
@@ -16,12 +16,21 @@ config MPC834x_SYS 3 PCI slots. The PIBs PCI initialization is the bootloader's responsiblilty. +config MPC834x_ITX + bool "Freescale MPC834x ITX" + select DEFAULT_UIMAGE + help + This option enables support for the MPC 834x ITX evaluation board. + + Be aware that PCI initialization is the bootloader's + responsiblilty. + endchoice config MPC834x bool select PPC_UDBG_16550 select PPC_INDIRECT_PCI - default y if MPC834x_SYS + default y if MPC834x_SYS || MPC834x_ITX endmenu
arch/powerpc/platforms/83xx/Makefile +1 -0
@@ -4,3 +4,4 @@ obj-y := misc.o obj-$(CONFIG_PCI) += pci.o obj-$(CONFIG_MPC834x_SYS) += mpc834x_sys.o +obj-$(CONFIG_MPC834x_ITX) += mpc834x_itx.o
arch/powerpc/platforms/83xx/mpc834x_itx.c new file +156 -0
156 lines not on this page · raw message
arch/powerpc/platforms/83xx/mpc834x_itx.h new file +23 -0
@@ -0,0 +1,23 @@ +/* +* arch/powerpc/platforms/83xx/mpc834x_itx.h +* +* MPC834X ITX common board definitions +* +* Maintainer: Kumar Gala <[email protected]> +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +* +*/ + +#ifndef __MACH_MPC83XX_ITX_H__ +#define __MACH_MPC83XX_ITX_H__ + +#define PIRQA MPC83xx_IRQ_EXT4 +#define PIRQB MPC83xx_IRQ_EXT5 +#define PIRQC MPC83xx_IRQ_EXT6 +#define PIRQD MPC83xx_IRQ_EXT7 + +#endif /* __MACH_MPC83XX_ITX_H__ */
Signature · 1 line
1.2.4