sunxi: add support for FriendlyArm Zeropi
[openwrt/openwrt.git] / target / linux / sunxi / image / cortexa7.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 define Device/cubietech_cubieboard2
10 DEVICE_VENDOR := Cubietech
11 DEVICE_MODEL := Cubieboard2
12 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
13 SOC := sun7i-a20
14 endef
15 TARGET_DEVICES += cubietech_cubieboard2
16
17 define Device/cubietech_cubietruck
18 DEVICE_VENDOR := Cubietech
19 DEVICE_MODEL := Cubietruck
20 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-brcmfmac
21 SOC := sun7i-a20
22 endef
23 TARGET_DEVICES += cubietech_cubietruck
24
25 define Device/friendlyarm_nanopi-m1-plus
26 DEVICE_VENDOR := FriendlyARM
27 DEVICE_MODEL := NanoPi M1 Plus
28 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-leds-gpio kmod-ledtrig-heartbeat \
29 kmod-brcmfmac brcmfmac-firmware-43430-sdio wpad-basic-wolfssl
30 SOC := sun8i-h3
31 endef
32 TARGET_DEVICES += friendlyarm_nanopi-m1-plus
33
34 define Device/friendlyarm_nanopi-neo
35 DEVICE_VENDOR := FriendlyARM
36 DEVICE_MODEL := NanoPi NEO
37 SOC := sun8i-h3
38 endef
39 TARGET_DEVICES += friendlyarm_nanopi-neo
40
41 define Device/friendlyarm_nanopi-neo-air
42 DEVICE_VENDOR := FriendlyARM
43 DEVICE_MODEL := NanoPi NEO Air
44 DEVICE_PACKAGES := kmod-rtc-sunxi kmod-leds-gpio kmod-ledtrig-heartbeat \
45 kmod-brcmfmac brcmfmac-firmware-43430-sdio wpad-basic-wolfssl
46 SOC := sun8i-h3
47 endef
48 TARGET_DEVICES += friendlyarm_nanopi-neo-air
49
50 define Device/friendlyarm_zeropi
51 DEVICE_VENDOR := FriendlyARM
52 DEVICE_MODEL := ZeroPi
53 DEVICE_PACKAGES := kmod-rtc-sunxi
54 SOC := sun8i-h3
55 endef
56 TARGET_DEVICES += friendlyarm_zeropi
57
58 define Device/lamobo_lamobo-r1
59 DEVICE_VENDOR := Lamobo
60 DEVICE_MODEL := Lamobo R1
61 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtl8192cu swconfig wpad-basic-wolfssl
62 SOC := sun7i-a20
63 endef
64 TARGET_DEVICES += lamobo_lamobo-r1
65
66 define Device/lemaker_bananapi
67 DEVICE_VENDOR := LeMaker
68 DEVICE_MODEL := Banana Pi
69 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
70 SOC := sun7i-a20
71 endef
72 TARGET_DEVICES += lemaker_bananapi
73
74 define Device/lemaker_bananapi-m2-ultra
75 DEVICE_VENDOR := LeMaker
76 DEVICE_MODEL := Banana Pi M2 Ultra
77 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
78 SOC := sun8i-r40
79 endef
80 TARGET_DEVICES += lemaker_bananapi-m2-ultra
81
82 define Device/lemaker_bananapro
83 DEVICE_VENDOR := LeMaker
84 DEVICE_MODEL := Banana Pro
85 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac
86 SOC := sun7i-a20
87 endef
88 TARGET_DEVICES += lemaker_bananapro
89
90 define Device/linksprite_pcduino3
91 DEVICE_VENDOR := LinkSprite
92 DEVICE_MODEL := pcDuino3
93 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-sunxi kmod-rtl8xxxu \
94 rtl8188eu-firmware
95 SOC := sun7i-a20
96 endef
97 TARGET_DEVICES += linksprite_pcduino3
98
99 define Device/mele_m9
100 DEVICE_VENDOR := Mele
101 DEVICE_MODEL := M9
102 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu
103 SOC := sun6i-a31
104 endef
105 TARGET_DEVICES += mele_m9
106
107 define Device/olimex_a20-olinuxino-lime
108 DEVICE_VENDOR := Olimex
109 DEVICE_MODEL := A20-OLinuXino-LIME
110 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi
111 SOC := sun7i
112 endef
113 TARGET_DEVICES += olimex_a20-olinuxino-lime
114
115 define Device/olimex_a20-olinuxino-lime2
116 DEVICE_VENDOR := Olimex
117 DEVICE_MODEL := A20-OLinuXino-LIME2
118 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
119 SOC := sun7i
120 endef
121 TARGET_DEVICES += olimex_a20-olinuxino-lime2
122
123 define Device/olimex_a20-olinuxino-lime2-emmc
124 DEVICE_VENDOR := Olimex
125 DEVICE_MODEL := A20-OLinuXino-LIME2
126 DEVICE_VARIANT := eMMC
127 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
128 SOC := sun7i
129 endef
130 TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc
131
132 define Device/olimex_a20-olinuxino-micro
133 DEVICE_VENDOR := Olimex
134 DEVICE_MODEL := A20-OLinuXino-MICRO
135 DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
136 SOC := sun7i
137 endef
138 TARGET_DEVICES += olimex_a20-olinuxino-micro
139
140 define Device/sinovoip_bananapi-m2-plus
141 DEVICE_VENDOR := Sinovoip
142 DEVICE_MODEL := Banana Pi M2+
143 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-leds-gpio kmod-ledtrig-heartbeat \
144 kmod-brcmfmac brcmfmac-firmware-43430a0-sdio wpad-basic-wolfssl
145 SOC := sun8i-h3
146 endef
147 TARGET_DEVICES += sinovoip_bananapi-m2-plus
148
149 define Device/xunlong_orangepi-one
150 DEVICE_VENDOR := Xunlong
151 DEVICE_MODEL := Orange Pi One
152 DEVICE_PACKAGES:=kmod-rtc-sunxi
153 SOC := sun8i-h3
154 endef
155 TARGET_DEVICES += xunlong_orangepi-one
156
157 define Device/xunlong_orangepi-pc
158 DEVICE_VENDOR := Xunlong
159 DEVICE_MODEL := Orange Pi PC
160 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-gpio-button-hotplug
161 SOC := sun8i-h3
162 endef
163 TARGET_DEVICES += xunlong_orangepi-pc
164
165 define Device/xunlong_orangepi-pc-plus
166 DEVICE_VENDOR := Xunlong
167 DEVICE_MODEL := Orange Pi PC Plus
168 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-gpio-button-hotplug
169 SOC := sun8i-h3
170 endef
171 TARGET_DEVICES += xunlong_orangepi-pc-plus
172
173 define Device/xunlong_orangepi-plus
174 DEVICE_VENDOR := Xunlong
175 DEVICE_MODEL := Orange Pi Plus
176 DEVICE_PACKAGES:=kmod-rtc-sunxi
177 SOC := sun8i-h3
178 endef
179 TARGET_DEVICES += xunlong_orangepi-plus
180
181 define Device/xunlong_orangepi-r1
182 DEVICE_VENDOR := Xunlong
183 DEVICE_MODEL := Orange Pi R1
184 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-usb-net-rtl8152
185 SOC := sun8i-h2-plus
186 endef
187 TARGET_DEVICES += xunlong_orangepi-r1
188
189 define Device/xunlong_orangepi-zero
190 DEVICE_VENDOR := Xunlong
191 DEVICE_MODEL := Orange Pi Zero
192 DEVICE_PACKAGES:=kmod-rtc-sunxi
193 SOC := sun8i-h2-plus
194 endef
195 TARGET_DEVICES += xunlong_orangepi-zero
196
197 define Device/xunlong_orangepi-2
198 DEVICE_VENDOR := Xunlong
199 DEVICE_MODEL := Orange Pi 2
200 DEVICE_PACKAGES:=kmod-rtc-sunxi
201 SOC := sun8i-h3
202 endef
203 TARGET_DEVICES += xunlong_orangepi-2