arm64: dts: rk3368: Add hdmi support

Change-Id: I6d0ff68e2fbd852ae796e73de30e5cd577e924ed
Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
WeiYong Bi
2017-04-25 08:46:45 +08:00
committed by Huang, Tao
parent f474e5b012
commit 4c04f9c4c2

View File

@@ -1328,6 +1328,11 @@
reg = <1>;
remote-endpoint = <&edp_in_vop>;
};
vop_out_hdmi: endpoint@2 {
reg = <2>;
remote-endpoint = <&hdmi_in_vop>;
};
};
};
@@ -1415,6 +1420,30 @@
};
};
hdmi: hdmi@ff980000 {
compatible = "rockchip,rk3368-dw-hdmi";
reg = <0x0 0xff980000 0x0 0x20000>;
reg-io-width = <4>;
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, <&cru SCLK_HDMI_CEC>;
clock-names = "iahb", "isfr", "cec";
pinctrl-names = "default";
pinctrl-0 = <&hdmi_i2c_xfer>, <&hdmi_cec>;
resets = <&cru SRST_HDMI>;
reset-names = "hdmi";
power-domains = <&power RK3368_PD_VIO>;
rockchip,grf = <&grf>;
status = "disabled";
ports {
port {
hdmi_in_vop: endpoint {
remote-endpoint = <&vop_out_hdmi>;
};
};
};
};
hevc_mmu: iommu@ff9a0440 {
compatible = "rockchip,iommu";
reg = <0x0 0xff9a0440 0x0 0x40>,
@@ -1716,6 +1745,17 @@
};
};
hdmi {
hdmi_cec: hdmi-cec {
rockchip,pins = <3 23 RK_FUNC_1 &pcfg_pull_none>;
};
hdmi_i2c_xfer: hdmi-i2c-xfer {
rockchip,pins = <3 26 RK_FUNC_1 &pcfg_pull_none>,
<3 27 RK_FUNC_1 &pcfg_pull_none>;
};
};
i2c0 {
i2c0_xfer: i2c0-xfer {
rockchip,pins = <0 6 RK_FUNC_1 &pcfg_pull_none>,