arm64: dts: r8a7796: Link ARM GIC to clock and clock domain
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 17 Jan 2017 12:49:20 +0000 (13:49 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 27 Jan 2017 08:25:08 +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/r8a7796.dtsi

index 67aa0e4..82c5ef1 100644 (file)
                              <0x0 0xf1060000 0 0x20000>;
                        interrupts = <GIC_PPI 9
                                        (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
+                       clocks = <&cpg CPG_MOD 408>;
+                       clock-names = "clk";
+                       power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
                };
 
                timer {