sunxi: construct DTS name from device node name and SOC
[openwrt/openwrt.git] / target / linux / sunxi / image / cortex-a8.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 ifeq ($(SUBTARGET),cortexa8)
9
10 define Device/olimex_a10-olinuxino-lime
11 DEVICE_VENDOR := Olimex
12 DEVICE_MODEL := A10-OLinuXino-LIME
13 DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
14 SUNXI_SOC := sun4i
15 endef
16
17 TARGET_DEVICES += olimex_a10-olinuxino-lime
18
19
20 define Device/olimex_a13-olimex-som
21 DEVICE_VENDOR := Olimex
22 DEVICE_MODEL := A13-SOM
23 DEVICE_PACKAGES:=kmod-rtl8192cu
24 SUPPORTED_DEVICES:=olimex,a13-olinuxino
25 SUNXI_SOC := sun5i-a13
26 SUNXI_DTS := sun5i-a13-olinuxino
27 endef
28
29 TARGET_DEVICES += olimex_a13-olimex-som
30
31
32 define Device/olimex_a13-olinuxino
33 DEVICE_VENDOR := Olimex
34 DEVICE_MODEL := A13-OLinuXino
35 DEVICE_PACKAGES:=kmod-rtl8192cu
36 SUNXI_SOC := sun5i
37 endef
38
39 TARGET_DEVICES += olimex_a13-olinuxino
40
41
42 define Device/cubietech_a10-cubieboard
43 DEVICE_VENDOR := Cubietech
44 DEVICE_MODEL := Cubieboard
45 DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
46 SUNXI_SOC := sun4i
47 endef
48
49 TARGET_DEVICES += cubietech_a10-cubieboard
50
51
52 define Device/linksprite_a10-pcduino
53 DEVICE_VENDOR := LinkSprite
54 DEVICE_MODEL := pcDuino
55 DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu
56 SUNXI_SOC := sun4i
57 endef
58
59 TARGET_DEVICES += linksprite_a10-pcduino
60
61
62 define Device/marsboard_a10-marsboard
63 DEVICE_VENDOR := HAOYU Electronics
64 DEVICE_MODEL := MarsBoard A10
65 DEVICE_PACKAGES:=mod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi sound-soc-sunxi
66 SUNXI_SOC := sun4i
67 endef
68
69 TARGET_DEVICES += marsboard_a10-marsboard
70
71 endif