arm64: dts: renesas: r8a77970: add DU support
authorSergei Shtylyov <[email protected]>
Thu, 12 Apr 2018 08:13:59 +0000 (10:13 +0200)
committerSimon Horman <[email protected]>
Wed, 16 May 2018 08:44:19 +0000 (10:44 +0200)
Define the generic R8A77970 part of the DU device node.

Based on the original (and large) patch by Daisuke Matsushita
<[email protected]>.

Signed-off-by: Vladimir Barinov <[email protected]>
Signed-off-by: Sergei Shtylyov <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
arch/arm64/boot/dts/renesas/r8a77970.dtsi

index 9a7cf2ab099e6449cee60dc80e1812952ce89d0a..8efb5c3a5da1dd3d60b40f830e487996cc4c81d6 100644 (file)
                        resets = <&cpg 623>;
                        renesas,fcp = <&fcpvd0>;
                };
+
+               du: display@feb00000 {
+                       compatible = "renesas,du-r8a77970";
+                       reg = <0 0xfeb00000 0 0x80000>;
+                       interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 724>;
+                       clock-names = "du.0";
+                       power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
+                       resets = <&cpg 724>;
+                       vsps = <&vspd0>;
+                       status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                                       du_out_rgb: endpoint {
+                                       };
+                               };
+
+                               port@1 {
+                                       reg = <1>;
+                                       du_out_lvds0: endpoint {
+                                       };
+                               };
+                       };
+               };
        };
 
        timer {