ARM: dts: rockchip: add hdmi device node for rk3036
authorCaesar Wang <wxt@rock-chips.com>
Tue, 2 Feb 2016 03:40:50 +0000 (11:40 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 26 Mar 2016 23:54:13 +0000 (00:54 +0100)
Add the Innosilicon hdmi node for HDMI display.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3036.dtsi

index 4932abf2a78401f02526fd39096a5684d93927cb..8139fbf3de7ffb0dd5c2a937339dcfd950812577 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@20034000 {
+               compatible = "rockchip,rk3036-inno-hdmi";
+               reg = <0x20034000 0x4000>;
+               interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru  PCLK_HDMI>;
+               clock-names = "pclk";
+               rockchip,grf = <&grf>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&hdmi_ctl>;
+               status = "disabled";
+
+               hdmi_in: port {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       hdmi_in_vop: endpoint@0 {
+                               reg = <0>;
+                               remote-endpoint = <&vop_out_hdmi>;
+                       };
+               };
+       };
+
        timer: timer@20044000 {
                compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer";
                reg = <0x20044000 0x20>;
                        };
                };
 
+               hdmi {
+                       hdmi_ctl: hdmi-ctl {
+                               rockchip,pins = <1 8  RK_FUNC_1 &pcfg_pull_none>,
+                                               <1 9  RK_FUNC_1 &pcfg_pull_none>,
+                                               <1 10 RK_FUNC_1 &pcfg_pull_none>,
+                                               <1 11 RK_FUNC_1 &pcfg_pull_none>;
+                       };
+               };
+
                uart0 {
                        uart0_xfer: uart0-xfer {
                                rockchip,pins = <0 16 RK_FUNC_1 &pcfg_pull_default>,