[openwrt/openwrt] rockchip: add HATs/M.2 E key module support for Radxa ROCK 5A

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 7 05:41:39 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3c23e9a32754f52f50cd0f66f94c32ea01e462a5

commit 3c23e9a32754f52f50cd0f66f94c32ea01e462a5
Author: FUKAUMI Naoki <naoki at radxa.com>
AuthorDate: Tue Sep 2 05:12:03 2025 +0000

    rockchip: add HATs/M.2 E key module support for Radxa ROCK 5A
    
    Add support for Radxa HATs/M.2 E key module.
    
    - Radxa Dual 2.5G Router HAT (Realtek RTL8125BG/NVMe)
    - Radxa Penta SATA HAT (JMicron JMB585)
    - Radxa Wireless Module A8 (Realtek RTL8852BE)
    
    Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
    Link: https://github.com/openwrt/openwrt/pull/19867
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity   | 4 ++++
 target/linux/rockchip/image/armv8.mk                                  | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

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..956b909bb9 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
@@ -63,5 +63,9 @@ friendlyarm,nanopi-r6s)
 	set_interface_core 20 "eth1"
 	set_interface_core 40 "eth2"
 	;;
+radxa,rock-5a)
+	set_interface_core 10 "eth1"
+	set_interface_core 20 "eth2"
+	;;
 esac
 
diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk
index bb1e3a894f..1a5ba482d0 100644
--- a/target/linux/rockchip/image/armv8.mk
+++ b/target/linux/rockchip/image/armv8.mk
@@ -203,7 +203,7 @@ define Device/radxa_rock-5a
   DEVICE_MODEL := ROCK 5A
   SOC := rk3588s
   UBOOT_DEVICE_NAME := rock5a-rk3588s
-  DEVICE_PACKAGES := kmod-hwmon-pwmfan
+  DEVICE_PACKAGES := blkdiscard block-mount kmod-ata-ahci kmod-hwmon-pwmfan kmod-nvme kmod-r8169 kmod-rtw89-8852be wpad-basic-mbedtls
 endef
 TARGET_DEVICES += radxa_rock-5a
 




More information about the lede-commits mailing list