aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickey Yang <nickey.yang@rock-chips.com>2017-11-29 20:11:27 -0500
committerHeiko Stuebner <heiko@sntech.de>2017-12-04 05:00:50 -0500
commit1df5d2ab16fb63cd16ae3e85561ded5d251eb0e5 (patch)
treed9f4c158b15b3349c6b20a9a4d7e9d672d41d332
parent3813a10a5a70f3bb38272f3d8473baf909af0a99 (diff)
arm64: dts: rockchip: add mipi_dsi1 support for rk3399
This patch adds the information for the secondary MIPI DSI controller, e.g., interrupts, grf, clocks, ports and so on. Mirrors the existing definition for dsi0. Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com> Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399.dtsi45
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index faf8c90bdc1a..33e6a6d73c1c 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1526,6 +1526,11 @@
1526 reg = <2>; 1526 reg = <2>;
1527 remote-endpoint = <&hdmi_in_vopl>; 1527 remote-endpoint = <&hdmi_in_vopl>;
1528 }; 1528 };
1529
1530 vopl_out_mipi1: endpoint@3 {
1531 reg = <3>;
1532 remote-endpoint = <&mipi1_in_vopl>;
1533 };
1529 }; 1534 };
1530 }; 1535 };
1531 1536
@@ -1573,6 +1578,11 @@
1573 reg = <2>; 1578 reg = <2>;
1574 remote-endpoint = <&hdmi_in_vopb>; 1579 remote-endpoint = <&hdmi_in_vopb>;
1575 }; 1580 };
1581
1582 vopb_out_mipi1: endpoint@3 {
1583 reg = <3>;
1584 remote-endpoint = <&mipi1_in_vopb>;
1585 };
1576 }; 1586 };
1577 }; 1587 };
1578 1588
@@ -1670,6 +1680,41 @@
1670 }; 1680 };
1671 }; 1681 };
1672 1682
1683 mipi_dsi1: mipi@ff968000 {
1684 compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
1685 reg = <0x0 0xff968000 0x0 0x8000>;
1686 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH 0>;
1687 clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI1>,
1688 <&cru SCLK_DPHY_TX1RX1_CFG>, <&cru PCLK_VIO_GRF>;
1689 clock-names = "ref", "pclk", "phy_cfg", "grf";
1690 power-domains = <&power RK3399_PD_VIO>;
1691 resets = <&cru SRST_P_MIPI_DSI1>;
1692 reset-names = "apb";
1693 rockchip,grf = <&grf>;
1694 status = "disabled";
1695
1696 ports {
1697 #address-cells = <1>;
1698 #size-cells = <0>;
1699
1700 mipi1_in: port@0 {
1701 reg = <0>;
1702 #address-cells = <1>;
1703 #size-cells = <0>;
1704
1705 mipi1_in_vopb: endpoint@0 {
1706 reg = <0>;
1707 remote-endpoint = <&vopb_out_mipi1>;
1708 };
1709
1710 mipi1_in_vopl: endpoint@1 {
1711 reg = <1>;
1712 remote-endpoint = <&vopl_out_mipi1>;
1713 };
1714 };
1715 };
1716 };
1717
1673 edp: edp@ff970000 { 1718 edp: edp@ff970000 {
1674 compatible = "rockchip,rk3399-edp"; 1719 compatible = "rockchip,rk3399-edp";
1675 reg = <0x0 0xff970000 0x0 0x8000>; 1720 reg = <0x0 0xff970000 0x0 0x8000>;