arm64: dts: rockchip: rk3399: add dsi1 node
authorWeiYong Bi <bivvy.bi@rock-chips.com>
Wed, 21 Jun 2017 01:09:57 +0000 (09:09 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 2 Aug 2017 02:24:02 +0000 (10:24 +0800)
Change-Id: I964f047b0cf9f6355d61630d03181f229fdd8c15
Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 163861efd3a15d38f16d660a21d580ea07e006f8..4048b226deefebcf1a0cffdbd10a127e4195a6df 100644 (file)
@@ -74,6 +74,8 @@
                serial2 = &uart2;
                serial3 = &uart3;
                serial4 = &uart4;
+               dsi0 = &dsi;
+               dsi1 = &dsi1;
        };
 
        cpus {
                                reg = <3>;
                                remote-endpoint = <&dp_in_vopl>;
                        };
+
+                       vopl_out_dsi1: endpoint@4 {
+                               reg = <4>;
+                               remote-endpoint = <&dsi1_in_vopl>;
+                       };
                };
        };
 
                                reg = <3>;
                                remote-endpoint = <&dp_in_vopb>;
                        };
+
+                       vopb_out_dsi1: endpoint@4 {
+                               reg = <4>;
+                               remote-endpoint = <&dsi1_in_vopb>;
+                       };
                };
        };
 
        };
 
        dsi: dsi@ff960000 {
-               compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
+               compatible = "rockchip,rk3399-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";
+               resets = <&cru SRST_P_MIPI_DSI0>;
+               reset-names = "pclkrstz";
                power-domains = <&power RK3399_PD_VIO>;
                rockchip,grf = <&grf>;
                #address-cells = <1>;
                };
        };
 
+       dsi1: dsi@ff968000 {
+               compatible = "rockchip,rk3399-mipi-dsi";
+               reg = <0x0 0xff968000 0x0 0x8000>;
+               interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH 0>;
+               clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI1>,
+                        <&cru SCLK_DPHY_TX1RX1_CFG>;
+               clock-names = "ref", "pclk", "phy_cfg";
+               resets = <&cru SRST_P_MIPI_DSI1>;
+               reset-names = "pclkrstz";
+               power-domains = <&power RK3399_PD_VIO>;
+               rockchip,grf = <&grf>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+
+               ports {
+                       port {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               dsi1_in_vopb: endpoint@0 {
+                                       reg = <0>;
+                                       remote-endpoint = <&vopb_out_dsi1>;
+                               };
+
+                               dsi1_in_vopl: endpoint@1 {
+                                       reg = <1>;
+                                       remote-endpoint = <&vopl_out_dsi1>;
+                               };
+                       };
+               };
+       };
+
        edp: edp@ff970000 {
                compatible = "rockchip,rk3399-edp";
                reg = <0x0 0xff970000 0x0 0x8000>;