From: WeiHao Li Date: Fri, 5 Sep 2025 02:56:31 +0000 (+0800) Subject: arm64: dts: rockchip: Add DSI for RK3368 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5023d0cd61831acd6e88496f5f7867a18a217a74;p=thirdparty%2Flinux.git arm64: dts: rockchip: Add DSI for RK3368 Add the Designware MIPI DSI controller and it's port nodes. Signed-off-by: WeiHao Li [removed endpoint address, as there is only one vop leading to DSI] Signed-off-by: Heiko Stuebner --- diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index 60e982a3db0d5..8f02162032416 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -869,6 +869,11 @@ vop_out: port { #address-cells = <1>; #size-cells = <0>; + + vop_out_dsi: endpoint@0 { + reg = <0>; + remote-endpoint = <&dsi_in_vop>; + }; }; }; @@ -883,6 +888,38 @@ status = "disabled"; }; + mipi_dsi: dsi@ff960000 { + compatible = "rockchip,rk3368-mipi-dsi", "snps,dw-mipi-dsi"; + reg = <0x0 0xff960000 0x0 0x4000>; + interrupts = ; + clocks = <&cru PCLK_MIPI_DSI0>; + clock-names = "pclk"; + phys = <&dphy>; + phy-names = "dphy"; + resets = <&cru SRST_MIPIDSI0>; + reset-names = "apb"; + rockchip,grf = <&grf>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + mipi_in: port@0 { + reg = <0>; + + dsi_in_vop: endpoint { + remote-endpoint = <&vop_out_dsi>; + }; + }; + + mipi_out: port@1 { + reg = <1>; + }; + + }; + }; + dphy: phy@ff968000 { compatible = "rockchip,rk3368-dsi-dphy"; reg = <0x0 0xff968000 0x0 0x4000>;