diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network index 9a6e479323..56e0cc2408 100644 --- a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network +++ b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network @@ -22,6 +22,7 @@ rockchip_setup_interfaces() ;; friendlyarm,nanopc-t6|\ friendlyarm,nanopi-r5c|\ + lunzn,fastrhino-r66s|\ radxa,e25|\ radxa,rock-3b) ucidef_set_interfaces_lan_wan 'eth0' 'eth1' @@ -52,7 +53,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) ;; diff --git a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity index f5cdd9be8a..d9ca53b7e1 100644 --- a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity +++ b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity @@ -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" diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk index 54ce6f771e..af224bb608 100644 --- a/target/linux/rockchip/image/armv8.mk +++ b/target/linux/rockchip/image/armv8.mk @@ -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 diff --git a/target/linux/rockchip/patches-6.6/134-arm64-dts-rockchip-Update-LED-properties-for-Lunzn-Fastrh.patch b/target/linux/rockchip/patches-6.6/134-arm64-dts-rockchip-Update-LED-properties-for-Lunzn-Fastrh.patch new file mode 100644 index 0000000000..dfc850d629 --- /dev/null +++ b/target/linux/rockchip/patches-6.6/134-arm64-dts-rockchip-Update-LED-properties-for-Lunzn-Fastrh.patch @@ -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 = ; + function = LED_FUNCTION_STATUS; + gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>; +- linux,default-trigger = "heartbeat"; + }; + }; +