Commit d2b2a6bb authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Lennert Buytenhek

[ARM] Orion: add 88F5181L (Orion-VoIP) support

Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
Acked-by: default avatarRussell King <linux@arm.linux.org.uk>
parent 47e9cffd
...@@ -386,7 +386,8 @@ config ARCH_ORION5X ...@@ -386,7 +386,8 @@ config ARCH_ORION5X
select PLAT_ORION select PLAT_ORION
help help
Support for the following Marvell Orion 5x series SoCs: Support for the following Marvell Orion 5x series SoCs:
Orion-1 (5181), Orion-NAS (5182), Orion-2 (5281.) Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
Orion-2 (5281).
config ARCH_PNX4008 config ARCH_PNX4008
bool "Philips Nexperia PNX4008 Mobile" bool "Philips Nexperia PNX4008 Mobile"
......
...@@ -394,8 +394,10 @@ static void __init orion5x_id(u32 *dev, u32 *rev, char **dev_name) ...@@ -394,8 +394,10 @@ static void __init orion5x_id(u32 *dev, u32 *rev, char **dev_name)
} else if (*dev == MV88F5181_DEV_ID) { } else if (*dev == MV88F5181_DEV_ID) {
if (*rev == MV88F5181_REV_B1) { if (*rev == MV88F5181_REV_B1) {
*dev_name = "MV88F5181-Rev-B1"; *dev_name = "MV88F5181-Rev-B1";
} else if (*rev == MV88F5181L_REV_A1) {
*dev_name = "MV88F5181L-Rev-A1";
} else { } else {
*dev_name = "MV88F5181-Rev-Unsupported"; *dev_name = "MV88F5181(L)-Rev-Unsupported";
} }
} else { } else {
*dev_name = "Device-Unknown"; *dev_name = "Device-Unknown";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* include/asm-arm/arch-orion5x/orion5x.h * include/asm-arm/arch-orion5x/orion5x.h
* *
* Generic definitions of Orion SoC flavors: * Generic definitions of Orion SoC flavors:
* Orion-1, Orion-NAS, Orion-VoIP, and Orion-2. * Orion-1, Orion-VoIP, Orion-NAS, and Orion-2.
* *
* Maintainer: Tzachi Perelstein <tzachi@marvell.com> * Maintainer: Tzachi Perelstein <tzachi@marvell.com>
* *
...@@ -63,9 +63,11 @@ ...@@ -63,9 +63,11 @@
/******************************************************************************* /*******************************************************************************
* Supported Devices & Revisions * Supported Devices & Revisions
******************************************************************************/ ******************************************************************************/
/* Orion-1 (88F5181) */ /* Orion-1 (88F5181) and Orion-VoIP (88F5181L) */
#define MV88F5181_DEV_ID 0x5181 #define MV88F5181_DEV_ID 0x5181
#define MV88F5181_REV_B1 3 #define MV88F5181_REV_B1 3
#define MV88F5181L_REV_A0 8
#define MV88F5181L_REV_A1 9
/* Orion-NAS (88F5182) */ /* Orion-NAS (88F5182) */
#define MV88F5182_DEV_ID 0x5182 #define MV88F5182_DEV_ID 0x5182
#define MV88F5182_REV_A2 2 #define MV88F5182_REV_A2 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment