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
4954da8b
Commit
4954da8b
authored
Nov 20, 2012
by
Thomas Petazzoni
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'marvell-sata-3.8' of github.com:MISL-EBU-System-SW/mainline-public into test-the-merge
Marvell Armada 370/XP support for 3.8
parents
ae24db86
3d82daaa
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
0 deletions
+35
-0
arch/arm/boot/dts/armada-370-db.dts
arch/arm/boot/dts/armada-370-db.dts
+4
-0
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-370-xp.dtsi
+10
-0
arch/arm/boot/dts/armada-xp-db.dts
arch/arm/boot/dts/armada-xp-db.dts
+4
-0
arch/arm/configs/multi_v7_defconfig
arch/arm/configs/multi_v7_defconfig
+2
-0
arch/arm/configs/mvebu_defconfig
arch/arm/configs/mvebu_defconfig
+3
-0
arch/arm/mach-mvebu/armada-370-xp.c
arch/arm/mach-mvebu/armada-370-xp.c
+12
-0
No files found.
arch/arm/boot/dts/armada-370-db.dts
View file @
4954da8b
...
...
@@ -34,5 +34,9 @@ serial@d0012000 {
clock
-
frequency
=
<
200000000
>;
status
=
"okay"
;
};
sata
@
d00a0000
{
nr
-
ports
=
<
2
>;
status
=
"okay"
;
};
};
};
arch/arm/boot/dts/armada-370-xp.dtsi
View file @
4954da8b
...
...
@@ -69,6 +69,16 @@ addr-decoding@d0020000 {
compatible
=
"marvell,armada-addr-decoding-controller"
;
reg
=
<
0xd0020000
0x258
>;
};
sata
@
d00a0000
{
compatible
=
"marvell,orion-sata"
;
reg
=
<
0xd00a0000
0x2400
>;
interrupts
=
<
55
>;
clocks
=
<&
gateclk
15
>,
<&
gateclk
30
>;
clock
-
names
=
"0"
,
"1"
;
status
=
"disabled"
;
};
};
};
arch/arm/boot/dts/armada-xp-db.dts
View file @
4954da8b
...
...
@@ -46,5 +46,9 @@ serial@d0012300 {
clock
-
frequency
=
<
250000000
>;
status
=
"okay"
;
};
sata
@
d00a0000
{
nr
-
ports
=
<
2
>;
status
=
"okay"
;
};
};
};
arch/arm/configs/multi_v7_defconfig
View file @
4954da8b
...
...
@@ -17,8 +17,10 @@ CONFIG_ARM_APPENDED_DTB=y
CONFIG_VFP=y
CONFIG_NEON=y
CONFIG_NET=y
CONFIG_BLK_DEV_SD=y
CONFIG_ATA=y
CONFIG_SATA_HIGHBANK=y
CONFIG_SATA_MV=y
CONFIG_NETDEVICES=y
CONFIG_NET_CALXEDA_XGMAC=y
CONFIG_SMSC911X=y
...
...
arch/arm/configs/mvebu_defconfig
View file @
4954da8b
...
...
@@ -20,6 +20,9 @@ CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_VFP=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_BLK_DEV_SD=y
CONFIG_ATA=y
CONFIG_SATA_MV=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
...
...
arch/arm/mach-mvebu/armada-370-xp.c
View file @
4954da8b
...
...
@@ -18,6 +18,7 @@
#include <linux/io.h>
#include <linux/time-armada-370-xp.h>
#include <linux/clk/mvebu.h>
#include <linux/dma-mapping.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
...
...
@@ -44,6 +45,16 @@ void __init armada_370_xp_timer_and_clk_init(void)
armada_370_xp_timer_init
();
}
void
__init
armada_370_xp_init_early
(
void
)
{
/*
* Some Armada 370/XP devices allocate their coherent buffers
* from atomic context. Increase size of atomic coherent pool
* to make sure such the allocations won't fail.
*/
init_dma_coherent_pool_size
(
SZ_1M
);
}
struct
sys_timer
armada_370_xp_timer
=
{
.
init
=
armada_370_xp_timer_and_clk_init
,
};
...
...
@@ -62,6 +73,7 @@ static const char * const armada_370_xp_dt_board_dt_compat[] = {
DT_MACHINE_START
(
ARMADA_XP_DT
,
"Marvell Aramada 370/XP (Device Tree)"
)
.
init_machine
=
armada_370_xp_dt_init
,
.
map_io
=
armada_370_xp_map_io
,
.
init_early
=
armada_370_xp_init_early
,
.
init_irq
=
armada_370_xp_init_irq
,
.
handle_irq
=
armada_370_xp_handle_irq
,
.
timer
=
&
armada_370_xp_timer
,
...
...
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