-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: 7922/1: l2x0: add Marvell Tauros3 support
This adds support for the Marvell Tauros3 cache controller which is compatible with pl310 cache controller but broadcasts L1 cache operations to L2 cache. While updating the binding documentation, clean up the list of possible compatibles. Also reorder driver compatibles to allow non-ARM derivated to be compatible to ARM cache controller compatibles. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
- Loading branch information
Sebastian Hesselbarth
authored and
Russell King
committed
Dec 29, 2013
1 parent
017f161
commit e68f31f
Showing
4 changed files
with
94 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Marvell Tauros3 cache controller includes | ||
* | ||
* Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | ||
* | ||
* based on GPL'ed 2.6 kernel sources | ||
* (c) Marvell International Ltd. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
#ifndef __ASM_ARM_HARDWARE_TAUROS3_H | ||
#define __ASM_ARM_HARDWARE_TAUROS3_H | ||
|
||
/* | ||
* Marvell Tauros3 L2CC is compatible with PL310 r0p0 | ||
* but with PREFETCH_CTRL (r2p0) and an additional event counter. | ||
* Also, there is AUX2_CTRL for some Marvell specific control. | ||
*/ | ||
|
||
#define TAUROS3_EVENT_CNT2_CFG 0x224 | ||
#define TAUROS3_EVENT_CNT2_VAL 0x228 | ||
#define TAUROS3_INV_ALL 0x780 | ||
#define TAUROS3_CLEAN_ALL 0x784 | ||
#define TAUROS3_AUX2_CTRL 0x820 | ||
|
||
/* Registers shifts and masks */ | ||
#define TAUROS3_AUX2_CTRL_LINEFILL_BURST8_EN (1 << 2) | ||
|
||
#endif |