Chuanhong Guo c057db94f8 siflower: sf21: new subtarget for sf21a6826/sf21h8898
Siflower SF21A6826/SF21H8898 are a family of RISC-V SoCs with:

 * Quad-core T-Head C908 (1.125G for SF21A6826, 1.25G for SF21H8898)
 * DDR3/DDR4 memory controller
 * 1 QSGMII 4x1G
 * 1 SGMII/2500Base-X 2.5G
 * 1 additional RGMII on SF21H8898
 * Network offloading engine for L2 switching and L3 NAT
 * 2 PCIE Gen2 lanes, operating in either one PCIE Gen2x2 or two
   PCIE Gen2x1 mode
 * 1 USB2.0

Link: https://github.com/openwrt/openwrt/pull/17115
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2025-02-05 11:08:37 +08:00

32 lines
940 B
Makefile

define KernelPackage/phy-sf19a2890-usb
TITLE:=Siflower SF19A2890 USB 2.0 PHY Driver
KCONFIG:=CONFIG_PHY_SF19A2890_USB
DEPENDS:=@TARGET_siflower_sf19a2890
SUBMENU:=$(USB_MENU)
FILES:=$(LINUX_DIR)/drivers/phy/siflower/phy-sf19a2890-usb.ko
AUTOLOAD:=$(call AutoLoad,45,phy-sf19a2890-usb,1)
endef
define KernelPackage/phy-sf19a2890-usb/description
Support for Siflower SF19A2890 USB 2.0 PHY connected to the USB
controller.
endef
$(eval $(call KernelPackage,phy-sf19a2890-usb))
define KernelPackage/phy-sf21-usb
TITLE:=Siflower SF21 USB 2.0 PHY Driver
KCONFIG:=CONFIG_PHY_SF21_USB
DEPENDS:=@TARGET_siflower_sf21
SUBMENU:=$(USB_MENU)
FILES:=$(LINUX_DIR)/drivers/phy/siflower/phy-sf21-usb.ko
AUTOLOAD:=$(call AutoLoad,45,phy-sf21-usb,1)
endef
define KernelPackage/phy-sf21-usb/description
Support for Siflower SF21 USB 2.0 PHY connected to the USB
controller.
endef
$(eval $(call KernelPackage,phy-sf21-usb))