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