Skip to content

Commit 2b30312

Browse files
Zheng Yangrkhuangtao
authored andcommitted
ARM: dts: rockchip: rk3066a: add HDMI nodes
Change-Id: Ic8d7731c445ff1ea8fd607c1f9984ce4672833b3 Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
1 parent 69ef4dc commit 2b30312

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

arch/arm/boot/dts/rk3066a.dtsi

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@
137137
vop0_out: port {
138138
#address-cells = <1>;
139139
#size-cells = <0>;
140+
vop0_out_hdmi: endpoint@0 {
141+
reg = <0>;
142+
remote-endpoint = <&hdmi_in_vop0>;
143+
};
140144
};
141145
};
142146

@@ -165,6 +169,27 @@
165169
ports = <&vop0_out>, <&vop1_out>;
166170
};
167171

172+
hdmi: hdmi@10116000 {
173+
compatible = "rockchip,rk3066-hdmi";
174+
reg = <0x10116000 0x2000>;
175+
interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
176+
clocks = <&cru HCLK_HDMI>;
177+
clock-names = "hclk";
178+
rockchip,grf = <&grf>;
179+
pinctrl-names = "default";
180+
pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>;
181+
status = "disabled";
182+
183+
hdmi_in: port {
184+
#address-cells = <1>;
185+
#size-cells = <0>;
186+
hdmi_in_vop0: endpoint@0 {
187+
reg = <0>;
188+
remote-endpoint = <&vop0_out_hdmi>;
189+
};
190+
};
191+
};
192+
168193
i2s0: i2s@10118000 {
169194
compatible = "rockchip,rk3066-i2s";
170195
reg = <0x10118000 0x2000>;
@@ -657,6 +682,16 @@
657682
<RK_GPIO0 29 RK_FUNC_1 &pcfg_pull_default>;
658683
};
659684
};
685+
686+
hdmi {
687+
hdmi_hpd: hdmi-hpd {
688+
rockchip,pins = <RK_GPIO0 0 RK_FUNC_1 &pcfg_pull_default>;
689+
};
690+
hdmii2c_xfer: hdmii2c-xfer {
691+
rockchip,pins = <RK_GPIO0 1 RK_FUNC_1 &pcfg_pull_none>,
692+
<RK_GPIO0 2 RK_FUNC_1 &pcfg_pull_none>;
693+
};
694+
};
660695
};
661696
};
662697

0 commit comments

Comments
 (0)