arm64: dts: rockchip: add hdmi node on rk3366.dtsi
authorZheng Yang <zhengyang@rock-chips.com>
Wed, 17 Feb 2016 07:54:28 +0000 (15:54 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 18 Feb 2016 04:03:02 +0000 (12:03 +0800)
Change-Id: Ibd0cc2f7642455b3b17f55fbec653466c987a576
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3366.dtsi

index 697870e30892385b7b7b6ba09efba5a73612716a..dff244f24de2ef1c6c2ee0ceb57cea1cfccf8d12 100644 (file)
                status = "disabled";
        };
 
+       hdmi: hdmi@ff980000 {
+               compatible = "rockchip,rk3366-hdmi";
+               reg = <0x0 0xff980000 0x0 0x20000>;
+               interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru PCLK_HDMI_CTRL>,
+                        <&cru SCLK_HDMI_HDCP>,
+                        <&cru SCLK_HDMI_CEC>,
+                        <&cru DCLK_HDMIPHY>;
+               clock-names = "pclk_hdmi",
+                             "hdcp_clk_hdmi",
+                             "cec_clk_hdmi",
+                             "dclk_hdmi_phy";
+               resets = <&cru SRST_HDMI>;
+               reset-names = "hdmi";
+               pinctrl-names = "default", "gpio";
+               pinctrl-0 = <&hdmii2c_xfer &hdmi_cec>;
+               pinctrl-1 = <&i2c5_gpio>;
+               status = "disabled";
+       };
+
        pinctrl: pinctrl {
                compatible = "rockchip,rk3366-pinctrl";
                rockchip,grf = <&grf>;
                        };
                };
 
+               hdmi_i2c {
+                       hdmii2c_xfer: hdmii2c-xfer {
+                               rockchip,pins =
+                                       <5 13 RK_FUNC_2 &pcfg_pull_none>,
+                                       <5 14 RK_FUNC_2 &pcfg_pull_none>;
+                       };
+               };
+
+               hdmi_pin {
+                       hdmi_cec: hdmi-cec {
+                               rockchip,pins =
+                                       <5 12 RK_FUNC_1 &pcfg_pull_none>;
+                       };
+               };
+
                i2c0 {
                        i2c0_xfer: i2c0-xfer {
                                rockchip,pins =
                                        <5 13 RK_FUNC_1 &pcfg_pull_none>,
                                        <5 14 RK_FUNC_1 &pcfg_pull_none>;
                        };
+                       i2c5_gpio: i2c5-gpio {
+                               rockchip,pins =
+                                       <5 13 RK_FUNC_GPIO &pcfg_pull_none>,
+                                       <5 14 RK_FUNC_GPIO &pcfg_pull_none>;
+                       };
                };
 
                i2s {