kernel: make kmod-i2c-mux selected by dependent modules
[openwrt/openwrt.git] / target / linux / mvebu / image / cortexa9.mk
1 #
2 # Copyright (C) 2012-2016 OpenWrt.org
3 # Copyright (C) 2016 LEDE-project.org
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/cznic_turris-omnia
10 DEVICE_VENDOR := CZ.NIC
11 DEVICE_MODEL := Turris Omnia
12 KERNEL_INSTALL := 1
13 KERNEL := kernel-bin
14 KERNEL_INITRAMFS := kernel-bin
15 DEVICE_PACKAGES := \
16 mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
17 wpad-basic kmod-ath9k kmod-ath10k-ct ath10k-firmware-qca988x-ct \
18 partx-utils kmod-i2c-mux-pca954x
19 IMAGES := $$(IMAGE_PREFIX)-sysupgrade.img.gz omnia-medkit-$$(IMAGE_PREFIX)-initramfs.tar.gz
20 IMAGE/$$(IMAGE_PREFIX)-sysupgrade.img.gz := boot-img | sdcard-img | gzip | append-metadata
21 IMAGE/omnia-medkit-$$(IMAGE_PREFIX)-initramfs.tar.gz := omnia-medkit-initramfs | gzip
22 IMAGE_NAME = $$(2)
23 SOC := armada-385
24 SUPPORTED_DEVICES += armada-385-turris-omnia
25 endef
26 TARGET_DEVICES += cznic_turris-omnia
27
28 define Device/globalscale_mirabox
29 $(Device/NAND-512K)
30 DEVICE_VENDOR := Globalscale
31 DEVICE_MODEL := Mirabox
32 SOC := armada-370
33 SUPPORTED_DEVICES += mirabox
34 endef
35 TARGET_DEVICES += globalscale_mirabox
36
37 define Device/linksys
38 $(Device/NAND-128K)
39 DEVICE_VENDOR := Linksys
40 DEVICE_PACKAGES := kmod-mwlwifi swconfig wpad-basic
41 IMAGES += factory.img
42 KERNEL_SIZE := 6144k
43 endef
44
45 define Device/linksys_wrt1200ac
46 $(call Device/linksys)
47 DEVICE_MODEL := WRT1200AC
48 DEVICE_ALT0_VENDOR := Linksys
49 DEVICE_ALT0_MODEL := Caiman
50 DEVICE_DTS := armada-385-linksys-caiman
51 DEVICE_PACKAGES += mwlwifi-firmware-88w8864
52 SUPPORTED_DEVICES := armada-385-linksys-caiman linksys,caiman
53 endef
54 TARGET_DEVICES += linksys_wrt1200ac
55
56 define Device/linksys_wrt1900acs
57 $(call Device/linksys)
58 DEVICE_MODEL := WRT1900ACS
59 DEVICE_VARIANT := v1
60 DEVICE_ALT0_VENDOR := Linksys
61 DEVICE_ALT0_MODEL := WRT1900ACS
62 DEVICE_ALT0_VARIANT := v2
63 DEVICE_ALT1_VENDOR := Linksys
64 DEVICE_ALT1_MODEL := Shelby
65 DEVICE_DTS := armada-385-linksys-shelby
66 DEVICE_PACKAGES += mwlwifi-firmware-88w8864
67 SUPPORTED_DEVICES := armada-385-linksys-shelby linksys,shelby
68 endef
69 TARGET_DEVICES += linksys_wrt1900acs
70
71 define Device/linksys_wrt1900ac
72 $(call Device/linksys)
73 DEVICE_MODEL := WRT1900AC
74 DEVICE_VARIANT := v1
75 DEVICE_ALT0_VENDOR := Linksys
76 DEVICE_ALT0_MODEL := Mamba
77 DEVICE_DTS := armada-xp-linksys-mamba
78 DEVICE_PACKAGES += mwlwifi-firmware-88w8864
79 KERNEL_SIZE := 3072k
80 SUPPORTED_DEVICES := armada-xp-linksys-mamba linksys,mamba
81 endef
82 TARGET_DEVICES += linksys_wrt1900ac
83
84 define Device/linksys_wrt1900acv2
85 $(call Device/linksys)
86 DEVICE_MODEL := WRT1900AC
87 DEVICE_VARIANT := v2
88 DEVICE_ALT0_VENDOR := Linksys
89 DEVICE_ALT0_MODEL := Cobra
90 DEVICE_DTS := armada-385-linksys-cobra
91 DEVICE_PACKAGES += mwlwifi-firmware-88w8864
92 SUPPORTED_DEVICES := armada-385-linksys-cobra linksys,cobra
93 endef
94 TARGET_DEVICES += linksys_wrt1900acv2
95
96 define Device/linksys_wrt3200acm
97 $(call Device/linksys)
98 DEVICE_MODEL := WRT3200ACM
99 DEVICE_ALT0_VENDOR := Linksys
100 DEVICE_ALT0_MODEL := Rango
101 DEVICE_DTS := armada-385-linksys-rango
102 DEVICE_PACKAGES += kmod-btmrvl kmod-mwifiex-sdio mwlwifi-firmware-88w8964
103 SUPPORTED_DEVICES := armada-385-linksys-rango linksys,rango
104 endef
105 TARGET_DEVICES += linksys_wrt3200acm
106
107 define Device/linksys_wrt32x
108 $(call Device/linksys)
109 DEVICE_MODEL := WRT32X
110 DEVICE_ALT0_VENDOR := Linksys
111 DEVICE_ALT0_MODEL := Venom
112 DEVICE_DTS := armada-385-linksys-venom
113 DEVICE_PACKAGES += kmod-btmrvl kmod-mwifiex-sdio mwlwifi-firmware-88w8964
114 KERNEL_SIZE := 3072k
115 KERNEL := kernel-bin | append-dtb
116 SUPPORTED_DEVICES := armada-385-linksys-venom linksys,venom
117 endef
118 TARGET_DEVICES += linksys_wrt32x
119
120 define Device/marvell_a370-db
121 $(Device/NAND-512K)
122 DEVICE_VENDOR := Marvell
123 DEVICE_MODEL := Armada 370 Development Board (DB-88F6710-BP-DDR3)
124 DEVICE_DTS := armada-370-db
125 SUPPORTED_DEVICES += armada-370-db
126 endef
127 TARGET_DEVICES += marvell_a370-db
128
129 define Device/marvell_a370-rd
130 $(Device/NAND-512K)
131 DEVICE_VENDOR := Marvell
132 DEVICE_MODEL := Armada 370 RD (RD-88F6710-A1)
133 DEVICE_DTS := armada-370-rd
134 SUPPORTED_DEVICES += armada-370-rd
135 endef
136 TARGET_DEVICES += marvell_a370-rd
137
138 define Device/marvell_a385-db-ap
139 $(Device/NAND-256K)
140 DEVICE_VENDOR := Marvell
141 DEVICE_MODEL := Armada 385 Development Board AP (DB-88F6820-AP)
142 DEVICE_DTS := armada-385-db-ap
143 IMAGES += factory.img
144 KERNEL_SIZE := 8192k
145 SUPPORTED_DEVICES += armada-385-db-ap
146 endef
147 TARGET_DEVICES += marvell_a385-db-ap
148
149 define Device/marvell_a388-rd
150 DEVICE_VENDOR := Marvell
151 DEVICE_MODEL := Armada 388 RD (RD-88F6820-AP)
152 DEVICE_DTS := armada-388-rd
153 IMAGES := firmware.bin
154 IMAGE/firmware.bin := append-kernel | pad-to 256k | append-rootfs | pad-rootfs
155 SUPPORTED_DEVICES := armada-388-rd marvell,a385-rd
156 endef
157 TARGET_DEVICES += marvell_a388-rd
158
159 define Device/marvell_axp-db
160 $(Device/NAND-512K)
161 DEVICE_VENDOR := Marvell
162 DEVICE_MODEL := Armada XP Development Board (DB-78460-BP)
163 DEVICE_DTS := armada-xp-db
164 SUPPORTED_DEVICES += armada-xp-db
165 endef
166 TARGET_DEVICES += marvell_axp-db
167
168 define Device/marvell_axp-gp
169 $(Device/NAND-512K)
170 DEVICE_VENDOR := Marvell
171 DEVICE_MODEL := Armada Armada XP GP (DB-MV784MP-GP)
172 DEVICE_DTS := armada-xp-gp
173 SUPPORTED_DEVICES += armada-xp-gp
174 endef
175 TARGET_DEVICES += marvell_axp-gp
176
177 define Device/plathome_openblocks-ax3-4
178 DEVICE_VENDOR := Plat'Home
179 DEVICE_MODEL := OpenBlocks AX3
180 DEVICE_VARIANT := 4 ports
181 SOC := armada-xp
182 SUPPORTED_DEVICES += openblocks-ax3-4
183 BLOCKSIZE := 128k
184 PAGESIZE := 1
185 IMAGES += factory.img
186 IMAGE/factory.img := append-kernel | pad-to $$(BLOCKSIZE) | append-ubi
187 endef
188 TARGET_DEVICES += plathome_openblocks-ax3-4
189
190 define Device/solidrun_clearfog-base-a1
191 DEVICE_VENDOR := SolidRun
192 DEVICE_MODEL := ClearFog Base
193 KERNEL_INSTALL := 1
194 KERNEL := kernel-bin
195 DEVICE_PACKAGES := mkf2fs e2fsprogs partx-utils
196 IMAGES := sdcard.img.gz
197 IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
198 DEVICE_DTS := armada-388-clearfog-base armada-388-clearfog-pro
199 SUPPORTED_DEVICES += armada-388-clearfog-base
200 UBOOT := clearfog-u-boot-spl.kwb
201 BOOT_SCRIPT := clearfog
202 endef
203 TARGET_DEVICES += solidrun_clearfog-base-a1
204
205 define Device/solidrun_clearfog-pro-a1
206 DEVICE_VENDOR := SolidRun
207 DEVICE_MODEL := ClearFog Pro
208 KERNEL_INSTALL := 1
209 KERNEL := kernel-bin
210 DEVICE_PACKAGES := mkf2fs e2fsprogs partx-utils swconfig
211 IMAGES := sdcard.img.gz
212 IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
213 DEVICE_DTS := armada-388-clearfog-pro armada-388-clearfog-base
214 SUPPORTED_DEVICES += armada-388-clearfog armada-388-clearfog-pro
215 UBOOT := clearfog-u-boot-spl.kwb
216 BOOT_SCRIPT := clearfog
217 endef
218 TARGET_DEVICES += solidrun_clearfog-pro-a1