Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
6973ee7e
Commit
6973ee7e
authored
Aug 13, 2009
by
Russell King
Committed by
Russell King
Aug 13, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-rmk' of
git://git.marvell.com/orion
into devel-stable
parents
13efdbec
54a246ff
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
491 additions
and
2 deletions
+491
-2
MAINTAINERS
MAINTAINERS
+12
-0
arch/arm/mach-kirkwood/Kconfig
arch/arm/mach-kirkwood/Kconfig
+6
-0
arch/arm/mach-kirkwood/Makefile
arch/arm/mach-kirkwood/Makefile
+1
-0
arch/arm/mach-kirkwood/common.c
arch/arm/mach-kirkwood/common.c
+4
-1
arch/arm/mach-kirkwood/include/mach/kirkwood.h
arch/arm/mach-kirkwood/include/mach/kirkwood.h
+1
-0
arch/arm/mach-kirkwood/openrd_base-setup.c
arch/arm/mach-kirkwood/openrd_base-setup.c
+84
-0
arch/arm/mach-orion5x/Kconfig
arch/arm/mach-orion5x/Kconfig
+14
-0
arch/arm/mach-orion5x/Makefile
arch/arm/mach-orion5x/Makefile
+2
-0
arch/arm/mach-orion5x/addr-map.c
arch/arm/mach-orion5x/addr-map.c
+2
-1
arch/arm/mach-orion5x/d2net-setup.c
arch/arm/mach-orion5x/d2net-setup.c
+365
-0
No files found.
MAINTAINERS
View file @
6973ee7e
...
...
@@ -685,6 +685,18 @@ ARM/MAGICIAN MACHINE SUPPORT
M: Philipp Zabel <philipp.zabel@gmail.com>
S: Maintained
ARM/Marvell Loki/Kirkwood/MV78xx0/Orion SOC support
M: Lennert Buytenhek <buytenh@marvell.com>
M: Nicolas Pitre <nico@marvell.com>
L: linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
T: git git://git.marvell.com/orion
S: Maintained
F: arch/arm/mach-loki/
F: arch/arm/mach-kirkwood/
F: arch/arm/mach-mv78xx0/
F: arch/arm/mach-orion5x/
F: arch/arm/plat-orion/
ARM/MIOA701 MACHINE SUPPORT
M: Robert Jarzmik <robert.jarzmik@free.fr>
L: linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
...
...
arch/arm/mach-kirkwood/Kconfig
View file @
6973ee7e
...
...
@@ -38,6 +38,12 @@ config MACH_TS219
Say 'Y' here if you want your kernel to support the
QNAP TS-119 and TS-219 Turbo NAS devices.
config MACH_OPENRD_BASE
bool "Marvell OpenRD Base Board"
help
Say 'Y' here if you want your kernel to support the
Marvell OpenRD Base Board.
endmenu
endif
arch/arm/mach-kirkwood/Makefile
View file @
6973ee7e
...
...
@@ -6,5 +6,6 @@ obj-$(CONFIG_MACH_RD88F6281) += rd88f6281-setup.o
obj-$(CONFIG_MACH_MV88F6281GTW_GE)
+=
mv88f6281gtw_ge-setup.o
obj-$(CONFIG_MACH_SHEEVAPLUG)
+=
sheevaplug-setup.o
obj-$(CONFIG_MACH_TS219)
+=
ts219-setup.o
obj-$(CONFIG_MACH_OPENRD_BASE)
+=
openrd_base-setup.o
obj-$(CONFIG_CPU_IDLE)
+=
cpuidle.o
arch/arm/mach-kirkwood/common.c
View file @
6973ee7e
...
...
@@ -838,7 +838,8 @@ int __init kirkwood_find_tclk(void)
u32
dev
,
rev
;
kirkwood_pcie_id
(
&
dev
,
&
rev
);
if
(
dev
==
MV88F6281_DEV_ID
&&
rev
==
MV88F6281_REV_A0
)
if
(
dev
==
MV88F6281_DEV_ID
&&
(
rev
==
MV88F6281_REV_A0
||
rev
==
MV88F6281_REV_A1
))
return
200000000
;
return
166666667
;
...
...
@@ -872,6 +873,8 @@ static char * __init kirkwood_id(void)
return
"MV88F6281-Z0"
;
else
if
(
rev
==
MV88F6281_REV_A0
)
return
"MV88F6281-A0"
;
else
if
(
rev
==
MV88F6281_REV_A1
)
return
"MV88F6281-A1"
;
else
return
"MV88F6281-Rev-Unsupported"
;
}
else
if
(
dev
==
MV88F6192_DEV_ID
)
{
...
...
arch/arm/mach-kirkwood/include/mach/kirkwood.h
View file @
6973ee7e
...
...
@@ -101,6 +101,7 @@
#define MV88F6281_DEV_ID 0x6281
#define MV88F6281_REV_Z0 0
#define MV88F6281_REV_A0 2
#define MV88F6281_REV_A1 3
#define MV88F6192_DEV_ID 0x6192
#define MV88F6192_REV_Z0 0
...
...
arch/arm/mach-kirkwood/openrd_base-setup.c
0 → 100644
View file @
6973ee7e
/*
* arch/arm/mach-kirkwood/openrd_base-setup.c
*
* Marvell OpenRD Base Board Setup
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/mtd/partitions.h>
#include <linux/ata_platform.h>
#include <linux/mv643xx_eth.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/kirkwood.h>
#include <plat/mvsdio.h>
#include "common.h"
#include "mpp.h"
static
struct
mtd_partition
openrd_base_nand_parts
[]
=
{
{
.
name
=
"u-boot"
,
.
offset
=
0
,
.
size
=
SZ_1M
},
{
.
name
=
"uImage"
,
.
offset
=
MTDPART_OFS_NXTBLK
,
.
size
=
SZ_4M
},
{
.
name
=
"root"
,
.
offset
=
MTDPART_OFS_NXTBLK
,
.
size
=
MTDPART_SIZ_FULL
},
};
static
struct
mv643xx_eth_platform_data
openrd_base_ge00_data
=
{
.
phy_addr
=
MV643XX_ETH_PHY_ADDR
(
8
),
};
static
struct
mv_sata_platform_data
openrd_base_sata_data
=
{
.
n_ports
=
2
,
};
static
struct
mvsdio_platform_data
openrd_base_mvsdio_data
=
{
.
gpio_card_detect
=
29
,
/* MPP29 used as SD card detect */
};
static
unsigned
int
openrd_base_mpp_config
[]
__initdata
=
{
MPP29_GPIO
,
0
};
static
void
__init
openrd_base_init
(
void
)
{
/*
* Basic setup. Needs to be called early.
*/
kirkwood_init
();
kirkwood_mpp_conf
(
openrd_base_mpp_config
);
kirkwood_uart0_init
();
kirkwood_nand_init
(
ARRAY_AND_SIZE
(
openrd_base_nand_parts
),
25
);
kirkwood_ehci_init
();
kirkwood_ge00_init
(
&
openrd_base_ge00_data
);
kirkwood_sata_init
(
&
openrd_base_sata_data
);
kirkwood_sdio_init
(
&
openrd_base_mvsdio_data
);
}
MACHINE_START
(
OPENRD_BASE
,
"Marvell OpenRD Base Board"
)
/* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */
.
phys_io
=
KIRKWOOD_REGS_PHYS_BASE
,
.
io_pg_offst
=
((
KIRKWOOD_REGS_VIRT_BASE
)
>>
18
)
&
0xfffc
,
.
boot_params
=
0x00000100
,
.
init_machine
=
openrd_base_init
,
.
map_io
=
kirkwood_map_io
,
.
init_irq
=
kirkwood_init_irq
,
.
timer
=
&
kirkwood_timer
,
MACHINE_END
arch/arm/mach-orion5x/Kconfig
View file @
6973ee7e
...
...
@@ -89,6 +89,20 @@ config MACH_EDMINI_V2
Say 'Y' here if you want your kernel to support the
LaCie Ethernet Disk mini V2.
config MACH_D2NET
bool "LaCie d2 Network"
select I2C_BOARDINFO
help
Say 'Y' here if you want your kernel to support the
LaCie d2 Network NAS.
config MACH_BIGDISK
bool "LaCie Big Disk Network"
select I2C_BOARDINFO
help
Say 'Y' here if you want your kernel to support the
LaCie Big Disk Network NAS.
config MACH_MSS2
bool "Maxtor Shared Storage II"
help
...
...
arch/arm/mach-orion5x/Makefile
View file @
6973ee7e
...
...
@@ -12,6 +12,8 @@ obj-$(CONFIG_MACH_WRT350N_V2) += wrt350n-v2-setup.o
obj-$(CONFIG_MACH_TS78XX)
+=
ts78xx-setup.o
obj-$(CONFIG_MACH_MV2120)
+=
mv2120-setup.o
obj-$(CONFIG_MACH_EDMINI_V2)
+=
edmini_v2-setup.o
obj-$(CONFIG_MACH_D2NET)
+=
d2net-setup.o
obj-$(CONFIG_MACH_BIGDISK)
+=
d2net-setup.o
obj-$(CONFIG_MACH_MSS2)
+=
mss2-setup.o
obj-$(CONFIG_MACH_WNR854T)
+=
wnr854t-setup.o
obj-$(CONFIG_MACH_RD88F5181L_GE)
+=
rd88f5181l-ge-setup.o
...
...
arch/arm/mach-orion5x/addr-map.c
View file @
6973ee7e
...
...
@@ -84,7 +84,8 @@ static int __init orion5x_cpu_win_can_remap(int win)
orion5x_pcie_id
(
&
dev
,
&
rev
);
if
((
dev
==
MV88F5281_DEV_ID
&&
win
<
4
)
||
(
dev
==
MV88F5182_DEV_ID
&&
win
<
2
)
||
(
dev
==
MV88F5181_DEV_ID
&&
win
<
2
))
||
(
dev
==
MV88F5181_DEV_ID
&&
win
<
2
)
||
(
dev
==
MV88F6183_DEV_ID
&&
win
<
4
))
return
1
;
return
0
;
...
...
arch/arm/mach-orion5x/d2net-setup.c
0 → 100644
View file @
6973ee7e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment