sunxi: convert to multi-variable device title
[openwrt/staging/mkresin.git] / target / linux / sunxi / image / cortex-a7.mk
1 #
2 # Copyright (C) 2013-2019 OpenWrt.org
3 # Copyright (C) 2016 Yousong Zhou
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 ifeq ($(SUBTARGET),cortexa7)
10
11 define Device/sun7i-a20-olinuxino-lime
12 DEVICE_VENDOR := Olimex
13 DEVICE_MODEL := A20-OLinuXino-LIME
14 DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi
15 SUPPORTED_DEVICES:=olimex,a20-olinuxino-lime
16 SUNXI_DTS:=sun7i-a20-olinuxino-lime
17 endef
18
19 TARGET_DEVICES += sun7i-a20-olinuxino-lime
20
21
22 define Device/sun7i-a20-olinuxino-lime2
23 DEVICE_VENDOR := Olimex
24 DEVICE_MODEL := A20-OLinuXino-LIME2
25 DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
26 SUPPORTED_DEVICES:=olimex,a20-olinuxino-lime2
27 SUNXI_DTS:=sun7i-a20-olinuxino-lime2
28 endef
29
30 TARGET_DEVICES += sun7i-a20-olinuxino-lime2
31
32
33 define Device/sun7i-a20-olinuxino-lime2-emmc
34 DEVICE_VENDOR := Olimex
35 DEVICE_MODEL := A20-OLinuXino-LIME2
36 DEVICE_VARIANT := eMMC
37 DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
38 SUPPORTED_DEVICES:=olimex,a20-olinuxino-lime2-emmc
39 SUNXI_DTS:=sun7i-a20-olinuxino-lime2-emmc
40 endef
41
42 TARGET_DEVICES += sun7i-a20-olinuxino-lime2-emmc
43
44
45 define Device/sun7i-a20-olinuxino-micro
46 DEVICE_VENDOR := Olimex
47 DEVICE_MODEL := A20-OLinuXino-MICRO
48 DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
49 SUPPORTED_DEVICES:=olimex,a20-olinuxino-micro
50 SUNXI_DTS:=sun7i-a20-olinuxino-micro
51 endef
52
53 TARGET_DEVICES += sun7i-a20-olinuxino-micro
54
55
56 define Device/sun7i-a20-bananapi
57 DEVICE_VENDOR := LeMaker
58 DEVICE_MODEL := Banana Pi
59 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi
60 SUPPORTED_DEVICES:=lemaker,bananapi
61 SUNXI_DTS:=sun7i-a20-bananapi
62 endef
63
64 TARGET_DEVICES += sun7i-a20-bananapi
65
66
67 define Device/sun7i-a20-bananapro
68 DEVICE_VENDOR := LeMaker
69 DEVICE_MODEL := Banana Pro
70 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi kmod-brcmfmac
71 SUPPORTED_DEVICES:=lemaker,bananapro
72 SUNXI_DTS:=sun7i-a20-bananapro
73 endef
74
75 TARGET_DEVICES += sun7i-a20-bananapro
76
77
78 define Device/sun7i-a20-cubieboard2
79 DEVICE_VENDOR := Cubietech
80 DEVICE_MODEL := Cubieboard2
81 DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
82 SUPPORTED_DEVICES:=cubietech,cubieboard2
83 SUNXI_DTS:=sun7i-a20-cubieboard2
84 endef
85
86 TARGET_DEVICES += sun7i-a20-cubieboard2
87
88
89 define Device/sun7i-a20-cubietruck
90 DEVICE_VENDOR := Cubietech
91 DEVICE_MODEL := Cubietruck
92 DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi kmod-brcmfmac
93 SUPPORTED_DEVICES:=cubietech,cubietruck
94 SUNXI_DTS:=sun7i-a20-cubietruck
95 endef
96
97 TARGET_DEVICES += sun7i-a20-cubietruck
98
99
100 define Device/sun7i-a20-lamobo-r1
101 DEVICE_VENDOR := Lamobo
102 DEVICE_MODEL := Lamobo R1
103 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtl8192cu swconfig wpad-basic
104 SUPPORTED_DEVICES:=lamobo,lamobo-r1
105 SUNXI_DTS:=sun7i-a20-lamobo-r1
106 endef
107
108 TARGET_DEVICES += sun7i-a20-lamobo-r1
109
110
111 define Device/sun6i-a31-m9
112 DEVICE_VENDOR := Mele
113 DEVICE_MODEL := M9
114 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu
115 SUPPORTED_DEVICES:=mele,m9
116 SUNXI_DTS:=sun6i-a31-m9
117 endef
118
119 TARGET_DEVICES += sun6i-a31-m9
120
121
122 define Device/sun8i-h2-plus-orangepi-zero
123 DEVICE_VENDOR := Xunlong
124 DEVICE_MODEL := Orange Pi Zero
125 DEVICE_PACKAGES:=kmod-rtc-sunxi
126 SUPPORTED_DEVICES:=xunlong,orangepi-zero
127 SUNXI_DTS:=sun8i-h2-plus-orangepi-zero
128 endef
129
130 TARGET_DEVICES += sun8i-h2-plus-orangepi-zero
131
132
133 define Device/sun8i-h2-plus-orangepi-r1
134 DEVICE_VENDOR := Xunlong
135 DEVICE_MODEL := Orange Pi R1
136 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-usb-net kmod-usb-net-rtl8152
137 SUPPORTED_DEVICES:=xunlong,orangepi-r1
138 SUNXI_DTS:=sun8i-h2-plus-orangepi-r1
139 endef
140
141 TARGET_DEVICES += sun8i-h2-plus-orangepi-r1
142
143 define Device/sun8i-h3-bananapi-m2-plus
144 DEVICE_VENDOR := Sinovoip
145 DEVICE_MODEL := Banana Pi M2+
146 DEVICE_PACKAGES:=kmod-rtc-sunxi \
147 kmod-leds-gpio kmod-ledtrig-heartbeat \
148 kmod-brcmfmac brcmfmac-firmware-43430a0-sdio wpad-basic
149 SUPPORTED_DEVICES:=sinovoip,bananapi-m2-plus
150 SUNXI_DTS:=sun8i-h3-bananapi-m2-plus
151 endef
152
153 TARGET_DEVICES += sun8i-h3-bananapi-m2-plus
154
155 define Device/sun8i-h3-nanopi-m1-plus
156 DEVICE_VENDOR := FriendlyARM
157 DEVICE_MODEL := NanoPi M1 Plus
158 DEVICE_PACKAGES:=kmod-rtc-sunxi \
159 kmod-leds-gpio kmod-ledtrig-heartbeat \
160 kmod-brcmfmac brcmfmac-firmware-43430-sdio wpad-basic
161 SUPPORTED_DEVICES:=friendlyarm,nanopi-m1-plus
162 SUNXI_DTS:=sun8i-h3-nanopi-m1-plus
163 endef
164
165 TARGET_DEVICES += sun8i-h3-nanopi-m1-plus
166
167
168 define Device/sun8i-h3-nanopi-neo
169 DEVICE_VENDOR := FriendlyARM
170 DEVICE_MODEL := NanoPi NEO
171 SUPPORTED_DEVICES:=friendlyarm,nanopi-neo
172 SUNXI_DTS:=sun8i-h3-nanopi-neo
173 endef
174
175 TARGET_DEVICES += sun8i-h3-nanopi-neo
176
177
178 define Device/sun8i-h3-orangepi-one
179 DEVICE_VENDOR := Xunlong
180 DEVICE_MODEL := Orange Pi One
181 DEVICE_PACKAGES:=kmod-rtc-sunxi
182 SUPPORTED_DEVICES:=xunlong,orangepi-one
183 SUNXI_DTS:=sun8i-h3-orangepi-one
184 endef
185
186 TARGET_DEVICES += sun8i-h3-orangepi-one
187
188
189 define Device/sun8i-h3-orangepi-pc
190 DEVICE_VENDOR := Xunlong
191 DEVICE_MODEL := Orange Pi PC
192 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-gpio-button-hotplug
193 SUPPORTED_DEVICES:=xunlong,orangepi-pc
194 SUNXI_DTS:=sun8i-h3-orangepi-pc
195 endef
196
197 TARGET_DEVICES += sun8i-h3-orangepi-pc
198
199
200 define Device/sun8i-h3-orangepi-pc-plus
201 DEVICE_VENDOR := Xunlong
202 DEVICE_MODEL := Orange Pi PC Plus
203 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-gpio-button-hotplug
204 SUPPORTED_DEVICES:=xunlong,orangepi-pc-plus
205 SUNXI_DTS:=sun8i-h3-orangepi-pc-plus
206 endef
207
208 TARGET_DEVICES += sun8i-h3-orangepi-pc-plus
209
210
211 define Device/sun8i-h3-orangepi-plus
212 DEVICE_VENDOR := Xunlong
213 DEVICE_MODEL := Orange Pi Plus
214 DEVICE_PACKAGES:=kmod-rtc-sunxi
215 SUPPORTED_DEVICES:=xunlong,orangepi-plus
216 SUNXI_DTS:=sun8i-h3-orangepi-plus
217 endef
218
219 TARGET_DEVICES += sun8i-h3-orangepi-plus
220
221 define Device/sun8i-h3-orangepi-2
222 DEVICE_VENDOR := Xunlong
223 DEVICE_MODEL := Orange Pi 2
224 DEVICE_PACKAGES:=kmod-rtc-sunxi
225 SUPPORTED_DEVICES:=xunlong,orangepi-2
226 SUNXI_DTS:=sun8i-h3-orangepi-2
227 endef
228
229 TARGET_DEVICES += sun8i-h3-orangepi-2
230
231
232 define Device/sun7i-a20-pcduino3
233 DEVICE_VENDOR := LinkSprite
234 DEVICE_MODEL := pcDuino3
235 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi kmod-rtl8xxxu rtl8188eu-firmware
236 SUPPORTED_DEVICES:=linksprite,pcduino3
237 SUNXI_DTS:=sun7i-a20-pcduino3
238 endef
239
240 TARGET_DEVICES += sun7i-a20-pcduino3
241
242 endif