1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,rk3066-hdmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip rk3066 HDMI controller
10 - Sandy Huang <hjc@rock-chips.com>
11 - Heiko Stuebner <heiko@sntech.de>
15 const: rockchip,rk3066-hdmi
35 Switch the iomux for the HPD/I2C pins to HDMI function.
41 $ref: /schemas/types.yaml#/definitions/phandle
43 This soc uses GRF regs to switch the HDMI TX input between vop0 and vop1.
58 Port node with two endpoints, numbered 0 and 1,
59 connected respectively to vop0 and vop1.
64 Port node with one endpoint connected to a hdmi-connector node.
72 additionalProperties: false
86 additionalProperties: false
90 #include <dt-bindings/clock/rk3066a-cru.h>
91 #include <dt-bindings/interrupt-controller/arm-gic.h>
92 #include <dt-bindings/pinctrl/rockchip.h>
93 #include <dt-bindings/power/rk3066-power.h>
95 compatible = "rockchip,rk3066-hdmi";
96 reg = <0x10116000 0x2000>;
97 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
98 clocks = <&cru HCLK_HDMI>;
100 pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>;
101 pinctrl-names = "default";
102 power-domains = <&power RK3066_PD_VIO>;
103 rockchip,grf = <&grf>;
106 #address-cells = <1>;
110 #address-cells = <1>;
112 hdmi_in_vop0: endpoint@0 {
114 remote-endpoint = <&vop0_out_hdmi>;
116 hdmi_in_vop1: endpoint@1 {
118 remote-endpoint = <&vop1_out_hdmi>;
123 hdmi_out_con: endpoint {
124 remote-endpoint = <&hdmi_con_in>;
133 rockchip,pins = <0 RK_PA0 1 &pcfg_pull_default>;
135 hdmii2c_xfer: hdmii2c-xfer {
136 rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>,
137 <0 RK_PA2 1 &pcfg_pull_none>;