Commit 13648d72 authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by Ralf Baechle

MIPS: Lantiq: Add support for xRX220 SoC

Signed-off-by: default avatarHauke Mehrtens <hauke.mehrtens@lantiq.com>
Acked-by: default avatarJohn Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11394/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 5072d814
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#define SOC_ID_VRX268_2 0x00C /* v1.2 */ #define SOC_ID_VRX268_2 0x00C /* v1.2 */
#define SOC_ID_GRX288_2 0x00D /* v1.2 */ #define SOC_ID_GRX288_2 0x00D /* v1.2 */
#define SOC_ID_GRX282_2 0x00E /* v1.2 */ #define SOC_ID_GRX282_2 0x00E /* v1.2 */
#define SOC_ID_VRX220 0x000
#define SOC_ID_ARX362 0x004 #define SOC_ID_ARX362 0x004
#define SOC_ID_ARX368 0x005 #define SOC_ID_ARX368 0x005
...@@ -55,6 +56,7 @@ ...@@ -55,6 +56,7 @@
#define SOC_TYPE_AMAZON_SE 0x06 #define SOC_TYPE_AMAZON_SE 0x06
#define SOC_TYPE_AR10 0x07 #define SOC_TYPE_AR10 0x07
#define SOC_TYPE_GRX390 0x08 #define SOC_TYPE_GRX390 0x08
#define SOC_TYPE_VRX220 0x09
/* BOOT_SEL - find what boot media we have */ /* BOOT_SEL - find what boot media we have */
#define BS_EXT_ROM 0x0 #define BS_EXT_ROM 0x0
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#define SOC_AR9 "AR9" #define SOC_AR9 "AR9"
#define SOC_GR9 "GRX200" #define SOC_GR9 "GRX200"
#define SOC_VR9 "xRX200" #define SOC_VR9 "xRX200"
#define SOC_VRX220 "xRX220"
#define SOC_AR10 "xRX300" #define SOC_AR10 "xRX300"
#define SOC_GRX390 "xRX330" #define SOC_GRX390 "xRX330"
...@@ -106,6 +107,12 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) ...@@ -106,6 +107,12 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
i->compatible = COMP_VR9; i->compatible = COMP_VR9;
break; break;
case SOC_ID_VRX220:
i->name = SOC_VRX220;
i->type = SOC_TYPE_VRX220;
i->compatible = COMP_VR9;
break;
case SOC_ID_GRX282_2: case SOC_ID_GRX282_2:
case SOC_ID_GRX288_2: case SOC_ID_GRX288_2:
i->name = SOC_GR9; i->name = SOC_GR9;
......
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