Add the HDMI encoder to the R8A774B1 DT in disabled state.

Signed-off-by: Biju Das <[email protected]>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi 
b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 777b45d..979be5a 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1267,7 +1267,16 @@
                };
 
                hdmi0: hdmi@fead0000 {
+                       compatible = "renesas,r8a774b1-hdmi",
+                                    "renesas,rcar-gen3-hdmi";
                        reg = <0 0xfead0000 0 0x10000>;
+                       interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 729>,
+                                <&cpg CPG_CORE R8A774B1_CLK_HDMI>;
+                       clock-names = "iahb", "isfr";
+                       power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+                       resets = <&cpg 729>;
+                       status = "disabled";
 
                        ports {
                                #address-cells = <1>;
@@ -1276,11 +1285,16 @@
                                port@0 {
                                        reg = <0>;
                                        dw_hdmi0_in: endpoint {
+                                               remote-endpoint = 
<&du_out_hdmi0>;
                                        };
                                };
                                port@1 {
                                        reg = <1>;
                                };
+                               port@2 {
+                                       /* HDMI sound */
+                                       reg = <2>;
+                               };
                        };
                };
 
@@ -1310,6 +1324,7 @@
                                port@1 {
                                        reg = <1>;
                                        du_out_hdmi0: endpoint {
+                                               remote-endpoint = 
<&dw_hdmi0_in>;
                                        };
                                };
                                port@2 {
-- 
2.7.4

Reply via email to