[PATCH 3/3] arm64: dts: rockchip: Add VOP and LCDC pinctrl to RK3308

From: Chiyuki Akatsuki via B4 Relay

Date: Sun Dec 06 2026 - 06:17:33 EST


From: Chiyuki Akatsuki <thesnowfield@xxxxxxxxxxxx>

Add the display-subsystem, VOP controller, and LCDC RGB pinmux
configurations to the RK3308 SoC device tree.

Co-developed-by: Yuanpai Zhang <ssp97@xxxxxxxxxxxx>
Signed-off-by: Yuanpai Zhang <ssp97@xxxxxxxxxxxx>
Signed-off-by: Chiyuki Akatsuki <thesnowfield@xxxxxxxxxxxx>
---
arch/arm64/boot/dts/rockchip/rk3308.dtsi | 102 +++++++++++++++++++++++++++++++
1 file changed, 102 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
index 31c25de2d..f4607f86b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
@@ -142,6 +142,12 @@
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
};

+ display_subsystem: display-subsystem {
+ compatible = "rockchip,display-subsystem";
+ ports = <&vop_out>;
+ status = "disabled";
+ };
+
mac_clkin: external-mac-clock {
compatible = "fixed-clock";
clock-frequency = <50000000>;
@@ -607,6 +613,20 @@
#dma-cells = <1>;
};

+ vop: vop@ff2e0000 {
+ compatible = "rockchip,rk3308-vop";
+ reg = <0x0 0xff2e0000 0x0 0x200>;
+ interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>;
+ clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
+ resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>;
+ reset-names = "axi", "ahb", "dclk";
+ status = "disabled";
+
+ vop_out: port {
+ };
+ };
+
/*
* - can be clock producer or consumer
* - up to 8 capture channels and 2 playback channels
@@ -1448,6 +1468,88 @@
};
};

+ lcdc {
+ lcdc_ctl: lcdc-ctl {
+ rockchip,pins =
+ /* dclk */
+ <1 RK_PA0 1 &pcfg_pull_none_12ma>,
+ /* hsync */
+ <1 RK_PA1 1 &pcfg_pull_none>,
+ /* vsync */
+ <1 RK_PA2 1 &pcfg_pull_none>,
+ /* den */
+ <1 RK_PA3 1 &pcfg_pull_none>,
+ /* d0 */
+ <1 RK_PA4 1 &pcfg_pull_none>,
+ /* d1 */
+ <1 RK_PA5 1 &pcfg_pull_none>,
+ /* d2 */
+ <1 RK_PA6 1 &pcfg_pull_none>,
+ /* d3 */
+ <1 RK_PA7 1 &pcfg_pull_none>,
+ /* d4 */
+ <1 RK_PB0 1 &pcfg_pull_none>,
+ /* d5 */
+ <1 RK_PB1 1 &pcfg_pull_none>,
+ /* d6 */
+ <1 RK_PB2 1 &pcfg_pull_none>,
+ /* d7 */
+ <1 RK_PB3 1 &pcfg_pull_none>,
+ /* d8 */
+ <1 RK_PB4 1 &pcfg_pull_none>,
+ /* d9 */
+ <1 RK_PB5 1 &pcfg_pull_none>,
+ /* d10 */
+ <1 RK_PB6 1 &pcfg_pull_none>,
+ /* d11 */
+ <1 RK_PB7 1 &pcfg_pull_none>,
+ /* d12 */
+ <1 RK_PC0 1 &pcfg_pull_none>,
+ /* d13 */
+ <1 RK_PC1 1 &pcfg_pull_none>,
+ /* d14 */
+ <1 RK_PC2 1 &pcfg_pull_none>,
+ /* d15 */
+ <1 RK_PC3 1 &pcfg_pull_none>,
+ /* d16 */
+ <1 RK_PC4 1 &pcfg_pull_none>,
+ /* d17 */
+ <1 RK_PC5 1 &pcfg_pull_none>;
+ };
+
+ lcdc_rgb888_m0: lcdc-rgb888-m0 {
+ rockchip,pins =
+ /* d18 */
+ <1 RK_PC6 6 &pcfg_pull_none>,
+ /* d19 */
+ <1 RK_PC7 6 &pcfg_pull_none>,
+ /* d20 */
+ <2 RK_PB1 3 &pcfg_pull_none>,
+ /* d21 */
+ <2 RK_PB2 3 &pcfg_pull_none>,
+ /* d22 */
+ <2 RK_PB7 3 &pcfg_pull_none>,
+ /* d23 */
+ <2 RK_PC0 3 &pcfg_pull_none>;
+ };
+
+ lcdc_rgb888_m1: lcdc-rgb888-m1 {
+ rockchip,pins =
+ /* d18 */
+ <3 RK_PA6 3 &pcfg_pull_none>,
+ /* d19 */
+ <3 RK_PA7 3 &pcfg_pull_none>,
+ /* d20 */
+ <3 RK_PB0 3 &pcfg_pull_none>,
+ /* d21 */
+ <3 RK_PB1 3 &pcfg_pull_none>,
+ /* d22 */
+ <3 RK_PB2 4 &pcfg_pull_none>,
+ /* d23 */
+ <3 RK_PB3 4 &pcfg_pull_none>;
+ };
+ };
+
pdm_m0 {
pdm_m0_clk: pdm-m0-clk {
rockchip,pins =

--
2.47.3