ARM: shmobile: sh73a0 dtsi: Add L2 cache-controller node
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 23 Nov 2015 13:56:00 +0000 (14:56 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 25 Nov 2015 01:42:38 +0000 (10:42 +0900)
Add the missing L2 cache-controller node, and link the CPU nodes to it.
This will allow migration to the generic l2c OF initialization.

The L2 cache is an ARM L2C-310 (r3p1), of size 512 KiB (64 KiB x 8
ways).

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

index ff7c8f298f30a58d3ea987f2375acfe3f6e9be34..319551f0fcdb9699828722147a55d44c71fa7d9c 100644 (file)
@@ -28,6 +28,7 @@
                        reg = <0>;
                        clock-frequency = <1196000000>;
                        power-domains = <&pd_a2sl>;
+                       next-level-cache = <&L2>;
                };
                cpu@1 {
                        device_type = "cpu";
@@ -35,6 +36,7 @@
                        reg = <1>;
                        clock-frequency = <1196000000>;
                        power-domains = <&pd_a2sl>;
+                       next-level-cache = <&L2>;
                };
        };
 
                      <0xf0000100 0x100>;
        };
 
+       L2: cache-controller {
+               compatible = "arm,pl310-cache";
+               reg = <0xf0100000 0x1000>;
+               interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
+               power-domains = <&pd_a3sm>;
+               arm,data-latency = <3 3 3>;
+               arm,tag-latency = <2 2 2>;
+               arm,shared-override;
+               cache-unified;
+               cache-level = <2>;
+       };
+
        sbsc2: memory-controller@fb400000 {
                compatible = "renesas,sbsc-sh73a0";
                reg = <0xfb400000 0x400>;