[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 04:45:06 +08: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 08:38:25 +08: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-25 04:26:23 +08: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 06:10:58 +08: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 17:28:20 +08: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-28 00:07:13 +08: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 05:16:41 +08: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 18:06:40 +08: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 05:55:17 +08: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 20:57:59 +08: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 04:43:41 +08: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 17:52:50 +08: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 13:25:55 +08: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 22:29:07 +08: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 17:55:02 +08: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 18:09:04 +08: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 23:46:16 +08: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 18:09:04 +08: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 18:09:05 +08: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 18:09:06 +08: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-10-22 10:15:35 +08: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 22:22:11 +08:00
|
|
|
config MACH_TS219
|
2010-12-07 05:53:16 +08:00
|
|
|
bool "QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and TS-219P+ Turbo NAS"
|
2009-03-22 22:22:11 +08:00
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
2010-12-07 05:53:16 +08:00
|
|
|
QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and
|
|
|
|
TS-219P+ Turbo NAS devices.
|
2009-03-22 22:22:11 +08:00
|
|
|
|
2009-11-06 01:45:32 +08:00
|
|
|
config MACH_TS41X
|
2010-12-07 05:53:16 +08:00
|
|
|
bool "QNAP TS-410, TS-410U, TS-419P, TS-419P+ and TS-419U Turbo NAS"
|
2009-11-06 01:45:32 +08:00
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
2010-12-07 05:53:16 +08:00
|
|
|
QNAP TS-410, TS-410U, TS-419P, TS-419P+ and TS-419U Turbo
|
|
|
|
NAS devices.
|
2009-11-06 01:45:32 +08:00
|
|
|
|
2010-09-15 22:49:41 +08: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 07:38:19 +08:00
|
|
|
config MACH_OPENRD
|
|
|
|
bool
|
|
|
|
|
2009-08-10 20:07:34 +08:00
|
|
|
config MACH_OPENRD_BASE
|
|
|
|
bool "Marvell OpenRD Base Board"
|
2010-01-19 07:38:19 +08:00
|
|
|
select MACH_OPENRD
|
2009-08-10 20:07:34 +08:00
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell OpenRD Base Board.
|
|
|
|
|
2010-01-19 07:38:19 +08: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-11 03:12:55 +08: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 08:43:49 +08: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-10 04:20:55 +08: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 18:31:04 +08: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 21:33:58 +08: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 08:41:09 +08: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-05 03:20:07 +08: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-14 03:00:16 +08: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 23:56:16 +08: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 04:45:06 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
endif
|