rockchip: add FriendlyARM NanoPC T4 support
[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 endef
24 TARGET_DEVICES += friendlyarm_nanopc-t4
25
26 define Device/friendlyarm_nanopi-r2c
27 DEVICE_VENDOR := FriendlyARM
28 DEVICE_MODEL := NanoPi R2C
29 SOC := rk3328
30 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
31 DEVICE_PACKAGES := kmod-usb-net-rtl8152
32 endef
33 TARGET_DEVICES += friendlyarm_nanopi-r2c
34
35 define Device/friendlyarm_nanopi-r2s
36 DEVICE_VENDOR := FriendlyARM
37 DEVICE_MODEL := NanoPi R2S
38 SOC := rk3328
39 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
40 DEVICE_PACKAGES := kmod-usb-net-rtl8152
41 endef
42 TARGET_DEVICES += friendlyarm_nanopi-r2s
43
44 define Device/friendlyarm_nanopi-r4s
45 DEVICE_VENDOR := FriendlyARM
46 DEVICE_MODEL := NanoPi R4S
47 DEVICE_VARIANT := 4GB LPDDR4
48 SOC := rk3399
49 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
50 DEVICE_PACKAGES := kmod-r8169
51 endef
52 TARGET_DEVICES += friendlyarm_nanopi-r4s
53
54 define Device/pine64_rockpro64
55 DEVICE_VENDOR := Pine64
56 DEVICE_MODEL := RockPro64
57 SOC := rk3399
58 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
59 endef
60 TARGET_DEVICES += pine64_rockpro64
61
62 define Device/radxa_rock-pi-4a
63 DEVICE_VENDOR := Radxa
64 DEVICE_MODEL := ROCK Pi 4A
65 SOC := rk3399
66 SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
67 UBOOT_DEVICE_NAME := rock-pi-4-rk3399
68 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
69 endef
70 TARGET_DEVICES += radxa_rock-pi-4a
71
72 define Device/xunlong_orangepi-r1-plus
73 DEVICE_VENDOR := Xunlong
74 DEVICE_MODEL := Orange Pi R1 Plus
75 SOC := rk3328
76 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
77 DEVICE_PACKAGES := kmod-usb-net-rtl8152
78 endef
79 TARGET_DEVICES += xunlong_orangepi-r1-plus
80
81 define Device/xunlong_orangepi-r1-plus-lts
82 DEVICE_VENDOR := Xunlong
83 DEVICE_MODEL := Orange Pi R1 Plus LTS
84 SOC := rk3328
85 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
86 DEVICE_PACKAGES := kmod-usb-net-rtl8152
87 endef
88 TARGET_DEVICES += xunlong_orangepi-r1-plus-lts