Add support for Vicharak Vaaman board
Subsystems (2)
v3 cover Add support for Vicharak Vaaman board
This series adds initial support for the Vicharak Vaaman, an RK3399-based single-board computer manufactured by Vicharak.
Patch 1 documents the "vicharak,vaaman" compatible string in the Rockchip arm bindings. It carries an Acked-by from Krzysztof Kozlowski.
Patch 2 adds the board devicetree, enabling the RK808 PMIC with SYR827/SYR828 CPU-big/GPU regulators, Mali GPU, Gigabit Ethernet (RGMII, RTL8211E PHY via a proper mdio subnode), eMMC, microSD, SARADC/TSADC, PWM-based vdd_log regulator, and UART2 serial console.
The vendor prefix 'vicharak' was previously accepted via:
https://lkml.org/lkml/2026/6/24/929
Changes in v3:
- Replace legacy snps,reset-gpio/snps,reset-active-low/snps,reset-delays-us properties on &gmac with a proper mdio subnode (snps,dwmac-mdio) holding
rtl8211e: ethernet-phy@1 with standard reset-gpios/reset-assert-us/ reset-deassert-us properties, as requested by the maintainer
- Add phy-handle = <&rtl8211e> to &gmac
- Add gmac pinctrl group with phy_rstb pin for the PHY reset GPIO
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 | 454 ++++++++++++++++++ 3 files changed, 460 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts
Signature · 1 line
2.47.3
PATCH v3 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
@@ -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
[email protected]
AI reviewRe: [PATCH v3 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 commit introduces a new compatible string 'vicharak,vaaman' but fails to document the…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The commit introduces a new compatible string 'vicharak,vaaman' but fails to document the 'vicharak' vendor prefix in vendor-prefixes.yaml, violating device tree binding requirements. --
--- Patch [1]: [PATCH v3 1/2] dt-bindings: arm: rockchip: Add Vicharak Vaaman board --- commit 002a19e13723e85ef3d5de1114afcf5868a4c28e
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.
Documentation/devicetree/bindings/arm/rockchip.yaml properties: · line 1311
Quoted 11 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +3
-0@@ -1306,6 +1306,11 @@ properties: - const: turing,rk1 - const: rockchip,rk3588 + - description: Vicharak Vaaman + items: + - const: vicharak,vaaman
[Severity: Low]
Does this new compatible string require an update to vendor-prefixes.yaml?
Since the "vicharak" vendor prefix is newly introduced here, running dt_binding_check will likely report a schema validation warning because "vicharak" is not documented in Documentation/devicetree/bindings/vendor-prefixes.yaml.
Should it be added there as well to ensure schema validation passes?
Quoted 4 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +2
-0+ - const: rockchip,rk3399 + - description: WolfVision PF5 mainboard items:
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
PATCH v3 2/2 arm64: dts: rockchip: Add Vicharak Vaaman board
In reply to Hrushiraj GandhiAdd 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, RTL8211E PHY via &gmac with mdio subnode)
- eMMC (HS400, enhanced strobe)
- microSD card slot
- SARADC and TSADC
- PWM-based vdd_log regulator
- UART2 serial console
---
Changes in v3:
- Replace legacy snps,reset-gpio/snps,reset-active-low/snps,reset-delays-us properties on &gmac with a proper mdio subnode (snps,dwmac-mdio) holding
rtl8211e: ethernet-phy@1 with standard reset-gpios/reset-assert-us/ reset-deassert-us properties, as requested by the maintainer
- Add phy-handle = <&rtl8211e> to &gmac
- Add gmac pinctrl group with phy_rstb pin for the PHY reset GPIO
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 | 454 ++++++++++++++++++ 2 files changed, 455 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -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 +454 -0
454 lines not on this page · raw message
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 2/2] arm64: dts: rockchip: Add Vicharak Vaaman board
Thank you for your contribution! Sashiko AI review found 5 potential issue(s) to consider: - [Medium] The SD card interface specifies `max-frequency = <150000000>;` without hardware capability to…
Thank you for your contribution! Sashiko AI review found 5 potential issue(s) to consider:
- [Medium] The SD card interface specifies max-frequency = <150000000>; without hardware capability to switch to 1.8V.
- [Medium] The phy-supply property is incorrectly placed in the MAC node instead of the PHY node.
- [Low] Mismatch between v2 changelog claims and implemented fixed regulator naming.
- [Low] Logically contradictory suspend states in PMIC regulators.
- [Low] Invalid pwm-supply property used in the PWM regulator vdd_log.
--
--- Patch [2]: [PATCH v3 2/2] arm64: dts: rockchip: Add Vicharak Vaaman board --- commit 2ba03c57ee758ea3f8ebf1be9be041bcd351ec42
Author: Hrushiraj Gandhi <[email protected]>
arm64: dts: rockchip: Add Vicharak Vaaman board
Add initial devicetree support for the Vicharak Vaaman, an RK3399-based single-board computer.
Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +0
-0
[ ... ]
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts line 67
Quoted 9 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +9
-0+ vcc5v0_sys: regulator-vcc-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + };
[Severity: Low]
This isn't a bug, but the v2 changelog claims fixed-regulator node names were updated to use a regulator-[voltage] prefix consistently. Does this node name intentionally omit the voltage?
[ ... ]
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts line 72
Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +4
-0+ vdd_log: regulator-vdd-log { + compatible = "pwm-regulator"; + pwms = <&pwm2 0 25000 1>; + pwm-supply = <&vcc5v0_sys>;
[Severity: Low]
Does the generic PWM regulator binding support pwm-supply? It seems the proper property for an input supply would be vin-supply or power-supply, which could cause the regulator core to ignore this supply dependency.
Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +2
-0+ regulator-name = "vdd_log"; + regulator-always-on;
[ ... ]
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts line 114
Quoted 5 lines
+&gmac {
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +4
-0+ assigned-clocks = <&cru SCLK_RMII_SRC>; + assigned-clock-parents = <&clkin_gmac>; + clock_in_out = "input"; + phy-supply = <&vcc3v3_lan>;
[Severity: Medium]
Should this phy-supply property be placed inside the child ethernet-phy node (rtl8211e) rather than the MAC node? Standard ethernet PHY bindings typically require the supply in the PHY node, which could prevent the PHY driver from finding its supply and managing its power state.
Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +2
-0+ phy-mode = "rgmii"; + phy-handle = <&rtl8211e>;
[ ... ]
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts line 183
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +10
-0+ vdd_center: DCDC_REG1 { + regulator-name = "vdd_center"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <900000>;
[Severity: Low]
Is it semantically valid to specify both regulator-off-in-suspend and a specific regulator-suspend-microvolt? Requesting a voltage during suspend while turning the regulator off seems contradictory.
Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +2
-0+ }; + };
[ ... ]
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts line 301
Quoted 9 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +9
-0+ vcca0v9_hdmi: LDO_REG7 { + regulator-name = "vcca0v9_hdmi"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <900000>;
[Severity: Low]
Similar to vdd_center, this specifies both regulator-off-in-suspend and a specific suspend voltage.
Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +2
-0+ }; + };
[ ... ]
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts line 438
Quoted 7 lines
+&sdmmc {
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +6
-0+ bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + disable-wp; + max-frequency = <150000000>;
[Severity: Medium]
Will this 150MHz (UHS-I) configuration cause SD card initialization to fail?
The SDIO supply (vcc_sdio) is fixed exactly at 3.0V without a vqmmc-supply provided, preventing the required switch to 1.8V for speeds above 50MHz:
vcc_sdio: LDO_REG4 {
...
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
...
};Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3399-vicharak-vaaman.dts new file +4
-0+ pinctrl-names = "default"; + pinctrl-0 = <&sdmmc_clk &sdmmc_cd &sdmmc_cmd &sdmmc_bus4>; + status = "okay"; +};
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Quoted 6 lines · Hrushiraj Gandhi
This series adds initial support for the Vicharak Vaaman, an RK3399-based single-board computer manufactured by Vicharak.
Patch 1 documents the "vicharak,vaaman" compatible string in the Rockchip arm bindings. It carries an Acked-by from Krzysztof Kozlowski.
Quoted 6 lines
Patch 2 adds the board devicetree, enabling the RK808 PMIC with SYR827/SYR828 CPU-big/GPU regulators, Mali GPU, Gigabit Ethernet (RGMII, RTL8211E PHY via a proper mdio subnode), eMMC, microSD, SARADC/TSADC, PWM-based
vdd_logregulator, and UART2 serial console.[...]
Applied, thanks!
[1/2] dt-bindings: arm: rockchip: Add Vicharak Vaaman board
commit: 50208eafca2b1187079c0c5c54e5cf804c0ce0d1
[2/2] arm64: dts: rockchip: Add Vicharak Vaaman board
commit: c0fe7b7226942eb4e405d3dd08671510510463f1Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>