uboot-mediatek: bpi-r3: raise CONFIG_LMB_MAX_REGIONS to 64
[openwrt/openwrt.git] / target / linux / ath79 / image / generic-tp-link.mk
1 include ./common-tp-link.mk
2
3 define Device/tplink_archer-a7-v5
4 $(Device/tplink-safeloader-uimage)
5 ATH_SOC := qca9563
6 IMAGE_SIZE := 15104k
7 DEVICE_TITLE := TP-LINK Archer A7 v5
8 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
9 TPLINK_BOARD_ID := ARCHER-A7-V5
10 BOARDNAME := ARCHER-A7-V5
11 SUPPORTED_DEVICES += archer-a7-v5
12 endef
13 TARGET_DEVICES += tplink_archer-a7-v5
14
15 define Device/tplink_archer-c2-v3
16 $(Device/tplink-safeloader-uimage)
17 ATH_SOC := qca9563
18 IMAGE_SIZE := 7808k
19 DEVICE_TITLE := TP-LINK Archer C2 v3
20 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct
21 TPLINK_BOARD_ID := ARCHER-C2-V3
22 endef
23 TARGET_DEVICES += tplink_archer-c2-v3
24
25 define Device/tplink_archer-c58-v1
26 $(Device/tplink-safeloader-uimage)
27 ATH_SOC := qca9561
28 IMAGE_SIZE := 7936k
29 DEVICE_TITLE := TP-LINK Archer C58 v1
30 TPLINK_BOARD_ID := ARCHER-C58-V1
31 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
32 SUPPORTED_DEVICES += archer-c58-v1
33 endef
34 TARGET_DEVICES += tplink_archer-c58-v1
35
36 define Device/tplink_archer-c59-v1
37 $(Device/tplink-safeloader-uimage)
38 ATH_SOC := qca9561
39 IMAGE_SIZE := 14528k
40 DEVICE_TITLE := TP-LINK Archer C59 v1
41 TPLINK_BOARD_ID := ARCHER-C59-V1
42 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca9888-ct
43 SUPPORTED_DEVICES += archer-c59-v1
44 endef
45 TARGET_DEVICES += tplink_archer-c59-v1
46
47 define Device/tplink_archer-c6-v2
48 $(Device/tplink-safeloader-uimage)
49 ATH_SOC := qca9563
50 IMAGE_SIZE := 7808k
51 DEVICE_TITLE := TP-LINK Archer C6 v2
52 TPLINK_BOARD_ID := ARCHER-C6-V2
53 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
54 endef
55 TARGET_DEVICES += tplink_archer-c6-v2
56
57 define Device/tplink_archer-c7-v1
58 $(Device/tplink-8mlzma)
59 ATH_SOC := qca9558
60 DEVICE_TITLE := TP-LINK Archer C7 v1
61 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
62 TPLINK_HWID := 0x75000001
63 endef
64 TARGET_DEVICES += tplink_archer-c7-v1
65
66 define Device/tplink_archer-c7-v2
67 $(Device/tplink-16mlzma)
68 ATH_SOC := qca9558
69 DEVICE_TITLE := TP-LINK Archer C7 v2
70 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
71 TPLINK_HWID := 0xc7000002
72 IMAGES += factory-us.bin factory-eu.bin
73 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
74 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
75 endef
76 TARGET_DEVICES += tplink_archer-c7-v2
77
78 define Device/tplink_archer-c7-v4
79 $(Device/tplink-safeloader-uimage)
80 ATH_SOC := qca9563
81 IMAGE_SIZE := 15104k
82 DEVICE_TITLE := TP-LINK Archer C7 v4
83 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
84 TPLINK_BOARD_ID := ARCHER-C7-V4
85 BOARDNAME := ARCHER-C7-V4
86 SUPPORTED_DEVICES += archer-c7-v4
87 endef
88 TARGET_DEVICES += tplink_archer-c7-v4
89
90 define Device/tplink_archer-c7-v5
91 $(Device/tplink-safeloader-uimage)
92 ATH_SOC := qca9563
93 IMAGE_SIZE := 15360k
94 DEVICE_TITLE := TP-LINK Archer C7 v5
95 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
96 TPLINK_BOARD_ID := ARCHER-C7-V5
97 BOARDNAME := ARCHER-C7-V5
98 SUPPORTED_DEVICES += archer-c7-v5
99 endef
100 TARGET_DEVICES += tplink_archer-c7-v5
101
102 define Device/tplink_re450-v2
103 $(Device/tplink)
104 ATH_SOC := qca9563
105 IMAGE_SIZE := 6016k
106 DEVICE_TITLE := TP-LINK RE450 v2
107 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
108 TPLINK_HWID := 0x0
109 TPLINK_HWREV := 0
110 TPLINK_BOARD_ID := RE450-V2
111 LOADER_TYPE := elf
112 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
113 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
114 append-metadata | check-size $$$$(IMAGE_SIZE)
115 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
116 endef
117 TARGET_DEVICES += tplink_re450-v2
118
119 define Device/tplink_tl-wdr3600
120 $(Device/tplink-8mlzma)
121 ATH_SOC := ar9344
122 DEVICE_TITLE := TP-LINK TL-WDR3600
123 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
124 TPLINK_HWID := 0x36000001
125 SUPPORTED_DEVICES += tl-wdr3600
126 endef
127 TARGET_DEVICES += tplink_tl-wdr3600
128
129 define Device/tplink_tl-wdr4300
130 $(Device/tplink-8mlzma)
131 ATH_SOC := ar9344
132 DEVICE_TITLE := TP-LINK TL-WDR4300
133 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
134 TPLINK_HWID := 0x43000001
135 SUPPORTED_DEVICES += tl-wdr4300
136 endef
137 TARGET_DEVICES += tplink_tl-wdr4300
138
139 define Device/tplink_tl-wdr4900-v2
140 $(Device/tplink-8mlzma)
141 ATH_SOC := qca9558
142 DEVICE_TITLE := TP-LINK TL-WDR4900 v2
143 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
144 TPLINK_HWID := 0x49000002
145 endef
146 TARGET_DEVICES += tplink_tl-wdr4900-v2
147
148 define Device/tplink_tl-wr1043nd-v1
149 $(Device/tplink-8m)
150 ATH_SOC := ar9132
151 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
152 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
153 TPLINK_HWID := 0x10430001
154 SUPPORTED_DEVICES += tl-wr1043nd
155 endef
156 TARGET_DEVICES += tplink_tl-wr1043nd-v1
157
158 define Device/tplink_tl-wr810n-v1
159 $(Device/tplink-8mlzma)
160 ATH_SOC := qca9531
161 DEVICE_TITLE := TP-LINK TL-WR810N v1
162 TPLINK_HWID := 0x8100001
163 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
164 endef
165 TARGET_DEVICES += tplink_tl-wr810n-v1
166
167 define Device/tplink_tl-wr810n-v2
168 $(Device/tplink-8mlzma)
169 ATH_SOC := qca9533
170 DEVICE_TITLE := TP-LINK TL-WR810N v2
171 TPLINK_HWID := 0x8100002
172 endef
173 TARGET_DEVICES += tplink_tl-wr810n-v2
174
175 define Device/tplink_tl-wr842n-v1
176 $(Device/tplink-8m)
177 ATH_SOC := ar7241
178 DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
179 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
180 TPLINK_HWID := 0x8420001
181 endef
182 TARGET_DEVICES += tplink_tl-wr842n-v1
183
184 define Device/tplink_tl-wr842n-v2
185 $(Device/tplink-8mlzma)
186 ATH_SOC := ar9341
187 DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
188 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
189 TPLINK_HWID := 0x8420002
190 SUPPORTED_DEVICES += tl-wr842n-v2
191 endef
192 TARGET_DEVICES += tplink_tl-wr842n-v2
193
194 define Device/tplink_tl-wr1043nd-v2
195 $(Device/tplink-8mlzma)
196 ATH_SOC := qca9558
197 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
198 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
199 TPLINK_HWID := 0x10430002
200 SUPPORTED_DEVICES += tl-wr1043nd-v2
201 endef
202 TARGET_DEVICES += tplink_tl-wr1043nd-v2
203
204 define Device/tplink_tl-wr1043nd-v3
205 $(Device/tplink-8mlzma)
206 ATH_SOC := qca9558
207 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
208 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
209 TPLINK_HWID := 0x10430003
210 SUPPORTED_DEVICES += tl-wr1043nd-v3
211 endef
212 TARGET_DEVICES += tplink_tl-wr1043nd-v3
213
214 define Device/tplink_tl-wr1043nd-v4
215 $(Device/tplink)
216 ATH_SOC := qca9563
217 IMAGE_SIZE := 15552k
218 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
219 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
220 TPLINK_HWID := 0x10430004
221 TPLINK_BOARD_ID := TLWR1043NDV4
222 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
223 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
224 append-metadata | check-size $$$$(IMAGE_SIZE)
225 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
226 SUPPORTED_DEVICES += tl-wr1043nd-v4
227 endef
228 TARGET_DEVICES += tplink_tl-wr1043nd-v4
229
230 define Device/tplink_tl-wr2543-v1
231 $(Device/tplink-8mlzma)
232 ATH_SOC := ar7242
233 DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
234 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
235 TPLINK_HWID := 0x25430001
236 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99 | \
237 append-metadata | check-size $$$$(IMAGE_SIZE)
238 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
239 SUPPORTED_DEVICES += tl-wr2543-v1
240 endef
241 TARGET_DEVICES += tplink_tl-wr2543-v1