[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-23 00:45:06 +04:00
|
|
|
if ARCH_KIRKWOOD
|
|
|
|
|
|
|
|
menu "Marvell Kirkwood Implementations"
|
|
|
|
|
|
|
|
config MACH_DB88F6281_BP
|
|
|
|
bool "Marvell DB-88F6281-BP Development Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell DB-88F6281-BP Development Board.
|
|
|
|
|
|
|
|
config MACH_RD88F6192_NAS
|
|
|
|
bool "Marvell RD-88F6192-NAS Reference Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell RD-88F6192-NAS Reference Board.
|
|
|
|
|
|
|
|
config MACH_RD88F6281
|
|
|
|
bool "Marvell RD-88F6281 Reference Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell RD-88F6281 Reference Board.
|
|
|
|
|
2008-10-19 04:38:25 +04:00
|
|
|
config MACH_MV88F6281GTW_GE
|
|
|
|
bool "Marvell 88F6281 GTW GE Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell 88F6281 GTW GE Board.
|
|
|
|
|
2009-02-24 23:26:23 +03:00
|
|
|
config MACH_SHEEVAPLUG
|
|
|
|
bool "Marvell SheevaPlug Reference Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell SheevaPlug Reference Board.
|
|
|
|
|
2010-02-20 01:10:58 +03:00
|
|
|
config MACH_ESATA_SHEEVAPLUG
|
|
|
|
bool "Marvell eSATA SheevaPlug Reference Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell eSATA SheevaPlug Reference Board.
|
|
|
|
|
2010-03-22 12:28:20 +03:00
|
|
|
config MACH_GURUPLUG
|
|
|
|
bool "Marvell GuruPlug Reference Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell GuruPlug Reference Board.
|
|
|
|
|
2012-02-27 20:07:13 +04:00
|
|
|
config ARCH_KIRKWOOD_DT
|
|
|
|
bool "Marvell Kirkwood Flattened Device Tree"
|
|
|
|
select USE_OF
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell Kirkwood using flattened device tree.
|
|
|
|
|
|
|
|
config MACH_DREAMPLUG_DT
|
|
|
|
bool "Marvell DreamPlug (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell DreamPlug (Flattened Device Tree).
|
|
|
|
|
2012-04-19 01:16:41 +04:00
|
|
|
config MACH_ICONNECT_DT
|
|
|
|
bool "Iomega Iconnect (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here to enable Iomega Iconnect support.
|
|
|
|
|
2012-04-18 14:06:40 +04:00
|
|
|
config MACH_DLINK_KIRKWOOD_DT
|
|
|
|
bool "D-Link Kirkwood-based NAS (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Kirkwood-based D-Link NASes such as DNS-320 & DNS-325,
|
|
|
|
using Flattened Device Tree.
|
|
|
|
|
2012-05-01 01:55:17 +04:00
|
|
|
config MACH_IB62X0_DT
|
|
|
|
bool "RaidSonic IB-NAS6210, IB-NAS6220 (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
RaidSonic IB-NAS6210 & IB-NAS6220 devices, using
|
|
|
|
Flattened Device Tree.
|
|
|
|
|
2012-05-12 16:57:59 +04:00
|
|
|
config MACH_TS219_DT
|
|
|
|
bool "Device Tree for QNAP TS-11X, TS-21X NAS"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
select ARM_APPENDED_DTB
|
|
|
|
select ARM_ATAG_DTB_COMPAT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the QNAP
|
|
|
|
TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and
|
|
|
|
TS-219P+ Turbo NAS devices using Fattened Device Tree.
|
|
|
|
There are two different Device Tree descriptions, depending
|
|
|
|
on if the device is based on an if the board uses the MV6281
|
|
|
|
or MV6282. If you have the wrong one, the buttons will not
|
|
|
|
work.
|
|
|
|
|
2012-08-15 00:43:41 +04:00
|
|
|
config MACH_DOCKSTAR_DT
|
|
|
|
bool "Seagate FreeAgent Dockstar (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Seagate FreeAgent Dockstar (Flattened Device Tree).
|
|
|
|
|
2012-07-16 13:52:50 +04:00
|
|
|
config MACH_GOFLEXNET_DT
|
|
|
|
bool "Seagate GoFlex Net (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Seagate GoFlex Net (Flattened Device Tree).
|
|
|
|
|
2012-07-17 09:25:55 +04:00
|
|
|
config MACH_LSXL_DT
|
|
|
|
bool "Buffalo Linkstation LS-XHL, LS-CHLv2 (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Buffalo Linkstation LS-XHL & LS-CHLv2 devices, using
|
|
|
|
Flattened Device Tree.
|
|
|
|
|
2012-08-20 18:29:07 +04:00
|
|
|
config MACH_IOMEGA_IX2_200_DT
|
|
|
|
bool "Iomega StorCenter ix2-200 (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Iomega StorCenter ix2-200 (Flattened Device Tree).
|
|
|
|
|
2012-09-04 13:55:02 +04:00
|
|
|
config MACH_KM_KIRKWOOD_DT
|
|
|
|
bool "Keymile Kirkwood Reference Design (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Keymile Kirkwood Reference Desgin, using Flattened Device Tree.
|
|
|
|
|
2012-10-17 14:09:04 +04:00
|
|
|
config MACH_INETSPACE_V2_DT
|
|
|
|
bool "LaCie Internet Space v2 NAS (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the LaCie
|
|
|
|
Internet Space v2 NAS, using Flattened Device Tree.
|
|
|
|
|
2012-11-18 19:46:16 +04:00
|
|
|
config MACH_MPLCEC4_DT
|
|
|
|
bool "MPL CEC4 (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
MPL CEC4 (Flattened Device Tree).
|
|
|
|
|
2012-10-17 14:09:04 +04:00
|
|
|
config MACH_NETSPACE_V2_DT
|
|
|
|
bool "LaCie Network Space v2 NAS (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the LaCie
|
|
|
|
Network Space v2 NAS, using Flattened Device Tree.
|
|
|
|
|
|
|
|
config MACH_NETSPACE_MAX_V2_DT
|
|
|
|
bool "LaCie Network Space Max v2 NAS (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the LaCie
|
|
|
|
Network Space Max v2 NAS, using Flattened Device Tree.
|
|
|
|
|
2012-10-17 14:09:05 +04:00
|
|
|
config MACH_NETSPACE_LITE_V2_DT
|
|
|
|
bool "LaCie Network Space Lite v2 NAS (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the LaCie
|
|
|
|
Network Space Lite v2 NAS, using Flattened Device Tree.
|
|
|
|
|
2012-10-17 14:09:06 +04:00
|
|
|
config MACH_NETSPACE_MINI_V2_DT
|
|
|
|
bool "LaCie Network Space Mini v2 NAS (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the LaCie
|
|
|
|
Network Space Mini v2 NAS (aka SafeBox), using Flattened
|
|
|
|
Device Tree.
|
|
|
|
|
2012-11-13 11:43:09 +04:00
|
|
|
config MACH_OPENBLOCKS_A6_DT
|
|
|
|
bool "Plat'Home OpenBlocks A6 (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Plat'Home OpenBlocks A6 (Flattened Device Tree).
|
|
|
|
|
2012-10-22 06:15:35 +04:00
|
|
|
config MACH_TOPKICK_DT
|
|
|
|
bool "USI Topkick (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
USI Topkick, using Flattened Device Tree
|
|
|
|
|
2009-03-22 17:22:11 +03:00
|
|
|
config MACH_TS219
|
2010-12-07 00:53:16 +03:00
|
|
|
bool "QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and TS-219P+ Turbo NAS"
|
2009-03-22 17:22:11 +03:00
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
2010-12-07 00:53:16 +03:00
|
|
|
QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and
|
|
|
|
TS-219P+ Turbo NAS devices.
|
2009-03-22 17:22:11 +03:00
|
|
|
|
2009-11-05 20:45:32 +03:00
|
|
|
config MACH_TS41X
|
2010-12-07 00:53:16 +03:00
|
|
|
bool "QNAP TS-410, TS-410U, TS-419P, TS-419P+ and TS-419U Turbo NAS"
|
2009-11-05 20:45:32 +03:00
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
2010-12-07 00:53:16 +03:00
|
|
|
QNAP TS-410, TS-410U, TS-419P, TS-419P+ and TS-419U Turbo
|
|
|
|
NAS devices.
|
2009-11-05 20:45:32 +03:00
|
|
|
|
2010-09-15 18:49:41 +04:00
|
|
|
config MACH_DOCKSTAR
|
|
|
|
bool "Seagate FreeAgent DockStar"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Seagate FreeAgent DockStar.
|
|
|
|
|
2010-01-19 02:38:19 +03:00
|
|
|
config MACH_OPENRD
|
|
|
|
bool
|
|
|
|
|
2009-08-10 16:07:34 +04:00
|
|
|
config MACH_OPENRD_BASE
|
|
|
|
bool "Marvell OpenRD Base Board"
|
2010-01-19 02:38:19 +03:00
|
|
|
select MACH_OPENRD
|
2009-08-10 16:07:34 +04:00
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell OpenRD Base Board.
|
|
|
|
|
2010-01-19 02:38:19 +03:00
|
|
|
config MACH_OPENRD_CLIENT
|
|
|
|
bool "Marvell OpenRD Client Board"
|
|
|
|
select MACH_OPENRD
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell OpenRD Client Board.
|
|
|
|
|
2010-06-10 23:12:55 +04:00
|
|
|
config MACH_OPENRD_ULTIMATE
|
|
|
|
bool "Marvell OpenRD Ultimate Board"
|
|
|
|
select MACH_OPENRD
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell OpenRD Ultimate Board.
|
|
|
|
|
2009-12-09 03:43:49 +03:00
|
|
|
config MACH_NETSPACE_V2
|
|
|
|
bool "LaCie Network Space v2 NAS Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
LaCie Network Space v2 NAS.
|
|
|
|
|
2010-02-09 23:20:55 +03:00
|
|
|
config MACH_INETSPACE_V2
|
|
|
|
bool "LaCie Internet Space v2 NAS Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
LaCie Internet Space v2 NAS.
|
|
|
|
|
2010-07-05 14:31:04 +04:00
|
|
|
config MACH_NETSPACE_MAX_V2
|
|
|
|
bool "LaCie Network Space Max v2 NAS Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
LaCie Network Space Max v2 NAS.
|
|
|
|
|
2010-09-19 17:33:58 +04:00
|
|
|
config MACH_D2NET_V2
|
|
|
|
bool "LaCie d2 Network v2 NAS Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
LaCie d2 Network v2 NAS.
|
|
|
|
|
2010-02-03 03:41:09 +03:00
|
|
|
config MACH_NET2BIG_V2
|
|
|
|
bool "LaCie 2Big Network v2 NAS Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
LaCie 2Big Network v2 NAS.
|
|
|
|
|
2010-01-04 22:20:07 +03:00
|
|
|
config MACH_NET5BIG_V2
|
|
|
|
bool "LaCie 5Big Network v2 NAS Board"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
LaCie 5Big Network v2 NAS.
|
|
|
|
|
2010-06-13 23:00:16 +04:00
|
|
|
config MACH_T5325
|
|
|
|
bool "HP t5325 Thin Client"
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
HP t5325 Thin Client.
|
|
|
|
|
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 19:56:16 +04:00
|
|
|
config MACH_NSA310_DT
|
|
|
|
bool "ZyXEL NSA-310 (Flattened Device Tree)"
|
|
|
|
select ARCH_KIRKWOOD_DT
|
|
|
|
select ARM_ATAG_DTB_COMPAT
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
ZyXEL NSA-310 board (Flattened Device Tree).
|
|
|
|
|
[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-23 00:45:06 +04:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
endif
|