ARM: dts: r8a7743: Link ARM GIC to clock and clock domain
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 17 Jan 2017 12:49:17 +0000 (13:49 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Jan 2017 09:41:24 +0000 (10:41 +0100)
Link the ARM GIC to the INTC-SYS 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/arm/boot/dts/r8a7743.dtsi

index 0956125..40d2cde 100644 (file)
@@ -60,6 +60,9 @@
                              <0 0xf1006000 0 0x2000>;
                        interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
                                                 IRQ_TYPE_LEVEL_HIGH)>;
+                       clocks = <&cpg CPG_MOD 408>;
+                       clock-names = "clk";
+                       power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
                };
 
                irqc: interrupt-controller@e61c0000 {