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