2 # Copyright (C) 2013-2019 OpenWrt.org
3 # Copyright (C) 2016 Yousong Zhou
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 ifeq ($(SUBTARGET
),cortexa7
)
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
19 TARGET_DEVICES
+= sun7i-a20-olinuxino-lime
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
30 TARGET_DEVICES
+= sun7i-a20-olinuxino-lime2
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
42 TARGET_DEVICES
+= sun7i-a20-olinuxino-lime2-emmc
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
53 TARGET_DEVICES
+= sun7i-a20-olinuxino-micro
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
64 TARGET_DEVICES
+= sun7i-a20-bananapi
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
75 TARGET_DEVICES
+= sun7i-a20-bananapro
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
86 TARGET_DEVICES
+= sun7i-a20-cubieboard2
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
97 TARGET_DEVICES
+= sun7i-a20-cubietruck
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
108 TARGET_DEVICES
+= sun7i-a20-lamobo-r1
111 define Device
/sun6i-a31-m9
112 DEVICE_VENDOR
:= Mele
114 DEVICE_PACKAGES
:=kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu
115 SUPPORTED_DEVICES
:=mele
,m9
116 SUNXI_DTS
:=sun6i-a31-m9
119 TARGET_DEVICES
+= sun6i-a31-m9
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
130 TARGET_DEVICES
+= sun8i-h2-plus-orangepi-zero
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
141 TARGET_DEVICES
+= sun8i-h2-plus-orangepi-r1
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
153 TARGET_DEVICES
+= sun8i-h3-bananapi-m2-plus
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
165 TARGET_DEVICES
+= sun8i-h3-nanopi-m1-plus
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
175 TARGET_DEVICES
+= sun8i-h3-nanopi-neo
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
186 TARGET_DEVICES
+= sun8i-h3-orangepi-one
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
197 TARGET_DEVICES
+= sun8i-h3-orangepi-pc
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
208 TARGET_DEVICES
+= sun8i-h3-orangepi-pc-plus
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
219 TARGET_DEVICES
+= sun8i-h3-orangepi-plus
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
229 TARGET_DEVICES
+= sun8i-h3-orangepi-2
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
240 TARGET_DEVICES
+= sun7i-a20-pcduino3