package/network/utils/iptables: fix PKG_CPE_ID
[openwrt/openwrt.git] / target / linux / sunxi / image / cortexa7.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2013-2019 OpenWrt.org
4 # Copyright (C) 2016 Yousong Zhou
5
6 define Device/cubietech_cubieboard2
7 DEVICE_VENDOR := Cubietech
8 DEVICE_MODEL := Cubieboard2
9 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
10 SOC := sun7i-a20
11 endef
12 TARGET_DEVICES += cubietech_cubieboard2
13
14 define Device/cubietech_cubietruck
15 DEVICE_VENDOR := Cubietech
16 DEVICE_MODEL := Cubietruck
17 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-brcmfmac
18 SOC := sun7i-a20
19 endef
20 TARGET_DEVICES += cubietech_cubietruck
21
22 define Device/friendlyarm_nanopi-m1-plus
23 DEVICE_VENDOR := FriendlyARM
24 DEVICE_MODEL := NanoPi M1 Plus
25 DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
26 cypress-firmware-43430-sdio wpad-basic-mbedtls
27 SOC := sun8i-h3
28 endef
29 TARGET_DEVICES += friendlyarm_nanopi-m1-plus
30
31 define Device/friendlyarm_nanopi-neo
32 DEVICE_VENDOR := FriendlyARM
33 DEVICE_MODEL := NanoPi NEO
34 SOC := sun8i-h3
35 endef
36 TARGET_DEVICES += friendlyarm_nanopi-neo
37
38 define Device/friendlyarm_nanopi-neo-air
39 DEVICE_VENDOR := FriendlyARM
40 DEVICE_MODEL := NanoPi NEO Air
41 DEVICE_PACKAGES := kmod-leds-gpio kmod-brcmfmac \
42 brcmfmac-firmware-43430a0-sdio wpad-basic-mbedtls
43 SOC := sun8i-h3
44 endef
45 TARGET_DEVICES += friendlyarm_nanopi-neo-air
46
47 define Device/friendlyarm_nanopi-r1
48 DEVICE_VENDOR := FriendlyARM
49 DEVICE_MODEL := NanoPi R1
50 DEVICE_PACKAGES := kmod-usb-net-rtl8152 kmod-leds-gpio \
51 kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
52 SOC := sun8i-h3
53 endef
54 TARGET_DEVICES += friendlyarm_nanopi-r1
55
56 define Device/friendlyarm_zeropi
57 DEVICE_VENDOR := FriendlyARM
58 DEVICE_MODEL := ZeroPi
59 DEVICE_PACKAGES := kmod-rtc-sunxi
60 SOC := sun8i-h3
61 endef
62 TARGET_DEVICES += friendlyarm_zeropi
63
64 define Device/lamobo_lamobo-r1
65 DEVICE_VENDOR := Lamobo
66 DEVICE_MODEL := Lamobo R1
67 DEVICE_ALT0_VENDOR := Bananapi
68 DEVICE_ALT0_MODEL := BPi-R1
69 DEVICE_PACKAGES := kmod-ata-sunxi kmod-rtl8192cu wpad-basic-mbedtls
70 DEVICE_COMPAT_VERSION := 1.1
71 DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
72 SOC := sun7i-a20
73 endef
74 TARGET_DEVICES += lamobo_lamobo-r1
75
76 define Device/lemaker_bananapi
77 DEVICE_VENDOR := LeMaker
78 DEVICE_MODEL := Banana Pi
79 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
80 SOC := sun7i-a20
81 endef
82 TARGET_DEVICES += lemaker_bananapi
83
84 define Device/sinovoip_bananapi-m2-berry
85 DEVICE_VENDOR := Sinovoip
86 DEVICE_MODEL := Banana Pi M2 Berry
87 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-brcmfmac \
88 cypress-firmware-43430-sdio wpad-basic-mbedtls
89 SUPPORTED_DEVICES:=lemaker,bananapi-m2-berry
90 SOC := sun8i-v40
91 endef
92 TARGET_DEVICES += sinovoip_bananapi-m2-berry
93
94 define Device/sinovoip_bananapi-m2-ultra
95 DEVICE_VENDOR := Sinovoip
96 DEVICE_MODEL := Banana Pi M2 Ultra
97 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-brcmfmac \
98 brcmfmac-firmware-43430a0-sdio wpad-basic-mbedtls
99 SUPPORTED_DEVICES:=lemaker,bananapi-m2-ultra
100 SOC := sun8i-r40
101 endef
102 TARGET_DEVICES += sinovoip_bananapi-m2-ultra
103
104 define Device/lemaker_bananapro
105 DEVICE_VENDOR := LeMaker
106 DEVICE_MODEL := Banana Pro
107 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac \
108 cypress-firmware-43362-sdio wpad-basic-mbedtls
109 SOC := sun7i-a20
110 endef
111 TARGET_DEVICES += lemaker_bananapro
112
113 define Device/linksprite_pcduino3
114 DEVICE_VENDOR := LinkSprite
115 DEVICE_MODEL := pcDuino3
116 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-sunxi kmod-rtl8xxxu \
117 rtl8188eu-firmware
118 SOC := sun7i-a20
119 endef
120 TARGET_DEVICES += linksprite_pcduino3
121
122 define Device/linksprite_pcduino3-nano
123 DEVICE_VENDOR := LinkSprite
124 DEVICE_MODEL := pcDuino3 Nano
125 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
126 SOC := sun7i-a20
127 endef
128 TARGET_DEVICES += linksprite_pcduino3-nano
129
130 define Device/mele_m9
131 DEVICE_VENDOR := Mele
132 DEVICE_MODEL := M9
133 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtl8192cu
134 SOC := sun6i-a31
135 endef
136 TARGET_DEVICES += mele_m9
137
138 define Device/olimex_a20-olinuxino-lime
139 DEVICE_VENDOR := Olimex
140 DEVICE_MODEL := A20-OLinuXino-LIME
141 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi
142 SOC := sun7i
143 endef
144 TARGET_DEVICES += olimex_a20-olinuxino-lime
145
146 define Device/olimex_a20-olinuxino-lime2
147 DEVICE_VENDOR := Olimex
148 DEVICE_MODEL := A20-OLinuXino-LIME2
149 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
150 SOC := sun7i
151 endef
152 TARGET_DEVICES += olimex_a20-olinuxino-lime2
153
154 define Device/olimex_a20-olinuxino-lime2-emmc
155 DEVICE_VENDOR := Olimex
156 DEVICE_MODEL := A20-OLinuXino-LIME2
157 DEVICE_VARIANT := eMMC
158 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
159 SOC := sun7i
160 endef
161 TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc
162
163 define Device/olimex_a20-olinuxino-micro
164 DEVICE_VENDOR := Olimex
165 DEVICE_MODEL := A20-OLinuXino-MICRO
166 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
167 SOC := sun7i
168 endef
169 TARGET_DEVICES += olimex_a20-olinuxino-micro
170
171 define Device/sinovoip_bananapi-m2-plus
172 DEVICE_VENDOR := Sinovoip
173 DEVICE_MODEL := Banana Pi M2+
174 DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
175 brcmfmac-firmware-43430a0-sdio wpad-basic-mbedtls
176 SOC := sun8i-h3
177 endef
178 TARGET_DEVICES += sinovoip_bananapi-m2-plus
179
180 define Device/sinovoip_bananapi-m3
181 DEVICE_VENDOR := Sinovoip
182 DEVICE_MODEL := Banana Pi M3
183 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-leds-gpio kmod-rtc-ac100 \
184 kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
185 SOC := sun8i-a83t
186 endef
187 TARGET_DEVICES += sinovoip_bananapi-m3
188
189 define Device/sinovoip_bananapi-p2-zero
190 DEVICE_VENDOR := Sinovoip
191 DEVICE_MODEL := Banana Pi P2 Zero
192 DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
193 cypress-firmware-43430-sdio wpad-basic-mbedtls
194 SOC := sun8i-h2-plus
195 endef
196 TARGET_DEVICES += sinovoip_bananapi-p2-zero
197
198 define Device/xunlong_orangepi-one
199 DEVICE_VENDOR := Xunlong
200 DEVICE_MODEL := Orange Pi One
201 DEVICE_PACKAGES:=kmod-rtc-sunxi
202 SOC := sun8i-h3
203 endef
204 TARGET_DEVICES += xunlong_orangepi-one
205
206 define Device/xunlong_orangepi-pc
207 DEVICE_VENDOR := Xunlong
208 DEVICE_MODEL := Orange Pi PC
209 DEVICE_PACKAGES:=kmod-gpio-button-hotplug
210 SOC := sun8i-h3
211 endef
212 TARGET_DEVICES += xunlong_orangepi-pc
213
214 define Device/xunlong_orangepi-pc-plus
215 DEVICE_VENDOR := Xunlong
216 DEVICE_MODEL := Orange Pi PC Plus
217 DEVICE_PACKAGES:=kmod-gpio-button-hotplug
218 SOC := sun8i-h3
219 endef
220 TARGET_DEVICES += xunlong_orangepi-pc-plus
221
222 define Device/xunlong_orangepi-plus
223 DEVICE_VENDOR := Xunlong
224 DEVICE_MODEL := Orange Pi Plus
225 DEVICE_PACKAGES:=kmod-rtc-sunxi
226 SOC := sun8i-h3
227 endef
228 TARGET_DEVICES += xunlong_orangepi-plus
229
230 define Device/xunlong_orangepi-r1
231 DEVICE_VENDOR := Xunlong
232 DEVICE_MODEL := Orange Pi R1
233 DEVICE_PACKAGES:=kmod-usb-net-rtl8152
234 SOC := sun8i-h2-plus
235 endef
236 TARGET_DEVICES += xunlong_orangepi-r1
237
238 define Device/xunlong_orangepi-zero
239 DEVICE_VENDOR := Xunlong
240 DEVICE_MODEL := Orange Pi Zero
241 DEVICE_PACKAGES:=kmod-rtc-sunxi
242 SOC := sun8i-h2-plus
243 endef
244 TARGET_DEVICES += xunlong_orangepi-zero
245
246 define Device/xunlong_orangepi-2
247 DEVICE_VENDOR := Xunlong
248 DEVICE_MODEL := Orange Pi 2
249 DEVICE_PACKAGES:=kmod-rtc-sunxi
250 SOC := sun8i-h3
251 endef
252 TARGET_DEVICES += xunlong_orangepi-2