[PATCH 1/2] arm64: dts: rockchip: Add DTS for FriendlyARM NanoPi R2S Plus

Kever Yang kever.yang at rock-chips.com
Wed Nov 6 10:46:40 CET 2024


On 2024/11/2 06:21, Jonas Karlman wrote:
> From: Sergey Bostandzhyan <jin at mediatomb.cc>
>
> The R2S Plus is basically an R2S with additional eMMC.
>
> The eMMC configuration for the DTS has been extracted and copied from
> rk3328-nanopi-r2.dts, v2017.09 branch from the friendlyarm/uboot-rockchip
> repository.
>
> Signed-off-by: Sergey Bostandzhyan <jin at mediatomb.cc>
> Link: https://lore.kernel.org/r/20240814170048.23816-2-jin@mediatomb.cc
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
>
> [ upstream commit: b8c02878292200ebb5b4a8cfc9dbf227327908bd ]
>
> (cherry picked from commit c9bf98827964441f4dd16faa45bd4046f472e693)
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   .../arm64/rockchip/rk3328-nanopi-r2s-plus.dts | 32 +++++++++++++++++++
>   1 file changed, 32 insertions(+)
>   create mode 100644 dts/upstream/src/arm64/rockchip/rk3328-nanopi-r2s-plus.dts
>
> diff --git a/dts/upstream/src/arm64/rockchip/rk3328-nanopi-r2s-plus.dts b/dts/upstream/src/arm64/rockchip/rk3328-nanopi-r2s-plus.dts
> new file mode 100644
> index 000000000000..cb81ba3f23ff
> --- /dev/null
> +++ b/dts/upstream/src/arm64/rockchip/rk3328-nanopi-r2s-plus.dts
> @@ -0,0 +1,32 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * (C) Copyright 2018 FriendlyElec Computer Tech. Co., Ltd.
> + * (http://www.friendlyarm.com)
> + *
> + * (C) Copyright 2016 Rockchip Electronics Co., Ltd
> + */
> +
> +/dts-v1/;
> +#include "rk3328-nanopi-r2s.dts"
> +
> +/ {
> +	compatible = "friendlyarm,nanopi-r2s-plus", "rockchip,rk3328";
> +	model = "FriendlyElec NanoPi R2S Plus";
> +
> +	aliases {
> +		mmc1 = &emmc;
> +	};
> +};
> +
> +&emmc {
> +	bus-width = <8>;
> +	cap-mmc-highspeed;
> +	disable-wp;
> +	mmc-hs200-1_8v;
> +	non-removable;
> +	num-slots = <1>;
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
> +	supports-emmc;
> +	status = "okay";
> +};


More information about the U-Boot mailing list