Skip to contentSkip to conversation

Add support for Vicharak Vaaman board

PATCH Superseded Hrushiraj Gandhi 4 participants 6 messages Jul 18

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add support for Vicharak Vaaman board

This series adds initial support for the Vicharak Vaaman, an RK3399-based single-board computer.

Patch 1 documents the "vicharak,vaaman" compatible string in the Rockchip arm bindings.

Patch 2 adds the board devicetree, enabling the RK808 PMIC with SYR827/SYR828 CPU-big/GPU regulators, Mali GPU, Gigabit Ethernet, eMMC, microSD, SARADC/TSADC, and UART2 console.

The vendor prefix 'vicharak' was previously accepted via:
https://lkml.org/lkml/2026/6/24/929

Changes in v2:
- Fix fixed-regulator node naming to use 'regulator-[voltage]' prefix consistently throughout

Hrushiraj Gandhi (2):
dt-bindings: arm: rockchip: Add Vicharak Vaaman board
arm64: dts: rockchip: Add Vicharak Vaaman board

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3399-vicharak-vaaman.dts   | 438 ++++++++++++++++++
 3 files changed, 444 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts
Signature · 1 line
2.47.3
#1 lore raw

PATCH v2 1/2 dt-bindings: arm: rockchip: Add Vicharak Vaaman board

Document the compatible string for the Vicharak Vaaman, an RK3399-based single-board computer.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 1a9dde18626d..7cfd3687768c 100644
@@ -1306,6 +1306,11 @@ properties:
           - const: turing,rk1
           - const: rockchip,rk3588
 
+      - description: Vicharak Vaaman
+        items:
+          - const: vicharak,vaaman
+          - const: rockchip,rk3399
+
       - description: WolfVision PF5 mainboard
         items:
           - const: wolfvision,rk3568-pf5
Signature · 1 line
2.47.3
#2 lore raw

Re: [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Vicharak Vaaman board

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] The new vendor prefix 'vicharak' is not documented in vendor-prefixes.yaml. --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The new vendor prefix 'vicharak' is not documented in vendor-prefixes.yaml. --

--- Patch [1]: [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Vicharak Vaaman board --- commit 83c52c932b9201d9be9114ede15a03da032999a5
Author: Hrushiraj Gandhi <[email protected]>

dt-bindings: arm: rockchip: Add Vicharak Vaaman board

This commit documents the compatible string for the Vicharak Vaaman, an RK3399-based single-board computer, in the rockchip bindings.

Quoted 3 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +0 -0

[ ... ]

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

Quoted 8 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +4 -0
@@ -1306,6 +1306,11 @@ properties:
           - const: turing,rk1
           - const: rockchip,rk3588
 
+      - description: Vicharak Vaaman
+        items:
+          - const: vicharak,vaaman
+          - const: rockchip,rk3399

[Severity: Low]
Does the new vendor prefix vicharak need to be documented in vendor-prefixes.yaml?

When introducing a new vendor compatible string, the prefix must be registered in Documentation/devicetree/bindings/vendor-prefixes.yaml. Without this entry, schema validation tooling will report an error when make dt_binding_check is run.

Quoted 4 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +1 -0
+
       - description: WolfVision PF5 mainboard
         items:
           - const: wolfvision,rk3568-pf5
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Acked-by on v2 1/2
#3 lore raw

Re: [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Vicharak Vaaman board

In reply to Hrushiraj Gandhi
Quoted 7 lines · Hrushiraj Gandhi

Document the compatible string for the Vicharak Vaaman, an RK3399-based single-board computer.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Best regards,
Krzysztof

#4 lore raw

PATCH v2 2/2 arm64: dts: rockchip: Add Vicharak Vaaman board

In reply to Hrushiraj Gandhi

Add initial devicetree support for the Vicharak Vaaman, an RK3399-based single-board computer.

Supported peripherals:
- RK808 PMIC with core/logic/IO regulators
- SYR827/SYR828 (vdd_cpu_b/vdd_gpu) CPU-big and GPU regulators
- Mali GPU
- Gigabit Ethernet (RGMII, via &gmac)
- eMMC (HS400, enhanced strobe)
- microSD card slot
- SARADC and TSADC
- PWM-based vdd_log regulator
- UART2 serial console

---
Changes in v2:
- Fix fixed-regulator node naming to use 'regulator-[voltage]' prefix consistently throughout

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3399-vicharak-vaaman.dts   | 438 ++++++++++++++++++
 2 files changed, 439 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 761d82b4f4f2..e1b974502915 100644
@@ -90,6 +90,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64-screen.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-vicharak-vaaman.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-armsom-sige1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3528-nanopi-zero2.dtb
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +438 -0

438 lines not on this page · raw message

Signature · 1 line
2.47.3
#5 lore raw

Re: [PATCH v2 2/2] arm64: dts: rockchip: Add Vicharak Vaaman board

arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts line 116

Quoted 7 lines

+&gmac {

arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +6 -0
+	assigned-clocks = <&cru SCLK_RMII_SRC>;
+	assigned-clock-parents = <&clkin_gmac>;
+	clock_in_out = "input";
+	phy-supply = <&vcc3v3_lan>;
+	/* TX/RX delays tuned for the Vaaman board PCB trace lengths */
+	phy-mode = "rgmii";

Please could you read:

https://elixir.bootlin.com/linux/v6.15/source/Documentation/devicetree/bindings/net/ethernet-controller.yaml#L287

and then expand the comment to explain in detail what is going on here.

arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts line 125

Quoted 9 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +9 -0
+	pinctrl-names = "default";
+	pinctrl-0 = <&rgmii_pins>;
+	snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
+	snps,reset-active-low;
+	snps,reset-delays-us = <0 10000 50000>;
+	tx_delay = <0x28>;
+	rx_delay = <0x11>;
+	status = "okay";
+};

I don't see a phy-handle here?

Andrew