bcm27xx: bcm2712: enable USB symbols and drop packages
[openwrt/openwrt.git] / target / linux / bcm27xx / image / Makefile
index ad79ac7d0cb550613ee88ada8f7961a15459447d..e5c2d154994a32f7de080f789e5f4f78426dd704 100644 (file)
@@ -172,4 +172,21 @@ ifeq ($(SUBTARGET),bcm2711)
   TARGET_DEVICES += rpi-4
 endif
 
+define Device/rpi-5
+  DEVICE_MODEL := 5
+  KERNEL_IMG := kernel_2712.img
+  DEVICE_DTS := broadcom/bcm2712-rpi-5-b
+  SUPPORTED_DEVICES := raspberrypi,5-model-b
+  DEVICE_PACKAGES := \
+       cypress-firmware-43455-sdio \
+       brcmfmac-nvram-43455-sdio \
+       kmod-brcmfmac wpad-basic-mbedtls \
+       kmod-hwmon-pwmfan kmod-thermal
+  IMAGE/sysupgrade.img.gz := boot-common | boot-2711 | sdcard-img | gzip | append-metadata
+  IMAGE/factory.img.gz := boot-common | boot-2711 | sdcard-img | gzip
+endef
+ifeq ($(SUBTARGET),bcm2712)
+  TARGET_DEVICES += rpi-5
+endif
+
 $(eval $(call BuildImage))