platform: generic: thead: add Sophgo CV18XX/SG200X series

The Sophgo CV18XX/SG200X series SoCs have a standard C906
core. Add support for it.

Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Inochi Amaoto 2024-05-14 12:53:40 +08:00 committed by Anup Patel
parent 533067d182
commit 2bed4c1c57
1 changed files with 8 additions and 0 deletions

View File

@ -49,7 +49,15 @@ static struct thead_generic_quirks canaan_k230_quirks = {
.errata = THEAD_QUIRK_ERRATA_THEAD_PMU,
};
static struct thead_generic_quirks sophgo_cv1800_quirks = {
.errata = THEAD_QUIRK_ERRATA_THEAD_PMU,
};
static const struct fdt_match thead_generic_match[] = {
{ .compatible = "sophgo,cv1800b", .data = &sophgo_cv1800_quirks },
{ .compatible = "sophgo,cv1812h", .data = &sophgo_cv1800_quirks },
{ .compatible = "sophgo,sg2000", .data = &sophgo_cv1800_quirks },
{ .compatible = "sophgo,sg2002", .data = &sophgo_cv1800_quirks },
{ .compatible = "thead,th1520", .data = &thead_th1520_quirks },
{ .compatible = "canaan,kendryte-k230", .data = &canaan_k230_quirks },
{ },