diff options
| author | FUKAUMI Naoki | 2025-01-29 07:35:43 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-09-04 21:55:53 +0000 |
| commit | e52a2ca6947d3d048b911b646a1813f67ed7f235 (patch) | |
| tree | cc13b7d6985e19e6e11e4486c4714fd1f2863a48 | |
| parent | 1ebda1b0fa5cfe7a34b44830273a9ae744a0182c (diff) | |
| download | openwrt-e52a2ca6947d3d048b911b646a1813f67ed7f235.tar.gz | |
rockchip: Add support for Radxa ROCK 4SE
The Radxa ROCK 4SE[1] is a single board computer using the Rockchip
RK3399-T.
Hardware
--------
- Dual-core Cortex-A72 and quad-core Cortex-A53 CPU
- Mali-T860MP4 GPU
- LPDDR4 4GB RAM
- M.2 M Key slot (PCIe 2.1 x4)
- eMMC connector
- microSD card slot
- Wi-Fi 5 (not supported)
- Gigabit Ethernet with PoE support (additional PoE HAT required)
- USB 3.0 Type-A OTG port
- USB 3.0 Type-A HOST port
- 2x USB 2.0 Type-A HOST ports
- USB Type-C power port (5V only)
- 40 Pin GPIO header
[1] https://radxa.com/products/rock4/4se
Installation
------------
Uncompress the OpenWrt sysupgrade and write it to the micro SD card or
internal eMMC using dd.
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/17554
(cherry picked from commit 6690f551c829f1dc6781c6155c265c4b424a5475)
Link: https://github.com/openwrt/openwrt/pull/19940
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | package/boot/uboot-rockchip/Makefile | 8 | ||||
| -rw-r--r-- | target/linux/rockchip/image/armv8.mk | 7 | ||||
| -rw-r--r-- | target/linux/rockchip/patches-6.6/130-rock-4se-add-led-aliases-and-stop-heartbeat.patch | 27 |
3 files changed, 42 insertions, 0 deletions
diff --git a/package/boot/uboot-rockchip/Makefile b/package/boot/uboot-rockchip/Makefile index 046982c847..7bb95d3b61 100644 --- a/package/boot/uboot-rockchip/Makefile +++ b/package/boot/uboot-rockchip/Makefile @@ -143,6 +143,13 @@ define U-Boot/rock-4c-plus-rk3399 radxa_rock-4c-plus endef +define U-Boot/rock-4se-rk3399 + $(U-Boot/rk3399/Default) + NAME:=ROCK 4SE + BUILD_DEVICES:= \ + radxa_rock-4se +endef + define U-Boot/rock-pi-4-rk3399 $(U-Boot/rk3399/Default) NAME:=Rock Pi 4 @@ -308,6 +315,7 @@ UBOOT_TARGETS := \ nanopc-t4-rk3399 \ nanopi-r4s-rk3399 \ rock-4c-plus-rk3399 \ + rock-4se-rk3399 \ rock-pi-4-rk3399 \ rockpro64-rk3399 \ rock-pi-s-rk3308 \ diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk index ed1eb3f5cd..204aba450d 100644 --- a/target/linux/rockchip/image/armv8.mk +++ b/target/linux/rockchip/image/armv8.mk @@ -190,6 +190,13 @@ define Device/radxa_rock-4c-plus endef TARGET_DEVICES += radxa_rock-4c-plus +define Device/radxa_rock-4se + DEVICE_VENDOR := Radxa + DEVICE_MODEL := ROCK 4SE + SOC := rk3399 +endef +TARGET_DEVICES += radxa_rock-4se + define Device/radxa_rock-5a DEVICE_VENDOR := Radxa DEVICE_MODEL := ROCK 5A diff --git a/target/linux/rockchip/patches-6.6/130-rock-4se-add-led-aliases-and-stop-heartbeat.patch b/target/linux/rockchip/patches-6.6/130-rock-4se-add-led-aliases-and-stop-heartbeat.patch new file mode 100644 index 0000000000..0f7a2d44a1 --- /dev/null +++ b/target/linux/rockchip/patches-6.6/130-rock-4se-add-led-aliases-and-stop-heartbeat.patch @@ -0,0 +1,27 @@ +--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi ++++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +@@ -14,6 +14,10 @@ + aliases { + mmc0 = &sdhci; + mmc1 = &sdmmc; ++ led-boot = &led_blue; ++ led-failsafe = &led_blue; ++ led-running = &led_blue; ++ led-upgrade = &led_blue; + }; + + chosen { +@@ -33,11 +37,11 @@ + pinctrl-0 = <&user_led2>; + + /* USER_LED2 */ +- led-0 { ++ led_blue: led-0 { + function = LED_FUNCTION_STATUS; + color = <LED_COLOR_ID_BLUE>; ++ default-state = "on"; + gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; +- linux,default-trigger = "heartbeat"; + }; + }; + |