a00bac2c81c765c29ef9016f437f3d83c73e5a02
[openwrt/staging/981213.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/friendlyarm_nanopi-r1s-h5
44 DEVICE_VENDOR := FriendlyARM
45 DEVICE_MODEL := Nanopi R1S H5
46 DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152
47 SUPPORTED_DEVICES:=nanopi-r1s-h5
48 $(Device/sun50i-h5)
49 endef
50 TARGET_DEVICES += friendlyarm_nanopi-r1s-h5
51
52 define Device/libretech_all-h3-cc-h5
53 DEVICE_VENDOR := Libre Computer
54 DEVICE_MODEL := ALL-H3-CC
55 DEVICE_VARIANT := H5
56 $(Device/sun50i-h5)
57 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-libretech-all-h3-cc
58 endef
59 TARGET_DEVICES += libretech_all-h3-cc-h5
60
61 define Device/olimex_a64-olinuxino
62 DEVICE_VENDOR := Olimex
63 DEVICE_MODEL := A64-Olinuxino
64 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
65 $(Device/sun50i-a64)
66 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
67 endef
68 TARGET_DEVICES += olimex_a64-olinuxino
69
70 define Device/olimex_a64-olinuxino-emmc
71 DEVICE_VENDOR := Olimex
72 DEVICE_MODEL := A64-Olinuxino
73 DEVICE_VARIANT := eMMC
74 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
75 $(Device/sun50i-a64)
76 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
77 endef
78 TARGET_DEVICES += olimex_a64-olinuxino-emmc
79
80 define Device/pine64_pine64-plus
81 DEVICE_VENDOR := Pine64
82 DEVICE_MODEL := Pine64+
83 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
84 $(Device/sun50i-a64)
85 endef
86 TARGET_DEVICES += pine64_pine64-plus
87
88 define Device/pine64_sopine-baseboard
89 DEVICE_VENDOR := Pine64
90 DEVICE_MODEL := SoPine
91 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
92 $(Device/sun50i-a64)
93 endef
94 TARGET_DEVICES += pine64_sopine-baseboard
95
96 define Device/xunlong_orangepi-one-plus
97 $(Device/sun50i-h6)
98 DEVICE_VENDOR := Xunlong
99 DEVICE_MODEL := Orange Pi One Plus
100 SUNXI_DTS_DIR := allwinner/
101 endef
102 TARGET_DEVICES += xunlong_orangepi-one-plus
103
104 define Device/xunlong_orangepi-pc2
105 DEVICE_VENDOR := Xunlong
106 DEVICE_MODEL := Orange Pi PC 2
107 $(Device/sun50i-h5)
108 endef
109 TARGET_DEVICES += xunlong_orangepi-pc2
110
111 define Device/xunlong_orangepi-zero-plus
112 DEVICE_VENDOR := Xunlong
113 DEVICE_MODEL := Orange Pi Zero Plus
114 $(Device/sun50i-h5)
115 endef
116 TARGET_DEVICES += xunlong_orangepi-zero-plus