[openwrt/openwrt] rockchip: add support for Radxa E52C
LEDE Commits
lede-commits at lists.infradead.org
Sun Sep 7 05:41:45 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d16d2765bd4fba96935f2a5ad6f4e830da317956
commit d16d2765bd4fba96935f2a5ad6f4e830da317956
Author: FUKAUMI Naoki <naoki at radxa.com>
AuthorDate: Wed Sep 3 02:02:48 2025 +0000
rockchip: add support for Radxa E52C
The Radxa E52C is a compact network computer using the Rockchip RK3582
SoC.
- https://radxa.com/products/network-computer/e52c
Hardware
--------
- Dual Cortex-A76 and Quad Cortex-A55 CPU
- 5 TOPS NPU
- 2/4/8GB LPDDR4 RAM
- 16/32/64GB on-board eMMC
- microSD card slot
- 2x 2.5 Gigabit Ethernet ports
- USB 3.1 Gen1 Type-A HOST/OTG port
- USB Type-C debug port
- USB Type-C power port
Installation
------------
Uncompress the OpenWrt sysupgrade and write it to a micro SD card or
eMMC using dd.
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>
---
package/boot/uboot-rockchip/Makefile | 1 +
target/linux/rockchip/armv8/base-files/etc/board.d/01_leds | 1 +
target/linux/rockchip/armv8/base-files/etc/board.d/02_network | 1 +
.../armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity | 1 +
target/linux/rockchip/image/armv8.mk | 10 ++++++++++
5 files changed, 14 insertions(+)
diff --git a/package/boot/uboot-rockchip/Makefile b/package/boot/uboot-rockchip/Makefile
index 34809be785..f3717d67c6 100644
--- a/package/boot/uboot-rockchip/Makefile
+++ b/package/boot/uboot-rockchip/Makefile
@@ -272,6 +272,7 @@ define U-Boot/generic-rk3588
$(U-Boot/rk358x/Default)
NAME:=Generic RK358x board
BUILD_DEVICES:= \
+ radxa_e52c \
radxa_rock-5b-plus \
radxa_rock-5t
endef
diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds b/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
index 6e2c95ada7..9c668a64d1 100644
--- a/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
+++ b/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
@@ -15,6 +15,7 @@ friendlyarm,nanopi-r3s|\
friendlyarm,nanopi-r4s|\
friendlyarm,nanopi-r4s-enterprise|\
friendlyarm,nanopi-r6c|\
+radxa,e52c|\
xunlong,orangepi-r1-plus|\
xunlong,orangepi-r1-plus-lts)
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
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 b210cd191c..971dea679c 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
@@ -15,6 +15,7 @@ rockchip_setup_interfaces()
friendlyarm,nanopi-r4s|\
friendlyarm,nanopi-r4s-enterprise|\
friendlyarm,nanopi-r6c|\
+ radxa,e52c|\
radxa,rockpi-e|\
xunlong,orangepi-r1-plus|\
xunlong,orangepi-r1-plus-lts)
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 a70d2f2323..2c9be8c2bf 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
@@ -50,6 +50,7 @@ friendlyarm,nanopi-r4s|\
friendlyarm,nanopi-r4s-enterprise|\
friendlyarm,nanopi-r6c|\
friendlyarm,nanopc-t6|\
+radxa,e52c|\
radxa,rock-5-itx|\
radxa,rock-5t)
set_interface_core 10 "eth0"
diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk
index 94b8cbfac0..eb21c3a08b 100644
--- a/target/linux/rockchip/image/armv8.mk
+++ b/target/linux/rockchip/image/armv8.mk
@@ -159,6 +159,16 @@ define Device/radxa_e25
endef
TARGET_DEVICES += radxa_e25
+define Device/radxa_e52c
+ DEVICE_VENDOR := Radxa
+ DEVICE_MODEL := E52C
+ SOC := rk3582
+ UBOOT_DEVICE_NAME := generic-rk3588
+ DEVICE_DTS := rockchip/rk3582-radxa-e52c
+ DEVICE_PACKAGES := blkdiscard kmod-r8169
+endef
+TARGET_DEVICES += radxa_e52c
+
define Device/radxa_rock-3a
DEVICE_VENDOR := Radxa
DEVICE_MODEL := ROCK 3A
More information about the lede-commits
mailing list