arm64: dts: r8a7795: Link ARM GIC to clock and clock domain
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 17 Jan 2017 12:49:19 +0000 (13:49 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 27 Jan 2017 08:25:07 +0000 (09:25 +0100)
Link the ARM GIC to the INTC-AP module clock, and add it to the SYSC
"always-on" PM Domain, so it can be power managed using that clock.

Note that currently the GIC-400 driver doesn't support module clocks nor
Runtime PM, so this must be handled as a critical clock.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795.dtsi

index d36783e..8b030c3 100644 (file)
                              <0x0 0xf1060000 0 0x20000>;
                        interrupts = <GIC_PPI 9
                                        (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+                       clocks = <&cpg CPG_MOD 408>;
+                       clock-names = "clk";
+                       power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
                };
 
                wdt0: watchdog@e6020000 {