rockchip: enable wifi support for NanoPC T4
[openwrt/staging/jow.git] / target / linux / rockchip / image / armv8.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2020 Tobias Maedel
4
5 # FIT will be loaded at 0x02080000. Leave 16M for that, align it to 2M and load the kernel after it.
6 KERNEL_LOADADDR := 0x03200000
7
8 define Device/firefly_roc-rk3328-cc
9 DEVICE_VENDOR := Firefly
10 DEVICE_MODEL := ROC-RK3328-CC
11 SOC := rk3328
12 DEVICE_DTS := rockchip/rk3328-roc-cc
13 UBOOT_DEVICE_NAME := roc-cc-rk3328
14 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
15 endef
16 TARGET_DEVICES += firefly_roc-rk3328-cc
17
18 define Device/friendlyarm_nanopc-t4
19 DEVICE_VENDOR := FriendlyARM
20 DEVICE_MODEL := NanoPC T4
21 SOC := rk3399
22 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
23 DEVICE_PACKAGES := kmod-brcmfmac brcmfmac-nvram-4356-sdio cypress-firmware-4356-sdio
24 endef
25 TARGET_DEVICES += friendlyarm_nanopc-t4
26
27 define Device/friendlyarm_nanopi-r2c
28 DEVICE_VENDOR := FriendlyARM
29 DEVICE_MODEL := NanoPi R2C
30 SOC := rk3328
31 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
32 DEVICE_PACKAGES := kmod-usb-net-rtl8152
33 endef
34 TARGET_DEVICES += friendlyarm_nanopi-r2c
35
36 define Device/friendlyarm_nanopi-r2s
37 DEVICE_VENDOR := FriendlyARM
38 DEVICE_MODEL := NanoPi R2S
39 SOC := rk3328
40 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
41 DEVICE_PACKAGES := kmod-usb-net-rtl8152
42 endef
43 TARGET_DEVICES += friendlyarm_nanopi-r2s
44
45 define Device/friendlyarm_nanopi-r4s
46 DEVICE_VENDOR := FriendlyARM
47 DEVICE_MODEL := NanoPi R4S
48 DEVICE_VARIANT := 4GB LPDDR4
49 SOC := rk3399
50 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
51 DEVICE_PACKAGES := kmod-r8169
52 endef
53 TARGET_DEVICES += friendlyarm_nanopi-r4s
54
55 define Device/pine64_rockpro64
56 DEVICE_VENDOR := Pine64
57 DEVICE_MODEL := RockPro64
58 SOC := rk3399
59 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
60 endef
61 TARGET_DEVICES += pine64_rockpro64
62
63 define Device/radxa_rock-pi-4a
64 DEVICE_VENDOR := Radxa
65 DEVICE_MODEL := ROCK Pi 4A
66 SOC := rk3399
67 SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
68 UBOOT_DEVICE_NAME := rock-pi-4-rk3399
69 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
70 endef
71 TARGET_DEVICES += radxa_rock-pi-4a
72
73 define Device/xunlong_orangepi-r1-plus
74 DEVICE_VENDOR := Xunlong
75 DEVICE_MODEL := Orange Pi R1 Plus
76 SOC := rk3328
77 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
78 DEVICE_PACKAGES := kmod-usb-net-rtl8152
79 endef
80 TARGET_DEVICES += xunlong_orangepi-r1-plus
81
82 define Device/xunlong_orangepi-r1-plus-lts
83 DEVICE_VENDOR := Xunlong
84 DEVICE_MODEL := Orange Pi R1 Plus LTS
85 SOC := rk3328
86 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
87 DEVICE_PACKAGES := kmod-usb-net-rtl8152
88 endef
89 TARGET_DEVICES += xunlong_orangepi-r1-plus-lts