]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: r8a7745: Add DU support
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Mon, 6 Nov 2017 18:26:53 +0000 (18:26 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 27 Nov 2017 10:40:11 +0000 (11:40 +0100)
Add du node to r8a7745 SoC DT. Boards that want to enable the DU
need to specify the output topology.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7745.dtsi

index 846c27a00c54db1bd6717a7710255711b799b966..53eb1ce446a47f8dc544c647a936033ce169d973 100644 (file)
@@ -821,6 +821,33 @@ qspi: spi@e6b10000 {
                        status = "disabled";
                };
 
+               du: display@feb00000 {
+                       compatible = "renesas,du-r8a7745";
+                       reg = <0 0xfeb00000 0 0x40000>;
+                       reg-names = "du";
+                       interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>;
+                       clock-names = "du.0", "du.1";
+                       status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                                       du_out_rgb0: endpoint {
+                                       };
+                               };
+                               port@1 {
+                                       reg = <1>;
+                                       du_out_rgb1: endpoint {
+                                       };
+                               };
+                       };
+               };
+
                msiof0: spi@e6e20000 {
                        compatible = "renesas,msiof-r8a7745",
                                     "renesas,rcar-gen2-msiof";