openwrt/target/linux/bmips/modules.mk
Álvaro Fernández Rojas aefeb34223 bmips: add support for Sercomm SHG2500
Sercomm SHG2500 is a BCM63168 with 128M of RAM, 256M of NAND, an external
BCM53124S switch for the LAN ports and internal/external Broadcom wifi.
LEDs are connected to an external MSP430G2513 MCU controlled via SPI.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-04-09 10:33:13 +02:00

17 lines
526 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
define KernelPackage/leds-sercomm-msp430
SUBMENU:=$(LEDS_MENU)
TITLE:=Sercomm MSP430G2513 LED support
KCONFIG:=CONFIG_LEDS_SERCOMM_MSP430
FILES:=$(LINUX_DIR)/drivers/leds/leds-sercomm-msp430.ko
DEPENDS:=@TARGET_bmips +kmod-ledtrig-pattern
AUTOLOAD:=$(call AutoLoad,60,leds-sercomm-msp430,1)
endef
define KernelPackage/leds-sercomm-msp430/description
Kernel support for the Sercomm MSP430G2513 SPI LED controller.
endef
$(eval $(call KernelPackage,leds-sercomm-msp430))