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