Commit d3f51f49 authored by Jacob Chen's avatar Jacob Chen Committed by Heiko Stuebner

arm64: dts: rockchip: add rk3399 mipi nodes

Add an mipi node, and also add mipi endpoints to vopb and vopl
output port nodes.
Signed-off-by: default avatarJacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent f7a29e30
...@@ -1468,6 +1468,11 @@ vopl_out: port { ...@@ -1468,6 +1468,11 @@ vopl_out: port {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
vopl_out_mipi: endpoint@0 {
reg = <0>;
remote-endpoint = <&mipi_in_vopl>;
};
vopl_out_edp: endpoint@1 { vopl_out_edp: endpoint@1 {
reg = <1>; reg = <1>;
remote-endpoint = <&edp_in_vopl>; remote-endpoint = <&edp_in_vopl>;
...@@ -1509,6 +1514,11 @@ vopb_out_edp: endpoint@0 { ...@@ -1509,6 +1514,11 @@ vopb_out_edp: endpoint@0 {
remote-endpoint = <&edp_in_vopb>; remote-endpoint = <&edp_in_vopb>;
}; };
vopb_out_mipi: endpoint@1 {
reg = <1>;
remote-endpoint = <&mipi_in_vopb>;
};
}; };
}; };
...@@ -1524,6 +1534,34 @@ vopb_mmu: iommu@ff903f00 { ...@@ -1524,6 +1534,34 @@ vopb_mmu: iommu@ff903f00 {
status = "disabled"; status = "disabled";
}; };
mipi_dsi: mipi@ff960000 {
compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
reg = <0x0 0xff960000 0x0 0x8000>;
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&cru SCLK_MIPIDPHY_REF>, <&cru PCLK_MIPI_DSI0>,
<&cru SCLK_DPHY_TX0_CFG>;
clock-names = "ref", "pclk", "phy_cfg";
power-domains = <&power RK3399_PD_VIO>;
rockchip,grf = <&grf>;
status = "disabled";
ports {
mipi_in: port {
#address-cells = <1>;
#size-cells = <0>;
mipi_in_vopb: endpoint@0 {
reg = <0>;
remote-endpoint = <&vopb_out_mipi>;
};
mipi_in_vopl: endpoint@1 {
reg = <1>;
remote-endpoint = <&vopl_out_mipi>;
};
};
};
};
edp: edp@ff970000 { edp: edp@ff970000 {
compatible = "rockchip,rk3399-edp"; compatible = "rockchip,rk3399-edp";
reg = <0x0 0xff970000 0x0 0x8000>; reg = <0x0 0xff970000 0x0 0x8000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment