Hi,

On 10/12/2026 8:55 AM, 安容 via B4 Relay wrote:
> From: 安容 <[email protected]>
> 
> The FriendlyElec NanoPi R28S is a dual gigabit Ethernet router board
> based on the Rockchip RK3528 SoC. It shares most of its design with the
> NanoPi Zero2.
> 
> Specifications:
> - SoC: Rockchip RK3528, quad-core Cortex-A53 @ 2.0 GHz
> - RAM: 1 GB LPDDR4
> - Storage: microSD slot, optional onboard eMMC
> - Ethernet: 1x GbE (GMAC1 + Realtek RTL8211F),
>             1x GbE (Realtek RTL8111H over PCIe)
> - WiFi: AICSemi AIC8800D80 over SDIO
> - USB: 1x USB 2.0 Type-C (power input and OTG)
> - UART: USB Type-C debug console (onboard WCH CH340E), 1500000 8N1
> - Buttons: user (GPIO), MaskROM (SARADC)
> 
> Add support for the board based on the NanoPi Zero2, and enable
> CONFIG_BUTTON_GPIO for the user button.

The board variant of NanoPi RK3528 family can be identified using SARADC
channel 2 (HW_ID in schematics). This means that we can combine Zero2,
R28S and NEO3 Plus in a single U-Boot target.

Please feel free to pick any part from NanoPi R3528 commit at [1] to
avoid having to add a new target. With something like that we can use
a single defconfig target and SPL will select correct FDT depending on
what board variant SPL is running on.

[1] 
https://git.u-boot-project.org/u-boot/contributors/kwiboo/u-boot/-/commits/rk3562/board/friendlyelec/nanopi-rk3528

> 
> Features tested on NanoPi R28S:
> - SD-card boot
> - Ethernet
> 
> Signed-off-by: 安容 <[email protected]>
> ---
>  arch/arm/dts/rk3528-nanopi-r28s-u-boot.dtsi |  3 ++
>  arch/arm/mach-rockchip/rk3528/MAINTAINERS   |  6 +++
>  configs/nanopi-r28s-rk3528_defconfig        | 65 
> +++++++++++++++++++++++++++++
>  doc/board/rockchip/rockchip.rst             |  1 +
>  4 files changed, 75 insertions(+)
> 
> diff --git a/arch/arm/dts/rk3528-nanopi-r28s-u-boot.dtsi 
> b/arch/arm/dts/rk3528-nanopi-r28s-u-boot.dtsi
> new file mode 100644
> index 00000000000..151f1872fed
> --- /dev/null
> +++ b/arch/arm/dts/rk3528-nanopi-r28s-u-boot.dtsi
> @@ -0,0 +1,3 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +#include "rk3528-nanopi-u-boot.dtsi"
> diff --git a/arch/arm/mach-rockchip/rk3528/MAINTAINERS 
> b/arch/arm/mach-rockchip/rk3528/MAINTAINERS
> index d1810fb0528..78e0bfb2701 100644
> --- a/arch/arm/mach-rockchip/rk3528/MAINTAINERS
> +++ b/arch/arm/mach-rockchip/rk3528/MAINTAINERS
> @@ -10,6 +10,12 @@ S: Maintained
>  F:   arch/arm/dts/rk3528-hinlink-h28k*
>  F:   configs/hinlink-h28k-rk3528_defconfig
>  
> +NANOPI-R28S-RK3528
> +M:   安容 <[email protected]>

I have this board, feel free to add me as a reviewer:

  R:    Jonas Karlman <[email protected]>

Regards,
Jonas

> +S:   Maintained
> +F:   arch/arm/dts/rk3528-nanopi-r28s*
> +F:   configs/nanopi-r28s-rk3528_defconfig
> +
>  NANOPI-ZERO2-RK3528
>  M:   Jonas Karlman <[email protected]>
>  S:   Maintained
> diff --git a/configs/nanopi-r28s-rk3528_defconfig 
> b/configs/nanopi-r28s-rk3528_defconfig
> new file mode 100644
> index 00000000000..f24bf2c65f2
> --- /dev/null
> +++ b/configs/nanopi-r28s-rk3528_defconfig

[snip]

> diff --git a/doc/board/rockchip/rockchip.rst b/doc/board/rockchip/rockchip.rst
> index 1f4e58c8be2..faca4fc425a 100644
> --- a/doc/board/rockchip/rockchip.rst
> +++ b/doc/board/rockchip/rockchip.rst
> @@ -103,6 +103,7 @@ List of mainline supported Rockchip boards:
>  
>  * rk3528
>       - ArmSoM Sige1 (sige1-rk3528)
> +     - FriendlyElec NanoPi R28S (nanopi-r28s-rk3528)
>       - FriendlyElec NanoPi Zero2 (nanopi-zero2-rk3528)
>       - Generic RK3528 (generic-rk3528)
>       - HINLINK H28K (hinlink-h28k-rk3528)
> 

Reply via email to