ARM: dts: rockchip: rk3066a: add HDMI nodes

Change-Id: Ic8d7731c445ff1ea8fd607c1f9984ce4672833b3
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
Zheng Yang 2017-11-08 14:34:50 +08:00 committed by Tao Huang
parent 69ef4dcd8d
commit 2b30312566

View File

@ -137,6 +137,10 @@ vop0: vop@1010c000 {
vop0_out: port {
#address-cells = <1>;
#size-cells = <0>;
vop0_out_hdmi: endpoint@0 {
reg = <0>;
remote-endpoint = <&hdmi_in_vop0>;
};
};
};
@ -165,6 +169,27 @@ display-subsystem {
ports = <&vop0_out>, <&vop1_out>;
};
hdmi: hdmi@10116000 {
compatible = "rockchip,rk3066-hdmi";
reg = <0x10116000 0x2000>;
interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_HDMI>;
clock-names = "hclk";
rockchip,grf = <&grf>;
pinctrl-names = "default";
pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>;
status = "disabled";
hdmi_in: port {
#address-cells = <1>;
#size-cells = <0>;
hdmi_in_vop0: endpoint@0 {
reg = <0>;
remote-endpoint = <&vop0_out_hdmi>;
};
};
};
i2s0: i2s@10118000 {
compatible = "rockchip,rk3066-i2s";
reg = <0x10118000 0x2000>;
@ -657,6 +682,16 @@ i2s2_bus: i2s2-bus {
<RK_GPIO0 29 RK_FUNC_1 &pcfg_pull_default>;
};
};
hdmi {
hdmi_hpd: hdmi-hpd {
rockchip,pins = <RK_GPIO0 0 RK_FUNC_1 &pcfg_pull_default>;
};
hdmii2c_xfer: hdmii2c-xfer {
rockchip,pins = <RK_GPIO0 1 RK_FUNC_1 &pcfg_pull_none>,
<RK_GPIO0 2 RK_FUNC_1 &pcfg_pull_none>;
};
};
};
};