2009-01-31 03:44:20 +00:00
|
|
|
obj-y += common.o addr-map.o irq.o pcie.o mpp.o
|
[ARM] add Marvell Kirkwood (88F6000) SoC support
The Marvell Kirkwood (88F6000) is a family of ARM SoCs based on a
Shiva CPU core, and features a DDR2 controller, a x1 PCIe interface,
a USB 2.0 interface, a SPI controller, a crypto accelerator, a TS
interface, and IDMA/XOR engines, and depending on the model, also
features one or two Gigabit Ethernet interfaces, two SATA II
interfaces, one or two TWSI interfaces, one or two UARTs, a
TDM/SLIC interface, a NAND controller, an I2S/SPDIF interface, and
an SDIO interface.
This patch adds supports for the Marvell DB-88F6281-BP Development
Board and the RD-88F6192-NAS and the RD-88F6281 Reference Designs,
enabling support for the PCIe interface, the USB interface, the
ethernet interfaces, the SATA interfaces, the TWSI interfaces, the
UARTs, and the NAND controller.
Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
2008-06-22 20:45:06 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_MACH_DB88F6281_BP) += db88f6281-bp-setup.o
|
|
|
|
obj-$(CONFIG_MACH_RD88F6192_NAS) += rd88f6192-nas-setup.o
|
2008-10-23 18:35:09 +00:00
|
|
|
obj-$(CONFIG_MACH_RD88F6281) += rd88f6281-setup.o
|
2008-10-19 00:38:25 +00:00
|
|
|
obj-$(CONFIG_MACH_MV88F6281GTW_GE) += mv88f6281gtw_ge-setup.o
|
2009-02-24 20:26:23 +00:00
|
|
|
obj-$(CONFIG_MACH_SHEEVAPLUG) += sheevaplug-setup.o
|
2010-02-19 22:10:58 +00:00
|
|
|
obj-$(CONFIG_MACH_ESATA_SHEEVAPLUG) += sheevaplug-setup.o
|
2010-03-22 09:28:20 +00:00
|
|
|
obj-$(CONFIG_MACH_GURUPLUG) += guruplug-setup.o
|
2010-09-15 14:49:41 +00:00
|
|
|
obj-$(CONFIG_MACH_DOCKSTAR) += dockstar-setup.o
|
2009-11-05 20:27:46 +00:00
|
|
|
obj-$(CONFIG_MACH_TS219) += ts219-setup.o tsx1x-common.o
|
|
|
|
obj-$(CONFIG_MACH_TS41X) += ts41x-setup.o tsx1x-common.o
|
2010-01-18 23:38:19 +00:00
|
|
|
obj-$(CONFIG_MACH_OPENRD) += openrd-setup.o
|
2010-09-19 13:33:59 +00:00
|
|
|
obj-$(CONFIG_MACH_NETSPACE_V2) += netspace_v2-setup.o lacie_v2-common.o
|
|
|
|
obj-$(CONFIG_MACH_INETSPACE_V2) += netspace_v2-setup.o lacie_v2-common.o
|
|
|
|
obj-$(CONFIG_MACH_NETSPACE_MAX_V2) += netspace_v2-setup.o lacie_v2-common.o
|
|
|
|
obj-$(CONFIG_MACH_D2NET_V2) += d2net_v2-setup.o lacie_v2-common.o
|
|
|
|
obj-$(CONFIG_MACH_NET2BIG_V2) += netxbig_v2-setup.o lacie_v2-common.o
|
|
|
|
obj-$(CONFIG_MACH_NET5BIG_V2) += netxbig_v2-setup.o lacie_v2-common.o
|
2010-06-13 19:00:16 +00:00
|
|
|
obj-$(CONFIG_MACH_T5325) += t5325-setup.o
|
2009-03-24 14:10:15 +00:00
|
|
|
|
2012-02-27 16:07:13 +00:00
|
|
|
obj-$(CONFIG_ARCH_KIRKWOOD_DT) += board-dt.o
|
2012-03-15 00:52:31 +00:00
|
|
|
obj-$(CONFIG_MACH_DREAMPLUG_DT) += board-dreamplug.o
|
2012-12-09 18:40:04 +00:00
|
|
|
obj-$(CONFIG_MACH_GURUPLUG_DT) += board-guruplug.o
|
2012-04-18 21:16:41 +00:00
|
|
|
obj-$(CONFIG_MACH_ICONNECT_DT) += board-iconnect.o
|
2012-04-18 10:06:40 +00:00
|
|
|
obj-$(CONFIG_MACH_DLINK_KIRKWOOD_DT) += board-dnskw.o
|
2012-04-30 21:55:17 +00:00
|
|
|
obj-$(CONFIG_MACH_IB62X0_DT) += board-ib62x0.o
|
2012-05-12 12:57:59 +00:00
|
|
|
obj-$(CONFIG_MACH_TS219_DT) += board-ts219.o tsx1x-common.o
|
2012-08-14 20:43:41 +00:00
|
|
|
obj-$(CONFIG_MACH_DOCKSTAR_DT) += board-dockstar.o
|
2012-07-16 09:52:50 +00:00
|
|
|
obj-$(CONFIG_MACH_GOFLEXNET_DT) += board-goflexnet.o
|
2012-07-17 05:25:55 +00:00
|
|
|
obj-$(CONFIG_MACH_LSXL_DT) += board-lsxl.o
|
2012-08-20 14:29:07 +00:00
|
|
|
obj-$(CONFIG_MACH_IOMEGA_IX2_200_DT) += board-iomega_ix2_200.o
|
2012-09-04 09:55:02 +00:00
|
|
|
obj-$(CONFIG_MACH_KM_KIRKWOOD_DT) += board-km_kirkwood.o
|
2012-10-17 10:09:04 +00:00
|
|
|
obj-$(CONFIG_MACH_INETSPACE_V2_DT) += board-ns2.o
|
2012-11-18 15:46:16 +00:00
|
|
|
obj-$(CONFIG_MACH_MPLCEC4_DT) += board-mplcec4.o
|
2012-10-17 10:09:04 +00:00
|
|
|
obj-$(CONFIG_MACH_NETSPACE_V2_DT) += board-ns2.o
|
|
|
|
obj-$(CONFIG_MACH_NETSPACE_MAX_V2_DT) += board-ns2.o
|
2012-10-17 10:09:05 +00:00
|
|
|
obj-$(CONFIG_MACH_NETSPACE_LITE_V2_DT) += board-ns2.o
|
2012-10-17 10:09:06 +00:00
|
|
|
obj-$(CONFIG_MACH_NETSPACE_MINI_V2_DT) += board-ns2.o
|
arm: kirkwood: add support for ZyXEL NSA310
Hello, Andrew
> > +#define NSA310_GPIO_LED_ESATA_GREEN 12
> > <..>
> > +#define NSA310_GPIO_POWER_OFF 48
>
> It looks like most of these are not used. Please remove them.
True. Fixed.
> > +static struct mtd_partition nsa310_mtd_parts[] = {
> > + {
> > + .name = "uboot",
> > + .offset = 0,
> > + .size = 0x100000,
> > + .mask_flags = MTD_WRITEABLE,
> > + }, {
> > <..>
> You should be able to put all that into DT. Take a look at
Correct. I did the conversion and tested that the partitions
can be read with dd and produce exactly the same data before and
after conversion. So, the partition offsets at least should be fine.
> > +static struct i2c_board_info __initdata nsa310_i2c_info[] = {
> > + { I2C_BOARD_INFO("adt7476", 0x2e) },
> > +};
>
> You can also do this in DT as well. kirkwood-ts219.dtsi has
>
> i2c@11000 {
> status = "okay";
> clock-frequency = <400000>;
Ok, I did convert the i2c definition to use the devicetree.
The adt7476 device itself is not at reach of device tree,
AFAIK and requires more work at there?
Thanks for your valuable comments. Following is a new patch that
should address the problems and mistakes you pointed and also
some of the pointed by Jason Cooper. The nand and i2c are now
defined at DT and I also removed the pointless defines and
ARM_APPENDED_DTB. It is based against the Linus' official
3.6 version.
Best regards,
Tero
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2012-10-26 15:56:16 +00:00
|
|
|
obj-$(CONFIG_MACH_NSA310_DT) += board-nsa310.o
|
2012-11-13 07:43:09 +00:00
|
|
|
obj-$(CONFIG_MACH_OPENBLOCKS_A6_DT) += board-openblocks_a6.o
|
2012-10-22 02:15:35 +00:00
|
|
|
obj-$(CONFIG_MACH_TOPKICK_DT) += board-usi_topkick.o
|