mirror of https://github.com/hak5/openwrt.git
57 lines
1.8 KiB
Diff
57 lines
1.8 KiB
Diff
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
|
|
---
|
|
arch/arm/Kconfig | 3 ++-
|
|
arch/arm/mach-orion5x/common.c | 4 +++-
|
|
include/asm-arm/arch-orion5x/orion5x.h | 5 +++--
|
|
3 files changed, 8 insertions(+), 4 deletions(-)
|
|
|
|
--- a/arch/arm/Kconfig
|
|
+++ b/arch/arm/Kconfig
|
|
@@ -385,7 +385,8 @@
|
|
select PLAT_ORION
|
|
help
|
|
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
|
|
bool "Philips Nexperia PNX4008 Mobile"
|
|
--- a/arch/arm/mach-orion5x/common.c
|
|
+++ b/arch/arm/mach-orion5x/common.c
|
|
@@ -394,8 +394,10 @@
|
|
} else if (*dev == MV88F5181_DEV_ID) {
|
|
if (*rev == MV88F5181_REV_B1) {
|
|
*dev_name = "MV88F5181-Rev-B1";
|
|
+ } else if (*rev == MV88F5181L_REV_A1) {
|
|
+ *dev_name = "MV88F5181L-Rev-A1";
|
|
} else {
|
|
- *dev_name = "MV88F5181-Rev-Unsupported";
|
|
+ *dev_name = "MV88F5181(L)-Rev-Unsupported";
|
|
}
|
|
} else {
|
|
*dev_name = "Device-Unknown";
|
|
--- a/include/asm-arm/arch-orion5x/orion5x.h
|
|
+++ b/include/asm-arm/arch-orion5x/orion5x.h
|
|
@@ -2,7 +2,7 @@
|
|
* include/asm-arm/arch-orion5x/orion5x.h
|
|
*
|
|
* 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>
|
|
*
|
|
@@ -63,9 +63,10 @@
|
|
/*******************************************************************************
|
|
* Supported Devices & Revisions
|
|
******************************************************************************/
|
|
-/* Orion-1 (88F5181) */
|
|
+/* Orion-1 (88F5181) and Orion-VoIP (88F5181L) */
|
|
#define MV88F5181_DEV_ID 0x5181
|
|
#define MV88F5181_REV_B1 3
|
|
+#define MV88F5181L_REV_A1 9
|
|
/* Orion-NAS (88F5182) */
|
|
#define MV88F5182_DEV_ID 0x5182
|
|
#define MV88F5182_REV_A2 2
|