Commit a0b8cd5c authored by Wenli Looi's avatar Wenli Looi Committed by Thomas Bogendoerfer

MIPS: ath79: add support for QCN550x

Adds support for QCN550x, which appears to be very similar to QCA956x.
Signed-off-by: default avatarWenli Looi <wlooi@ucalgary.ca>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent dfd42fac
...@@ -121,6 +121,7 @@ static void prom_putchar_init(void) ...@@ -121,6 +121,7 @@ static void prom_putchar_init(void)
case REV_ID_MAJOR_QCA9558: case REV_ID_MAJOR_QCA9558:
case REV_ID_MAJOR_TP9343: case REV_ID_MAJOR_TP9343:
case REV_ID_MAJOR_QCA956X: case REV_ID_MAJOR_QCA956X:
case REV_ID_MAJOR_QCN550X:
_prom_putchar = prom_putchar_ar71xx; _prom_putchar = prom_putchar_ar71xx;
break; break;
......
...@@ -168,6 +168,12 @@ static void __init ath79_detect_sys_type(void) ...@@ -168,6 +168,12 @@ static void __init ath79_detect_sys_type(void)
rev = id & QCA956X_REV_ID_REVISION_MASK; rev = id & QCA956X_REV_ID_REVISION_MASK;
break; break;
case REV_ID_MAJOR_QCN550X:
ath79_soc = ATH79_SOC_QCA956X;
chip = "550X";
rev = id & QCA956X_REV_ID_REVISION_MASK;
break;
case REV_ID_MAJOR_TP9343: case REV_ID_MAJOR_TP9343:
ath79_soc = ATH79_SOC_TP9343; ath79_soc = ATH79_SOC_TP9343;
chip = "9343"; chip = "9343";
......
...@@ -862,6 +862,7 @@ ...@@ -862,6 +862,7 @@
#define REV_ID_MAJOR_QCA9558 0x1130 #define REV_ID_MAJOR_QCA9558 0x1130
#define REV_ID_MAJOR_TP9343 0x0150 #define REV_ID_MAJOR_TP9343 0x0150
#define REV_ID_MAJOR_QCA956X 0x1150 #define REV_ID_MAJOR_QCA956X 0x1150
#define REV_ID_MAJOR_QCN550X 0x2170
#define AR71XX_REV_ID_MINOR_MASK 0x3 #define AR71XX_REV_ID_MINOR_MASK 0x3
#define AR71XX_REV_ID_MINOR_AR7130 0x0 #define AR71XX_REV_ID_MINOR_AR7130 0x0
......
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