diff options
author | Qin Jian <qinjian@cqplus1.com> | 2022-06-28 14:26:49 +0800 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-07-08 14:24:14 +0200 |
commit | 0aa94eea8d955c82014e5368a843da93f1dc58f8 (patch) | |
tree | b43dc1c51d5f827d41b2bcb4869d7319924410d4 /arch/arm/mach-sunplus/sp7021.c | |
parent | f7189d938b31efd27399268918a5dc195745447a (diff) |
ARM: sunplus: Add initial support for Sunplus SP7021 SoC
This patch aims to add an initial support for Sunplus SP7021 SoC.
Signed-off-by: Qin Jian <qinjian@cqplus1.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-sunplus/sp7021.c')
-rw-r--r-- | arch/arm/mach-sunplus/sp7021.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-sunplus/sp7021.c b/arch/arm/mach-sunplus/sp7021.c new file mode 100644 index 000000000000..774d0a5bd4eb --- /dev/null +++ b/arch/arm/mach-sunplus/sp7021.c @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Copyright (C) Sunplus Technology Co., Ltd. + * All rights reserved. + */ +#include <linux/kernel.h> +#include <asm/mach/arch.h> + +static const char *sp7021_compat[] __initconst = { + "sunplus,sp7021", + NULL +}; + +DT_MACHINE_START(SP7021_DT, "SP7021") + .dt_compat = sp7021_compat, +MACHINE_END |