mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
ARM: npcm: Introduce Nuvoton WPCM450 SoC
The WPCM450 is an older BMC SoC in the Nuvoton NPCM family, originally marketed as Winbond WPCM450. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20210406120921.2484986-6-j.neuschaefer@gmx.net Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
9b39efacd6
commit
ece3fe93e8
3 changed files with 25 additions and 1 deletions
|
@ -1,11 +1,21 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
menuconfig ARCH_NPCM
|
menuconfig ARCH_NPCM
|
||||||
bool "Nuvoton NPCM Architecture"
|
bool "Nuvoton NPCM Architecture"
|
||||||
depends on ARCH_MULTI_V7
|
depends on ARCH_MULTI_V5 || ARCH_MULTI_V7
|
||||||
select PINCTRL
|
select PINCTRL
|
||||||
|
|
||||||
if ARCH_NPCM
|
if ARCH_NPCM
|
||||||
|
|
||||||
|
config ARCH_WPCM450
|
||||||
|
bool "Support for WPCM450 BMC (Hermon)"
|
||||||
|
depends on ARCH_MULTI_V5
|
||||||
|
select CPU_ARM926T
|
||||||
|
select NPCM7XX_TIMER
|
||||||
|
help
|
||||||
|
General support for WPCM450 BMC (Hermon).
|
||||||
|
|
||||||
|
Winbond/Nuvoton WPCM450 BMC based on the ARM926EJ-S.
|
||||||
|
|
||||||
config ARCH_NPCM7XX
|
config ARCH_NPCM7XX
|
||||||
bool "Support for NPCM7xx BMC (Poleg)"
|
bool "Support for NPCM7xx BMC (Poleg)"
|
||||||
depends on ARCH_MULTI_V7
|
depends on ARCH_MULTI_V7
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
AFLAGS_headsmp.o += -march=armv7-a
|
AFLAGS_headsmp.o += -march=armv7-a
|
||||||
|
|
||||||
|
obj-$(CONFIG_ARCH_WPCM450) += wpcm450.o
|
||||||
obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx.o
|
obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx.o
|
||||||
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
|
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
|
||||||
|
|
13
arch/arm/mach-npcm/wpcm450.c
Normal file
13
arch/arm/mach-npcm/wpcm450.c
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
|
// Copyright 2021 Jonathan Neuschäfer
|
||||||
|
|
||||||
|
#include <asm/mach/arch.h>
|
||||||
|
|
||||||
|
static const char *const wpcm450_dt_match[] = {
|
||||||
|
"nuvoton,wpcm450",
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
DT_MACHINE_START(WPCM450_DT, "WPCM450 chip")
|
||||||
|
.dt_compat = wpcm450_dt_match,
|
||||||
|
MACHINE_END
|
Loading…
Add table
Reference in a new issue