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>
This commit is contained in:
Álvaro Fernández Rojas
2023-03-30 23:14:13 +02:00
parent d11a7c4d95
commit aefeb34223
6 changed files with 776 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
# 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))