rockchip: add Lunzn FastRhino R66S support
Hardware -------- RockChip RK3568 ARM64 (4 cores) 1/2GB LPDDR4 RAM 2x 2500 Base-T (PCIe, r8125b) 1 LED (Power) 1 Button (Reset) Micro-SD Slot 2x USB 3.0 Port 12V DC Jack Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card using dd. Tested-by: Francisco G Luna <frangonlun@gmail.com> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/19990 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
678536740e
commit
d76a774270
@ -23,6 +23,7 @@ rockchip_setup_interfaces()
|
||||
;;
|
||||
friendlyarm,nanopc-t6|\
|
||||
friendlyarm,nanopi-r5c|\
|
||||
lunzn,fastrhino-r66s|\
|
||||
radxa,e25|\
|
||||
radxa,rock-3b|\
|
||||
radxa,rock-5-itx|\
|
||||
@ -55,7 +56,8 @@ rockchip_setup_macs()
|
||||
armsom,sige7|\
|
||||
friendlyarm,nanopc-t6|\
|
||||
friendlyarm,nanopi-r2c|\
|
||||
friendlyarm,nanopi-r2s)
|
||||
friendlyarm,nanopi-r2s|\
|
||||
lunzn,fastrhino-r66s)
|
||||
wan_mac=$(macaddr_generate_from_mmc_cid mmcblk0)
|
||||
lan_mac=$(macaddr_add "$wan_mac" 1)
|
||||
;;
|
||||
|
||||
@ -32,6 +32,7 @@ case "$(board_name)" in
|
||||
armsom,sige7|\
|
||||
friendlyarm,nanopi-r3s|\
|
||||
friendlyarm,nanopi-r5c|\
|
||||
lunzn,fastrhino-r66s|\
|
||||
radxa,e25|\
|
||||
sinovoip,rk3568-bpi-r2pro)
|
||||
set_interface_core 2 "eth0"
|
||||
|
||||
@ -124,6 +124,14 @@ define Device/friendlyarm_nanopi-r6s
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r6s
|
||||
|
||||
define Device/lunzn_fastrhino-r66s
|
||||
DEVICE_VENDOR := Lunzn
|
||||
DEVICE_MODEL := FastRhino R66S
|
||||
SOC := rk3568
|
||||
DEVICE_PACKAGES := kmod-r8169
|
||||
endef
|
||||
TARGET_DEVICES += lunzn_fastrhino-r66s
|
||||
|
||||
define Device/pine64_rock64
|
||||
DEVICE_VENDOR := Pine64
|
||||
DEVICE_MODEL := Rock64
|
||||
|
||||
@ -0,0 +1,24 @@
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
|
||||
@@ -9,6 +9,13 @@
|
||||
#include "rk3568.dtsi"
|
||||
|
||||
/ {
|
||||
+ aliases {
|
||||
+ led-boot = &status_led;
|
||||
+ led-failsafe = &status_led;
|
||||
+ led-running = &status_led;
|
||||
+ led-upgrade = &status_led;
|
||||
+ };
|
||||
+
|
||||
chosen: chosen {
|
||||
stdout-path = "serial2:1500000n8";
|
||||
};
|
||||
@@ -35,7 +42,6 @@
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
|
||||
- linux,default-trigger = "heartbeat";
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user