ARM: dts: r8a73a4: Add L2 cache-controller nodes
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 15 Feb 2016 20:38:29 +0000 (21:38 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 19 Feb 2016 05:52:21 +0000 (14:52 +0900)
Add device nodes for the L2 caches, and link the CPU node to its L2
cache node.

The L2 cache for the Cortex-A15 CPU cores is 1 MiB large (organized as
64 KiB x 16 ways), and located in PM domain A3SM.

The L2 cache for the Cortex-A7 CPU cores is 512 KiB large (organized as
64 KiB x 8 ways), and located in PM domain A3KM.

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

index 138414a..6583a1d 100644 (file)
@@ -29,6 +29,7 @@
                        reg = <0>;
                        clock-frequency = <1500000000>;
                        power-domains = <&pd_a2sl>;
+                       next-level-cache = <&L2_CA15>;
                };
        };
 
                             <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
        };
 
+       L2_CA15: cache-controller@0 {
+               compatible = "cache";
+               clocks = <&cpg_clocks R8A73A4_CLK_Z>;
+               power-domains = <&pd_a3sm>;
+               cache-unified;
+               cache-level = <2>;
+       };
+
+       L2_CA7: cache-controller@1 {
+               compatible = "cache";
+               clocks = <&cpg_clocks R8A73A4_CLK_Z2>;
+               power-domains = <&pd_a3km>;
+               cache-unified;
+               cache-level = <2>;
+       };
+
        dbsc1: memory-controller@e6790000 {
                compatible = "renesas,dbsc-r8a73a4";
                reg = <0 0xe6790000 0 0x10000>;