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