From f7c732bf9ed9bd09646a528681256fb7b0d80bfc Mon Sep 17 00:00:00 2001 From: Marius Durbaca Date: Wed, 28 Feb 2024 09:39:44 +0000 Subject: rockchip: add Radxa E25 board support Radxa E25 is a network application carrier board for the Radxa CM3 Industrial (CM3I) SoM, which is based on the Rockchip RK3568 SoC. It has the following features: - MicroSD card socket, on board eMMC flash - 2x 2.5GbE Realtek RTL8125B Ethernet transceiver - 1x USB Type-C port (Power and Serial console) - 1x USB 3.0 OTG port - mini PCIe socket (USB or PCIe) - ngff PCIe socket (USB or SATA) - 1x User LED and 16x RGB LEDs - 26-pin expansion header Installation: Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Marius Durbaca --- target/linux/rockchip/armv8/base-files/etc/board.d/02_network | 3 ++- .../rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'target/linux/rockchip/armv8') 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 f87b17dbc1..d6e97b91fa 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 @@ -16,7 +16,8 @@ rockchip_setup_interfaces() xunlong,orangepi-r1-plus-lts) ucidef_set_interfaces_lan_wan 'eth1' 'eth0' ;; - friendlyarm,nanopi-r5c) + friendlyarm,nanopi-r5c|\ + radxa,e25) ucidef_set_interfaces_lan_wan 'eth0' 'eth1' ;; friendlyarm,nanopi-r5s) 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 360b34ba91..5753d1e856 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 @@ -43,7 +43,8 @@ friendlyarm,nanopi-r4s-enterprise) set_interface_core 10 "eth0" set_interface_core 20 "eth1" ;; -friendlyarm,nanopi-r5c) +friendlyarm,nanopi-r5c|\ +radxa,e25) set_interface_core 2 "eth0" set_interface_core 4 "eth1" ;; -- cgit v1.2.3