d65e29e72ac9da86d44f8a25cd844ef197e15ba4
[openwrt/openwrt.git] / target / linux / ath79 / image / generic-tp-link.mk
1 include ./common-tp-link.mk
2
3 define Device/tplink_archer-c7-v1
4 $(Device/tplink-8mlzma)
5 ATH_SOC := qca9558
6 DEVICE_TITLE := TP-LINK Archer C7 v1
7 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
8 TPLINK_HWID := 0x75000001
9 endef
10 TARGET_DEVICES += tplink_archer-c7-v1
11
12 define Device/tplink_archer-c7-v2
13 $(Device/tplink-16mlzma)
14 ATH_SOC := qca9558
15 DEVICE_TITLE := TP-LINK Archer C7 v2
16 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
17 TPLINK_HWID := 0xc7000002
18 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
19 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
20 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
21 endef
22 TARGET_DEVICES += tplink_archer-c7-v2
23
24 define Device/tplink_re450-v2
25 $(Device/tplink)
26 ATH_SOC := qca9563
27 IMAGE_SIZE := 6016k
28 DEVICE_TITLE := TP-LINK RE450 v2
29 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
30 TPLINK_HWID := 0x0
31 TPLINK_HWREV := 0
32 TPLINK_BOARD_ID := RE450-V2
33 LOADER_TYPE := elf
34 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
35 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
36 append-metadata | check-size $$$$(IMAGE_SIZE)
37 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
38 endef
39 TARGET_DEVICES += tplink_re450-v2
40
41 define Device/tplink_tl-wdr3600
42 $(Device/tplink-8mlzma)
43 ATH_SOC := ar9344
44 DEVICE_TITLE := TP-LINK TL-WDR3600
45 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
46 TPLINK_HWID := 0x36000001
47 SUPPORTED_DEVICES += tl-wdr3600
48 endef
49 TARGET_DEVICES += tplink_tl-wdr3600
50
51 define Device/tplink_tl-wdr4300
52 $(Device/tplink-8mlzma)
53 ATH_SOC := ar9344
54 DEVICE_TITLE := TP-LINK TL-WDR4300
55 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
56 TPLINK_HWID := 0x43000001
57 SUPPORTED_DEVICES += tl-wdr4300
58 endef
59 TARGET_DEVICES += tplink_tl-wdr4300
60
61 define Device/tplink_tl-wdr4900-v2
62 $(Device/tplink-8mlzma)
63 ATH_SOC := qca9558
64 DEVICE_TITLE := TP-LINK TL-WDR4900 v2
65 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
66 TPLINK_HWID := 0x49000002
67 endef
68 TARGET_DEVICES += tplink_tl-wdr4900-v2
69
70 define Device/tplink_tl-wr1043nd-v1
71 $(Device/tplink-8m)
72 ATH_SOC := ar9132
73 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
74 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
75 TPLINK_HWID := 0x10430001
76 SUPPORTED_DEVICES += tl-wr1043nd
77 endef
78 TARGET_DEVICES += tplink_tl-wr1043nd-v1
79
80 define Device/tplink_tl-wr842n-v2
81 $(Device/tplink-8mlzma)
82 ATH_SOC := ar9341
83 DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
84 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
85 TPLINK_HWID := 0x8420002
86 SUPPORTED_DEVICES += tl-wr842n-v2
87 endef
88 TARGET_DEVICES += tplink_tl-wr842n-v2
89
90 define Device/tplink_tl-wr1043nd-v2
91 $(Device/tplink-8mlzma)
92 ATH_SOC := qca9558
93 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
94 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
95 TPLINK_HWID := 0x10430002
96 SUPPORTED_DEVICES += tl-wr1043nd-v2
97 endef
98 TARGET_DEVICES += tplink_tl-wr1043nd-v2
99
100 define Device/tplink_tl-wr1043nd-v3
101 $(Device/tplink-8mlzma)
102 ATH_SOC := qca9558
103 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
104 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
105 TPLINK_HWID := 0x10430003
106 SUPPORTED_DEVICES += tl-wr1043nd-v3
107 endef
108 TARGET_DEVICES += tplink_tl-wr1043nd-v3
109
110 define Device/tplink_tl-wr1043nd-v4
111 $(Device/tplink)
112 ATH_SOC := qca9563
113 IMAGE_SIZE := 15552k
114 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
115 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
116 TPLINK_HWID := 0x10430004
117 TPLINK_BOARD_ID := TLWR1043NDV4
118 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
119 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
120 append-metadata | check-size $$$$(IMAGE_SIZE)
121 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
122 SUPPORTED_DEVICES += tl-wr1043nd-v4
123 endef
124 TARGET_DEVICES += tplink_tl-wr1043nd-v4
125
126 define Device/tplink_tl-wr2543-v1
127 $(Device/tplink-8mlzma)
128 ATH_SOC := ar7242
129 DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
130 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
131 TPLINK_HWID := 0x25430001
132 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99 | \
133 append-metadata | check-size $$$$(IMAGE_SIZE)
134 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
135 SUPPORTED_DEVICES += tl-wr2543-v1
136 endef
137 TARGET_DEVICES += tplink_tl-wr2543-v1