1*4882a593SmuzhiyunROCKCHIP HDMI PHY WITH INNO IP BLOCK 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun - compatible : should be one of the listed compatibles: 5*4882a593Smuzhiyun * "rockchip,rk3228-hdmi-phy", 6*4882a593Smuzhiyun * "rockchip,rk3328-hdmi-phy"; 7*4882a593Smuzhiyun - reg : Address and length of the hdmi phy control register set 8*4882a593Smuzhiyun - clocks : phandle + clock specifier for the phy clocks 9*4882a593Smuzhiyun - clock-names : string, clock name, must contain "sysclk" for system 10*4882a593Smuzhiyun control and register configuration, "refoclk" for crystal- 11*4882a593Smuzhiyun oscillator reference PLL clock input and "refpclk" for pclk- 12*4882a593Smuzhiyun based refeference PLL clock input. 13*4882a593Smuzhiyun - #clock-cells: should be 0. 14*4882a593Smuzhiyun - clock-output-names : shall be the name for the output clock. 15*4882a593Smuzhiyun - interrupts : phandle + interrupt specified for the hdmiphy interrupt 16*4882a593Smuzhiyun - #phy-cells : must be 0. See ./phy-bindings.txt for details. 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunOptional properties for rk3328-hdmi-phy: 19*4882a593Smuzhiyun - nvmem-cells = phandle + nvmem specifier for the cpu-version efuse 20*4882a593Smuzhiyun - nvmem-cell-names : "cpu-version" to read the chip version, required 21*4882a593Smuzhiyun for adjustment to some frequency settings 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunExample: 24*4882a593Smuzhiyun hdmi_phy: hdmi-phy@12030000 { 25*4882a593Smuzhiyun compatible = "rockchip,rk3228-hdmi-phy"; 26*4882a593Smuzhiyun reg = <0x12030000 0x10000>; 27*4882a593Smuzhiyun #phy-cells = <0>; 28*4882a593Smuzhiyun clocks = <&cru PCLK_HDMI_PHY>, <&xin24m>, <&cru DCLK_HDMIPHY>; 29*4882a593Smuzhiyun clock-names = "sysclk", "refoclk", "refpclk"; 30*4882a593Smuzhiyun #clock-cells = <0>; 31*4882a593Smuzhiyun clock-output-names = "hdmi_phy"; 32*4882a593Smuzhiyun status = "disabled"; 33*4882a593Smuzhiyun }; 34*4882a593Smuzhiyun 35*4882a593SmuzhiyunThen the PHY can be used in other nodes such as: 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun hdmi: hdmi@200a0000 { 38*4882a593Smuzhiyun compatible = "rockchip,rk3228-dw-hdmi"; 39*4882a593Smuzhiyun ... 40*4882a593Smuzhiyun phys = <&hdmi_phy>; 41*4882a593Smuzhiyun phy-names = "hdmi"; 42*4882a593Smuzhiyun ... 43*4882a593Smuzhiyun }; 44