[PATCH v1 7/7] ARM: dts: rockchip: Add DSI for RK3368
WeiHao Li
cn.liweihao at gmail.com
Sun Aug 31 03:48:55 PDT 2025
Add the Designware MIPI DSI controller and it's port nodes.
Signed-off-by: WeiHao Li <cn.liweihao at gmail.com>
---
arch/arm64/boot/dts/rockchip/rk3368.dtsi | 39 ++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
index 674a3676d..5226b7e6f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
@@ -875,6 +875,11 @@ vop: vop at ff930000 {
vop_out: port {
#address-cells = <1>;
#size-cells = <0>;
+
+ vop_out_dsi: endpoint at 0 {
+ reg = <0>;
+ remote-endpoint = <&dsi_in_vop>;
+ };
};
};
@@ -884,6 +889,40 @@ display_subsystem: display-subsystem {
status = "disabled";
};
+ mipi_dsi: mipi-dsi at ff960000 {
+ compatible = "rockchip,rk3368-mipi-dsi", "snps,dw-mipi-dsi";
+ reg = <0x0 0xff960000 0x0 0x4000>;
+ interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru PCLK_MIPI_DSI0>;
+ clock-names = "pclk";
+ resets = <&cru SRST_MIPIDSI0>;
+ reset-names = "apb";
+ phys = <&video_phy>;
+ phy-names = "dphy";
+ rockchip,grf = <&grf>;
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ mipi_in: port at 0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ dsi_in_vop: endpoint at 0 {
+ reg = <0>;
+ remote-endpoint = <&vop_out_dsi>;
+ };
+ };
+
+ mipi_out: port at 1 {
+ reg = <1>;
+ };
+
+ };
+ };
+
video_phy: video-phy at ff968000 {
compatible = "rockchip,rk3368-dsi-dphy";
reg = <0x0 0xff968000 0x0 0x4000>,
--
2.47.2
More information about the linux-arm-kernel
mailing list