Add DU{0,1} nodes to RZ/G3E SoC DTSI.

Signed-off-by: Tommaso Merciai <[email protected]>
---
v9->v10:
 - Removed display-subsystem node and du*_ports, updated commit body
   accordingly.

v8->v9:
 - Split du into du0 and du1 node and added newly display_subsystem node.

v7->v8
 - New patch

 arch/arm64/boot/dts/renesas/r9a09g047.dtsi | 74 ++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a09g047.dtsi 
b/arch/arm64/boot/dts/renesas/r9a09g047.dtsi
index 737bf1c60451..0c9c6842e5d0 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g047.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a09g047.dtsi
@@ -2239,6 +2239,80 @@ csi2cru: endpoint@0 {
                        };
                };
 
+               du0: display@16460000 {
+                       compatible = "renesas,r9a09g047-du";
+                       reg = <0 0x16460000 0 0x10000>;
+                       interrupts = <GIC_SPI 882 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 0xed>,
+                                <&cpg CPG_MOD 0xee>,
+                                <&cpg CPG_MOD 0xef>;
+                       clock-names = "aclk", "pclk", "vclk";
+                       power-domains = <&cpg>;
+                       resets = <&cpg 0xdc>;
+                       renesas,vsps = <&vspd0 0>;
+                       status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                                       du0_out_dsi: endpoint {
+                                       };
+                               };
+
+                               port@2 {
+                                       reg = <2>;
+                                       du0_out_lvds0: endpoint {
+                                       };
+                               };
+
+                               port@3 {
+                                       reg = <3>;
+                                       du0_out_lvds1: endpoint {
+                                       };
+                               };
+                       };
+               };
+
+               du1: display@16490000 {
+                       compatible = "renesas,r9a09g047-du";
+                       reg = <0 0x16490000 0 0x10000>;
+                       interrupts = <GIC_SPI 922 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 0x1a8>,
+                                <&cpg CPG_MOD 0x1a9>,
+                                <&cpg CPG_MOD 0x1aa>;
+                       clock-names = "aclk", "pclk", "vclk";
+                       power-domains = <&cpg>;
+                       resets = <&cpg 0x11e>;
+                       renesas,vsps = <&vspd1 0>;
+                       status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                                       du1_out_dsi: endpoint {
+                                       };
+                               };
+
+                               port@1 {
+                                       reg = <1>;
+                                       du1_out_rgb: endpoint {
+                                       };
+                               };
+
+                               port@3 {
+                                       reg = <3>;
+                                       du1_out_lvds1: endpoint {
+                                       };
+                               };
+                       };
+               };
+
                fcpvd0: fcp@16470000 {
                        compatible = "renesas,r9a09g047-fcpvd",
                                     "renesas,fcpv";
-- 
2.54.0

Reply via email to