From: Tianling Shen <cnsztl@gmail.com>
To: Jonas Karlman <jonas@kwiboo.se>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
Chris Morgan <macromorgan@hotmail.com>,
Andy Yan <andyshrk@163.com>, Jagan Teki <jagan@edgeble.ai>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board
Date: Wed, 23 Oct 2024 02:18:29 +0800 [thread overview]
Message-ID: <20241022181829.897547-1-cnsztl@gmail.com> (raw)
In-Reply-To: <c2a4e8a8-9466-41c4-83b3-57210fdf5a5c@kwiboo.se>
Hi Jonas,
On Wed, Oct 23, 2024 at 1:56 AM Jonas Karlman <jonas@kwiboo.se> wrote:
>
> Hi Tianling,
>
> On 2024-10-22 19:38, Tianling Shen wrote:
> > Hi Jonas,
> >
> > On Wed, Oct 23, 2024 at 12:49 AM Jonas Karlman <jonas@kwiboo.se> wrote:
> >>
> >> Hi Tianling,
> >>
> >> On 2024-10-20 19:39, Tianling Shen wrote:
> >>> The NanoPi R3S(as "R3S") is an open source platform with dual-Gbps
> >>> Ethernet ports designed and developed by FriendlyElec for IoT
> >>> applications.
> >>>
> >>> Specification:
> >>> - Rockchip RK3566
> >>> - 2GB LPDDR4X RAM
> >>> - optional 32GB eMMC module
> >>> - SD card slot
> >>> - 2x 1000 Base-T
> >>> - 3x LEDs (POWER, LAN, WAN)
> >>> - 2x Buttons (Reset, MaskROM)
> >>> - 1x USB 3.0 Port
> >>> - Type-C 5V 2A Power
> >>>
> >>> Signed-off-by: Tianling Shen <cnsztl@gmail.com>
> >>> ---
> >>>  arch/arm64/boot/dts/rockchip/Makefile     |  1 +
> >>>  .../boot/dts/rockchip/rk3566-nanopi-r3s.dts  | 554 ++++++++++++++++++
> >>> Â 2 files changed, 555 insertions(+)
> >>> Â create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> >>>
> >>> diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
> >>> index 8e1025cb5d20..e641033d23d1 100644
> >>> --- a/arch/arm64/boot/dts/rockchip/Makefile
> >>> +++ b/arch/arm64/boot/dts/rockchip/Makefile
> >>> @@ -109,6 +109,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-model-a.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lckfb-tspi.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb
> >>> +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-nanopi-r3s.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb
> >>> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> >>> new file mode 100644
> >>> index 000000000000..951dd9bcb4b0
> >>> --- /dev/null
> >>> +++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> >>> @@ -0,0 +1,554 @@
> >>> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
> >>> +/*
> >>> + * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
> >>> + *
> >>> + * Copyright (c) 2024 FriendlyElec Computer Tech. Co., Ltd.
> >>> + * (http://www.friendlyarm.com/
>
> This could probably be updated to use https://www.friendlyelec.com/
Yes!
>
> >>> + *
> >>> + * Copyright (c) 2024 Tianling Shen <cnsztl@gmail.com>
> >>> + */
> >>> +
> >>> +/dts-v1/;
> >>> +#include <dt-bindings/gpio/gpio.h>
> >>> +#include <dt-bindings/input/input.h>
> >>> +#include <dt-bindings/leds/common.h>
> >>> +#include <dt-bindings/pinctrl/rockchip.h>
> >>> +#include <dt-bindings/soc/rockchip,vop2.h>
> >>> +#include "rk3566.dtsi"
> >>> +
> >>> +/ {
> >>> + Â Â model = "FriendlyARM NanoPi R3S";
> >>
> >> Please use the marketing name, and the name added in binding:
> >>
> >> Â Â FriendlyElec NanoPi R3S
> >
> > Sorry for the copy & paste error, will fix it in new patch.
>
> The commit subject could probably also be updated :-)
>
> >
> >>
> >>> + Â Â compatible = "friendlyarm,nanopi-r3s", "rockchip,rk3566";
> >>> +
> >>> + Â Â aliases {
> >>> + Â Â Â Â Â Â ethernet0 = &gmac1;
> >>> + Â Â Â Â Â Â mmc0 = &sdmmc0;
> >>> + Â Â Â Â Â Â mmc1 = &sdhci;
> >>
> >> This board comes with on-board eMMC this please use mmc0 as alias for
> >> &sdhci; and mmc1 for sd-card.
> >
> > Is using mmc0 for sdhci a common practice for eMMC boards?
> > The eMMC module on R3S is optional and users may get boards without it.
>
> Typically any non-removable storage (emmc) is listed before removable
> storage (sd-card) options. Also U-Boot will try to override and use
> mmc0=sdhci and mmc1=sdmmc0 for all rk356x boards, so for EFI booing
> using control FDT the alias may be different.
>
Thank you for the details! May I have your Suggested-by tag for all
of these fixes?
Thanks,
Tianling.
> Regards,
> Jonas
>
> [snip]
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
WARNING: multiple messages have this Message-ID (diff)
From: Tianling Shen <cnsztl@gmail.com>
To: Jonas Karlman <jonas@kwiboo.se>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
Chris Morgan <macromorgan@hotmail.com>,
Andy Yan <andyshrk@163.com>, Jagan Teki <jagan@edgeble.ai>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board
Date: Wed, 23 Oct 2024 02:18:29 +0800 [thread overview]
Message-ID: <20241022181829.897547-1-cnsztl@gmail.com> (raw)
In-Reply-To: <c2a4e8a8-9466-41c4-83b3-57210fdf5a5c@kwiboo.se>
Hi Jonas,
On Wed, Oct 23, 2024 at 1:56 AM Jonas Karlman <jonas@kwiboo.se> wrote:
>
> Hi Tianling,
>
> On 2024-10-22 19:38, Tianling Shen wrote:
> > Hi Jonas,
> >
> > On Wed, Oct 23, 2024 at 12:49 AM Jonas Karlman <jonas@kwiboo.se> wrote:
> >>
> >> Hi Tianling,
> >>
> >> On 2024-10-20 19:39, Tianling Shen wrote:
> >>> The NanoPi R3S(as "R3S") is an open source platform with dual-Gbps
> >>> Ethernet ports designed and developed by FriendlyElec for IoT
> >>> applications.
> >>>
> >>> Specification:
> >>> - Rockchip RK3566
> >>> - 2GB LPDDR4X RAM
> >>> - optional 32GB eMMC module
> >>> - SD card slot
> >>> - 2x 1000 Base-T
> >>> - 3x LEDs (POWER, LAN, WAN)
> >>> - 2x Buttons (Reset, MaskROM)
> >>> - 1x USB 3.0 Port
> >>> - Type-C 5V 2A Power
> >>>
> >>> Signed-off-by: Tianling Shen <cnsztl@gmail.com>
> >>> ---
> >>>  arch/arm64/boot/dts/rockchip/Makefile     |  1 +
> >>>  .../boot/dts/rockchip/rk3566-nanopi-r3s.dts  | 554 ++++++++++++++++++
> >>> Â 2 files changed, 555 insertions(+)
> >>> Â create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> >>>
> >>> diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
> >>> index 8e1025cb5d20..e641033d23d1 100644
> >>> --- a/arch/arm64/boot/dts/rockchip/Makefile
> >>> +++ b/arch/arm64/boot/dts/rockchip/Makefile
> >>> @@ -109,6 +109,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-model-a.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lckfb-tspi.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb
> >>> +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-nanopi-r3s.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
> >>> Â dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb
> >>> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> >>> new file mode 100644
> >>> index 000000000000..951dd9bcb4b0
> >>> --- /dev/null
> >>> +++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> >>> @@ -0,0 +1,554 @@
> >>> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
> >>> +/*
> >>> + * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
> >>> + *
> >>> + * Copyright (c) 2024 FriendlyElec Computer Tech. Co., Ltd.
> >>> + * (http://www.friendlyarm.com/
>
> This could probably be updated to use https://www.friendlyelec.com/
Yes!
>
> >>> + *
> >>> + * Copyright (c) 2024 Tianling Shen <cnsztl@gmail.com>
> >>> + */
> >>> +
> >>> +/dts-v1/;
> >>> +#include <dt-bindings/gpio/gpio.h>
> >>> +#include <dt-bindings/input/input.h>
> >>> +#include <dt-bindings/leds/common.h>
> >>> +#include <dt-bindings/pinctrl/rockchip.h>
> >>> +#include <dt-bindings/soc/rockchip,vop2.h>
> >>> +#include "rk3566.dtsi"
> >>> +
> >>> +/ {
> >>> + Â Â model = "FriendlyARM NanoPi R3S";
> >>
> >> Please use the marketing name, and the name added in binding:
> >>
> >> Â Â FriendlyElec NanoPi R3S
> >
> > Sorry for the copy & paste error, will fix it in new patch.
>
> The commit subject could probably also be updated :-)
>
> >
> >>
> >>> + Â Â compatible = "friendlyarm,nanopi-r3s", "rockchip,rk3566";
> >>> +
> >>> + Â Â aliases {
> >>> + Â Â Â Â Â Â ethernet0 = &gmac1;
> >>> + Â Â Â Â Â Â mmc0 = &sdmmc0;
> >>> + Â Â Â Â Â Â mmc1 = &sdhci;
> >>
> >> This board comes with on-board eMMC this please use mmc0 as alias for
> >> &sdhci; and mmc1 for sd-card.
> >
> > Is using mmc0 for sdhci a common practice for eMMC boards?
> > The eMMC module on R3S is optional and users may get boards without it.
>
> Typically any non-removable storage (emmc) is listed before removable
> storage (sd-card) options. Also U-Boot will try to override and use
> mmc0=sdhci and mmc1=sdmmc0 for all rk356x boards, so for EFI booing
> using control FDT the alias may be different.
>
Thank you for the details! May I have your Suggested-by tag for all
of these fixes?
Thanks,
Tianling.
> Regards,
> Jonas
>
> [snip]
next prev parent reply other threads:[~2024-10-22 18:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-20 17:39 [PATCH 1/2] dt-bindings: arm: rockchip: Add FriendlyARM NanoPi R3S Tianling Shen
2024-10-20 17:39 ` Tianling Shen
2024-10-20 17:39 ` [PATCH 2/2] arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board Tianling Shen
2024-10-20 17:39 ` Tianling Shen
2024-10-22 16:49 ` Jonas Karlman
2024-10-22 16:49 ` Jonas Karlman
2024-10-22 17:38 ` Tianling Shen
2024-10-22 17:38 ` Tianling Shen
2024-10-22 17:56 ` Jonas Karlman
2024-10-22 17:56 ` Jonas Karlman
2024-10-22 18:18 ` Tianling Shen [this message]
2024-10-22 18:18 ` Tianling Shen
2024-10-22 18:43 ` Jonas Karlman
2024-10-22 18:43 ` Jonas Karlman
2024-10-21 11:47 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add FriendlyARM NanoPi R3S Conor Dooley
2024-10-21 11:47 ` Conor Dooley
2024-10-22 14:12 ` Heiko Stuebner
2024-10-22 14:12 ` Heiko Stuebner
2024-10-22 17:07 ` Jonas Karlman
2024-10-22 17:07 ` Jonas Karlman
2024-10-22 20:34 ` Heiko Stübner
2024-10-22 20:34 ` Heiko Stübner
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=20241022181829.897547-1-cnsztl@gmail.com \
--to=cnsztl@gmail.com \
--cc=andyshrk@163.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=jagan@edgeble.ai \
--cc=jonas@kwiboo.se \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=macromorgan@hotmail.com \
--cc=robh@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.