rtl839x.mk 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. include ./common.mk
  3. define Device/d-link_dgs-1210-52
  4. $(Device/d-link_dgs-1210)
  5. SOC := rtl8393
  6. DEVICE_MODEL := DGS-1210-52
  7. endef
  8. TARGET_DEVICES += d-link_dgs-1210-52
  9. define Device/hpe_1920-48g
  10. $(Device/hpe_1920)
  11. SOC := rtl8393
  12. DEVICE_MODEL := 1920-48G (JG927A)
  13. H3C_DEVICE_ID := 0x0001002a
  14. endef
  15. TARGET_DEVICES += hpe_1920-48g
  16. define Device/hpe_1920-48g-poe
  17. $(Device/hpe_1920)
  18. SOC := rtl8393
  19. DEVICE_MODEL := 1920-48G-PoE (JG928A)
  20. DEVICE_PACKAGES += realtek-poe kmod-hwmon-gpiofan
  21. H3C_DEVICE_ID := 0x0001002b
  22. endef
  23. TARGET_DEVICES += hpe_1920-48g-poe
  24. # When the factory image won't fit anymore, it can be removed.
  25. # New installation will be performed booting the initramfs image from
  26. # ram and then flashing the sysupgrade image from OpenWrt
  27. define Device/netgear_gs750e
  28. SOC := rtl8393
  29. IMAGE_SIZE := 7552k
  30. FACTORY_SIZE := 6528k
  31. DEVICE_VENDOR := NETGEAR
  32. DEVICE_MODEL := GS750E
  33. UIMAGE_MAGIC := 0x174e4741
  34. IMAGES += factory.bix
  35. IMAGE/factory.bix := \
  36. append-kernel | \
  37. pad-to 64k | \
  38. append-rootfs | \
  39. pad-rootfs | \
  40. check-size $$$$(FACTORY_SIZE)
  41. endef
  42. TARGET_DEVICES += netgear_gs750e
  43. define Device/panasonic_m48eg-pn28480k
  44. SOC := rtl8393
  45. IMAGE_SIZE := 16384k
  46. DEVICE_VENDOR := Panasonic
  47. DEVICE_MODEL := Switch-M48eG
  48. DEVICE_VARIANT := PN28480K
  49. DEVICE_PACKAGES := \
  50. kmod-hwmon-gpiofan \
  51. kmod-hwmon-lm75 \
  52. kmod-i2c-mux-pca954x \
  53. kmod-thermal
  54. endef
  55. TARGET_DEVICES += panasonic_m48eg-pn28480k
  56. define Device/tplink_sg2452p-v4
  57. SOC := rtl8393
  58. KERNEL_SIZE := 6m
  59. IMAGE_SIZE := 26m
  60. DEVICE_VENDOR := TP-Link
  61. DEVICE_MODEL := SG2452P
  62. DEVICE_VARIANT := v4
  63. DEVICE_PACKAGES := \
  64. kmod-hwmon-gpiofan \
  65. kmod-hwmon-tps23861
  66. endef
  67. TARGET_DEVICES += tplink_sg2452p-v4
  68. define Device/zyxel_gs1900-48
  69. $(Device/zyxel_gs1900)
  70. SOC := rtl8393
  71. DEVICE_MODEL := GS1900-48
  72. ZYXEL_VERS := AAHN
  73. endef
  74. TARGET_DEVICES += zyxel_gs1900-48