Skip to contentSkip to conversation

Add devicetree for the 9Tripod X3568 v4

PATCH Applied Coia Prant 4 participants 13 messages Nov 3, 2025 – Nov 13, 2025

Subsystems (2)
lore
Share & tools
lore

Coia Prant

author
#0 lore raw

v5 cover Add devicetree for the 9Tripod X3568 v4

Change in v2:
- Add vendor 'ninetripod' to board filename

Quoted 1 line

'x3568_v4' => 'ninetripod_x3568_v4'

Change in v3:
- Fix Makefile

Change in v4:
- Fix overlay dtso

Change in v5:
- Rename 'ninetripod' to '9tripod'
- Add rtc0 to alias
- Fix PCIe regulators node

Quoted 2 lines

Test passed with CLK missing and CLK installed.
No boot issue observed.

- Replace ethernet MDIO PHY

Quoted 4 lines

mdio0: phy0 => phy3
mdio1: phy0 => phy2
All point to the same device.
Rockchip's phy0 appears to be a universal PHY.

Coia Prant (3):
dt-bindings: vendor-prefixes: Add 9Tripod
dt-bindings: arm: rockchip: Add 9Tripod X3568 series
arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4

 .../devicetree/bindings/arm/rockchip.yaml     |   6 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm64/boot/dts/rockchip/Makefile         |  11 +
 .../rk3568-9tripod-x3568-v4-camera-demo.dtso  |  84 ++
 .../rk3568-9tripod-x3568-v4-video-demo.dtso   | 154 +++
 .../dts/rockchip/rk3568-9tripod-x3568-v4.dts  | 887 ++++++++++++++++++
 6 files changed, 1144 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts
Signature · 1 line
2.47.3
author
#1 lore raw

PATCH v5 1/3 dt-bindings: vendor-prefixes: Add 9Tripod

Add 9Tripod to the vendor prefixes.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index f1d188200..97b169f63 100644
@@ -30,6 +30,8 @@ patternProperties:
     description: 70mai Co., Ltd.
   "^8dev,.*":
     description: 8devices, UAB
+  "^9tripod,.*":
+    description: Shenzhen 9Tripod Innovation and Development CO., LTD.
   "^abb,.*":
     description: ABB
   "^abilis,.*":
Signature · 1 line
2.47.3
author
#3 lore raw

PATCH v5 2/3 dt-bindings: arm: rockchip: Add 9Tripod X3568 series

In reply to Coia Prant

This documents 9Tripod X3568 v4 which is a SBC based on RK3568 SoC.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +6 -0
index 6aceaa8ac..9b9b3d2c0 100644
@@ -25,6 +25,12 @@ properties:
           - const: vamrs,rock960
           - const: rockchip,rk3399
 
+      - description: 9Tripod X3568 series board
+        items:
+          - enum:
+              - 9tripod,x3568-v4
+          - const: rockchip,rk3568
+
       - description: Amarula Vyasa RK3288
         items:
           - const: amarula,vyasa-rk3288
Signature · 1 line
2.47.3
author
#5 lore raw

PATCH v5 3/3 arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4

In reply to Coia Prant

The 9Tripod X3568 v4 is an RK3568-based SBC, just like the RK3568-EVB. It always uses soldered connections between the X3568CV2/X3568CV3/X3568CV4 core board and the X3568bv4 I/O board.

The differences between the core boards
- PCB size, layout
- CPU (RKK3568B2/RK3568J)
- Memory type (DDR4/LPDDR4/LPDDR4X) and size
- eMMC size
- DSI/EDP resistor values
Although the components vary, they maintain full compatibility.

The X3568 board has multiple hardware revisions, and we currently support v4 (I/O board).

Specification:
- SoC: RockChip RK3568 ARM64 (4 cores)
- eMMC: 16-128 GB
- RAM: 2-16 GB
- Power: DC 12V 2A
- Ethernet: 2x YT8521SC RGMII (10/100/1000 Mbps)
- Wireless radio: 802.11b/g/n/ac/ax dual-band
- LED:
Power: AlwaysOn
User: GPIO
- Button:
VOL+: SARADC/0 <35k µV>
VOL-: SARADC/0 <450k µV>
Power/Reset: PMIC RK809
- CAN
CAN/1: 4-pin (PH 2.0)
- PWM
PWM/4: Backlight DSI/0 DSI/1
PWM/7: IR Receiver [may not install]
- UART:
UART/2: Debug TTL - 1500000 8N1 (1.25mm)
UART/3: TTL (PH 2.0)
UART/4: TTL (PH 2.0)
UART/8: AP6275S Bluetooth
UART/9: TTL (PH 2.0)
- I2C:
I2C/0: PMIC RK809
I2C/1: Touchscreen DSI/0 DSI/1
I2C/4: Camera
I2C/5: RTC@51 PCF8563
- I2S:
I2S/0: miniHDMI Sound
I2S/1: RK809 Audio Codec
I2S/3: AP6275S Bluetooth Sound
- SDMMC:
SDMMC/0: microSD (TF) slot
SDMMC/2: AP6275S SDIO WiFi card
- Camera: 1x CSI
- Video: miniHDMI / DSI0 (MIPI/LVDS) / DSI1 (MIPI/EDP)
- Audio: miniHDMI / MIC on-board / Speaker / SPDIF / 3.5mm Headphones / AP6275S Bluetooth
- USB:
USB 2.0 HOST x2
USB 2.0 HOST x3 (4-pin)
USB 2.0 OTG x1 (shared with USB 3.0 OTG/HOST) [slot may not install]
USB 3.0 HOST x1
USB 3.0 OTG/HOST x1
- SATA: 1x SATA 3.0 with Power/4-pin [slot may not install]
- PCIe: 1x PCIe 3.0 x2 (x4 connecter) [power/clock/slot may not install]

Link:
- https://appletsapi.52solution.com/media/X3568V4%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A1%AC%E4%BB%B6%E6%89%8B%E5%86%8C.pdf
- https://blog.gov.cooking/archives/research-ninetripod-x3568-v4-and-flash.html

---
 arch/arm64/boot/dts/rockchip/Makefile         |  11 +
 .../rk3568-9tripod-x3568-v4-camera-demo.dtso  |  84 ++
 .../rk3568-9tripod-x3568-v4-video-demo.dtso   | 154 +++
 .../dts/rockchip/rk3568-9tripod-x3568-v4.dts  | 887 ++++++++++++++++++
 4 files changed, 1136 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts
arch/arm64/boot/dts/rockchip/Makefile +11 -0
index ad684e383..959a806a2 100644
@@ -130,6 +130,9 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-nanopi-r3s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-bigtreetech-cb2-manta.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-bigtreetech-pi2.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4-camera-demo.dtbo
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4-video-demo.dtbo
 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
@@ -252,6 +255,14 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5-v1.2-wifibt.dtb
 rk3576-armsom-sige5-v1.2-wifibt-dtbs := rk3576-armsom-sige5.dtb \
 	rk3576-armsom-sige5-v1.2-wifibt.dtbo
 
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4-camera-demo.dtb
+rk3568-9tripod-x3568-v4-camera-demo-dtbs := rk3568-9tripod-x3568-v4.dtb \
+	rk3568-9tripod-x3568-v4-camera-demo.dtbo
+
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4-video-demo.dtb
+rk3568-9tripod-x3568-v4-video-demo-dtbs := rk3568-9tripod-x3568-v4.dtb \
+	rk3568-9tripod-x3568-v4-video-demo.dtbo
+
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6a-wifi.dtb
 rk3588-edgeble-neu6a-wifi-dtbs := rk3588-edgeble-neu6a-io.dtb \
 	rk3588-edgeble-neu6a-wifi.dtbo
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +84 -0

84 lines not on this page · raw message

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso new file +154 -0

154 lines not on this page · raw message

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +887 -0

887 lines not on this page · raw message

Signature · 1 line
2.47.3
Acked-by on v5 2/3
#4 lore raw

Re: [PATCH v5 2/3] dt-bindings: arm: rockchip: Add 9Tripod X3568 series

In reply to Coia Prant
Quoted 9 lines · Coia Prant

This documents 9Tripod X3568 v4 which is a SBC based on RK3568 SoC.

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

Best regards,
Krzysztof

maintainer
#6 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4

In reply to Coia Prant

Hi,

Am Montag, 3. November 2025, 18:17:02 Mitteleuropäische Normalzeit schrieb Coia Prant:

Quoted 13 lines

The 9Tripod X3568 v4 is an RK3568-based SBC, just like the RK3568-EVB. It always uses soldered connections between the X3568CV2/X3568CV3/X3568CV4 core board and the X3568bv4 I/O board.

The differences between the core boards
- PCB size, layout
- CPU (RKK3568B2/RK3568J)
- Memory type (DDR4/LPDDR4/LPDDR4X) and size
- eMMC size
- DSI/EDP resistor values
Although the components vary, they maintain full compatibility.

The X3568 board has multiple hardware revisions, and we currently support v4 (I/O board).

[...]

Quoted 1 line

I've dropped the camera overlay for the time being, when applying the board, because there were a number of smallish issues with it.

So please submit it separately again. Also, how can you use the camera yet, when the whole vicap work is still pending?

Details below

Quoted 26 lines
---
 arch/arm64/boot/dts/rockchip/Makefile         |  11 +
 .../rk3568-9tripod-x3568-v4-camera-demo.dtso  |  84 ++
 .../rk3568-9tripod-x3568-v4-video-demo.dtso   | 154 +++
 .../dts/rockchip/rk3568-9tripod-x3568-v4.dts  | 887 ++++++++++++++++++
 4 files changed, 1136 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts
arch/arm64/boot/dts/rockchip/Makefile +3 -0
index ad684e383..959a806a2 100644
@@ -130,6 +130,9 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-nanopi-r3s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-bigtreetech-cb2-manta.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-bigtreetech-pi2.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4-camera-demo.dtbo
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4-video-demo.dtbo
 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
@@ -252,6 +255,14 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5-v1.2-wifibt.dtb
 rk3576-armsom-sige5-v1.2-wifibt-dtbs := rk3576-armsom-sige5.dtb \

arch/arm64/boot/dts/rockchip/Makefile dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5-v1.2-wifibt.dtb · line 265

Quoted 10 lines
arch/arm64/boot/dts/rockchip/Makefile +8 -0
 	rk3576-armsom-sige5-v1.2-wifibt.dtbo
 
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4-camera-demo.dtb
+rk3568-9tripod-x3568-v4-camera-demo-dtbs := rk3568-9tripod-x3568-v4.dtb \
+	rk3568-9tripod-x3568-v4-camera-demo.dtbo
+
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-9tripod-x3568-v4-video-demo.dtb
+rk3568-9tripod-x3568-v4-video-demo-dtbs := rk3568-9tripod-x3568-v4.dtb \
+	rk3568-9tripod-x3568-v4-video-demo.dtbo
+

when adding overlays, please sort them correctly, rk3568-9tripod* should be above rk3568-wolfvision*

Quoted 9 lines
arch/arm64/boot/dts/rockchip/Makefile +0 -0
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6a-wifi.dtb
 rk3588-edgeble-neu6a-wifi-dtbs := rk3588-edgeble-neu6a-io.dtb \
 	rk3588-edgeble-neu6a-wifi.dtbo
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +0 -0
new file mode 100644
index 000000000..2b428ca71
@@ -0,0 +1,84 @@

[...]

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso line 45

Quoted 8 lines

+&csi_dphy {

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +7 -0
+	status = "okay";
+
+	ports {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		port@0 {

../arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso:41.8-56.4: Warning (graph_child_address): /fragment@2/__overlay__/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso line 56

Quoted 11 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +11 -0
+			reg = <0>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			mipi_in_ucam: endpoint@2 {
+				reg = <2>;
+				remote-endpoint = <&ucam_out>;
+				data-lanes = <1 2 3 4>;
+			};
+		};
+	};

/home/devel/hstuebner/00_git-repos/linux-rockchip/_build-arm64/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtb: phy@fe870000 (rockchip,rk3568-csi-dphy): 'ports' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/phy/rockchip-inno-csi-dphy.yaml#

not sure what is up with that.

Quoted 16 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +16 -0
+};
+
+&i2c4 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	status = "okay";
+
+	camera@37 {
+		compatible = "ovti,ov5695";
+		reg = <0x37>;
+		clocks = <&cru CLK_CIF_OUT>;
+		clock-names = "xvclk";
+		avdd-supply = <&vcc_cam>;
+		dvdd-supply = <&vcc_cam>;
+		dovdd-supply = <&vcc_cam>;
+		pinctrl-names = "default";

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso line 82

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +10 -0
+		pinctrl-0 = <&cif_clk>;
+		reset-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_LOW>;
+		pwdn-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;
+
+		port {
+			ucam_out: endpoint {
+				remote-endpoint = <&mipi_in_ucam>;
+				data-lanes = <1 2 3 4>;
+			};
+		};

/home/devel/hstuebner/00_git-repos/linux-rockchip/_build-arm64/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtb: camera@37 (ovti,ov5695): port:endpoint:data-lanes: [1, 2, 3, 4] is too long
from schema $id: http://devicetree.org/schemas/media/i2c/ovti,ov5693.yaml#
/home/devel/hstuebner/00_git-repos/linux-rockchip/_build-arm64/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtb: camera@37 (ovti,ov5695): Unevaluated properties are not allowed ('port', 'pwdn-gpios' were unexpected)
from schema $id: http://devicetree.org/schemas/media/i2c/ovti,ov5693.yaml#

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso

Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +2 -0
+	};
+};

Heiko

maintainer
#7 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4

In reply to Coia Prant

Am Montag, 3. November 2025, 18:17:02 Mitteleuropäische Normalzeit schrieb Coia Prant:

Quoted 75 lines

The 9Tripod X3568 v4 is an RK3568-based SBC, just like the RK3568-EVB. It always uses soldered connections between the X3568CV2/X3568CV3/X3568CV4 core board and the X3568bv4 I/O board.

The differences between the core boards
- PCB size, layout
- CPU (RKK3568B2/RK3568J)
- Memory type (DDR4/LPDDR4/LPDDR4X) and size
- eMMC size
- DSI/EDP resistor values
Although the components vary, they maintain full compatibility.

The X3568 board has multiple hardware revisions, and we currently support v4 (I/O board).

Specification:
- SoC: RockChip RK3568 ARM64 (4 cores)
- eMMC: 16-128 GB
- RAM: 2-16 GB
- Power: DC 12V 2A
- Ethernet: 2x YT8521SC RGMII (10/100/1000 Mbps)
- Wireless radio: 802.11b/g/n/ac/ax dual-band
- LED:
Power: AlwaysOn
User: GPIO
- Button:
VOL+: SARADC/0 <35k µV>
VOL-: SARADC/0 <450k µV>
Power/Reset: PMIC RK809
- CAN
CAN/1: 4-pin (PH 2.0)
- PWM
PWM/4: Backlight DSI/0 DSI/1
PWM/7: IR Receiver [may not install]
- UART:
UART/2: Debug TTL - 1500000 8N1 (1.25mm)
UART/3: TTL (PH 2.0)
UART/4: TTL (PH 2.0)
UART/8: AP6275S Bluetooth
UART/9: TTL (PH 2.0)
- I2C:
I2C/0: PMIC RK809
I2C/1: Touchscreen DSI/0 DSI/1
I2C/4: Camera
I2C/5: RTC@51 PCF8563
- I2S:
I2S/0: miniHDMI Sound
I2S/1: RK809 Audio Codec
I2S/3: AP6275S Bluetooth Sound
- SDMMC:
SDMMC/0: microSD (TF) slot
SDMMC/2: AP6275S SDIO WiFi card
- Camera: 1x CSI
- Video: miniHDMI / DSI0 (MIPI/LVDS) / DSI1 (MIPI/EDP)
- Audio: miniHDMI / MIC on-board / Speaker / SPDIF / 3.5mm Headphones / AP6275S Bluetooth
- USB:
USB 2.0 HOST x2
USB 2.0 HOST x3 (4-pin)
USB 2.0 OTG x1 (shared with USB 3.0 OTG/HOST) [slot may not install]
USB 3.0 HOST x1
USB 3.0 OTG/HOST x1
- SATA: 1x SATA 3.0 with Power/4-pin [slot may not install]
- PCIe: 1x PCIe 3.0 x2 (x4 connecter) [power/clock/slot may not install]

Link:
- https://appletsapi.52solution.com/media/X3568V4%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A1%AC%E4%BB%B6%E6%89%8B%E5%86%8C.pdf
- https://blog.gov.cooking/archives/research-ninetripod-x3568-v4-and-flash.html

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso new file +0 -0
new file mode 100644
index 000000000..e7fa1ca48

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso line 3

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso new file +3 -0
@@ -0,0 +1,154 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+
+// This is a sample reference, due to lack of hardware can not be tested, at your own risk

and I've also dropped the 2nd overlay now.
Please only ever submit patches for stuff you have actually tested.

We don't really add stuff with "use at your own risk" caveats ;-)

Heiko

maintainer Applied
#12 lore raw
In reply to Coia Prant
Quoted 8 lines · Coia Prant

Change in v2:
- Add vendor 'ninetripod' to board filename

Quoted 1 line

'x3568_v4' => 'ninetripod_x3568_v4'

Change in v3:
- Fix Makefile

[...]

Applied, thanks!

[1/3] dt-bindings: vendor-prefixes: Add 9Tripod

      commit: 25802f8d16374bcfc1e32d26fdee0d89ec82f865
[2/3] dt-bindings: arm: rockchip: Add 9Tripod X3568 series
      commit: a12838aab0cea1e4427d8d620906ce6a1a83a344
[3/3] arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4
      commit: 156a530ed5ed012f35e8319c2ee5223dfc7195d3

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>
author
#8 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4

In reply to Heiko Stuebner
Quoted 83 lines · Heiko Stuebner

Am Montag, 3. November 2025, 18:17:02 Mitteleuropäische Normalzeit schrieb Coia Prant:

Quoted 75 lines

The 9Tripod X3568 v4 is an RK3568-based SBC, just like the RK3568-EVB. It always uses soldered connections between the X3568CV2/X3568CV3/X3568CV4 core board and the X3568bv4 I/O board.

The differences between the core boards
- PCB size, layout
- CPU (RKK3568B2/RK3568J)
- Memory type (DDR4/LPDDR4/LPDDR4X) and size
- eMMC size
- DSI/EDP resistor values
Although the components vary, they maintain full compatibility.

The X3568 board has multiple hardware revisions, and we currently support v4 (I/O board).

Specification:
- SoC: RockChip RK3568 ARM64 (4 cores)
- eMMC: 16-128 GB
- RAM: 2-16 GB
- Power: DC 12V 2A
- Ethernet: 2x YT8521SC RGMII (10/100/1000 Mbps)
- Wireless radio: 802.11b/g/n/ac/ax dual-band
- LED:
Power: AlwaysOn
User: GPIO
- Button:
VOL+: SARADC/0 <35k µV>
VOL-: SARADC/0 <450k µV>
Power/Reset: PMIC RK809
- CAN
CAN/1: 4-pin (PH 2.0)
- PWM
PWM/4: Backlight DSI/0 DSI/1
PWM/7: IR Receiver [may not install]
- UART:
UART/2: Debug TTL - 1500000 8N1 (1.25mm)
UART/3: TTL (PH 2.0)
UART/4: TTL (PH 2.0)
UART/8: AP6275S Bluetooth
UART/9: TTL (PH 2.0)
- I2C:
I2C/0: PMIC RK809
I2C/1: Touchscreen DSI/0 DSI/1
I2C/4: Camera
I2C/5: RTC@51 PCF8563
- I2S:
I2S/0: miniHDMI Sound
I2S/1: RK809 Audio Codec
I2S/3: AP6275S Bluetooth Sound
- SDMMC:
SDMMC/0: microSD (TF) slot
SDMMC/2: AP6275S SDIO WiFi card
- Camera: 1x CSI
- Video: miniHDMI / DSI0 (MIPI/LVDS) / DSI1 (MIPI/EDP)
- Audio: miniHDMI / MIC on-board / Speaker / SPDIF / 3.5mm Headphones / AP6275S Bluetooth
- USB:
USB 2.0 HOST x2
USB 2.0 HOST x3 (4-pin)
USB 2.0 OTG x1 (shared with USB 3.0 OTG/HOST) [slot may not install]
USB 3.0 HOST x1
USB 3.0 OTG/HOST x1
- SATA: 1x SATA 3.0 with Power/4-pin [slot may not install]
- PCIe: 1x PCIe 3.0 x2 (x4 connecter) [power/clock/slot may not install]

Link:
- https://appletsapi.52solution.com/media/X3568V4%E5%BC%80%E5%8F%91%E6%9D%BF%E7%A1%AC%E4%BB%B6%E6%89%8B%E5%86%8C.pdf
- https://blog.gov.cooking/archives/research-ninetripod-x3568-v4-and-flash.html

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso new file +0 -0
new file mode 100644
index 000000000..e7fa1ca48

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso line 3

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso new file +3 -0
@@ -0,0 +1,154 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+
+// This is a sample reference, due to lack of hardware can not be tested, at your own risk

and I've also dropped the 2nd overlay now.
Please only ever submit patches for stuff you have actually tested.

Quoted 6 lines

We don't really add stuff with "use at your own risk" caveats ;-)

Heiko

Okay.

I'll ask if anyone has a camera and a screen.
This part is extracted from the original equipment tree, and has been corrected by reference to other board.

If I can find a test, I will submit a new patch.

Thanks!
Wish have a good day.

#9 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4

In reply to Coia Prant

Hi,

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso line 3

Quoted 11 lines

+++ b/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +7 -0
@@ -0,0 +1,84 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+
+// This is a sample reference, due to lack of hardware can not be tested, at your own risk
 
+++ b/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso
@@ -0,0 +1,154 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+
+// This is a sample reference, due to lack of hardware can not be tested, at your own risk

Why are these demo DT Overlays needed? Are these optional accessories? These untested DT Overlays should be removed.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 173

Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +2 -0
+	vcc3v3_pcie: regulator-vcc3v3-pcie {
+		compatible = "regulator-gpio";

This should use regulator-fixed.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 178

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +5 -0
+		regulator-name = "vcc3v3_pcie";
+		regulator-min-microvolt = <100000>;
+		regulator-max-microvolt = <3300000>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&vcc3v3_pcie_en_pin>;

Is this the name from the schematic?

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +5 -0
+	pinctrl-names = "default";
+	pinctrl-0 = <&gmac0_miim
+			&gmac0_tx_bus2
+			&gmac0_rx_bus2
+			&gmac0_rgmii_clk

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 297

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +9 -0
+			&gmac0_rgmii_bus
+			&gmac0_clkinout>;
 
+	pinctrl-names = "default";
+	pinctrl-0 = <&gmac1m1_miim
+			&gmac1m1_tx_bus2
+			&gmac1m1_rx_bus2
+			&gmac1m1_rgmii_clk
+			&gmac1m1_rgmii_bus
+			&gmac1m1_clkinout>;

Align Indentation.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 563

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +3 -0
+		codec {
+			rockchip,mic-in-differential;
+		};

Is it confirmed to be differential signaling?

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 678

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +4 -0
+	pmic {
+		pmic_int: pmic_int {
+			rockchip,pins =
+				<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;

No line break is needed here.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 727

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +4 -0
+/* Required remotectl for IR receiver */
+&pwm7 {
+	status = "disabled";
+};

This should be replaced with gpio-ir-receiver.

Review

Quoted 3 lines

+&sdmmc2 {

(quoted diff) +2 -0
+	bus-width = <4>;
+	disable-wp;

The disable-wp property does not apply to SDIO cards.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 777

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +4 -0
+	sd-uhs-sdr12;
+	sd-uhs-sdr25;
+	sd-uhs-sdr50;
+	sd-uhs-sdr104;

Just declare the highest supported speed.

author
#10 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4

Quoted 74 lines · Chukun Pan

Hi,

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso line 3

Quoted 11 lines

+++ b/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-camera-demo.dtso new file +7 -0
@@ -0,0 +1,84 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+
+// This is a sample reference, due to lack of hardware can not be tested, at your own risk
 
+++ b/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4-video-demo.dtso
@@ -0,0 +1,154 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+
+// This is a sample reference, due to lack of hardware can not be tested, at your own risk

Why are these demo DT Overlays needed? Are these optional accessories? These untested DT Overlays should be removed.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 173

Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +2 -0
+	vcc3v3_pcie: regulator-vcc3v3-pcie {
+		compatible = "regulator-gpio";

This should use regulator-fixed.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 178

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +5 -0
+		regulator-name = "vcc3v3_pcie";
+		regulator-min-microvolt = <100000>;
+		regulator-max-microvolt = <3300000>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&vcc3v3_pcie_en_pin>;

Is this the name from the schematic?

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +5 -0
+	pinctrl-names = "default";
+	pinctrl-0 = <&gmac0_miim
+			&gmac0_tx_bus2
+			&gmac0_rx_bus2
+			&gmac0_rgmii_clk

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 297

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +9 -0
+			&gmac0_rgmii_bus
+			&gmac0_clkinout>;
 
+	pinctrl-names = "default";
+	pinctrl-0 = <&gmac1m1_miim
+			&gmac1m1_tx_bus2
+			&gmac1m1_rx_bus2
+			&gmac1m1_rgmii_clk
+			&gmac1m1_rgmii_bus
+			&gmac1m1_clkinout>;

Align Indentation.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 563

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +3 -0
+		codec {
+			rockchip,mic-in-differential;
+		};

Is it confirmed to be differential signaling?

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 678

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +4 -0
+	pmic {
+		pmic_int: pmic_int {
+			rockchip,pins =
+				<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;

No line break is needed here.

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 727

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +4 -0
+/* Required remotectl for IR receiver */
+&pwm7 {
+	status = "disabled";
+};

This should be replaced with gpio-ir-receiver.

Review

Quoted 3 lines

+&sdmmc2 {

(quoted diff) +2 -0
+	bus-width = <4>;
+	disable-wp;

The disable-wp property does not apply to SDIO cards.

Quoted 6 lines

arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts line 777

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts new file +4 -0
+	sd-uhs-sdr12;
+	sd-uhs-sdr25;
+	sd-uhs-sdr50;
+	sd-uhs-sdr104;

Just declare the highest supported speed.

PCIe and MIC picked from OEM source codes.

PMIC picked from RK3568-EVB.

Since parts of the OEM source code are not available in mainline, I refer to other boards (e.g. RK3568-EVB or RK3568-ROC-PC), but I don't have a camera or screen to test, so I mark them as demo.

Do I need to release a new set of patches?

Thanks

#11 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: Add devicetree for the 9Tripod X3568 v4

Hi,

Quoted 1 line

PCIe and MIC picked from OEM source codes.

I know it comes from BSP code, but it's not correct. A PCIe 3.3V power supply will not have a 0.1V situation. Rockchip fixed this in their kernel a long time ago:
https://github.com/rockchip-linux/kernel/commit/17e9559f67d26f3c602e38a24feb5194e51ac782

Quoted 3 lines

Since parts of the OEM source code are not available in mainline, I refer to other boards (e.g. RK3568-EVB or RK3568-ROC-PC), but I don't have a camera or screen to test, so I mark them as demo.

These things may have been brought by rk3568-evbxxx.dtsi, and may not actually exist.