rockchip: add NanoPi R2C support
[openwrt/staging/ldir.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_nanopi-r2c
19 DEVICE_VENDOR := FriendlyARM
20 DEVICE_MODEL := NanoPi R2C
21 SOC := rk3328
22 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
23 DEVICE_PACKAGES := kmod-usb-net-rtl8152
24 endef
25 TARGET_DEVICES += friendlyarm_nanopi-r2c
26
27 define Device/friendlyarm_nanopi-r2s
28 DEVICE_VENDOR := FriendlyARM
29 DEVICE_MODEL := NanoPi R2S
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-r2s
35
36 define Device/friendlyarm_nanopi-r4s
37 DEVICE_VENDOR := FriendlyARM
38 DEVICE_MODEL := NanoPi R4S
39 DEVICE_VARIANT := 4GB LPDDR4
40 SOC := rk3399
41 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
42 DEVICE_PACKAGES := kmod-r8169
43 endef
44 TARGET_DEVICES += friendlyarm_nanopi-r4s
45
46 define Device/pine64_rockpro64
47 DEVICE_VENDOR := Pine64
48 DEVICE_MODEL := RockPro64
49 SOC := rk3399
50 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
51 endef
52 TARGET_DEVICES += pine64_rockpro64
53
54 define Device/radxa_rock-pi-4a
55 DEVICE_VENDOR := Radxa
56 DEVICE_MODEL := ROCK Pi 4A
57 SOC := rk3399
58 SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
59 UBOOT_DEVICE_NAME := rock-pi-4-rk3399
60 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
61 endef
62 TARGET_DEVICES += radxa_rock-pi-4a