ARM: dts: r8a7792: add DU support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 5 Aug 2016 18:26:25 +0000 (21:26 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 9 Aug 2016 12:37:47 +0000 (14:37 +0200)
Define the generic R8A7792 part of the DU device node.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7792.dtsi

index 7e0c57ff9892ec49c355706f80cef355e9ae3fa6..9763289db5cebc3a09752ef121b635eebed5ddfb 100644 (file)
                        status = "disabled";
                };
 
+               du: display@feb00000 {
+                       compatible = "renesas,du-r8a7792";
+                       reg = <0 0xfeb00000 0 0x40000>;
+                       reg-names = "du";
+                       interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mstp7_clks R8A7792_CLK_DU0>,
+                                <&mstp7_clks R8A7792_CLK_DU1>;
+                       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 {
+                                       };
+                               };
+                       };
+               };
+
                can0: can@e6e80000 {
                        compatible = "renesas,can-r8a7792",
                                     "renesas,rcar-gen2-can";