U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: FUKAUMI Naoki <naoki@radxa.com>
To: u-boot@lists.denx.de
Cc: sjg@chromium.org, philipp.tomsich@vrull.eu,
	kever.yang@rock-chips.com, trini@konsulko.com, jonas@kwiboo.se,
	heiko@sntech.de, christopher.obbard@linaro.org, cnsztl@gmail.com,
	xuhui.lin@rock-chips.com, FUKAUMI Naoki <naoki@radxa.com>
Subject: [PATCH] rockchip: Add support for Radxa E52C
Date: Sat, 10 Jan 2026 01:15:05 +0000	[thread overview]
Message-ID: <20260110011505.36915-1-naoki@radxa.com> (raw)

The Radxa E52C is a compact network computer developed by Radxa, based
on the Rockchip RK3582 SoC. [1]

Specification:
- Dual Cortex-A76 and Quad Cortex-A55 cores
- 5TOPS NPU
- Up to 8GB LPDDR4x RAM
- Up to 64GB eMMC
- microSD card slot
- USB 3.0 Type-A OTG port
- USB Type-C debug port (USB-UART)
- USB Type-C power port (5V)
- 2x Gigabit Ethernet ports
- Maskrom and User buttons
- Aluminum alloy case

[1] https://dl.radxa.com/e/e52c/radxa_e52c_product_brief.pdf

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
This patch depends on
 https://patchwork.ozlabs.org/project/uboot/patch/20260107230747.3552391-2-jonas@kwiboo.se/
---
 arch/arm/dts/rk3582-radxa-e52c-u-boot.dtsi | 24 +++++++
 configs/radxa-e52c-rk3582_defconfig        | 77 ++++++++++++++++++++++
 doc/board/rockchip/rockchip.rst            |  1 +
 3 files changed, 102 insertions(+)
 create mode 100644 arch/arm/dts/rk3582-radxa-e52c-u-boot.dtsi
 create mode 100644 configs/radxa-e52c-rk3582_defconfig

diff --git a/arch/arm/dts/rk3582-radxa-e52c-u-boot.dtsi b/arch/arm/dts/rk3582-radxa-e52c-u-boot.dtsi
new file mode 100644
index 00000000000..dd65cdd250f
--- /dev/null
+++ b/arch/arm/dts/rk3582-radxa-e52c-u-boot.dtsi
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2026 Radxa Computer (Shenzhen) Co., Ltd.
+ */
+
+#include "rk3588s-u-boot.dtsi"
+
+/ {
+	leds-0 {
+		led-1 {
+			default-state = "on";
+			gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_LOW>;
+		};
+
+		led-2 {
+			default-state = "on";
+			gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;
+		};
+	};
+};
+
+&sdhci {
+	mmc-hs200-1_8v;
+};
diff --git a/configs/radxa-e52c-rk3582_defconfig b/configs/radxa-e52c-rk3582_defconfig
new file mode 100644
index 00000000000..5c1056867f2
--- /dev/null
+++ b/configs/radxa-e52c-rk3582_defconfig
@@ -0,0 +1,77 @@
+CONFIG_ARM=y
+CONFIG_SKIP_LOWLEVEL_INIT=y
+CONFIG_SYS_HAS_NONCACHED_MEMORY=y
+CONFIG_COUNTER_FREQUENCY=24000000
+CONFIG_ARCH_ROCKCHIP=y
+CONFIG_DEFAULT_DEVICE_TREE="rockchip/rk3582-radxa-e52c"
+CONFIG_ROCKCHIP_RK3588=y
+CONFIG_SPL_SERIAL=y
+CONFIG_TARGET_EVB_RK3588=y
+CONFIG_SYS_LOAD_ADDR=0xc00800
+CONFIG_DEBUG_UART_BASE=0xFEB50000
+CONFIG_DEBUG_UART_CLOCK=24000000
+CONFIG_PCI=y
+CONFIG_DEBUG_UART=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_SPL_FIT_SIGNATURE=y
+CONFIG_SPL_LOAD_FIT=y
+CONFIG_LEGACY_IMAGE_FORMAT=y
+CONFIG_OF_SYSTEM_SETUP=y
+CONFIG_DEFAULT_FDT_FILE="rockchip/rk3582-radxa-e52c.dtb"
+# CONFIG_DISPLAY_CPUINFO is not set
+CONFIG_SPL_MAX_SIZE=0x40000
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
+CONFIG_SPL_ATF=y
+CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_MEMINFO_MAP=y
+CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
+CONFIG_CMD_MISC=y
+CONFIG_CMD_MMC=y
+CONFIG_CMD_PCI=y
+CONFIG_CMD_USB=y
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_RNG=y
+# CONFIG_SPL_DOS_PARTITION is not set
+CONFIG_SPL_OF_CONTROL=y
+CONFIG_OF_LIVE=y
+CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
+CONFIG_ENV_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_SPL_REGMAP=y
+CONFIG_SPL_SYSCON=y
+# CONFIG_ADC is not set
+CONFIG_SPL_CLK=y
+CONFIG_ROCKCHIP_GPIO=y
+CONFIG_LED=y
+CONFIG_LED_GPIO=y
+CONFIG_MISC=y
+CONFIG_SUPPORT_EMMC_RPMB=y
+CONFIG_MMC_DW=y
+CONFIG_MMC_DW_ROCKCHIP=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_SDMA=y
+CONFIG_MMC_SDHCI_ROCKCHIP=y
+CONFIG_PHYLIB=y
+CONFIG_RTL8169=y
+CONFIG_PCIE_DW_ROCKCHIP=y
+CONFIG_PHY_ROCKCHIP_INNO_USB2=y
+CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y
+CONFIG_PHY_ROCKCHIP_USBDP=y
+CONFIG_SPL_PINCTRL=y
+CONFIG_DM_PMIC=y
+CONFIG_PMIC_RK8XX=y
+CONFIG_REGULATOR_RK8XX=y
+CONFIG_SPL_RAM=y
+CONFIG_BAUDRATE=1500000
+CONFIG_DEBUG_UART_SHIFT=2
+CONFIG_SYS_NS16550_MEM32=y
+CONFIG_ROCKCHIP_SPI=y
+CONFIG_SYSRESET=y
+CONFIG_SYSRESET_PSCI=y
+CONFIG_USB=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_DWC3=y
+CONFIG_USB_DWC3_GENERIC=y
+CONFIG_ERRNO_STR=y
diff --git a/doc/board/rockchip/rockchip.rst b/doc/board/rockchip/rockchip.rst
index 7a8532b49fc..2fd7d687d2e 100644
--- a/doc/board/rockchip/rockchip.rst
+++ b/doc/board/rockchip/rockchip.rst
@@ -160,6 +160,7 @@ List of mainline supported Rockchip boards:
      - Khadas Edge2 (khadas-edge2-rk3588s)
      - MNT Reform2 (mnt-reform2-rk3588)
      - Pine64 QuartzPro64 (quartzpro64-rk3588)
+     - Radxa E52C (radxa-e52c-rk3582)
      - Radxa ROCK 5 ITX (rock-5-itx-rk3588)
      - Radxa ROCK 5A (rock5a-rk3588s)
      - Radxa ROCK 5B/5B+/5T (rock5b-rk3588)
-- 
2.43.0


             reply	other threads:[~2026-01-10  1:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-10  1:15 FUKAUMI Naoki [this message]
2026-01-10  2:06 ` [PATCH] rockchip: Add support for Radxa E52C Christopher Obbard
2026-01-10  2:12 ` FUKAUMI Naoki
2026-01-10 20:34 ` Jonas Karlman
2026-03-09  3:10 ` Kever Yang
2026-07-10  9:46 ` Quentin Schulz
2026-07-13  3:51   ` FUKAUMI Naok

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260110011505.36915-1-naoki@radxa.com \
    --to=naoki@radxa.com \
    --cc=christopher.obbard@linaro.org \
    --cc=cnsztl@gmail.com \
    --cc=heiko@sntech.de \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xuhui.lin@rock-chips.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox