arm64: dts: renesas: r9a07g043: Fillup the OSTM{0,1,2} stub nodes
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 25 Apr 2022 17:05:22 +0000 (18:05 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 28 Apr 2022 14:51:33 +0000 (16:51 +0200)
Fillup the OSTM{0,1,2} stub nodes in RZ/G2UL (R9A07G043) SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220425170530.200921-6-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a07g043.dtsi

index 60db9b0..d161600 100644 (file)
                };
 
                ostm0: timer@12801000 {
+                       compatible = "renesas,r9a07g043-ostm",
+                                    "renesas,ostm";
                        reg = <0x0 0x12801000 0x0 0x400>;
-                       /* place holder */
+                       interrupts = <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>;
+                       clocks = <&cpg CPG_MOD R9A07G043_OSTM0_PCLK>;
+                       resets = <&cpg R9A07G043_OSTM0_PRESETZ>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
                };
 
                ostm1: timer@12801400 {
+                       compatible = "renesas,r9a07g043-ostm",
+                                    "renesas,ostm";
                        reg = <0x0 0x12801400 0x0 0x400>;
-                       /* place holder */
+                       interrupts = <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
+                       clocks = <&cpg CPG_MOD R9A07G043_OSTM1_PCLK>;
+                       resets = <&cpg R9A07G043_OSTM1_PRESETZ>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
                };
 
                ostm2: timer@12801800 {
+                       compatible = "renesas,r9a07g043-ostm",
+                                    "renesas,ostm";
                        reg = <0x0 0x12801800 0x0 0x400>;
-                       /* place holder */
+                       interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
+                       clocks = <&cpg CPG_MOD R9A07G043_OSTM2_PCLK>;
+                       resets = <&cpg R9A07G043_OSTM2_PRESETZ>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
                };
        };