ARM64: dts: rk3328: add hdmi display node
authorxuhuicong <xhc@rock-chips.com>
Sat, 11 Mar 2017 04:43:53 +0000 (12:43 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 2 Jun 2017 08:55:43 +0000 (16:55 +0800)
Change-Id: Ie4821b0c5e49c7b4ee083a2250a71f8ee3edb4e1
Signed-off-by: xuhuicong <xhc@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index 09ad88d0e8eb4eaf4aa6969287b28da7b5a12c76..56993996ed171acaf1543f16f1ed08ecf9edface 100644 (file)
                vop_out: port {
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       vop_out_hdmi: endpoint@0 {
+                               reg = <0>;
+                               remote-endpoint = <&hdmi_in_vop>;
+                       };
                };
        };
 
                status = "disabled";
        };
 
+       hdmi: hdmi@ff3c0000 {
+               compatible = "rockchip,rk3328-dw-hdmi";
+               reg = <0x0 0xff3c0000 0x0 0x20000>,
+                     <0x0 0xff430000 0x0 0x10000>;
+               reg-io-width = <4>;
+               interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru PCLK_HDMI>,
+                        <&cru SCLK_HDMI_SFC>,
+                        <&cru PCLK_HDMIPHY>,
+                        <&cru HCLK_VIO>;
+               clock-names = "iahb",
+                             "isfr",
+                             "pclk_hdmiphy",
+                             "hclk_vio";
+               #clock-cells = <0>;
+               clock-output-names = "hdmi_phy";
+               assigned-clocks = <&cru HDMIPHY>;
+               assigned-clock-parents = <&hdmi>;
+               pinctrl-names = "default", "gpio";
+               pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>;
+               pinctrl-1 = <&i2c3_gpio>;
+               resets = <&cru SRST_HDMI_P>,
+                        <&cru SRST_HDMIPHY>;
+               reset-names = "hdmi",
+                             "hdmiphy";
+               rockchip,grf = <&grf>;
+               status = "disabled";
+
+               ports {
+                       hdmi_in: port {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               hdmi_in_vop: endpoint@0 {
+                                       reg = <0>;
+                                       remote-endpoint = <&vop_out_hdmi>;
+                               };
+                       };
+               };
+       };
+
        display_subsystem: display-subsystem {
                compatible = "rockchip,display-subsystem";
                ports = <&vop_out>;