Skip to contentSkip to conversation

dt-bindings: Add doc for Fastrhino R66S / R68S

PATCH Applied Tianling Shen 2 participants 4 messages May 6, 2023 – May 7, 2023

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

PATCH v2 1/3 dt-bindings: Add doc for Fastrhino R66S / R68S

Add devicetree binding documentation for the
Lunzn Fastrhino R66S and R68S boards.

---

Changes in v2:
* Collected Ack-by tag.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml    | 7 +++++++
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 2 files changed, 9 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +7 -0
index ec141c937b8b..b1d271778179 100644
@@ -562,6 +562,13 @@ properties:
           - const: leez,p710
           - const: rockchip,rk3399
 
+      - description: Lunzn FastRhino R66S / R68S
+        items:
+          - enum:
+              - lunzn,fastrhino-r66s
+              - lunzn,fastrhino-r68s
+          - const: rockchip,rk3568
+
       - description: mqmaker MiQi
         items:
           - const: mqmaker,miqi
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 82d39ab0231b..c3d426509e7e 100644
@@ -781,6 +781,8 @@ patternProperties:
     description: Nanjing Loongmasses Ltd.
   "^lsi,.*":
     description: LSI Corp. (LSI Logic)
+  "^lunzn,.*":
+    description: Shenzhen Lunzn Technology Co., Ltd.
   "^lwn,.*":
     description: Liebherr-Werk Nenzing GmbH
   "^lxa,.*":
Signature · 1 line
2.40.1
#1 lore raw

PATCH v2 2/3 arm64: dts: rockchip: Add Lunzn Fastrhino R66S

Lunzn Fastrhino R66S is a high-performance mini router.

Specification:
- Rockchip RK3568
- 1/2GB LPDDR4 RAM
- SD card slot
- 2x USB 3.0 Port
- 2x 2500 Base-T (PCIe, r8125b)
- 12v DC Jack

---

Changes in v2:
* Removed unused LED aliases and duplicate sdmmc node from shared dtsi.

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3568-fastrhino-r66s.dts    |  27 +
 .../dts/rockchip/rk3568-fastrhino-r66s.dtsi   | 485 ++++++++++++++++++
 3 files changed, 513 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 2d585bbb8f3a..15089a78555a 100644
@@ -85,6 +85,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb
 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-fastrhino-r66s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtb
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +27 -0
new file mode 100644
index 000000000000..fc9e1bdab128
@@ -0,0 +1,27 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "rk3568-fastrhino-r66s.dtsi"
+
+/ {
+	model = "Lunzn FastRhino R66S";
+	compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568";
+
+	aliases {
+		mmc0 = &sdmmc0;
+	};
+};
+
+&sdmmc0 {
+	max-frequency = <150000000>;
+	no-sdio;
+	no-mmc;
+	bus-width = <4>;
+	cap-mmc-highspeed;
+	cap-sd-highspeed;
+	disable-wp;
+	vmmc-supply = <&vcc3v3_sd>;
+	vqmmc-supply = <&vccio_sd>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
+	status = "okay";
+};
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi new file +485 -0

485 lines not on this page · raw message

Signature · 1 line
2.40.1
#2 lore raw

PATCH v2 3/3 arm64: dts: rockchip: Add Lunzn Fastrhino R68S

In reply to Tianling Shen

It's similar to Fastrhino R66S with the following changes:
+ 2/4GB LPDDR4 RAM
+ 2x 1000 Base-T (native, RTL8211f)
+ ADC button
+ 16GB eMMC on-board
- No SD card slot

---

Changes in v2:
* Fixed gmac pull type: pcfg_pull_down -> pcfg_pull_up

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3568-fastrhino-r68s.dts    | 112 ++++++++++++++++++
 2 files changed, 113 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 15089a78555a..1cf105d7407f 100644
@@ -86,6 +86,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-fastrhino-r66s.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r68s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtb
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.dts new file +112 -0

112 lines not on this page · raw message

Signature · 1 line
2.40.1
maintainer Applied
#3 lore raw
In reply to Tianling Shen
Quoted 4 lines · Tianling Shen

Add devicetree binding documentation for the
Lunzn Fastrhino R66S and R68S boards.

Applied, thanks!

[1/3] dt-bindings: Add doc for Fastrhino R66S / R68S

      commit: b985ca5261171e559f4d9754481b5f6c6e15ad93
[2/3] arm64: dts: rockchip: Add Lunzn Fastrhino R66S
      commit: ddb6cde1cf59eb57820a6c277b8b5cff45e68d68
[3/3] arm64: dts: rockchip: Add Lunzn Fastrhino R68S
      commit: 5a9447fd17668c34449052e4f77eebc7a98eccf3

[v6.5-armsoc/dts64 branch, will be rebased once more after 6.4-rc1,
resorted some properties to be more alphabetically sorted dropped one empty line at the end of the pmic node]

Best regards,

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