Skip to contentSkip to conversation

arm64: dts: rockchip: add Vicharak Axon board support

PATCH Superseded Hrushiraj Gandhi 2 participants 5 messages Jun 1

Subsystems (2)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

v4 cover arm64: dts: rockchip: add Vicharak Axon board support

This series adds initial device tree support for the Vicharak Axon single-board computer, which is based on the Rockchip RK3588 SoC.

The Vicharak Axon is a feature-rich SBC targeting developer and embedded use cases. It ships with:

- Rockchip RK3588 (4x Cortex-A76 + 4x Cortex-A55)
- RK806 PMIC providing all SoC power domains
- eMMC 5.1 (on-board) and microSD slot
- Gigabit Ethernet via RGMII (RTL8211F)
- Dual HDMI 2.1 output and one HDMI 2.0 input (receiver)
- PCIe 3.0 x4 and two PCIe 2.0 slots
- SATA 3.0
- USB 2.0 host ports (EHCI/OHCI)
- NXP PCA9554 I/O expander for status LEDs
- Haoyu HYM8563 RTC

Changes since v3:
- Completely removed sdio_pwrseq and wireless-wlan pinctrl nodes as Wi-Fi/SDIO was already removed.
- Removed unused u2phy0, u2phy0_otg, u2phy1, u2phy1_otg nodes to fix orphaned PHY warnings, since the USB 2.0 host ports utilize u2phy2 and u2phy3.
- (The pcie2x1l0 / sata0 conflict warning by Sashiko AI is a false positive: sata0 is on combphy0 and pcie2x1l0 is on combphy1, matching rk3588-base.dtsi).

Changes since v2:
- Split the dt-bindings patch into two separate patches: one for the vendor prefix and one for the board binding as requested by Heiko.
- Removed invalid enable-gpios property from HDMI nodes (ignored by dw-hdmi-qp binding)
- Fixed copy-paste error in rk806_dvs1_null pinctrl node (gpio_pwrctrl2 -> gpio_pwrctrl1)

Changes since v1:
- Renamed the dts file from rk3588-axon.dts to rk3588-vicharak-axon.dts
- Added binding patches for the board (rockchip.yaml) and vendor (vendor-prefixes.yaml)
- Renamed regulator nodes to the standard regulator-name pattern
- Removed mem-supply properties and phandles from cpu nodes (vendor-kernel specific)
- Fixed pcie20_avdd0v85 vin-supply mismatch
- Removed obsolete regulator-compatible property
- Removed invalid regulator-init-microvolt property
- Removed dangling enable-active-high properties from fixed regulators
- Cleaned up unneeded i2c3 / es8388 nodes
- Added missing vpcie3v3-supply properties to PCIe nodes

Hrushiraj Gandhi (3):
dt-bindings: vendor-prefixes: add vicharak
dt-bindings: arm: rockchip: add Vicharak Axon board
arm64: dts: rockchip: add Vicharak Axon board

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588-vicharak-axon.dts     | 979 ++++++++++++++++++
 4 files changed, 987 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts
Signature · 1 line
2.47.3
#1 lore raw

PATCH v4 1/3 dt-bindings: vendor-prefixes: add vicharak

Add the vendor prefix for Vicharak Computers Pvt. Ltd.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 28784d66ae7b..504a691a33b9 100644
@@ -1791,6 +1791,8 @@ patternProperties:
     description: VIA Technologies, Inc.
   "^vialab,.*":
     description: VIA Labs, Inc.
+  "^vicharak,.*":
+    description: Vicharak Computers Pvt. Ltd.
   "^vicor,.*":
     description: Vicor Corporation
   "^videostrong,.*":
Signature · 1 line
2.47.3
#2 lore raw

PATCH v4 2/3 dt-bindings: arm: rockchip: add Vicharak Axon board

In reply to Hrushiraj Gandhi

Add the device tree binding for the Vicharak Axon single-board computer based on the Rockchip RK3588 SoC.

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

PATCH v4 3/3 arm64: dts: rockchip: add Vicharak Axon board

In reply to Hrushiraj Gandhi

Add initial support for the Vicharak Axon single-board computer based on the Rockchip RK3588 SoC.

The board supports:

- eMMC storage
- microSD card
- Gigabit Ethernet
- HDMI output (dual HDMI)
- HDMI input
- USB 2.0 host ports
- PCIe 2.0 slots
- PCIe 3.0 x4 slot
- SATA
- RTC
- Status LEDs

The board uses an RK806 PMIC and provides the regulators required by the RK3588 SoC.

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588-vicharak-axon.dts     | 979 ++++++++++++++++++
 2 files changed, 980 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index cb55c6b70d0e..fcb115b02eff 100644
@@ -179,6 +179,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3582-radxa-e52c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-sige7.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-w3.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vicharak-axon.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-evb.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-genbook.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6a-io.dtb
arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +979 -0

979 lines not on this page · raw message

Signature · 1 line
2.47.3
#4 lore raw

Re: [PATCH v4 3/3] arm64: dts: rockchip: add Vicharak Axon board

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [High] Missing PHY Initialization for `pcie2x1l1` PCIe controller - [Low] Alphabetical sorting violation…

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Missing PHY Initialization for pcie2x1l1 PCIe controller
- [Low] Alphabetical sorting violation in Makefile
--

commit dfbd817683ee0ef28e8408ee1abe3937bb3a7365
Author: Hrushiraj Gandhi <[email protected]>

arm64: dts: rockchip: add Vicharak Axon board

This commit adds initial support for the Vicharak Axon single-board computer based on the Rockchip RK3588 SoC. It includes device tree configuration for various peripherals such as PCIe, Ethernet, HDMI, and storage.

arch/arm64/boot/dts/rockchip/Makefile dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d.dtb · line 182

Quoted 9 lines
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index cb55c6b70d0e5..fcb115b02effa 100644
@@ -179,6 +179,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3582-radxa-e52c.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-sige7.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-w3.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vicharak-axon.dtb

[Severity: Low]
This isn't a bug, but should this be placed further down the list to maintain alphabetical sorting? It looks like it is inserted between armsom-w3 and coolpi-cm5-evb.

Quoted 3 lines
arch/arm64/boot/dts/rockchip/Makefile +0 -0
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-evb.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-genbook.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6a-io.dtb

[ ... ]

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +0 -0
new file mode 100644
index 0000000000000..bfc50480668e4

[ ... ]

Quoted 5 lines

+&pcie2x1l0 {

arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +4 -0
+	reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pcie2_0_rst>;
+	vpcie3v3-supply = <&vcc3v3_pcie20_sata30>;

arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts line 852

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +10 -0
+	status = "okay";
+};
+
+&pcie2x1l1 {
+	reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pcie2_1_rst>;
+	vpcie3v3-supply = <&vcc3v3_pcie20_sata30>;
+	status = "okay";
+};

[Severity: High]
Does the pcie2x1l1 controller need its prerequisite PHY node enabled here? Looking at the device tree, combphy2_psu is not marked with status = "okay", which might cause the PCIe controller probe to defer or fail completely.

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +4 -0
+
+&pcie2x1l2 {
+	status = "disabled";
+};
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3