Skip to contentSkip to conversation

dt-bindings: Add doc for FriendlyARM NanoPi R5S

PATCH Applied Vasily Khoruzhick 3 participants 7 messages Mar 8, 2023 – Mar 15, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: Add doc for FriendlyARM NanoPi R5S

Add devicetree binding documentation for the FriendlyARM NanoPi R5S.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 35f74eda30ae..0813ad22dc76 100644
@@ -201,6 +201,11 @@ properties:
               - friendlyarm,nanopi-r4s-enterprise
           - const: rockchip,rk3399
 
+      - description: FriendlyElec NanoPi R5S board
+        items:
+          - const: friendlyarm,nanopi-r5s
+          - const: rockchip,rk3568
+
       - description: GeekBuying GeekBox
         items:
           - const: geekbuying,geekbox
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/2 arm64: dts: rockchip: rk3568: Add FriednlyElec Nanopi R5S

FriendlyElec Nanopi R5S is an open-sourced mini IoT gateway device.

Board Specifications
- Rockchip RK3568
- 2 or 4GB LPDDR4X
- 8GB or 16GB eMMC, SD card slot
- GbE LAN (Native)
- 2x 2.5G LAN (PCIe)
- M.2 Connector
- HDMI 2.0, MIPI DSI/CSI
- 2xUSB 3.0 Host
- USB Type C PD, 5V/9V/12V
- GPIO: 12-pin 0.5mm FPC connector

Based on Tianling Shen's <[email protected]> work.

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3568-nanopi-r5s.dts   | 713 ++++++++++++++++++
 2 files changed, 714 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 99a44c400d6a..5c4a38546b4b 100644
@@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-odroid-m1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-radxa-e25.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3a.dtb
arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts new file +713 -0

713 lines not on this page · raw message

Signature · 1 line
2.39.2
#2 lore raw
In reply to Vasily Khoruzhick
Quoted 12 lines · Vasily Khoruzhick

Add devicetree binding documentation for the FriendlyARM NanoPi R5S.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +0 -0
index 35f74eda30ae..0813ad22dc76 100644

Documentation/devicetree/bindings/arm/rockchip.yaml properties: · line 205

Quoted 5 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +2 -0
@@ -201,6 +201,11 @@ properties:
               - friendlyarm,nanopi-r4s-enterprise
           - const: rockchip,rk3399
 
+      - description: FriendlyElec NanoPi R5S board
+

Does not look like ordered alphabetically. Are you sure this is correct place for it?

Best regards,
Krzysztof

#3 lore raw
Quoted 8 lines · Krzysztof Kozlowski
Quoted 8 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +0 -0
index 35f74eda30ae..0813ad22dc76 100644
@@ -201,6 +201,11 @@ properties:
               - friendlyarm,nanopi-r4s-enterprise
           - const: rockchip,rk3399
 
Quoted 5 lines

Documentation/devicetree/bindings/arm/rockchip.yaml properties: · line 208

Quoted 2 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +2 -0
+      - description: FriendlyElec NanoPi R5S board
+

Does not look like ordered alphabetically. Are you sure this is correct place for it?

Hmm, strictly speaking, "FriendlyElec NanoPi R5S board" should go in between of "FriendlyElec NanoPi R2S" and "FriendlyElec NanoPi4 series boards" if we want it in alphabetical order, not after "FriendlyElec NanoPi4 series boards" like in this patch. But it doesn't look nice (because R5S will go before R4S).

There is already similar ordering (alphabetical/chronological for model) for Radxa Rock Pi - "Radxa ROCK Pi S", "Radxa Rock2 Square", "Radxa ROCK3 Model A", "Radxa ROCK 5 Model A".

However if you want me to sort it strictly alphabetically, I can send a v2.

Regards,
Vasily

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

maintainer
#4 lore raw

Am Mittwoch, 8. März 2023, 17:09:20 CET schrieb Vasily Khoruzhick:

Quoted 22 lines
Quoted 8 lines · Krzysztof Kozlowski
Quoted 8 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +0 -0
index 35f74eda30ae..0813ad22dc76 100644
@@ -201,6 +201,11 @@ properties:
               - friendlyarm,nanopi-r4s-enterprise
           - const: rockchip,rk3399
 
Quoted 5 lines

Documentation/devicetree/bindings/arm/rockchip.yaml properties: · line 208

Quoted 2 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +2 -0
+      - description: FriendlyElec NanoPi R5S board
+

Does not look like ordered alphabetically. Are you sure this is correct place for it?

Hmm, strictly speaking, "FriendlyElec NanoPi R5S board" should go in between of "FriendlyElec NanoPi R2S" and "FriendlyElec NanoPi4 series boards" if we want it in alphabetical order, not after "FriendlyElec NanoPi4 series boards" like in this patch. But it doesn't look nice (because R5S will go before R4S).

Quoted 5 lines

There is already similar ordering (alphabetical/chronological for model) for Radxa Rock Pi - "Radxa ROCK Pi S", "Radxa Rock2 Square", "Radxa ROCK3 Model A", "Radxa ROCK 5 Model A".

However if you want me to sort it strictly alphabetically, I can send a v2.

TL;DR: I think the entry is "just right" where it currently is :-)

- FriendlyElec NanoPi R2S
-> would become "FriendlyElec NanoPi2 series boards", _if_ there
will ever be some others
- FriendlyElec NanoPi R4S is included in the "FriendlyElec NanoPi4 series boards"

and similarly the "FriendlyElec NanoPi R5S board" would become
"FriendlyElec NanoPi5 boards"
once they release more variants.
[Though we could get rid of the "board" in the current entry]

And judging by the amound of devices Pine64 did on the rk3568-base, I guess it's fairly likely that FriendlyArm will release more in the future as well, so the current position seems fitting.

Heiko

#5 lore raw
In reply to Vasily Khoruzhick
Quoted 22 lines · Vasily Khoruzhick
Quoted 8 lines · Krzysztof Kozlowski
Quoted 8 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +0 -0
index 35f74eda30ae..0813ad22dc76 100644
@@ -201,6 +201,11 @@ properties:
               - friendlyarm,nanopi-r4s-enterprise
           - const: rockchip,rk3399
 
Quoted 5 lines

Documentation/devicetree/bindings/arm/rockchip.yaml properties: · line 208

Quoted 2 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +2 -0
+      - description: FriendlyElec NanoPi R5S board
+

Does not look like ordered alphabetically. Are you sure this is correct place for it?

Hmm, strictly speaking, "FriendlyElec NanoPi R5S board" should go in between of "FriendlyElec NanoPi R2S" and "FriendlyElec NanoPi4 series boards" if we want it in alphabetical order, not after "FriendlyElec NanoPi4 series boards" like in this patch. But it doesn't look nice (because R5S will go before R4S).

Quoted 5 lines

There is already similar ordering (alphabetical/chronological for model) for Radxa Rock Pi - "Radxa ROCK Pi S", "Radxa Rock2 Square", "Radxa ROCK3 Model A", "Radxa ROCK 5 Model A".

However if you want me to sort it strictly alphabetically, I can send a v2.

No, it's fine, I also got a bit mislead by R2S (I thought it is RS2).

Best regards,
Krzysztof

maintainer Applied
#6 lore raw
In reply to Vasily Khoruzhick
Quoted 3 lines · Vasily Khoruzhick

Add devicetree binding documentation for the FriendlyARM NanoPi R5S.

Applied, thanks!

[1/2] dt-bindings: Add doc for FriendlyARM NanoPi R5S

      commit: fd7370159c36b925c842ae1c2400d4729451ec82
[2/2] arm64: dts: rockchip: rk3568: Add FriednlyElec Nanopi R5S
      commit: c6629b9a6738a64507478527da6c7b83c10a6d2c

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>