Commit 5daa6f9f authored by Kieran Bingham's avatar Kieran Bingham Committed by Simon Horman

arm64: dts: renesas: r8a77965: Add HDMI encoder instance

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

Based on a similar patch of the R8A7796 device tree
by Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>.
Signed-off-by: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
[Kieran: Rebase to top of tree]
Signed-off-by: default avatarKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 2f2c71bf
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Renesas Electronics Corp.
*/ */
#include <dt-bindings/clock/renesas-cpg-mssr.h> #include <dt-bindings/clock/r8a77965-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a77965-sysc.h> #include <dt-bindings/power/r8a77965-sysc.h>
...@@ -1105,6 +1105,33 @@ ports { ...@@ -1105,6 +1105,33 @@ ports {
}; };
}; };
hdmi0: hdmi@fead0000 {
compatible = "renesas,r8a77965-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 R8A77965_CLK_HDMI>;
clock-names = "iahb", "isfr";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 729>;
status = "disabled";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
dw_hdmi0_in: endpoint {
remote-endpoint = <&du_out_hdmi0>;
};
};
port@1 {
reg = <1>;
};
};
};
du: display@feb00000 { du: display@feb00000 {
compatible = "renesas,du-r8a77965"; compatible = "renesas,du-r8a77965";
reg = <0 0xfeb00000 0 0x80000>; reg = <0 0xfeb00000 0 0x80000>;
...@@ -1132,6 +1159,7 @@ du_out_rgb: endpoint { ...@@ -1132,6 +1159,7 @@ du_out_rgb: endpoint {
port@1 { port@1 {
reg = <1>; reg = <1>;
du_out_hdmi0: endpoint { du_out_hdmi0: endpoint {
remote-endpoint = <&dw_hdmi0_in>;
}; };
}; };
port@2 { port@2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment