sunxi: a53: add support for Olimex A64-Olinuxino eMMC
[oweals/openwrt.git] / target / linux / sunxi / image / cortex-a53.mk
1 #
2 # Copyright (C) 2013-2016 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/sun50i
10   SUNXI_DTS_DIR := allwinner/
11   KERNEL_NAME := Image
12   KERNEL := kernel-bin
13 endef
14
15 define Device/sun50i-h5
16   SOC := sun50i-h5
17   $(Device/sun50i)
18 endef
19
20 define Device/sun50i-a64
21   SOC := sun50i-a64
22   $(Device/sun50i)
23 endef
24
25 define Device/friendlyarm_nanopi-neo-plus2
26   DEVICE_VENDOR := FriendlyARM
27   DEVICE_MODEL := NanoPi NEO Plus2
28   SUPPORTED_DEVICES:=nanopi-neo-plus2
29   $(Device/sun50i-h5)
30 endef
31 TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
32
33 define Device/friendlyarm_nanopi-neo2
34   DEVICE_VENDOR := FriendlyARM
35   DEVICE_MODEL := NanoPi NEO2
36   SUPPORTED_DEVICES:=nanopi-neo2
37   $(Device/sun50i-h5)
38 endef
39 TARGET_DEVICES += friendlyarm_nanopi-neo2
40
41 define Device/olimex_a64-olinuxino
42   DEVICE_VENDOR := Olimex
43   DEVICE_MODEL := A64-Olinuxino
44   DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
45   $(Device/sun50i-a64)
46   SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
47 endef
48 TARGET_DEVICES += olimex_a64-olinuxino
49
50 define Device/olimex_a64-olinuxino-emmc
51   DEVICE_VENDOR := Olimex
52   DEVICE_MODEL := A64-Olinuxino
53   DEVICE_VARIANT := eMMC
54   DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
55   $(Device/sun50i-a64)
56   SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
57 endef
58 TARGET_DEVICES += olimex_a64-olinuxino-emmc
59
60 define Device/pine64_pine64-plus
61   DEVICE_VENDOR := Pine64
62   DEVICE_MODEL := Pine64+
63   $(Device/sun50i-a64)
64 endef
65 TARGET_DEVICES += pine64_pine64-plus
66
67 define Device/pine64_sopine-baseboard
68   DEVICE_VENDOR := Pine64
69   DEVICE_MODEL := SoPine
70   $(Device/sun50i-a64)
71 endef
72 TARGET_DEVICES += pine64_sopine-baseboard
73
74 define Device/xunlong_orangepi-pc2
75   DEVICE_VENDOR := Xunlong
76   DEVICE_MODEL := Orange Pi PC 2
77   $(Device/sun50i-h5)
78 endef
79 TARGET_DEVICES += xunlong_orangepi-pc2
80
81 define Device/xunlong_orangepi-zero-plus
82   DEVICE_VENDOR := Xunlong
83   DEVICE_MODEL := Orange Pi Zero Plus
84   $(Device/sun50i-h5)
85 endef
86 TARGET_DEVICES += xunlong_orangepi-zero-plus