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 status = "disabled"; 29 30 hdmi_in: port { 31 #address-cells = <1>; 32 #size-cells = <0>; 33 hdmi_in_lcdc: endpoint@0 { 34 reg = <0>; 35 remote-endpoint = <&lcdc_out_hdmi>; 36 }; 37 }; 38}; 39 40&pinctrl { 41 hdmi { 42 hdmi_ctl: hdmi-ctl { 43 rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>, 44 <1 9 RK_FUNC_1 &pcfg_pull_none>, 45 <1 10 RK_FUNC_1 &pcfg_pull_none>, 46 <1 11 RK_FUNC_1 &pcfg_pull_none>; 47 }; 48 }; 49 50}; 51