sunxi: add support for Banana Pi M2 Berry
[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-rtc-sunxi kmod-leds-gpio kmod-brcmfmac \
26 brcmfmac-firmware-43430-sdio wpad-basic-wolfssl
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-rtc-sunxi kmod-leds-gpio kmod-brcmfmac \
42 brcmfmac-firmware-43430-sdio wpad-basic-wolfssl
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-rtc-sunxi kmod-usb-net-rtl8152 kmod-leds-gpio \
51 kmod-brcmfmac brcmfmac-firmware-43430-sdio wpad-basic-wolfssl
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_PACKAGES:=kmod-ata-sunxi kmod-rtl8192cu swconfig wpad-basic-wolfssl
68 SOC := sun7i-a20
69 endef
70 TARGET_DEVICES += lamobo_lamobo-r1
71
72 define Device/lemaker_bananapi
73 DEVICE_VENDOR := LeMaker
74 DEVICE_MODEL := Banana Pi
75 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
76 SOC := sun7i-a20
77 endef
78 TARGET_DEVICES += lemaker_bananapi
79
80 define Device/sinovoip_bananapi-m2-berry
81 DEVICE_VENDOR := Sinovoip
82 DEVICE_MODEL := Banana Pi M2 Berry
83 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac \
84 brcmfmac-firmware-43430-sdio wpad-basic-wolfssl
85 SUPPORTED_DEVICES:=lemaker,bananapi-m2-berry
86 SOC := sun8i-v40
87 endef
88 TARGET_DEVICES += sinovoip_bananapi-m2-berry
89
90 define Device/sinovoip_bananapi-m2-ultra
91 DEVICE_VENDOR := Sinovoip
92 DEVICE_MODEL := Banana Pi M2 Ultra
93 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac \
94 brcmfmac-firmware-43430a0-sdio wpad-basic-wolfssl
95 SUPPORTED_DEVICES:=lemaker,bananapi-m2-ultra
96 SOC := sun8i-r40
97 endef
98 TARGET_DEVICES += sinovoip_bananapi-m2-ultra
99
100 define Device/lemaker_bananapro
101 DEVICE_VENDOR := LeMaker
102 DEVICE_MODEL := Banana Pro
103 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac
104 SOC := sun7i-a20
105 endef
106 TARGET_DEVICES += lemaker_bananapro
107
108 define Device/linksprite_pcduino3
109 DEVICE_VENDOR := LinkSprite
110 DEVICE_MODEL := pcDuino3
111 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-sunxi kmod-rtl8xxxu \
112 rtl8188eu-firmware
113 SOC := sun7i-a20
114 endef
115 TARGET_DEVICES += linksprite_pcduino3
116
117 define Device/linksprite_pcduino3-nano
118 DEVICE_VENDOR := LinkSprite
119 DEVICE_MODEL := pcDuino3 Nano
120 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
121 SOC := sun7i-a20
122 endef
123 TARGET_DEVICES += linksprite_pcduino3-nano
124
125 define Device/mele_m9
126 DEVICE_VENDOR := Mele
127 DEVICE_MODEL := M9
128 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu
129 SOC := sun6i-a31
130 endef
131 TARGET_DEVICES += mele_m9
132
133 define Device/olimex_a20-olinuxino-lime
134 DEVICE_VENDOR := Olimex
135 DEVICE_MODEL := A20-OLinuXino-LIME
136 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi
137 SOC := sun7i
138 endef
139 TARGET_DEVICES += olimex_a20-olinuxino-lime
140
141 define Device/olimex_a20-olinuxino-lime2
142 DEVICE_VENDOR := Olimex
143 DEVICE_MODEL := A20-OLinuXino-LIME2
144 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
145 SOC := sun7i
146 endef
147 TARGET_DEVICES += olimex_a20-olinuxino-lime2
148
149 define Device/olimex_a20-olinuxino-lime2-emmc
150 DEVICE_VENDOR := Olimex
151 DEVICE_MODEL := A20-OLinuXino-LIME2
152 DEVICE_VARIANT := eMMC
153 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
154 SOC := sun7i
155 endef
156 TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc
157
158 define Device/olimex_a20-olinuxino-micro
159 DEVICE_VENDOR := Olimex
160 DEVICE_MODEL := A20-OLinuXino-MICRO
161 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
162 SOC := sun7i
163 endef
164 TARGET_DEVICES += olimex_a20-olinuxino-micro
165
166 define Device/sinovoip_bananapi-m2-plus
167 DEVICE_VENDOR := Sinovoip
168 DEVICE_MODEL := Banana Pi M2+
169 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-leds-gpio kmod-brcmfmac \
170 brcmfmac-firmware-43430a0-sdio wpad-basic-wolfssl
171 SOC := sun8i-h3
172 endef
173 TARGET_DEVICES += sinovoip_bananapi-m2-plus
174
175 define Device/xunlong_orangepi-one
176 DEVICE_VENDOR := Xunlong
177 DEVICE_MODEL := Orange Pi One
178 DEVICE_PACKAGES:=kmod-rtc-sunxi
179 SOC := sun8i-h3
180 endef
181 TARGET_DEVICES += xunlong_orangepi-one
182
183 define Device/xunlong_orangepi-pc
184 DEVICE_VENDOR := Xunlong
185 DEVICE_MODEL := Orange Pi PC
186 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-gpio-button-hotplug
187 SOC := sun8i-h3
188 endef
189 TARGET_DEVICES += xunlong_orangepi-pc
190
191 define Device/xunlong_orangepi-pc-plus
192 DEVICE_VENDOR := Xunlong
193 DEVICE_MODEL := Orange Pi PC Plus
194 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-gpio-button-hotplug
195 SOC := sun8i-h3
196 endef
197 TARGET_DEVICES += xunlong_orangepi-pc-plus
198
199 define Device/xunlong_orangepi-plus
200 DEVICE_VENDOR := Xunlong
201 DEVICE_MODEL := Orange Pi Plus
202 DEVICE_PACKAGES:=kmod-rtc-sunxi
203 SOC := sun8i-h3
204 endef
205 TARGET_DEVICES += xunlong_orangepi-plus
206
207 define Device/xunlong_orangepi-r1
208 DEVICE_VENDOR := Xunlong
209 DEVICE_MODEL := Orange Pi R1
210 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-usb-net-rtl8152
211 SOC := sun8i-h2-plus
212 endef
213 TARGET_DEVICES += xunlong_orangepi-r1
214
215 define Device/xunlong_orangepi-zero
216 DEVICE_VENDOR := Xunlong
217 DEVICE_MODEL := Orange Pi Zero
218 DEVICE_PACKAGES:=kmod-rtc-sunxi
219 SOC := sun8i-h2-plus
220 endef
221 TARGET_DEVICES += xunlong_orangepi-zero
222
223 define Device/xunlong_orangepi-2
224 DEVICE_VENDOR := Xunlong
225 DEVICE_MODEL := Orange Pi 2
226 DEVICE_PACKAGES:=kmod-rtc-sunxi
227 SOC := sun8i-h3
228 endef
229 TARGET_DEVICES += xunlong_orangepi-2