e2d83fa94f24b9800205ee44ec6093f4d9356003
[openwrt/staging/nbd.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/licheepi_licheepi-zero-dock
116 DEVICE_VENDOR := LicheePi
117 DEVICE_MODEL := Zero with Dock (V3s)
118 DEVICE_PACKAGES:=kmod-rtc-sunxi
119 SOC := sun8i-v3s
120 endef
121 TARGET_DEVICES += licheepi_licheepi-zero-dock
122
123 define Device/linksprite_pcduino3
124 DEVICE_VENDOR := LinkSprite
125 DEVICE_MODEL := pcDuino3
126 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-sunxi kmod-rtl8xxxu \
127 rtl8188eu-firmware
128 SOC := sun7i-a20
129 endef
130 TARGET_DEVICES += linksprite_pcduino3
131
132 define Device/linksprite_pcduino3-nano
133 DEVICE_VENDOR := LinkSprite
134 DEVICE_MODEL := pcDuino3 Nano
135 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
136 SOC := sun7i-a20
137 endef
138 TARGET_DEVICES += linksprite_pcduino3-nano
139
140 define Device/mele_m9
141 DEVICE_VENDOR := Mele
142 DEVICE_MODEL := M9
143 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtl8192cu
144 SOC := sun6i-a31
145 endef
146 TARGET_DEVICES += mele_m9
147
148 define Device/olimex_a20-olinuxino-lime
149 DEVICE_VENDOR := Olimex
150 DEVICE_MODEL := A20-OLinuXino-LIME
151 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi
152 SOC := sun7i
153 endef
154 TARGET_DEVICES += olimex_a20-olinuxino-lime
155
156 define Device/olimex_a20-olinuxino-lime2
157 DEVICE_VENDOR := Olimex
158 DEVICE_MODEL := A20-OLinuXino-LIME2
159 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
160 SOC := sun7i
161 endef
162 TARGET_DEVICES += olimex_a20-olinuxino-lime2
163
164 define Device/olimex_a20-olinuxino-lime2-emmc
165 DEVICE_VENDOR := Olimex
166 DEVICE_MODEL := A20-OLinuXino-LIME2
167 DEVICE_VARIANT := eMMC
168 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
169 SOC := sun7i
170 endef
171 TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc
172
173 define Device/olimex_a20-olinuxino-micro
174 DEVICE_VENDOR := Olimex
175 DEVICE_MODEL := A20-OLinuXino-MICRO
176 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
177 SOC := sun7i
178 endef
179 TARGET_DEVICES += olimex_a20-olinuxino-micro
180
181 define Device/sinovoip_bananapi-m2-plus
182 DEVICE_VENDOR := Sinovoip
183 DEVICE_MODEL := Banana Pi M2+
184 DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
185 brcmfmac-firmware-43430a0-sdio wpad-basic-mbedtls
186 SOC := sun8i-h3
187 endef
188 TARGET_DEVICES += sinovoip_bananapi-m2-plus
189
190 define Device/sinovoip_bananapi-m3
191 DEVICE_VENDOR := Sinovoip
192 DEVICE_MODEL := Banana Pi M3
193 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-leds-gpio kmod-rtc-ac100 \
194 kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
195 SOC := sun8i-a83t
196 endef
197 TARGET_DEVICES += sinovoip_bananapi-m3
198
199 define Device/sinovoip_bananapi-p2-zero
200 DEVICE_VENDOR := Sinovoip
201 DEVICE_MODEL := Banana Pi P2 Zero
202 DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
203 cypress-firmware-43430-sdio wpad-basic-mbedtls
204 SOC := sun8i-h2-plus
205 endef
206 TARGET_DEVICES += sinovoip_bananapi-p2-zero
207
208 define Device/xunlong_orangepi-one
209 DEVICE_VENDOR := Xunlong
210 DEVICE_MODEL := Orange Pi One
211 DEVICE_PACKAGES:=kmod-rtc-sunxi
212 SOC := sun8i-h3
213 endef
214 TARGET_DEVICES += xunlong_orangepi-one
215
216 define Device/xunlong_orangepi-pc
217 DEVICE_VENDOR := Xunlong
218 DEVICE_MODEL := Orange Pi PC
219 DEVICE_PACKAGES:=kmod-gpio-button-hotplug
220 SOC := sun8i-h3
221 endef
222 TARGET_DEVICES += xunlong_orangepi-pc
223
224 define Device/xunlong_orangepi-pc-plus
225 DEVICE_VENDOR := Xunlong
226 DEVICE_MODEL := Orange Pi PC Plus
227 DEVICE_PACKAGES:=kmod-gpio-button-hotplug
228 SOC := sun8i-h3
229 endef
230 TARGET_DEVICES += xunlong_orangepi-pc-plus
231
232 define Device/xunlong_orangepi-plus
233 DEVICE_VENDOR := Xunlong
234 DEVICE_MODEL := Orange Pi Plus
235 DEVICE_PACKAGES:=kmod-rtc-sunxi
236 SOC := sun8i-h3
237 endef
238 TARGET_DEVICES += xunlong_orangepi-plus
239
240 define Device/xunlong_orangepi-r1
241 DEVICE_VENDOR := Xunlong
242 DEVICE_MODEL := Orange Pi R1
243 DEVICE_PACKAGES:=kmod-usb-net-rtl8152
244 SOC := sun8i-h2-plus
245 endef
246 TARGET_DEVICES += xunlong_orangepi-r1
247
248 define Device/xunlong_orangepi-zero
249 DEVICE_VENDOR := Xunlong
250 DEVICE_MODEL := Orange Pi Zero
251 DEVICE_PACKAGES:=kmod-rtc-sunxi
252 SOC := sun8i-h2-plus
253 endef
254 TARGET_DEVICES += xunlong_orangepi-zero
255
256 define Device/xunlong_orangepi-2
257 DEVICE_VENDOR := Xunlong
258 DEVICE_MODEL := Orange Pi 2
259 DEVICE_PACKAGES:=kmod-rtc-sunxi
260 SOC := sun8i-h3
261 endef
262 TARGET_DEVICES += xunlong_orangepi-2