1Rockchip specific extensions to the Innosilicon HDMI 2================================ 3 4Required properties: 5- compatible: 6 "rockchip,rk3036-inno-hdmi"; 7- reg: 8 Physical base address and length of the controller's registers. 9- clocks, clock-names: 10 Phandle to hdmi controller clock, name should be "pclk" 11- interrupts: 12 HDMI interrupt number 13- ports: 14 Contain one port node with endpoint definitions as defined in 15 Documentation/devicetree/bindings/graph.txt. 16- pinctrl-0, pinctrl-name: 17 Switch the iomux of HPD/CEC pins to HDMI function. 18 19Example: 20hdmi: hdmi@20034000 { 21 compatible = "rockchip,rk3036-inno-hdmi"; 22 reg = <0x20034000 0x4000>; 23 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 24 clocks = <&cru PCLK_HDMI>; 25 clock-names = "pclk"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&hdmi_ctl>; 28 29 hdmi_in: port { 30 #address-cells = <1>; 31 #size-cells = <0>; 32 hdmi_in_lcdc: endpoint@0 { 33 reg = <0>; 34 remote-endpoint = <&lcdc_out_hdmi>; 35 }; 36 }; 37}; 38 39&pinctrl { 40 hdmi { 41 hdmi_ctl: hdmi-ctl { 42 rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>, 43 <1 9 RK_FUNC_1 &pcfg_pull_none>, 44 <1 10 RK_FUNC_1 &pcfg_pull_none>, 45 <1 11 RK_FUNC_1 &pcfg_pull_none>; 46 }; 47 }; 48 49}; 50