Skip to content

Commit 171ea1f

Browse files
knaerzchemmind
authored andcommitted
ARM: dts: rockchip: Add DSI for RK3128
Add the Designware MIPI DSI controller and it's port nodes. Signed-off-by: Alex Bee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 65896f4 commit 171ea1f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

arch/arm/boot/dts/rockchip/rk3128.dtsi

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,43 @@
277277
reg = <0>;
278278
remote-endpoint = <&hdmi_in_vop>;
279279
};
280+
281+
vop_out_dsi: endpoint@1 {
282+
reg = <1>;
283+
remote-endpoint = <&dsi_in_vop>;
284+
};
285+
};
286+
};
287+
288+
dsi: dsi@10110000 {
289+
compatible = "rockchip,rk3128-mipi-dsi", "snps,dw-mipi-dsi";
290+
reg = <0x10110000 0x4000>;
291+
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
292+
clocks = <&cru PCLK_MIPI>;
293+
clock-names = "pclk";
294+
phys = <&dphy>;
295+
phy-names = "dphy";
296+
power-domains = <&power RK3128_PD_VIO>;
297+
resets = <&cru SRST_VIO_MIPI_DSI>;
298+
reset-names = "apb";
299+
rockchip,grf = <&grf>;
300+
status = "disabled";
301+
302+
ports {
303+
#address-cells = <1>;
304+
#size-cells = <0>;
305+
306+
dsi_in: port@0 {
307+
reg = <0>;
308+
309+
dsi_in_vop: endpoint {
310+
remote-endpoint = <&vop_out_dsi>;
311+
};
312+
};
313+
314+
dsi_out: port@1 {
315+
reg = <1>;
316+
};
280317
};
281318
};
282319

0 commit comments

Comments
 (0)