rockchip: add FriendlyElec NanoPi R5S support

This commit is contained in:
coolsnowwolf 2022-08-14 06:53:39 +00:00
parent 5ca4955cff
commit dd4bbf675c
3 changed files with 20 additions and 0 deletions

View File

@ -27,6 +27,11 @@ sharevdi,guangmiao-g4c)
firefly,rk3568-roc-pc)
ucidef_set_led_timer "health" "health" "firefly:yellow:user" "200" "800"
;;
friendlyelec,nanopi-r5s)
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth1"
ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth2"
;;
esac
board_config_flush

View File

@ -48,5 +48,10 @@ firefly,rk3568-roc-pc)
set_interface_core 2 "eth0"
set_interface_core 4 "eth1"
;;
friendlyelec,nanopi-r5s
set_interface_core 0 "eth0"
set_interface_core 2 "eth1"
set_interface_core 4 "eth2"
;;
esac

View File

@ -91,6 +91,16 @@ define Device/friendlyarm_nanopi-r4se
endef
TARGET_DEVICES += friendlyarm_nanopi-r4se
define Device/friendlyelec_nanopi-r5s
DEVICE_VENDOR := FriendlyARM
DEVICE_MODEL := NanoPi R5S
SOC := rk3568
UBOOT_DEVICE_NAME := nanopi-r5s-rk3568
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8125
endef
TARGET_DEVICES += friendlyelec_nanopi-r5s
define Device/pine64_rockpro64
DEVICE_VENDOR := Pine64
DEVICE_MODEL := RockPro64