Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jonathan Neuschäfer and committed by
Joel Stanley
ece3fe93 9b39efac

+25 -1
+11 -1
arch/arm/mach-npcm/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 menuconfig ARCH_NPCM 3 3 bool "Nuvoton NPCM Architecture" 4 - depends on ARCH_MULTI_V7 4 + depends on ARCH_MULTI_V5 || ARCH_MULTI_V7 5 5 select PINCTRL 6 6 7 7 if ARCH_NPCM 8 + 9 + config ARCH_WPCM450 10 + bool "Support for WPCM450 BMC (Hermon)" 11 + depends on ARCH_MULTI_V5 12 + select CPU_ARM926T 13 + select NPCM7XX_TIMER 14 + help 15 + General support for WPCM450 BMC (Hermon). 16 + 17 + Winbond/Nuvoton WPCM450 BMC based on the ARM926EJ-S. 8 18 9 19 config ARCH_NPCM7XX 10 20 bool "Support for NPCM7xx BMC (Poleg)"
+1
arch/arm/mach-npcm/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 AFLAGS_headsmp.o += -march=armv7-a 3 3 4 + obj-$(CONFIG_ARCH_WPCM450) += wpcm450.o 4 5 obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx.o 5 6 obj-$(CONFIG_SMP) += platsmp.o headsmp.o
+13
arch/arm/mach-npcm/wpcm450.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + // Copyright 2021 Jonathan Neuschäfer 3 + 4 + #include <asm/mach/arch.h> 5 + 6 + static const char *const wpcm450_dt_match[] = { 7 + "nuvoton,wpcm450", 8 + NULL 9 + }; 10 + 11 + DT_MACHINE_START(WPCM450_DT, "WPCM450 chip") 12 + .dt_compat = wpcm450_dt_match, 13 + MACHINE_END