sunxi: add support for H6 boards and OrangePiOnePlus
[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-a64
13 SOC := sun50i-a64
14 $(Device/sun50i)
15 endef
16
17 define Device/sun50i-h5
18 SOC := sun50i-h5
19 $(Device/sun50i)
20 endef
21
22 define Device/sun50i-h6
23 SOC := sun50i-h6
24 $(Device/sun50i)
25 endef
26
27 define Device/friendlyarm_nanopi-neo-plus2
28 DEVICE_VENDOR := FriendlyARM
29 DEVICE_MODEL := NanoPi NEO Plus2
30 SUPPORTED_DEVICES:=nanopi-neo-plus2
31 $(Device/sun50i-h5)
32 endef
33 TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
34
35 define Device/friendlyarm_nanopi-neo2
36 DEVICE_VENDOR := FriendlyARM
37 DEVICE_MODEL := NanoPi NEO2
38 SUPPORTED_DEVICES:=nanopi-neo2
39 $(Device/sun50i-h5)
40 endef
41 TARGET_DEVICES += friendlyarm_nanopi-neo2
42
43 define Device/libretech_all-h3-cc-h5
44 DEVICE_VENDOR := Libre Computer
45 DEVICE_MODEL := ALL-H3-CC
46 DEVICE_VARIANT := H5
47 $(Device/sun50i-h5)
48 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-libretech-all-h3-cc
49 endef
50 TARGET_DEVICES += libretech_all-h3-cc-h5
51
52 define Device/olimex_a64-olinuxino
53 DEVICE_VENDOR := Olimex
54 DEVICE_MODEL := A64-Olinuxino
55 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
56 $(Device/sun50i-a64)
57 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
58 endef
59 TARGET_DEVICES += olimex_a64-olinuxino
60
61 define Device/olimex_a64-olinuxino-emmc
62 DEVICE_VENDOR := Olimex
63 DEVICE_MODEL := A64-Olinuxino
64 DEVICE_VARIANT := eMMC
65 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
66 $(Device/sun50i-a64)
67 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
68 endef
69 TARGET_DEVICES += olimex_a64-olinuxino-emmc
70
71 define Device/pine64_pine64-plus
72 DEVICE_VENDOR := Pine64
73 DEVICE_MODEL := Pine64+
74 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
75 $(Device/sun50i-a64)
76 endef
77 TARGET_DEVICES += pine64_pine64-plus
78
79 define Device/pine64_sopine-baseboard
80 DEVICE_VENDOR := Pine64
81 DEVICE_MODEL := SoPine
82 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
83 $(Device/sun50i-a64)
84 endef
85 TARGET_DEVICES += pine64_sopine-baseboard
86
87 define Device/xunlong_orangepi-one-plus
88 $(Device/sun50i-h6)
89 DEVICE_VENDOR := Xunlong
90 DEVICE_MODEL := Orange Pi One Plus
91 SUNXI_DTS_DIR := allwinner/
92 endef
93 TARGET_DEVICES += xunlong_orangepi-one-plus
94
95 define Device/xunlong_orangepi-pc2
96 DEVICE_VENDOR := Xunlong
97 DEVICE_MODEL := Orange Pi PC 2
98 $(Device/sun50i-h5)
99 endef
100 TARGET_DEVICES += xunlong_orangepi-pc2
101
102 define Device/xunlong_orangepi-zero-plus
103 DEVICE_VENDOR := Xunlong
104 DEVICE_MODEL := Orange Pi Zero Plus
105 $(Device/sun50i-h5)
106 endef
107 TARGET_DEVICES += xunlong_orangepi-zero-plus