0001 Rockchip specific extensions to the Innosilicon HDMI
0002 ================================
0003
0004 Required properties:
0005 - compatible:
0006 "rockchip,rk3036-inno-hdmi";
0007 - reg:
0008 Physical base address and length of the controller's registers.
0009 - clocks, clock-names:
0010 Phandle to hdmi controller clock, name should be "pclk"
0011 - interrupts:
0012 HDMI interrupt number
0013 - ports:
0014 Contain one port node with endpoint definitions as defined in
0015 Documentation/devicetree/bindings/graph.txt.
0016 - pinctrl-0, pinctrl-name:
0017 Switch the iomux of HPD/CEC pins to HDMI function.
0018
0019 Example:
0020 hdmi: hdmi@20034000 {
0021 compatible = "rockchip,rk3036-inno-hdmi";
0022 reg = <0x20034000 0x4000>;
0023 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
0024 clocks = <&cru PCLK_HDMI>;
0025 clock-names = "pclk";
0026 pinctrl-names = "default";
0027 pinctrl-0 = <&hdmi_ctl>;
0028
0029 hdmi_in: port {
0030 #address-cells = <1>;
0031 #size-cells = <0>;
0032 hdmi_in_lcdc: endpoint@0 {
0033 reg = <0>;
0034 remote-endpoint = <&lcdc_out_hdmi>;
0035 };
0036 };
0037 };
0038
0039 &pinctrl {
0040 hdmi {
0041 hdmi_ctl: hdmi-ctl {
0042 rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>,
0043 <1 9 RK_FUNC_1 &pcfg_pull_none>,
0044 <1 10 RK_FUNC_1 &pcfg_pull_none>,
0045 <1 11 RK_FUNC_1 &pcfg_pull_none>;
0046 };
0047 };
0048
0049 };