Skip to content

Commit 13648d7

Browse files
Hauke Mehrtensralfbaechle
authored andcommitted
MIPS: Lantiq: Add support for xRX220 SoC
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11394/ Signed-off-by: Ralf Baechle <[email protected]>
1 parent 5072d81 commit 13648d7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#define SOC_ID_VRX268_2 0x00C /* v1.2 */
3636
#define SOC_ID_GRX288_2 0x00D /* v1.2 */
3737
#define SOC_ID_GRX282_2 0x00E /* v1.2 */
38+
#define SOC_ID_VRX220 0x000
3839

3940
#define SOC_ID_ARX362 0x004
4041
#define SOC_ID_ARX368 0x005
@@ -55,6 +56,7 @@
5556
#define SOC_TYPE_AMAZON_SE 0x06
5657
#define SOC_TYPE_AR10 0x07
5758
#define SOC_TYPE_GRX390 0x08
59+
#define SOC_TYPE_VRX220 0x09
5860

5961
/* BOOT_SEL - find what boot media we have */
6062
#define BS_EXT_ROM 0x0

arch/mips/lantiq/xway/prom.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#define SOC_AR9 "AR9"
2323
#define SOC_GR9 "GRX200"
2424
#define SOC_VR9 "xRX200"
25+
#define SOC_VRX220 "xRX220"
2526
#define SOC_AR10 "xRX300"
2627
#define SOC_GRX390 "xRX330"
2728

@@ -106,6 +107,12 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
106107
i->compatible = COMP_VR9;
107108
break;
108109

110+
case SOC_ID_VRX220:
111+
i->name = SOC_VRX220;
112+
i->type = SOC_TYPE_VRX220;
113+
i->compatible = COMP_VR9;
114+
break;
115+
109116
case SOC_ID_GRX282_2:
110117
case SOC_ID_GRX288_2:
111118
i->name = SOC_GR9;

0 commit comments

Comments
 (0)