File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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>;
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
You can’t perform that action at this time.
0 commit comments