sunxi: enable wifi module on Pine64 boards
[openwrt/openwrt.git] / target / linux / sunxi / image / cortexa53.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2013-2016 OpenWrt.org
4 # Copyright (C) 2016 Yousong Zhou
5
6 define Device/sun50i
7 SUNXI_DTS_DIR := allwinner/
8 KERNEL_NAME := Image
9 KERNEL := kernel-bin
10 endef
11
12 define Device/sun50i-h5
13 SOC := sun50i-h5
14 $(Device/sun50i)
15 endef
16
17 define Device/sun50i-a64
18 SOC := sun50i-a64
19 $(Device/sun50i)
20 endef
21
22 define Device/friendlyarm_nanopi-neo-plus2
23 DEVICE_VENDOR := FriendlyARM
24 DEVICE_MODEL := NanoPi NEO Plus2
25 SUPPORTED_DEVICES:=nanopi-neo-plus2
26 $(Device/sun50i-h5)
27 endef
28 TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
29
30 define Device/friendlyarm_nanopi-neo2
31 DEVICE_VENDOR := FriendlyARM
32 DEVICE_MODEL := NanoPi NEO2
33 SUPPORTED_DEVICES:=nanopi-neo2
34 $(Device/sun50i-h5)
35 endef
36 TARGET_DEVICES += friendlyarm_nanopi-neo2
37
38 define Device/libretech_all-h3-cc-h5
39 DEVICE_VENDOR := Libre Computer
40 DEVICE_MODEL := ALL-H3-CC
41 DEVICE_VARIANT := H5
42 $(Device/sun50i-h5)
43 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-libretech-all-h3-cc
44 endef
45 TARGET_DEVICES += libretech_all-h3-cc-h5
46
47 define Device/olimex_a64-olinuxino
48 DEVICE_VENDOR := Olimex
49 DEVICE_MODEL := A64-Olinuxino
50 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
51 $(Device/sun50i-a64)
52 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
53 endef
54 TARGET_DEVICES += olimex_a64-olinuxino
55
56 define Device/olimex_a64-olinuxino-emmc
57 DEVICE_VENDOR := Olimex
58 DEVICE_MODEL := A64-Olinuxino
59 DEVICE_VARIANT := eMMC
60 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
61 $(Device/sun50i-a64)
62 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
63 endef
64 TARGET_DEVICES += olimex_a64-olinuxino-emmc
65
66 define Device/pine64_pine64-plus
67 DEVICE_VENDOR := Pine64
68 DEVICE_MODEL := Pine64+
69 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
70 $(Device/sun50i-a64)
71 endef
72 TARGET_DEVICES += pine64_pine64-plus
73
74 define Device/pine64_sopine-baseboard
75 DEVICE_VENDOR := Pine64
76 DEVICE_MODEL := SoPine
77 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
78 $(Device/sun50i-a64)
79 endef
80 TARGET_DEVICES += pine64_sopine-baseboard
81
82 define Device/xunlong_orangepi-pc2
83 DEVICE_VENDOR := Xunlong
84 DEVICE_MODEL := Orange Pi PC 2
85 $(Device/sun50i-h5)
86 endef
87 TARGET_DEVICES += xunlong_orangepi-pc2
88
89 define Device/xunlong_orangepi-zero-plus
90 DEVICE_VENDOR := Xunlong
91 DEVICE_MODEL := Orange Pi Zero Plus
92 $(Device/sun50i-h5)
93 endef
94 TARGET_DEVICES += xunlong_orangepi-zero-plus