From: Andy Yan Date: Tue, 4 Nov 2014 05:13:14 +0000 (+0800) Subject: ARM: dts: rockchip: add rk3288 hdmi nodes X-Git-Tag: v4.0-rc1~69^2~8^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d5a1df48d051838ec83bcb56a6debc7e347ae1f9;p=karo-tx-linux.git ARM: dts: rockchip: add rk3288 hdmi nodes Add an hdmi node, and also add hdmi endpoints to vopb and vopl output port nodes. Signed-off-by: Andy Yan Signed-off-by: Yakir Yang Reviewed-by: Daniel Kurtz Tested-by: Daniel Kurtz Signed-off-by: Heiko Stuebner --- diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 1d22238416c7..c7235fa899cc 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -585,6 +585,11 @@ vopb_out: port { #address-cells = <1>; #size-cells = <0>; + + vopb_out_hdmi: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_in_vopb>; + }; }; }; @@ -611,6 +616,11 @@ vopl_out: port { #address-cells = <1>; #size-cells = <0>; + + vopl_out_hdmi: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_in_vopl>; + }; }; }; @@ -623,6 +633,33 @@ status = "disabled"; }; + hdmi: hdmi@ff980000 { + compatible = "rockchip,rk3288-dw-hdmi"; + reg = <0xff980000 0x20000>; + reg-io-width = <4>; + ddc-i2c-bus = <&i2c5>; + rockchip,grf = <&grf>; + interrupts = ; + clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>; + clock-names = "iahb", "isfr"; + status = "disabled"; + + ports { + hdmi_in: port { + #address-cells = <1>; + #size-cells = <0>; + hdmi_in_vopb: endpoint@0 { + reg = <0>; + remote-endpoint = <&vopb_out_hdmi>; + }; + hdmi_in_vopl: endpoint@1 { + reg = <1>; + remote-endpoint = <&vopl_out_hdmi>; + }; + }; + }; + }; + gic: interrupt-controller@ffc01000 { compatible = "arm,gic-400"; interrupt-controller;