sunxi: add support for H616 SoC and Orangepi Zero 2
[openwrt/staging/jow.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/sun50i-h616
28 SOC := sun50i-h616
29 $(Device/sun50i)
30 endef
31
32 define Device/friendlyarm_nanopi-neo-plus2
33 DEVICE_VENDOR := FriendlyARM
34 DEVICE_MODEL := NanoPi NEO Plus2
35 SUPPORTED_DEVICES:=nanopi-neo-plus2
36 $(Device/sun50i-h5)
37 endef
38 TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
39
40 define Device/friendlyarm_nanopi-neo2
41 DEVICE_VENDOR := FriendlyARM
42 DEVICE_MODEL := NanoPi NEO2
43 SUPPORTED_DEVICES:=nanopi-neo2
44 $(Device/sun50i-h5)
45 endef
46 TARGET_DEVICES += friendlyarm_nanopi-neo2
47
48 define Device/friendlyarm_nanopi-r1s-h5
49 DEVICE_VENDOR := FriendlyARM
50 DEVICE_MODEL := Nanopi R1S H5
51 DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152
52 SUPPORTED_DEVICES:=nanopi-r1s-h5
53 $(Device/sun50i-h5)
54 endef
55 TARGET_DEVICES += friendlyarm_nanopi-r1s-h5
56
57 define Device/libretech_all-h3-cc-h5
58 DEVICE_VENDOR := Libre Computer
59 DEVICE_MODEL := ALL-H3-CC
60 DEVICE_VARIANT := H5
61 $(Device/sun50i-h5)
62 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-libretech-all-h3-cc
63 endef
64 TARGET_DEVICES += libretech_all-h3-cc-h5
65
66 define Device/olimex_a64-olinuxino
67 DEVICE_VENDOR := Olimex
68 DEVICE_MODEL := A64-Olinuxino
69 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
70 $(Device/sun50i-a64)
71 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
72 endef
73 TARGET_DEVICES += olimex_a64-olinuxino
74
75 define Device/olimex_a64-olinuxino-emmc
76 DEVICE_VENDOR := Olimex
77 DEVICE_MODEL := A64-Olinuxino
78 DEVICE_VARIANT := eMMC
79 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
80 $(Device/sun50i-a64)
81 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
82 endef
83 TARGET_DEVICES += olimex_a64-olinuxino-emmc
84
85 define Device/pine64_pine64-plus
86 DEVICE_VENDOR := Pine64
87 DEVICE_MODEL := Pine64+
88 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
89 $(Device/sun50i-a64)
90 endef
91 TARGET_DEVICES += pine64_pine64-plus
92
93 define Device/pine64_sopine-baseboard
94 DEVICE_VENDOR := Pine64
95 DEVICE_MODEL := SoPine
96 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
97 $(Device/sun50i-a64)
98 endef
99 TARGET_DEVICES += pine64_sopine-baseboard
100
101 define Device/xunlong_orangepi-one-plus
102 $(Device/sun50i-h6)
103 DEVICE_VENDOR := Xunlong
104 DEVICE_MODEL := Orange Pi One Plus
105 SUNXI_DTS_DIR := allwinner/
106 endef
107 TARGET_DEVICES += xunlong_orangepi-one-plus
108
109 define Device/xunlong_orangepi-pc2
110 DEVICE_VENDOR := Xunlong
111 DEVICE_MODEL := Orange Pi PC 2
112 $(Device/sun50i-h5)
113 endef
114 TARGET_DEVICES += xunlong_orangepi-pc2
115
116 define Device/xunlong_orangepi-zero2
117 DEVICE_VENDOR := Xunlong
118 DEVICE_MODEL := Orange Pi Zero 2
119 $(Device/sun50i-h616)
120 endef
121 TARGET_DEVICES += xunlong_orangepi-zero2
122
123 define Device/xunlong_orangepi-zero-plus
124 DEVICE_VENDOR := Xunlong
125 DEVICE_MODEL := Orange Pi Zero Plus
126 $(Device/sun50i-h5)
127 endef
128 TARGET_DEVICES += xunlong_orangepi-zero-plus